Index: /branches/eam_branches/ipp-20101205/psphot/src/psphotChoosePSF.c
===================================================================
--- /branches/eam_branches/ipp-20101205/psphot/src/psphotChoosePSF.c	(revision 30422)
+++ /branches/eam_branches/ipp-20101205/psphot/src/psphotChoosePSF.c	(revision 30423)
@@ -477,4 +477,5 @@
 	// value is probably more representative of the value needed by those tools (it is also
 	// more stable?)
+	bool status = false;
 	float fwhmMajorMoments = psMetadataLookupF32(&status, readout->analysis, "IQ_FW1");
 	float fwhmMinorMoments = psMetadataLookupF32(&status, readout->analysis, "IQ_FW1");
@@ -483,5 +484,7 @@
         psAssert(chip, "Cell should be attached to a chip.");
         psMetadataItem *item = psMetadataLookup(chip->concepts, "CHIP.SEEING"); // Item with chip
-        item->data.F32 = 0.5 * (fwhmMajMoments + fwhmMinMoments);
+        item->data.F32 = 0.5 * (fwhmMajorMoments + fwhmMinorMoments);
+
+        psLogMsg ("psphot", PS_LOG_DETAIL, "fwhm (psf): %f,%f (moments): %f,%f", fwhmMaj, fwhmMin, fwhmMajorMoments, fwhmMinorMoments);
     }
 
