The detection flags contain information of detections in the warp and stack images.

Contents

DetectionFlags values, e.g. column infoFlag in table Detection (DR2 only), and XinfoFlag (X one of g, r, i, z, y) in StackObjectThin

These values are also listed in the system metadata table DetectionFlags.

Flag NameFlag value in hexadecimal formFlag value in decimal formDescription of the flag
DEFAULT0x000000000Initial value; resets all bits.
PSFMODEL0x000000011Source fitted with a psf model (linear or non-linear).
EXTMODEL0x000000022Source fitted with an extended-source model.
FITTED0x000000044Source fitted with non-linear model (PSF or EXT; good or bad).
FAIL0x000000088Fit (non-linear) failed (non-converge\; off-edge\; run to zero).
POOR0x0000001016Fit succeeds\; but low-S/N\; high-Chisq\; or large (for PSF -- drop?).
PAIR0x0000002032Source fitted with a double PSF.
PSFSTAR0x0000004064Source used to define PSF model.
SATSTAR0x00000080128Source model peak is above saturation.
BLEND0x00000100256Source is a blend with other sources.
EXTERNAL0x00000200512Source based on supplied input position.
BADPSF0x000004001024Failed to get good estimate of object's PSF.
DEFECT0x000008002048Source is thought to be a defect.
SATURATED0x000010004096Source is thought to be saturated pixels (bleed trail).
CR_LIMIT0x000020008192Source has crNsigma above limit.
EXT_LIMIT0x0000400016384Source has extNsigma above limit.
MOMENTS_FAILURE0x0000800032768Could not measure the moments.
SKY_FAILURE0x0001000065536Could not measure the local sky.
SKYVAR_FAILURE0x00020000131072Could not measure the local sky variance.
BELOW_MOMENTS_SN0x00040000262144Moments not measured due to low S/N.
UNDEF_10x00080000524288Unused bit value.
BIG_RADIUS0x001000001048576Poor moments for small radius\; try large radius.
AP_MAGS0x002000002097152Source has an aperture magnitude.
BLEND_FIT0x004000004194304Source was fitted as a blend.
EXTENDED_FIT0x008000008388608Full extended fit was used.
EXTENDED_STATS0x0100000016777216Extended aperture stats calculated.
LINEAR_FIT0x0200000033554432Source fitted with the linear fit.
NONLINEAR_FIT0x0400000067108864Source fitted with the non-linear fit.
RADIAL_FLUX0x08000000134217728Radial flux measurements calculated.
SIZE_SKIPPED0x10000000268435456Size could not be determined.
PEAK_ON_SPIKE0x20000000536870912Peak lands on diffraction spike.
PEAK_ON_GHOST0x400000001073741824Peak lands on ghost or glint.
PEAK_OFF_CHIP0x800000002147483648Peak lands off edge of chip.

DetectionFlags2 values, e.g. column infoFlag2 in table Detection (DR2 only), and XinfoFlag2 (X one of g, r, i, z, y) in StackObjectThin

These values are also listed in the system metadata table DetectionFlags2.

