Index: trunk/psphot/src/psphotEnsemblePSF.c
===================================================================
--- trunk/psphot/src/psphotEnsemblePSF.c	(revision 9771)
+++ trunk/psphot/src/psphotEnsemblePSF.c	(revision 9813)
@@ -123,12 +123,6 @@
         // fill in the model pixel values
         psImageInit (flux, 0.0);
-        psImageKeepCircle (mask, x, y, model->radiusTMP, "OR", PM_MASK_MARK);
+        psImageKeepCircle (mask, x, y, model->radiusFit, "OR", PM_MASK_MARK);
         pmModelAdd (flux, mask, model, false, false);
-
-	// XXX test output line
-	if ((fabs(x - 298) < 2) && (fabs(y - 583) < 2)) {
-	    psphotSaveImage (NULL, inSource->pixels, "weird.obj.fits");
-	    psphotSaveImage (NULL, flux, "weird.mod.fits");
-	}
 
         // calculate nDOF (nPix - 1)
@@ -224,7 +218,7 @@
         y = model->params->data.F32[PM_PAR_YPOS];
 
-        psImageKeepCircle (Fi->mask, x, y, model->radiusTMP, "OR", PM_MASK_MARK);
+        psImageKeepCircle (Fi->mask, x, y, model->radiusFit, "OR", PM_MASK_MARK);
         pmSourceChisq (model, Fi->pixels, Fi->mask, Fi->weight);
-        psImageKeepCircle (Fi->mask, x, y, model->radiusTMP, "AND", PS_NOT_U8(PM_MASK_MARK));
+        psImageKeepCircle (Fi->mask, x, y, model->radiusFit, "AND", PS_NOT_U8(PM_MASK_MARK));
     }
 
