Index: trunk/psphot/src/psphotFindPeaks.c
===================================================================
--- trunk/psphot/src/psphotFindPeaks.c	(revision 10295)
+++ trunk/psphot/src/psphotFindPeaks.c	(revision 10801)
@@ -20,5 +20,5 @@
     psImage *smooth_im = psImageCopy (NULL, readout->image, PS_TYPE_F32);
     psImageSmooth (smooth_im, SIGMA, NSIGMA);
-    psLogMsg ("psphot", 4, "smooth image: %f sec\n", psTimerMark ("psphot"));
+    psLogMsg ("psphot", PS_LOG_MINUTIA, "smooth image: %f sec\n", psTimerMark ("psphot"));
 
     psImage *smooth_wt = psImageCopy (NULL, readout->weight, PS_TYPE_F32);
@@ -26,5 +26,5 @@
     smooth_wt = (psImage*)psBinaryOp(smooth_wt, smooth_wt, "*",
 				     psScalarAlloc(1/(4*M_PI*PS_SQR(SIGMA)), PS_TYPE_F32));
-    psLogMsg ("psphot", 4, "smooth weight: %f sec\n", psTimerMark ("psphot"));
+    psLogMsg ("psphot", PS_LOG_MINUTIA, "smooth weight: %f sec\n", psTimerMark ("psphot"));
 
     psImage *mask = readout->mask;
@@ -36,5 +36,4 @@
     }
 
-    psTimerStart ("psphot");
     for (int j = 0; j < smooth_im->numRows; j++) {
 	for (int i = 0; i < smooth_im->numCols; i++) {
@@ -47,7 +46,5 @@
 	}
     }
-    psLogMsg ("psphot", 4, "built S/N map: %f sec\n", psTimerMark ("psphot"));
-
-    psTimerStart ("psphot");
+    psLogMsg ("psphot", PS_LOG_MINUTIA, "built S/N map: %f sec\n", psTimerMark ("psphot"));
 
     // set peak threshold
@@ -55,5 +52,5 @@
     // threshold = NSIGMA*sky->sampleStdev + sky->sampleMean; 
     threshold = PS_SQR(NSIGMA);
-    psLogMsg ("psphot", 4, "threshold: %f DN\n", threshold);
+    psLogMsg ("psphot", PS_LOG_DETAIL, "threshold: %f DN\n", threshold);
 
     // find the peaks in the smoothed image 
@@ -68,5 +65,5 @@
 	pmPeaksWriteText (peaks, output);
     }
-    psLogMsg ("psphot", 3, "%ld peaks: %f sec\n", peaks->n, psTimerMark ("psphot"));
+    psLogMsg ("psphot", PS_LOG_INFO, "%ld peaks: %f sec\n", peaks->n, psTimerMark ("psphot"));
 
     return (peaks);
