Index: trunk/psModules/src/imcombine/pmPSFEnvelope.c
===================================================================
--- trunk/psModules/src/imcombine/pmPSFEnvelope.c	(revision 16714)
+++ trunk/psModules/src/imcombine/pmPSFEnvelope.c	(revision 16832)
@@ -32,7 +32,7 @@
 
 //#define TESTING                         // Enable test output
-#define PEAK_FLUX 1.0e3                 // Peak flux for each source
+#define PEAK_FLUX 1.0e4                 // Peak flux for each source
 #define SKY_VALUE 0.0e0                 // Sky value for fake image
-#define WEIGHT_VAL 1.0e0                // Weighting for image
+#define WEIGHT_VAL 1.0e-3               // Weighting for image
 #define PSF_STATS PS_STAT_SAMPLE_MEDIAN | PS_STAT_SAMPLE_STDEV // Statistics options for measuring PSF
 
@@ -199,5 +199,6 @@
     psFree(envelope);
 
-    readout->weight = (psImage*)psBinaryOp(NULL, readout->image, "+", psScalarAlloc(1.0, PS_TYPE_F32));
+    // XXX This seems the best way to set the weight image so that pixels aren't rejected as "insignificant"
+    readout->weight = (psImage*)psBinaryOp(NULL, readout->image, "*", readout->image);
     readout->mask = psImageAlloc(numCols, numRows, PS_TYPE_MASK);
     psImageInit(readout->mask, 0);
