Index: /trunk/psphot/src/psphotChoosePSF.c
===================================================================
--- /trunk/psphot/src/psphotChoosePSF.c	(revision 11199)
+++ /trunk/psphot/src/psphotChoosePSF.c	(revision 11200)
@@ -36,8 +36,8 @@
 
     // supply the measured sky variance for optional constant errors (non-poissonian)
-    float SKY_STDEV = psMetadataLookupF32 (&status, recipe, "SKY_STDEV");
-    if (!status) {
-	SKY_STDEV = 1.0;
-        psWarning("SKY_STDEV is not set --- defaulting to %f\n", SKY_STDEV);
+    float SKY_SIG = psMetadataLookupF32 (&status, recipe, "SKY_SIG");
+    if (!status) {
+	SKY_SIG = 1.0;
+        psWarning("SKY_SIG is not set --- defaulting to %f\n", SKY_SIG);
     }
     // use poissonian errors or local-sky errors
@@ -47,5 +47,5 @@
         psWarning("POISSON_ERRORS is not set in the recipe --- defaulting to true.\n");
     }
-    pmSourceFitModelInit (15, 0.01, PS_SQR(SKY_STDEV), POISSON_ERRORS);
+    pmSourceFitModelInit (15, 0.01, PS_SQR(SKY_SIG), POISSON_ERRORS);
 
     // use poissonian errors or local-sky errors
Index: /trunk/psphot/src/psphotImageMedian.c
===================================================================
--- /trunk/psphot/src/psphotImageMedian.c	(revision 11199)
+++ /trunk/psphot/src/psphotImageMedian.c	(revision 11200)
@@ -208,5 +208,5 @@
     psImageStats (statsBck, model->image, NULL, 0);
     psMetadataAdd (recipe, PS_LIST_TAIL, "SKY_MEAN", PS_DATA_F32 | PS_META_REPLACE, "sky model mean",          statsBck->sampleMean);
-    psMetadataAdd (recipe, PS_LIST_TAIL, "SKY_STDEV", PS_DATA_F32 | PS_META_REPLACE, "sky model stdev",        statsBck->sampleStdev);
+    psMetadataAdd (recipe, PS_LIST_TAIL, "SKYSTDEV", PS_DATA_F32 | PS_META_REPLACE, "sky model stdev",        statsBck->sampleStdev);
     psMetadataAdd (recipe, PS_LIST_TAIL, "SKY_MAX",  PS_DATA_F32 | PS_META_REPLACE, "sky model maximum value", statsBck->max);
     psMetadataAdd (recipe, PS_LIST_TAIL, "SKY_MIN",  PS_DATA_F32 | PS_META_REPLACE, "sky model minimum value", statsBck->min);
Index: /trunk/psphot/src/psphotOutput.c
===================================================================
--- /trunk/psphot/src/psphotOutput.c	(revision 11199)
+++ /trunk/psphot/src/psphotOutput.c	(revision 11200)
@@ -105,5 +105,5 @@
     // sky background model statistics
     psMetadataItemTransfer (header, recipe, "SKY_MEAN");
-    psMetadataItemTransfer (header, recipe, "SKY_STDEV");
+    psMetadataItemTransfer (header, recipe, "SKY_SIG");
     psMetadataItemTransfer (header, recipe, "SKY_MIN");
     psMetadataItemTransfer (header, recipe, "SKY_MAX");
Index: /trunk/psphot/src/psphotWeightBias.c
===================================================================
--- /trunk/psphot/src/psphotWeightBias.c	(revision 11199)
+++ /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
