=xloc almost equal instead of exactly equal
=Moffat FWHM is 0.6 arcsec = 3 px, not 0.6 px!  also refactored a little bit