Flag NameFlag value in hexadecimal formFlag value in decimal formDescription of the flag
DEFAULT0x000000000Initial value; resets all bits.
DIFF_WITH_SINGLE0x000000011Difference source matched to a single positive detection.
DIFF_WITH_DOUBLE0x000000022Difference source matched to positive detections in both images.
MATCHED0x000000044Source generated based on another image (forced photometry at source location).
ON_SPIKE0x000000088More than 25% of (PSF-weighted) pixels land on diffraction spike.
ON_STARCORE0x0000001016More than 25% of (PSF-weighted) pixels land on starcore.
ON_BURNTOOL0x0000002032More than 25% of (PSF-weighted) pixels land on burntool.
ON_CONVPOOR0x0000004064More than 25% of (PSF-weighted) pixels land on convpoor.
PASS1_SRC0x00000080128Source detected in first pass analysis
HAS_BRIGHTER_NEIGHBOR0x00000100256Peak is not the brightest in its footprint
BRIGHT_NEIGHBOR_10x00000200512Flux_negative / (r^2 flux_positive) > 1.
BRIGHT_NEIGHBOR_100x000004001024Flux_negative / (r^2 flux_positive) > 10.
DIFF_SELF_MATCH0x000008002048Positive detection match is probably this source.
SATSTAR_PROFILE0x000010004096Saturated source is modeled with a radial profile.
ECONTOUR_FEW_PTS0x000020008192Too few points to measure the elliptical contour.
RADBIN_NAN_CENTER0x0000400016384Radial bins failed with too many NaN center bin.
PETRO_NAN_CENTER0x0000800032768Petrosian (1976) radial bins failed with too many NaN center bin.
PETRO_NO_PROFILE0x0001000065536Petrosian (1976) not built becaues radial bins missing.
PETRO_INSIG_RATIO0x00020000131072Insignificant measurement of Petrosian (1976) ratio.
PETRO_RATIO_ZEROBIN0x00040000262144Petrosian (1976) ratio in the 0th bin (likely bad).
EXT_FITS_RUN0x00080000524288Attempted to run extended fits on this source.
EXT_FITS_FAIL0x001000001048576At least one of the model fits failed.
EXT_FITS_RETRY0x002000002097152One of the model fits was retried with new window.
EXT_FITS_NONE0x004000004194304All of the model fits failed.

DetectionFlags3 values, e.g. column infoFlag3 in table Detection (DR2 only), and XinfoFlag3 (X one of g, r, i, z, y) in StackObjectThin

These values are also listed in the system metadata table DetectionFlags3.

 Flag NameFlag value in hexadecimal formFlag value in decimal formDescription of the flag
DEFAULT0x000000000Initial value; resets all bits.
NOCAL0x000000011Detection ignored for this analysis (photcode\; time range) -- internal only.
POOR_PHOTOM0x000000022Detection is photometry outlier.
SKIP_PHOTOM0x000000044Detection was ignored for photometry measurement.
AREA0x000000088Detection near image edge.
POOR_ASTROM0x0000001016Detection is astrometry outlier.
SKIP_ASTROM0x0000002032Detection was ignored for astrometry measurement.
USED_OBJ0x0000004064Detection was used during update objects
USED_CHIP0x00000080128Detection was used during update chips.
BLEND_MEAS0x00000100256Detection is within radius of multiple objects.
BLEND_OBJ0x00000200512Multiple detections within radius of object.
WARP_USED0x000004001024Measurement used to find mean warp photometry.
UNDEF_40x000008002048Unused bit value.
BLEND_MEAS_X0x000010004096Detection is within radius of multiple objects across catalogs.
ARTIFACT0x000020008192Detection is thought to be non-astronomical.
SYNTH_MAG0x0000400016384Magnitude is synthetic.
PHOTOM_UBERCAL0x0000800032768Externally-supplied zero point from ubercal analysis.
STACK_PRIMARY0x0001000065536This stack measurement is in the primary skycell.
STACK_PHOT_SRC0x00020000131072This measurement supplied the stack photometry.
ICRF_QSO0x00040000262144This measurement is an ICRF reference position.
IMAGE_EPOCH0x00080000524288This measurement is registered to the image epoch (not tied to the reference catalog epoch).
PHOTOM_PSF0x001000001048576This measurement is used for the mean PSF magnitude.
PHOTOM_APER0x002000002097152This measurement is used for the mean aperture magnitude.
PHOTOM_KRON0x004000004194304This measurement is used for the mean Kron (1980) magnitude.
MASKED_PSF0x0100000016777216This measurement is masked based on IRLS weights for the mean PSF magnitude.
MASKED_APER0x0200000033554432This measurement is masked based on IRLS weights for the mean aperture magnitude.
MASKED_KRON0x0400000067108864This measurement is masked based on IRLS weights for the mean Kron (1980) magnitude.
OBJECT_HAS_2MASS0x10000000268435456This measurement comes from an object with 2MASS data.
OBJECT_HAS_GAIA0x20000000536870912This measurement comes from an object with Gaia data.
OBJECT_HAS_TYCHO0x400000001073741824This measurement comes from an object with Tycho data.
  • No labels