Index: trunk/psphot/src/psphotWeightBias.c
===================================================================
--- trunk/psphot/src/psphotWeightBias.c	(revision 10096)
+++ trunk/psphot/src/psphotWeightBias.c	(revision 11200)
@@ -18,8 +18,8 @@
 
     // set fitting method to use non-poisson errors (local sky error)
-    float SKY_STDEV = psMetadataLookupF32 (&status, recipe, "SKY_STDEV");
+    float SKY_SIG = psMetadataLookupF32 (&status, recipe, "SKY_SIG");
     if (!status) {
-      SKY_STDEV = 1.0;
-        psWarning("SKY_STDEV is not set --- defaulting to %f\n", SKY_STDEV);
+      SKY_SIG = 1.0;
+        psWarning("SKY_SIG is not set --- defaulting to %f\n", SKY_SIG);
     }
     // use poissonian errors or local-sky errors
@@ -29,5 +29,5 @@
         psWarning("POISSON_ERRORS is not set in the recipe --- defaulting to true.\n");
     }
-    pmSourceFitModelInit (15, 0.1, PS_SQR(SKY_STDEV), POISSON_ERRORS);
+    pmSourceFitModelInit (15, 0.1, PS_SQR(SKY_SIG), POISSON_ERRORS);
 
     // option to limit analysis to a specific region
