Index: trunk/psphot/src/psphotReadout.c
===================================================================
--- trunk/psphot/src/psphotReadout.c	(revision 21250)
+++ trunk/psphot/src/psphotReadout.c	(revision 21366)
@@ -40,5 +40,5 @@
 
     // Generate the mask and weight images, including the user-defined analysis region of interest
-    psphotSetMaskAndWeight (config, readout, recipe);
+    psphotSetMaskAndVariance (config, readout, recipe);
     if (!strcasecmp (breakPt, "NOTHING")) {
         return psphotReadoutCleanup(config, readout, recipe, NULL, NULL, NULL);
