magres analysis