Index: /branches/eam_branch_20080926/psphot/src/psphotSourceFits.c
===================================================================
--- /branches/eam_branch_20080926/psphot/src/psphotSourceFits.c	(revision 19859)
+++ /branches/eam_branch_20080926/psphot/src/psphotSourceFits.c	(revision 19860)
@@ -16,5 +16,5 @@
 bool psphotFitSummary () {
 
-    fprintf (stderr, "fitted %5d psf, %5d blend, %5d ext, %5d dbl : %6.2f sec\n",
+    psLogMsg ("psphot.pspsf", PS_LOG_INFO, "fitted %5d psf, %5d blend, %5d ext, %5d dbl : %6.2f sec\n",
              NfitPSF, NfitBlend, NfitEXT, NfitDBL, psTimerMark ("psphot.fits"));
     return true;
@@ -47,4 +47,6 @@
     psArray *sourceSet = psArrayAllocEmpty (source->blends->n + 1);
     psArrayAdd (sourceSet, 16, source);
+
+    psTrace ("psphot", 4, "fitting blended source at %f %f : %f\n", source->peak->xf, source->peak->yf, source->peak->flux);
 
     // we need to include all blends in the fit (unless primary is saturated?)
@@ -77,4 +79,6 @@
         psArrayAdd (modelSet, 16, model);
         psArrayAdd (sourceSet, 16, blend);
+
+	psTrace ("psphot", 5, "adding source at %f %f : %f\n", blend->peak->xf, blend->peak->yf, blend->peak->flux);
 
         // free to avoid double counting model
