Index: trunk/ippToPsps/config/init/data.xml
===================================================================
--- trunk/ippToPsps/config/init/data.xml	(revision 28256)
+++ trunk/ippToPsps/config/init/data.xml	(revision 28257)
@@ -101466,56 +101466,56 @@
 
  <table name="ImageFlags">
-   <row name="NEW" value="0x0000" description="no relphot / relastro attempted" />
-   <row name="NOCAL" value="0x0001" description="used within relphot to mean 'don't apply fit'" />
-   <row name="POOR" value="0x0002" description="relphot says image is bad" />
-   <row name="SKIP" value="0x0004" description="external information image is bad" />
-   <row name="FEW" value="0x0008" description="currently too few measurements for good value" />
+   <row name="NEW" value="0" description="no relphot / relastro attempted" />
+   <row name="NOCAL" value="1" description="used within relphot to mean 'don't apply fit'" />
+   <row name="POOR" value="2" description="relphot says image is bad" />
+   <row name="SKIP" value="4" description="external information image is bad" />
+   <row name="FEW" value="8" description="currently too few measurements for good value" />
  </table>
 
  <table name="DetectionFlags">
-   <row name="DEFAULT" value="0x00000000" description="Initial value: resets all bits" />
-   <row name="PSFMODEL" value="0x00000001" description="Source fitted with a psf model (linear or non-linear)" />
-   <row name="EXTMODEL" value="0x00000002" description="Source fitted with an extended-source model" />
-   <row name="FITTED" value="0x00000004" description="Source fitted with non-linear model (PSF or EXT; good or bad)" />
-   <row name="FITFAIL" value="0x00000008" description="Fit (non-linear) failed (non-converge, off-edge, run to zero)" />
-   <row name="POORFIT" value="0x00000010" description="Fit succeeds, but low-SN, high-Chisq, or large (for PSF -- drop?)" />
-   <row name="PAIR" value="0x00000020" description="Source fitted with a double psf" />
-   <row name="PSFSTAR" value="0x00000040" description="Source used to define PSF model" />
-   <row name="SATSTAR" value="0x00000080" description="Source model peak is above saturation" />
-   <row name="BLEND" value="0x00000100" description="Source is a blend with other sourcers" />
-   <row name="EXTERNALPOS" value="0x00000200" description="Source based on supplied input position" />
-   <row name="BADPSF" value="0x00000400" description="Failed to get good estimate of object's PSF" />
-   <row name="DEFECT" value="0x00000800" description="Source is thought to be a defect" />
-   <row name="SATURATED" value="0x00001000" description="Source is thought to be saturated pixels (bleed trail)" />
-   <row name="CR_LIMIT" value="0x00002000" description="Source has crNsigma above limit" />
-   <row name="EXT_LIMIT" value="0x00004000" description="Source has extNsigma above limit" />
-   <row name="MOMENTS_FAILURE" value="0x00008000" description="could not measure the moments" />
-   <row name="SKY_FAILURE" value="0x00010000" description="could not measure the local sky" />
-   <row name="SKYVAR_FAILURE" value="0x00020000" description="could not measure the local sky variance" />
-   <row name="MOMENTS_SN" value="0x00040000" description="moments not measured due to low S/N" />
-   <row name="BIG_RADIUS" value="0x00100000" description="poor moments for small radius, try large radius" />
-   <row name="AP_MAGS" value="0x00200000" description="source has an aperture magnitude" />
-   <row name="BLEND_FIT" value="0x00400000" description="source was fitted as a blend" />
-   <row name="EXTENDED_FIT" value="0x00800000" description="full extended fit was used" />
-   <row name="EXTENDED_STATS" value="0x01000000" description="extended aperture stats calculated" />
-   <row name="LINEAR_FIT" value="0x02000000" description="source fitted with the linear fit" />
-   <row name="NONLINEAR_FIT" value="0x04000000" description="source fitted with the non-linear fit" />
-   <row name="RADIAL_FLUX" value="0x08000000" description="radial flux measurements calculated" />
-   <row name="SIZE_SKIPPED" value="0x10000000" description="size could not be determined" />
-   <row name="ON_SPIKE" value="0x20000000" description="peak lands on diffraction spike" />
-   <row name="ON_GHOST" value="0x40000000" description="peak lands on ghost or glint" />
-   <row name="OFF_CHIP" value="0x80000000" description="peak lands off edge of chip" />
-   <row name="NOCAL" value="0x000100000000" description="detection ignored for this analysis (photcode, time range) -- internal only" />
-   <row name="POOR_PHOTOM" value="0x000200000000" description="detection is photometry outlier" />
-   <row name="SKIP_PHOTOM" value="0x000400000000" description="detection was ignored for photometry measurement" />
-   <row name="MEAS_AREA" value="0x000800000000" description="detection near image edge" />
-   <row name="POOR_ASTROM" value="0x001000000000" description="detection is astrometry outlier" />
-   <row name="SKIP_ASTROM" value="0x002000000000" description="detection was ignored for astrometry measurement" />
-   <row name="USED_OBJ" value="0x004000000000" description="detection was used during opdate objects" />
-   <row name="USED_CHIP" value="0x008000000000" description="detection was used during update chips" />
-   <row name="BLEND_MEAS" value="0x010000000000" description="detection is within radius of multiple objects" />
-   <row name="BLEND_OBJ" value="0x020000000000" description="multiple detections within radius of object" />
-   <row name="BLEND_MEAS_X" value="0x100000000000" description="detection is within radius of multiple objects across catalogs" />
-   <row name="ARTIFACT" value="0x200000000000" description="detection is thought to be non-astronomical" />
+   <row name="DEFAULT" value="0" description="Initial value: resets all bits" />
+   <row name="PSFMODEL" value="1" description="Source fitted with a psf model (linear or non-linear)" />
+   <row name="EXTMODEL" value="2" description="Source fitted with an extended-source model" />
+   <row name="FITTED" value="4" description="Source fitted with non-linear model (PSF or EXT; good or bad)" />
+   <row name="FITFAIL" value="8" description="Fit (non-linear) failed (non-converge, off-edge, run to zero)" />
+   <row name="POORFIT" value="16" description="Fit succeeds, but low-SN, high-Chisq, or large (for PSF -- drop?)" />
+   <row name="PAIR" value="32" description="Source fitted with a double psf" />
+   <row name="PSFSTAR" value="64" description="Source used to define PSF model" />
+   <row name="SATSTAR" value="128" description="Source model peak is above saturation" />
+   <row name="BLEND" value="256" description="Source is a blend with other sourcers" />
+   <row name="EXTERNALPOS" value="512" description="Source based on supplied input position" />
+   <row name="BADPSF" value="1024" description="Failed to get good estimate of object's PSF" />
+   <row name="DEFECT" value="2048" description="Source is thought to be a defect" />
+   <row name="SATURATED" value="4096" description="Source is thought to be saturated pixels (bleed trail)" />
+   <row name="CR_LIMIT" value="8192" description="Source has crNsigma above limit" />
+   <row name="EXT_LIMIT" value="16384" description="Source has extNsigma above limit" />
+   <row name="MOMENTS_FAILURE" value="32768" description="could not measure the moments" />
+   <row name="SKY_FAILURE" value="65536" description="could not measure the local sky" />
+   <row name="SKYVAR_FAILURE" value="131072" description="could not measure the local sky variance" />
+   <row name="MOMENTS_SN" value="262144" description="moments not measured due to low S/N" />
+   <row name="BIG_RADIUS" value="1048576" description="poor moments for small radius, try large radius" />
+   <row name="AP_MAGS" value="2097152" description="source has an aperture magnitude" />
+   <row name="BLEND_FIT" value="4194304" description="source was fitted as a blend" />
+   <row name="EXTENDED_FIT" value="8388608" description="full extended fit was used" />
+   <row name="EXTENDED_STATS" value="16777216" description="extended aperture stats calculated" />
+   <row name="LINEAR_FIT" value="33554432" description="source fitted with the linear fit" />
+   <row name="NONLINEAR_FIT" value="67108864" description="source fitted with the non-linear fit" />
+   <row name="RADIAL_FLUX" value="134217728" description="radial flux measurements calculated" />
+   <row name="SIZE_SKIPPED" value="268435456" description="size could not be determined" />
+   <row name="ON_SPIKE" value="536870912" description="peak lands on diffraction spike" />
+   <row name="ON_GHOST" value="1073741824" description="peak lands on ghost or glint" />
+   <row name="OFF_CHIP" value="2147483648" description="peak lands off edge of chip" />
+   <row name="NOCAL" value="4294967296" description="detection ignored for this analysis (photcode, time range) -- internal only" />
+   <row name="POOR_PHOTOM" value="8589934592" description="detection is photometry outlier" />
+   <row name="SKIP_PHOTOM" value="17179869184" description="detection was ignored for photometry measurement" />
+   <row name="MEAS_AREA" value="34359738368" description="detection near image edge" />
+   <row name="POOR_ASTROM" value="68719476736" description="detection is astrometry outlier" />
+   <row name="SKIP_ASTROM" value="137438953472" description="detection was ignored for astrometry measurement" />
+   <row name="USED_OBJ" value="274877906944" description="detection was used during opdate objects" />
+   <row name="USED_CHIP" value="549755813888" description="detection was used during update chips" />
+   <row name="BLEND_MEAS" value="1099511627776" description="detection is within radius of multiple objects" />
+   <row name="BLEND_OBJ" value="2199023255552" description="multiple detections within radius of object" />
+   <row name="BLEND_MEAS_X" value="17592186044416" description="detection is within radius of multiple objects across catalogs" />
+   <row name="ARTIFACT" value="35184372088832" description="detection is thought to be non-astronomical" />
  </table>
 
