Index: /branches/eam_branches/ipp-20110404/Ohana/src/relphot/src/ImageOps.c
===================================================================
--- /branches/eam_branches/ipp-20110404/Ohana/src/relphot/src/ImageOps.c	(revision 31274)
+++ /branches/eam_branches/ipp-20110404/Ohana/src/relphot/src/ImageOps.c	(revision 31275)
@@ -126,5 +126,5 @@
     }
   }
-  fprintf (stderr, "matched %d detections to images\n", Nmatch);
+ // fprintf (stderr, "matched %d detections to images\n", Nmatch);
 }
 
Index: /branches/eam_branches/ipp-20110404/Ohana/src/relphot/src/MosaicOps.c
===================================================================
--- /branches/eam_branches/ipp-20110404/Ohana/src/relphot/src/MosaicOps.c	(revision 31274)
+++ /branches/eam_branches/ipp-20110404/Ohana/src/relphot/src/MosaicOps.c	(revision 31275)
@@ -285,5 +285,5 @@
     }
   }
-  fprintf (stderr, "matched %d detections to mosaics\n", Nmatch);
+  // fprintf (stderr, "matched %d detections to mosaics\n", Nmatch);
   return (TRUE);
 }
@@ -432,5 +432,5 @@
       mark = (N < IMAGE_TOOFEW) || (N < IMAGE_GOOD_FRACTION*Nlist[i]);
       if (mark) {
-	if (1 || VERBOSE2) { fprintf (stderr, "marked mosaic %s ("OFF_T_FMT"), ("OFF_T_FMT" < %d) || ("OFF_T_FMT" < %f*"OFF_T_FMT")\n", image[imlist[i][0]].name,  i,  N, IMAGE_TOOFEW,  N, IMAGE_GOOD_FRACTION,  Nlist[i]); }
+	if (VERBOSE2) { fprintf (stderr, "marked mosaic %s ("OFF_T_FMT"), ("OFF_T_FMT" < %d) || ("OFF_T_FMT" < %f*"OFF_T_FMT")\n", image[imlist[i][0]].name,  i,  N, IMAGE_TOOFEW,  N, IMAGE_GOOD_FRACTION,  Nlist[i]); }
 	mosaic[i].flags |= ID_IMAGE_PHOTOM_FEW;
 	Nfew ++;
@@ -499,8 +499,8 @@
     imageOffset[i] = 0.0;
 
-    if (fabs(mosaic[i].Mcal) < CLOUD_TOLERANCE) {
+    if (VERBOSE2 && (fabs(mosaic[i].Mcal) < CLOUD_TOLERANCE)) {
       fprintf (stderr, "cloud-free: %s : %f\n", image[imlist[i][0]].name, mosaic[i].Mcal);
     } 
-    if (mosaic[i].Mcal < -CLOUD_TOLERANCE) {
+    if (VERBOSE2 && (mosaic[i].Mcal < -CLOUD_TOLERANCE)) {
       imageOffset[i] = -mosaic[i].Mcal; 
       // NOTE the negative sign: down below, we are going to add in the negative of Mcal
@@ -508,5 +508,5 @@
       fprintf (stderr, "anti-clouds: %s : %f\n", image[imlist[i][0]].name, mosaic[i].Mcal);
     } 
-    if (mosaic[i].Mcal > CLOUD_TOLERANCE) {
+    if (VERBOSE2 && (mosaic[i].Mcal > CLOUD_TOLERANCE)) {
       fprintf (stderr, "cloudy    : %s : %f\n", image[imlist[i][0]].name, mosaic[i].Mcal);
     } 
@@ -626,10 +626,10 @@
     }
     imageOffset[i] = dM / NSlist[i];
-    fprintf (stderr, "adjust image: %s : (%f %d) : %f\n", image[imlist[i][0]].name, dM, NSlist[i], imageOffset[i]);
-  }
-
-  for (i = 0; i < Nmosaic; i++) {
-    fprintf (stderr, "correction: %s : %f\n", image[imlist[i][0]].name, imageOffset[i]);
-  } 
+    // fprintf (stderr, "adjust image: %s : (%f %d) : %f\n", image[imlist[i][0]].name, dM, NSlist[i], imageOffset[i]);
+  }
+
+  // for (i = 0; i < Nmosaic; i++) {
+  //   fprintf (stderr, "correction: %s : %f\n", image[imlist[i][0]].name, imageOffset[i]);
+  // } 
 
   // apply all offset values to the mosaics
@@ -747,5 +747,5 @@
     n++;
   }
-  fprintf (stderr, "Nmosaic: "OFF_T_FMT", n: "OFF_T_FMT"\n",  Nmosaic,  n);
+  // fprintf (stderr, "Nmosaic: "OFF_T_FMT", n: "OFF_T_FMT"\n",  Nmosaic,  n);
 
   liststats (list, dlist, n, &stats);
Index: /branches/eam_branches/ipp-20110404/Ohana/src/relphot/src/StarOps.c
===================================================================
--- /branches/eam_branches/ipp-20110404/Ohana/src/relphot/src/StarOps.c	(revision 31274)
+++ /branches/eam_branches/ipp-20110404/Ohana/src/relphot/src/StarOps.c	(revision 31275)
@@ -598,6 +598,6 @@
   float Mcal, Mmos, Mgrid;
   StatType stats;
-  int N1, N2, N3, N4, N0;
-  N1 = N2 = N3 = N4 = N0 = 0;
+  // int N1, N2, N3, N4, N0;
+  // N1 = N2 = N3 = N4 = N0 = 0;
 
   int Nsecfilt = GetPhotcodeNsecfilt ();
@@ -616,5 +616,5 @@
 
       /* calculate the average value for a single star */
-      if (catalog[i].secfilt[Nsecfilt*j+Nsec].flags & STAR_BAD) { N1++; continue;  }
+      if (catalog[i].secfilt[Nsecfilt*j+Nsec].flags & STAR_BAD) { continue;  }
       m = catalog[i].averageT[j].measureOffset;
 
@@ -622,11 +622,11 @@
       for (k = 0; k < catalog[i].averageT[j].Nmeasure; k++, m++) {
 	int ecode = GetPhotcodeEquivCodebyCode (catalog[i].measureT[m].photcode);
-	if (ecode != seccode) { N0++; continue;}
+	if (ecode != seccode) { continue;}
 	Mcal = getMcal  (m, i);
-	if (isnan(Mcal)) { N2++; continue;}
+	if (isnan(Mcal)) { continue;}
 	Mmos = getMmos  (m, i);
-	if (isnan(Mmos)) { N3++; continue; }
+	if (isnan(Mmos)) { continue; }
 	Mgrid = getMgrid (m, i);
-	if (isnan(Mgrid)) { N4++; continue;}
+	if (isnan(Mgrid)) { continue;}
 	N++;
       }
@@ -638,5 +638,5 @@
   }
 
-  fprintf (stderr, "N1: %d, N2: %d, N3: %d, N4: %d, N0: %d\n", N1, N2, N3, N4, N0);
+  // fprintf (stderr, "N1: %d, N2: %d, N3: %d, N4: %d, N0: %d\n", N1, N2, N3, N4, N0);
   liststats (list, dlist, n, &stats);
   free (list);
