Index: /trunk/psphot/src/psphotBasicDeblend.c
===================================================================
--- /trunk/psphot/src/psphotBasicDeblend.c	(revision 6949)
+++ /trunk/psphot/src/psphotBasicDeblend.c	(revision 6950)
@@ -42,5 +42,5 @@
 	// temporary array for overlapping objects we find
 	psArray *overlap = psArrayAlloc (100);
-	overlap->n = 0;
+	// DROP overlap->n = 0;
 
 	// search backwards for overlapping sources
@@ -112,5 +112,5 @@
 		if (source->blends == NULL) {
 		    source->blends = psArrayAlloc (16);
-		    source->blends->n = 0;
+		    // DROP source->blends->n = 0;
 		}
 		psArrayAdd (source->blends, 16, testSource);
Index: /trunk/psphot/src/psphotChoosePSF.c
===================================================================
--- /trunk/psphot/src/psphotChoosePSF.c	(revision 6949)
+++ /trunk/psphot/src/psphotChoosePSF.c	(revision 6950)
@@ -29,5 +29,5 @@
 
     stars = psArrayAlloc (sources->n);
-    stars->n = 0;
+    // DROP stars->n = 0;
 
     // select the candidate PSF stars (pointers to original sources)
Index: /trunk/psphot/src/psphotFindPeaks.c
===================================================================
--- /trunk/psphot/src/psphotFindPeaks.c	(revision 6949)
+++ /trunk/psphot/src/psphotFindPeaks.c	(revision 6950)
@@ -22,4 +22,7 @@
     psImageSmooth (smooth_wt, SIGMA, NSIGMA);
     psLogMsg ("psphot", 4, "smooth weight: %f sec\n", psTimerMark ("psphot"));
+
+    // psphotSaveImage (NULL, smooth_im, "imsmooth.fits");
+    // psphotSaveImage (NULL, smooth_wt, "wtsmooth.fits");
 
     psTimerStart ("psphot");
Index: /trunk/psphot/src/psphotFitSet.c
===================================================================
--- /trunk/psphot/src/psphotFitSet.c	(revision 6949)
+++ /trunk/psphot/src/psphotFitSet.c	(revision 6950)
@@ -9,5 +9,5 @@
 
     psArray *modelSet = psArrayAlloc (16);
-    modelSet->n = 0;
+    // DROP modelSet->n = 0;
 
     while (fscanf (f, "%lf %lf %lf", &x, &y, &Io) == 3) {
Index: /trunk/psphot/src/psphotImageMedian.c
===================================================================
--- /trunk/psphot/src/psphotImageMedian.c	(revision 6949)
+++ /trunk/psphot/src/psphotImageMedian.c	(revision 6950)
@@ -107,4 +107,8 @@
     pmReadout *backSub = pmFPAfileThisReadout (config->files, view, "PSPHOT.BACKSUB");
 
+    // psphotSaveImage (NULL, image, "image.fits");
+    // psphotSaveImage (NULL, background->image, "back.fits");
+    // psphotSaveImage (NULL, mask, "mask.fits");
+
     // subtract the background model (save in backSub, if requested)
     for (int j = 0; j < image->numRows; j++) {
Index: /trunk/psphot/src/psphotSourceStats.c
===================================================================
--- /trunk/psphot/src/psphotSourceStats.c	(revision 6949)
+++ /trunk/psphot/src/psphotSourceStats.c	(revision 6950)
@@ -16,5 +16,5 @@
 
     sources = psArrayAlloc (peaks->n);
-    sources->n = 0;
+    // DROP sources->n = 0;
 
     for (int i = 0; i < peaks->n; i++) {
