Index: /trunk/psphot/src/psphotFindPeaks.c
===================================================================
--- /trunk/psphot/src/psphotFindPeaks.c	(revision 12371)
+++ /trunk/psphot/src/psphotFindPeaks.c	(revision 12372)
@@ -97,8 +97,10 @@
     // get the peak flux from the unsmoothed image
     // the peak pixel coords are guaranteed to be on the image
+    int row0 = readout->image->row0;
+    int col0 = readout->image->col0;
     for (int i = 0; i < peaks->n; i++) {
 	pmPeak *peak = peaks->data[i];
 	peak->SN = sqrt(peak->value*effArea);
-	peak->flux = readout->image->data.F32[peak->y][peak->x];
+	peak->flux = readout->image->data.F32[peak->y-row0][peak->x-col0];
     }
 
