Index: trunk/psphot/src/psphotForced.c
===================================================================
--- trunk/psphot/src/psphotForced.c	(revision 25981)
+++ trunk/psphot/src/psphotForced.c	(revision 31154)
@@ -1,3 +1,4 @@
 # include "psphotStandAlone.h"
+# define FORCED_PHOTOMETRY 1
 
 int main (int argc, char **argv) {
@@ -20,5 +21,5 @@
 
     // call psphot for each readout
-    if (!psphotForcedImageLoop (config)) {
+    if (!psphotImageLoop (config, PSPHOT_FORCED)) {
         psErrorStackPrint(stderr, "Error in the psphot image loop\n");
         exit (psphotGetExitStatus());
