Index: /branches/eam_branches/ipp-20130904/psphot/src/psphotExtendedSourceAnalysis.c
===================================================================
--- /branches/eam_branches/ipp-20130904/psphot/src/psphotExtendedSourceAnalysis.c	(revision 36354)
+++ /branches/eam_branches/ipp-20130904/psphot/src/psphotExtendedSourceAnalysis.c	(revision 36355)
@@ -179,4 +179,5 @@
     psLogMsg ("psphot", PS_LOG_INFO, "  %d annuli\n", Nannuli);
 
+# if (PS_TRACE_ON)
     fprintf (stderr, "ext analysis skipped @ 1  : %d\n", Nskip1);
     fprintf (stderr, "ext analysis skipped @ 2  : %d\n", Nskip2);
@@ -185,4 +186,5 @@
     fprintf (stderr, "ext analysis skipped @ 5  : %d\n", Nskip5);
     fprintf (stderr, "ext analysis skipped @ 6  : %d\n", Nskip6);
+#endif
 
     psphotRadialProfileShowSkips ();
Index: /branches/eam_branches/ipp-20130904/psphot/src/psphotExtendedSourceFits.c
===================================================================
--- /branches/eam_branches/ipp-20130904/psphot/src/psphotExtendedSourceFits.c	(revision 36354)
+++ /branches/eam_branches/ipp-20130904/psphot/src/psphotExtendedSourceFits.c	(revision 36355)
@@ -635,5 +635,7 @@
 	  }
 
+# if (PS_TRACE_ON)
           fprintf (stderr, "failed to fit extended source model to object %d @ %f, %f (%x)\n", source->id, source->moments->Mx, source->moments->My, flags);
+#endif
           pmSourceSub (source, PM_MODEL_OP_FULL, maskVal);
 
Index: /branches/eam_branches/ipp-20130904/psphot/src/psphotKronIterate.c
===================================================================
--- /branches/eam_branches/ipp-20130904/psphot/src/psphotKronIterate.c	(revision 36354)
+++ /branches/eam_branches/ipp-20130904/psphot/src/psphotKronIterate.c	(revision 36355)
@@ -166,5 +166,7 @@
     }
 
+# if (PS_TRACE_ON)
     fprintf (stderr, "--- starting KRON ---\n");
+#endif
 
     // We measure the Kron Radius on a smoothed copy of the readout image
Index: /branches/eam_branches/ipp-20130904/psphot/src/psphotPetrosianStats.c
===================================================================
--- /branches/eam_branches/ipp-20130904/psphot/src/psphotPetrosianStats.c	(revision 36354)
+++ /branches/eam_branches/ipp-20130904/psphot/src/psphotPetrosianStats.c	(revision 36355)
@@ -127,8 +127,10 @@
 		petRadius    = InterpolateValuesQuadratic (&petRatio->data.F32[nOut-3], &refRadius->data.F32[nOut-3], PETROSIAN_RATIO);
 	      }
+# if (PS_TRACE_ON)
 	      float petRadiusLinear = InterpolateValues     (petRatio->data.F32[nOut-1], refRadius->data.F32[nOut-1], petRatio->data.F32[nOut], refRadius->data.F32[nOut], PETROSIAN_RATIO);
 	      if (fabs(petRadius - petRadiusLinear) > fabs(refRadius->data.F32[nOut] - refRadius->data.F32[nOut-1])) { 
 		fprintf (stderr, "big difference : %f vs %f\n", petRadius, petRadiusLinear); 
 	      }
+#endif
 	      petRadiusErr = InterpolateValuesErrX (petRatio->data.F32[nOut-1], refRadius->data.F32[nOut-1], petRatio->data.F32[nOut], refRadius->data.F32[nOut], PETROSIAN_RATIO, petRatioErr->data.F32[nOut-1], petRatioErr->data.F32[nOut]);
 	    }
Index: /branches/eam_branches/ipp-20130904/psphot/src/psphotRadialProfile.c
===================================================================
--- /branches/eam_branches/ipp-20130904/psphot/src/psphotRadialProfile.c	(revision 36354)
+++ /branches/eam_branches/ipp-20130904/psphot/src/psphotRadialProfile.c	(revision 36355)
@@ -72,5 +72,5 @@
 
 void psphotRadialProfileShowSkips () {
-  
+# if (PS_TRACE_ON)
   fprintf (stderr, "radial profile skipped @ 1  : %d\n", Nskip1);
   fprintf (stderr, "radial profile skipped @ 2  : %d\n", Nskip2);
@@ -78,3 +78,4 @@
   fprintf (stderr, "radial profile skipped @ 4  : %d\n", Nskip4);
   fprintf (stderr, "radial profile skipped @ 5  : %d\n", Nskip5);
+#endif
 }
