Index: /branches/eam_branch_20080511/ppSim/src/ppSimPhotom.c
===================================================================
--- /branches/eam_branch_20080511/ppSim/src/ppSimPhotom.c	(revision 17707)
+++ /branches/eam_branch_20080511/ppSim/src/ppSimPhotom.c	(revision 17708)
@@ -41,8 +41,10 @@
 
             // run the actual photometry analysis
-            if (!psphotReadout (config, view)) {
+            if (!ppSimPhotomReadout (config, view)) {
                 psError(psErrorCodeLast(), false, "failure in psphotReadout for chip %d, cell %d, readout %d\n", view->chip, view->cell, view->readout);
                 return false;
             }
+
+	    ppSimDetectionLimits (config, view);
         }
     }
