adding psf flux fitting in single image