Bitmasks

SDSS makes heavy use of the concept of a bitmask in spectroscopic target flags and other contexts. For the actual bit values for all SDSS flags, see the lists below. More detailed descriptions of the targeting bitmasks for the completed optical surveys and infrared surveys can be found in the DR17 release documentation.

The page using bitmasks provides help in using these bitmask with IDL, python, and CAS.

SDSS-V Bitmasks

SDSSV_BOSS_TARGET0

Bit NameBit NumberDecimal ValueDescription
SKY01empty sky fiber for calibrating night sky emission
OPS_STD_EBOSS12spectrophotometric flux standard from eBOSS survey. Includes BOSS F dwarf flux standard selected at narrower magnitude range and wider color range,  QSOs, and White Dwarfs
OPS_STD_BOSS24spectrophotometric flux standard selected via Gaia color-mag cuts designed to emulate prior SDSS-photometry based selection of F dwarf flux standards
OPS_STD_BOSS-RED38spectrophotometric flux standard selected via de-reddened Gaia-2MASS color/mag/reduced proper motion cuts (designed to provide F star flux standards even in highly reddened regions)
OPS_STD_BOSS_TIC416spectrophotometric flux standard F-dwarf targets selected from the TIC catalogue, based on Teff and logg, plus GAIA magnitudes
OPS_SKY_BOSS-NOTDB532empty sky fiber chosen by platedesign pipeline
OPS_SKY_2MASS664empty sky fiber obtained with SDSS-IV Apogee method
SPARE7128
BHM_RM_CORE8256Selected as a target of Black Hole Mapper’s (BHM) Reverberation Mapping (RM) sample – targets selected by  a QSO classification and photoz regression algorithm based on multi-dimensional Skew-t functions.
BHM_RM_KNOWN-SPEC9512Selected as a target of Black Hole Mapper’s (BHM) Reverberation Mapping (RM) sample – targets selected because they have existing spectroscopic confirmations
BHM_RM_VAR101024Selected as a target of Black Hole Mapper’s (BHM) Reverberation Mapping (RM) sample – targets selected by optical variability (DES, PS1) properties
BHM_RM_ANCILLARY112048Selected as a target of Black Hole Mapper’s (BHM) Reverberation Mapping (RM) sample – targets selected by WISE colours or by the XDQSO algorithm
SPARE124096
SPARE138192
BHM_AQMES_MED1416384Selected as a target of BHM’s Apache Point Observatory Quasar Multi-Epoch Survey (AQMES) Medium cadence sample
BHM_AQMES_MED-FAINT1532768Selected as a target of BHM’s AQMES Medium cadence faint object sample
BHM_AQMES_WIDE31665536Selected as a target of BHM’s AQMES wide 3-epoch cadence sample
BHM_AQMES_WIDE3-FAINT17131072Selected as a target of BHM’s AQMES wide 3-epoch cadence faint object sample
BHM_AQMES_WIDE218262144Selected as a target of BHM’s AQMES wide 2-epoch cadence sample
BHM_AQMES_WIDE2-FAINT19524288Selected as a target of BHM’s AQMES wide 2-epoch cadence faint object sample
BHM_AQMES_BONUS-DARK201048576Selected as a target of BHM’s AQMES bonus dark-time sample
BHM_AQMES_BONUS-BRIGHT212097152Selected as a target of BHM’s AQMES bonus bright-time sample
SPARE224194304
SPARE238388608
BHM_SPIDERS_CLUSTERS-EFEDS-SDSS-REDMAPPER2416777216Selected as a target of BHM’s SPIDERS clusters eFEDS RedMapper sample using SDSS photometry
BHM_SPIDERS_CLUSTERS-EFEDS-HSC-REDMAPPER2533554432Selected as a target of BHM’s SPIDERS clusters eFEDS RedMapper sample using HyperSuprimeCam photometry
BHM_SPIDERS_CLUSTERS-EFEDS-LS-REDMAPPER2667108864Selected as a target of BHM’s SPIDERS clusters eFEDS RedMapper sample using LegacySurvey photometry
BHM_SPIDERS_CLUSTERS-EFEDS-EROSITA27134217728Selected as a target of BHM’s SPIDERS clusters eFEDS eROSITA sample
BHM_SPIDERS_AGN-EFEDS28268435456Selected as a target of BHM’s SPIDERS AGN eFEDS sample
SPARE29536870912
SPARE301073741824
BHM_CSC_BOSS-DARK312147483648Selected as a target of BHM’s Chandra Source Catalog (CSC) dark-time sample
BHM_CSC_BOSS-BRIGHT324294967296Selected as a target of BHM’s Chandra Source Catalog (CSC) bright-time sample
BHM_GUA_DARK338589934592Selected as a target of BHM’s Gaia/UnWISE AGN dark-time sample
BHM_GUA_BRIGHT3417179869184Selected as a target of BHM’s Gaia/UnWISE AGN brght-time sample
SPARE3534359738368
SPARE3668719476736
MWM_SNC_100PC37137438953472Selected as a target of the MWM’s Solar Neighborhood Census (SNC) 100pc sample
MWM_CB_300PC38274877906944Selected as a target of the MWM’s Compact Binary (CB) 300pc sample
MWM_CB_CVCANDIDATES39549755813888Selected as a target of the MWM’s CB Cataclysmic Variable candidate sample
MWM_CB_GAIAGALEX401099511627776Selected as a target of the MWM’s CB Gaia-Galex sample
MWM_CB_UVEX1412199023255552Selected as a target of the MWM’s CB UV-selected sample
MWM_WD424398046511104Selected as a target of the MWM’s White Dwarf sample
MWM_SNC_250PC438796093022208Selected as a target of the MWM’s SNC 250pc sample
MWM_CV_FAINT4417592186044416Selected as a target of the MWM’s faint Cataclysmic variable (CV) sample
MWM_CV_GREY4535184372088832Selected as a target of the MWM’s grey-time Cataclysmic variable (CV) sample
MWM_CV_BRIGHT4670368744177664Selected as a target of the MWM’s bright CV sample
MWM_HALO_BB47140737488355328Selected as a target of the MWM’s Halo Star Best & Brightest sample
MWM_HALO_SM48281474976710656Selected as a target of the MWM’s Halo Star SM sample
MWM_YSO_S149562949953421312Selected as a target of the MWM’s YSO Optically visible Class I/II sample
MWM_YSO_S3501125899906842620Selected as a target of the MWM’s YSO Optically variable Class III sample
MWM_YSO_CLUSTER512251799813685250Selected as a target of the MWM’s YSO Clustering selected sample
MWM_OB524503599627370500Selected as a target of the MWM’s OB star sample
MWM_OB_CEPHEIDS539007199254740990Selected as a target of the MWM’s OB Cepheid star sample
MWM_LEGACY_IR2OPT5418014398509482000Selected as a target of the MWM’s APOGEE legacy observations
MWM_CB_UVEX25536028797018964000Selected as a target of the MWM’s CB UV-selected sample
MWM_CB_UVEX35672057594037927900Selected as a target of the MWM’s CB UV-selected sample
MWM_CB_UVEX457144115188075856000Selected as a target of the MWM’s CB UV-selected sample
MWM_CB_UVEX558288230376151712000Selected as a target of the MWM’s CB UV-selected sample
SPARE59576460752303423000
SPARE601152921504606850000
SPARE612305843009213690000
SPARE624611686018427390000

These are the targeting flag bit masks utilized for the SDSS-V BOSS Plate Program.

SDSSV_APOGEE_TARGET0

These are the targeting flag bit masks utilized for the SDSS-V APOGEE Plate Program.

Bit NameBit NumberDecimal ValueDescription
SKY01empty sky fiber for calibrating night sky emission
OPS_APOGEE_STD12telluric/flux standard
OPS_SKY_2MASS24empty sky fiber obtained with SDSS-IV Apogee method
OPS_STD_2MASS38telluric/flux standard obtained with SDSS-IV Apogee method
spare416
spare532
spare664
MWM_SNC_100PC7128Selected as a target of the Milky Way Mapper’s (MWM) Solar Neighborhood Census (SNC) 100pc sample
MWM_SNC_250PC8256Selected as a target of the MWM’s SNC 250pc sample
MWM_RV_LONG-BPLATES9512Selected as a target of the MWM’s Radial Velocity (RV) Long Cadence Plate Program Sample
MWM_RV_SHORT-BPLATES101024Selected as a target of the MWM’s RV Short Cadence Plate Program Sample
MWM_RV_LONG-RM112048Selected as a target of the MWM’s RV Reverberation Mapping (RM) Long Cadence Co-observing sample
MWM_RV_SHORT-RM124096Selected as a target of the MWM’s RV RM Short Cadence Co-observing sample
MWM_PLANET_TESS138192Selected as a target of the MWM’s TESS planet host characterization sample
MWM_YSO_CMZ1416384Selected as a target of the MWM’s Young Stellar Object (YSO) Central Molecular Zone (CMZ) sample
MWM_YSO_OB1532768Selected as a target of the MWM’s YSO OB star sample
MWM_YSO_S11665536Selected as a target of the MWM’s YSO Optically visible Class I/II sample
MWM_YSO_S217131072Selected as a target of the MWM’s YSO Optically invisible Class I/II sample
MWM_YSO_S2-518262144Selected as a target of the MWM’s YSO WISE saturated sample
MWM_YOS_S319524288Selected as a target of the MWM’s YSO Optically variable Class III sample
MWM_YSO_CLUSTER201048576Selected as a target of the MWM’s YSO Clustering selected sample
MWM_GG212097152Selected as a target of the MWM’s Galactic Genesis sample
MWM_DUST224194304Selected as a target of the MWM’s Dust sample
MWM_TESSRGB238388608Selected as a target of the MWM’s TESS Red Giant Branch (RGB) sample
BHM_CSC_APOGEE2416777216Selected as a target of the Black Hole Mapper’s (BHM) Chandra Source Catalog (CSC) APOGEE follow-up sample
MWM_RV_long-FPS2533554432Selected as a target of the MWM’s Radial Velocity Long Cadence FPS Program
MWM_RV_SHORT-FPS2667108864Selected as a target of the MWM’s Radial Velocity Short Cadence FPS Program
SPARE27134217728
SPARE28268435456
SPARE29536870912
SPARE301073741824
CHECKED?312147483648bit 31 is apparently always set to indicate that the target selection has been checked.

GRI_GAIA_TRANSFORM

This flag helps track the provenance of ugriz photometry that is supplied in the SDSS-V plate design process

Bit NameBit NumberDecimal ValueDescription
U_GAIA_TRANSFORMED01u photometry provided for plate design is transformed from Gaia mags.
U_GAIA_OUTSIDE12u photometry cannot be calculated from Gaia photometry as it lies outside range of colors for which transforms are defined
U_GAIA_NONE24u photometry cannot be calculated for this source
G_GAIA_TRANSFORMED38g photometry provided for plate design is transformed from Gaia mags.
G_GAIA_OUTSIDE416g photometry cannot be calculated from Gaia photometry as it lies outside range of colors for which transforms are defined
G_GAIA_NONE532g photometry cannot be calculated for this source
R_GAIA_TRANSFORMED664r photometry provided for plate design is transformed from Gaia mags.
R_GAIA_OUTSIDE7128r photometry cannot be calculated from Gaia photometry as it lies outside range of colors for which transforms are defined
R_GAIA_NONE8256r photometry cannot be calculated for this source
I_GAIA_TRANSFORMED9512i photometry provided for plate design is transformed from Gaia mags.
I_GAIA_OUTSIDE101024i photometry cannot be calculated from Gaia photometry as it lies outside range of colors for which transforms are defined
I_GAIA_NONE112048i photometry cannot be calculated for this source
Z_GAIA_TRANSFORMED124096z photometry provided for plate design is transformed from Gaia mags.
Z_GAIA_OUTSIDE138192z photometry cannot be calculated from Gaia photometry as it lies outside range of colors for which transforms are defined
Z_GAIA_NONE1416384z photometry cannot be calculated for this source
GAIA_NEIGHBOR1532768bright gaia neighbor close to the star
G_PANSTARRS1665536g photometry provided by PanSTARRS
R_PANSTARRS17131072r photometry provided by PanSTARRS
I_PANSTARRS18262144i photometry provided by PanSTARRS
Z_PANSTARRS19524288z photometry provided by PanSTARRS
OFFSET201048576position shifted with respect to center of star (catalogid corresponds to GAIA id)

SPPIXMASK: Mask bits for an SDSS spectrum

Each of these bits is set for each fiber and each pixel. Bits 0-15 indicate something about the spectrum as a whole, or at least about its red or blue half (corresponding to the two spectrographs). Within a spectrum, if these bits are set they will be set for all the bits in one or both of the halves. Bits 16-31 indicate something about each particular pixel.
The conditions that are considered very bad are already used to set the errors to infinity for the effected pixels (specifically, the inverse variance is set to zero). The most useful mask bit to look at is BRIGHTSKY, which indicates when the sky is so bright relative to the object that perhaps one shouldn’t trust any of the object flux there. Our reported errors are meant to include sky-subtraction errors, but there are instances (particularly around 5577) where these errors may be untrustworthy.

Bit NameBinary DigitDescription
NOPLUG0Fiber not listed in plugmap file
BADTRACE1Bad trace from routine TRACE320CRUDE
BADFLAT2Low counts in fiberflat
BADARC3Bad arc solution
MANYBADCOLUMNS4More than 10% of pixels are bad columns
MANYREJECTED5More than 10% of pixels are rejected in extraction
LARGESHIFT6Large spatial shift between flat and object position
BADSKYFIBER7Sky fiber shows extreme residuals
NEARWHOPPER8DEPRECATED, no longer set as of BOSS DR9. Prior to DR9 meant within 2 fibers of a whopping fiber (exclusive)
WHOPPER9Whopping fiber, with a very bright source.
SMEARIMAGE10DEPRECATED. Prior to DR9 meant smear available for red and blue cameras
SMEARHIGHSN11DEPRECATED. Prior to DR9 meant S/N sufficient for full smear fit
SMEARMEDSN12DEPRECATED. Prior to DR9 meant S/N only sufficient for scaled median fit
NEARBADPIXEL16Bad pixel within 3 pixels of trace.
LOWFLAT17Flat field less than 0.5
FULLREJECT18Pixel fully rejected in extraction (INVVAR=0)
PARTIALREJECT19Some pixels rejected in extraction
SCATTEREDLIGHT20Scattered light significant
CROSSTALK21Cross-talk significant
NOSKY22Sky level unknown at this wavelength (INVVAR=0)
BRIGHTSKY23Sky level > flux + 10*(flux_err) AND sky > 1.25 * median(sky,99 pixels)
NODATA24DEPRECATED, should be ignored in favor of flagging on INVVAR=0. Prior to DR9 meant no data available in combine B-spline (INVVAR=0)
COMBINEREJ25Rejected in combine B-spline
BADFLUXFACTOR26Low flux-calibration or flux-correction factor
BADSKYCHI27Relative ?2 > 3 in sky residuals at this wavelength
REDMONSTER28Contiguous region of bad ?2 in sky residuals (with threshold of relative ?2 > 3).

ZWARNING: Warnings for SDSS spectra

Spectra with zWarning equal to zero have no known problems. MANY_OUTLIERS is only ever set in the data taken with the SDSS spectrograph, not the BOSS spectrograph (the SDSS-I, -II and SEGUE-2 surveys). If it is set, that usually indicates a high signal-to-noise spectrum or broad emission lines in a galaxy; that is, MANY_OUTLIERS only rarely signifies a real error.

Bit NameBinary DigitDescription
SKY0sky fiber
LITTLE_COVERAGE1too little wavelength coverage (WCOVERAGE < 0.18)
SMALL_DELTA_CHI22chi-squared of best fit is too close to that of second best (< 0.01 in reduced chi-squared)
NEGATIVE_MODEL3synthetic spectrum is negative (only set for stars and QSOs)
MANY_OUTLIERS4fraction of points more than 5 sigma away from best model is too large (> 0.05)
Z_FITLIMIT5chi-squared minimum at edge of the redshift fitting range (Z_ERR set to -1)
NEGATIVE_EMISSION6a QSO line exhibits negative emission, triggered only in QSO spectra, if C_IV, C_III, Mg_II, H_beta, or H_alpha has LINEAREA + 3 * LINEAREA_ERR < 0
UNPLUGGED7the fiber was unplugged or damaged, and the location of any spectrum is unknown
BAD_TARGET8catastrophically bad targeting data (e.g. bad astrometry)
NODATA9No data for this fiber, e.g. because spectrograph was broken during this exposure (ivar=0 for all pixels)

ZWARNING_NOQSO: Warnings for SDSS/BOSS spectra

Same as ZWARNING above but without taking into account QSO templates when determining the best fit template model to the spectra. It only compares GALAXY and STAR templates. It is the target bit used to select confident galaxy redshifts in BOSS and eBOSS.

Completed Survey Bitmasks

FLAGS1: Object flags from photo reductions (first 32 of CAS flags bitmask)

In the flat-files, the photo flags are split into two 32-bit variables (objc_flags1 and objc_flags2). In the CAS, these are combined into a single variable flags. The flags listed here are associated with objc_flags1, and the first 32-bits of flags. Note there are also flags on a per-band basis. The names of these flags in the CAS are appended with the band, e.g. flags_r. In the flat files an array of length 5 is used flags[5] ordered u,g,r,i,z

Bit nameBinary digitDescription
CANONICAL_CENTER0The quantities (psf counts, model fits and likelihoods) that are usually determined at an object’s center as determined band-by-band were in fact determined at the canonical center (suitably transformed). This is due to the object being to close to the edge to extract a profile at the local center, and OBJECT1_EDGE is also set.
BRIGHT1Indicates that the object was detected as a bright object. Since these are typically remeasured as faint objects, most users can ignore BRIGHT objects.
EDGE2Object is too close to edge of frame in this band.
BLENDED3Object was determined to be a blend. The flag is set if: more than one peak is detected within an object in a single band together; distinct peaks are found when merging different colors of one object together; or distinct peaks result when merging different objects together.
CHILD4Object is a child, created by the deblender.
PEAKCENTER5Given center is position of peak pixel, as attempts to determine a better centroid failed.
NODEBLEND6Although this object was marked as a blend, no deblending was attempted.
NOPROFILE7Frames couldn’t extract a radial profile.
NOPETRO8No Petrosian radius or other Petrosian quantities could be measured.
MANYPETRO9Object has more than one possible Petrosian radius.
NOPETRO_BIG10The Petrosian ratio has not fallen to the value at which the Petrosian radius is defined at the outermost point of the extracted radial profile. NOPETRO is set, and the Petrosian radius is set to the outermost point in the profile.
DEBLEND_TOO_MANY_PEAKS11The object had the OBJECT1_DEBLEND flag set, but it contained too many candidate children to be fully deblended. This flag is only set in the parent, i.e. the object with too many peaks.
CR12Object contains at least one pixel which was contaminated by a cosmic ray. The OBJECT1_INTERP flag is also set. This flag does not mean that this object is a cosmic ray; rather it means that a cosmic ray has been removed.
MANYR5013More than one radius was found to contain 50% of the Petrosian flux. (For this to happen part of the radial profile must be negative).
MANYR9014More than one radius was found to contain 90% of the Petrosian flux. (For this to happen part of the radial profile must be negative).
BAD_RADIAL15Measured profile includes points with a S/N <= 0. In practice this flag is essentially meaningless.
INCOMPLETE_PROFILE16A circle, centered on the object, of radius the canonical Petrosian radius extends beyond the edge of the frame. The radial profile is still measured from those parts of the object that do lie on the frame.
INTERP17The object contains interpolated pixels (e.g. cosmic rays or bad columns).
SATUR18The object contains saturated pixels; INTERP is also set.
NOTCHECKED19Object includes pixels that were not checked for peaks, for example the unsmoothed edges of frames, and the cores of subtracted or saturated stars.
SUBTRACTED20Object (presumably a star) had wings subtracted.
NOSTOKES21Object has no measured Stokes parameters.
BADSKY22The estimated sky level is so bad that the central value of the radial profile is crazily negative; this is usually the result of the subtraction of the wings of bright stars failing.
PETROFAINT23At least one candidate Petrosian radius occurred at an unacceptably low surface brightness.
TOO_LARGE24The object is (as it says) too large. Either the object is still detectable at the outermost point of the extracted radial profile (a radius of approximately 260 arcsec), or when attempting to deblend an object, at least one child is larger than half a frame (in either row or column).
DEBLENDED_AS_PSF25When deblending an object, in this band this child was treated as a PSF.
DEBLEND_PRUNED26When solving for the weights to be assigned to each child the deblender encountered a nearly singular matrix, and therefore deleted at least one of them.
ELLIPFAINT27No isophotal fits were performed.
BINNED128The object was detected in an unbinned image.
BINNED229The object was detected in a 2×2 binned image after all unbinned detections have been replaced by the background level.
BINNED430The object was detected in a 4×4 binned image. The objects detected in the 2×2 binned image are not removed before doing this.
MOVED31The object appears to have moved during the exposure. Such objects are candidates to be deblended as moving objects.

FLAGS2: Object flags from photo reductions (second 32 of CAS flags bitmask)

In the flat-files, the photo flags are split into two 32-bit variables (objc_flags1 and objc_flags2). In the CAS, these are combined into a single variable flags. The flags listed here are associated with objc_flags2, and the second 32-bits of flags. Note there are also flags on a per-band basis. The names of these flags in the CAS are appended with the band, e.g., flags_r. In the flat files an array of length 5 is used flags2[5] ordered u,g,r,i,z.

Bit nameBit numberDescription
DEBLENDED_AS_MOVING0The object has the MOVED flag set, and was deblended on the assumption that it was moving.
NODEBLEND_MOVING1The object has the MOVED flag set, but was not deblended as a moving object.
TOO_FEW_DETECTIONS2The object has the MOVED flag set, but has too few detection to be deblended as moving.
BAD_MOVING_FIT3The fit to the object as a moving object is too bad to be believed.
STATIONARY4A moving objects velocity is consistent with zero
PEAKS_TOO_CLOSE5Peaks in object were too close (set only in parent objects).
BINNED_CENTER6When centroiding the object the object’s size is larger than the (PSF) filter used to smooth the image.
LOCAL_EDGE7The object’s center in some band was too close to the edge of the frame to extract a profile.
BAD_COUNTS_ERROR8An object containing interpolated pixels had too few good pixels to form a reliable estimate of its error
BAD_MOVING_FIT_CHILD9A putative moving child’s velocity fit was too poor, so it was discarded, and the parent was not deblended as moving
DEBLEND_UNASSIGNED_FLUX10After deblending, the fraction of flux assigned to none of the children was too large (this flux is then shared out as described elsewhere).
SATUR_CENTER11An object’s center is very close to at least one saturated pixel; the object may well be causing the saturation.
INTERP_CENTER12An object’s center is very close to at least one interpolated pixel.
DEBLENDED_AT_EDGE13An object so close to the edge of the frame that it would not ordinarily be deblended has been deblended anyway. Only set for objects large enough to be EDGE in all fields/strips.
DEBLEND_NOPEAK14A child had no detected peak in a given band, but we centroided it anyway and set the BINNED1
PSF_FLUX_INTERP15The fraction of light actually detected (as opposed to guessed at by the interpolator) was less than some number (currently 80%) of the total.
TOO_FEW_GOOD_DETECTIONS16A child of this object had too few good detections to be deblended as moving.
CENTER_OFF_AIMAGE17At least one peak’s center lay off the atlas image in some band. This can happen when the object’s being deblended as moving, or if the astrometry is badly confused.
DEBLEND_DEGENERATE18At least one potential child has been pruned because its template was too similar to some other child’s template.
BRIGHTEST_GALAXY_CHILD19This is the brightest child galaxy in a blend.
CANONICAL_BAND20This band was the canonical band. This is the band used to measure the Petrosian radius used to calculate the Petrosian counts in each band, and to define the model used to calculate model colors; it has no effect upon the coordinate system used for the OBJC center.
AMOMENT_UNWEIGHTED21‘Adaptive’ moments are actually unweighted.
AMOMENT_SHIFT22Object’s center moved too far while determining adaptive moments. In this case, the M_e1 and M_e2 give the (row, column) shift, not the object’s shape.
AMOMENT_MAXITER23Too many iterations while determining adaptive moments.
MAYBE_CR24This object may be a cosmic ray. This bit can get set in the cores of bright stars, and is quite likely to be set for the cores of saturated stars.
MAYBE_EGHOST25Object appears in the right place to be an electronics ghost.
NOTCHECKED_CENTER26Center of object lies in a NOTCHECKED region. The object is almost certainly bogus.
HAS_SATUR_DN27This object is saturated in this band and the bleed trail doesn’t touch the edge of the frame, we we’ve made an attempt to add up all the flux in the bleed trails, and to include it in the object’s photometry.
DEBLEND_PEEPHOLE28The deblend was modified by the optimizer
SPARE329
SPARE230
SPARE131



RESOLVE_STATUS: Flags set by the resolve algorithm

Resolve status for an SDSS catalog entry. Only one of bits RUN_PRIMARY, RUN_RAMP, RUN_OVERLAPONLY, RUN_IGNORE, and RUN_DUPLICATE can be set. RUN_EDGE can be set for any object. To get a unique set of objects across the whole survey, search for objects with SURVEY_PRIMARY set. To get a unique set of objects within a run, search for objects with RUN_PRIMARY set.

Bit NameBinary DigitDescription
RUN_PRIMARY0primary within the objects own run (but not necessarily for the survey as a whole)
RUN_RAMP1in what would be the overlap area of a field, but with no neighboring field
RUN_OVERLAPONLY2only appears in the overlap between two fields
RUN_IGNORE3bright or parent object that should be ignored
RUN_EDGE4near lowest or highest column
RUN_DUPLICATE5duplicate measurement of same pixels in two different fields
SURVEY_PRIMARY8Primary observation within the full survey, where it appears in the primary observation of this part of the sky
SURVEY_BEST9Best observation within the full survey, but it does not appear in the primary observation of this part of the sky
SURVEY_SECONDARY10Repeat (independent) observation of an object that has a different primary or best observation
SURVEY_BADFIELD11In field with score=0
SURVEY_EDGE12Not kept as secondary because it is RUN_RAMP or RUN_EDGE object

CALIB_STATUS: Calibration status for an SDSS image

In the flat files there are arrays of length five for each band calib_status[5] ordered u,g,r,i,z. In the CAS these are named by band pass calibstatus_{band}.

Bit NameBinary DigitDescription
PHOTOMETRIC0Photometric observations
UNPHOT_OVERLAP1Unphotometric observations, calibrated based on overlaps with clear, ubercalibrated data; done on a field-by-field basis. Use with caution.
UNPHOT_EXTRAP_CLEAR2Extrapolate the solution from the clear part of a night (that was ubercalibrated) to the cloudy part. Not recommended for use.
UNPHOT_EXTRAP_CLOUDY3Extrapolate the solution from a cloudy part of the night (where there is overlap) to a region of no overlap. Not recommended for use.
UNPHOT_DISJOINT4Data is disjoint from the rest of the survey (even though conditions may be photometric), the calibration is suspect. Not recommended for use.
INCREMENT_CALIB5Incrementally calibrated by considering overlaps with ubercalibrated data
PS1_UNPHOT6PS1 comparison reveals unphotometric conditions
PS1_CONTRAIL7PS1 comparison shows slightly unphotometric conditions
PT_CLEAR8(INTERNAL USE ONLY in DR8 and later) PT calibration for clear data
PT_CLOUDY9(INTERNAL USE ONLY in DR8 and later) PT calibration for cloudy data
DEFAULT10(INTERNAL USE ONLY in DR8 and later) a default calibration used
NO_UBERCAL11(INTERNAL USE ONLY in DR8 and later) not uber-calibrated
PS1_PCOMP_MODEL13PS1 Used PCA model for flats
PS1_LOW_RMS14PS1 comparison to SDSS has low noise

IMAGE_STATUS: Sky and instrument conditions of SDSS image

Bit NameBinary DigitDescription
CLEAR0Clear skies
CLOUDY1Cloudy skies (unphotometric)
UNKNOWN2Sky conditions unknown (unphotometric)
BAD_ROTATOR3Rotator problems (set score=0)
BAD_ASTROM4Astrometry problems (set score=0)
BAD_FOCUS5Focus bad (set score=0)
SHUTTERS6Shutter out of place (set score=0)
FF_PETALS7Flat-field petals out of place (unphotometric)
DEAD_CCD8CCD bad (unphotometric)
NOISY_CCD9CCD noisy (unphotometric)

LEGACY_TARGET1: Primary target mask bits in SDSS-I, -II (for LEGACY_TARGET1 or PRIMTARGET).

Bit NameBinary DigitDescription
QSO_HIZ0High-redshift (griz) QSO target
QSO_CAP1ugri-selected quasar at high Galactic latitude
QSO_SKIRT2ugri-selected quasar at low Galactic latitude
QSO_FIRST_CAP3FIRST source with stellar colors at high Galactic latitude
QSO_FIRST_SKIRT4FIRST source with stellar colors at low Galactic latitude
GALAXY_RED5Luminous Red Galaxy target (any criteria)
GALAXY6Main sample galaxy
GALAXY_BIG7Low-surface brightness main sample galaxy (mu50 > 23 in r-band)
GALAXY_BRIGHT_CORE8Galaxy targets who fail all the surface brightness selection limits but have r-band fiber magnitudes brighter than 19
ROSAT_A9ROSAT All-Sky Survey match, also a radio source
ROSAT_B10ROSAT All-Sky Survey match, have SDSS colors of AGNs or quasars
ROSAT_C11ROSAT All-Sky Survey match, fall in a broad intermediate category that includes stars that are bright, moderately blue, or both
ROSAT_D12ROSAT All-Sky Survey match, are otherwise bright enough for SDSS spectroscopy
STAR_BHB13blue horizontal-branch stars
STAR_CARBON14dwarf and giant carbon stars
STAR_BROWN_DWARF15brown dwarfs (note this sample is tiled)
STAR_SUB_DWARF16low-luminosity subdwarfs
STAR_CATY_VAR17cataclysmic variables
STAR_RED_DWARF18red dwarfs
STAR_WHITE_DWARF19hot white dwarfs
SERENDIP_BLUE20lying outside the stellar locus in color space
SERENDIP_FIRST21coincident with FIRST sources but fainter than the equivalent in quasar target selection (also includes non-PSF sources)
SERENDIP_RED22lying outside the stellar locus in color space
SERENDIP_DISTANT23lying outside the stellar locus in color space
SERENDIP_MANUAL24manual serendipity flag
QSO_MAG_OUTLIER25Stellar outlier; too faint or too bright to be targeted
GALAXY_RED_II26Luminous Red Galaxy target (Cut II criteria)
ROSAT_E27ROSAT All-Sky Survey match, but too faint or too bright for SDSS spectroscopy
STAR_PN28central stars of planetary nebulae
QSO_REJECT29Object in explicitly excluded region of color space, therefore not targeted at QSO
SOUTHERN_SURVEY31Set in primtarget if this is a special program target

LEGACY_TARGET2: Secondary target mask bits in SDSS-I, -II

Bit NameBinary DigitDescription
QSO_HIZ0High-redshift (griz) QSO target
QSO_CAP1ugri-selected quasar at high Galactic latitude
QSO_SKIRT2ugri-selected quasar at low Galactic latitude
QSO_FIRST_CAP3FIRST source with stellar colors at high Galactic latitude
QSO_FIRST_SKIRT4FIRST source with stellar colors at low Galactic latitude
GALAXY_RED5Luminous Red Galaxy target (any criteria)
GALAXY6Main sample galaxy
GALAXY_BIG7Low-surface brightness main sample galaxy (mu50 > 23 in r-band)
GALAXY_BRIGHT_CORE8Galaxy targets who fail all the surface brightness selection limits but have r-band fiber magnitudes brighter than 19
ROSAT_A9ROSAT All-Sky Survey match, also a radio source
ROSAT_B10ROSAT All-Sky Survey match, have SDSS colors of AGNs or quasars
ROSAT_C11ROSAT All-Sky Survey match, fall in a broad intermediate category that includes stars that are bright, moderately blue, or both
ROSAT_D12ROSAT All-Sky Survey match, are otherwise bright enough for SDSS spectroscopy
STAR_BHB13blue horizontal-branch stars
STAR_CARBON14dwarf and giant carbon stars
STAR_BROWN_DWARF15brown dwarfs (note this sample is tiled)
STAR_SUB_DWARF16low-luminosity subdwarfs
STAR_CATY_VAR17cataclysmic variables
STAR_RED_DWARF18red dwarfs
STAR_WHITE_DWARF19hot white dwarfs
SERENDIP_BLUE20lying outside the stellar locus in color space
SERENDIP_FIRST21coincident with FIRST sources but fainter than the equivalent in quasar target selection (also includes non-PSF sources)
SERENDIP_RED22lying outside the stellar locus in color space
SERENDIP_DISTANT23lying outside the stellar locus in color space
SERENDIP_MANUAL24manual serendipity flag
QSO_MAG_OUTLIER25Stellar outlier; too faint or too bright to be targeted
GALAXY_RED_II26Luminous Red Galaxy target (Cut II criteria)
ROSAT_E27ROSAT All-Sky Survey match, but too faint or too bright for SDSS spectroscopy
STAR_PN28central stars of planetary nebulae
QSO_REJECT29Object in explicitly excluded region of color space, therefore not targeted at QSO
SOUTHERN_SURVEY31Set in primtarget if this is a special program target

SEGUE1_TARGET: SEGUE-1 primary target bits (Aliased to SEGUE1_TARGET1)

Bit NameBinary DigitDescription
SEGUE1_FG9F and G stars, based on g-r color (0.2 < g-r < 0.48 and 14 < g < 20.2)
SEG1LOW_KG10low latitude selection of K-giant stars
SEG1LOW_TO11low latitude selection of bluetip stars
SEGUE1_MSWD12main-sequence, white dwarf pair
SEGUE1_BHB13blue horizontal branch star
SEGUE1_KG14K-giants (l and red)
SEGUE1_KD15K-dwarfs
SEGUE1_LM16low metallicity star
SEGUE1_CWD17cool white dwarf
SEGUE1_GD18G-dwarf
SEGUE1_WD19white dwarf
SEGUE1_MPMSTO20metal-poor main sequence turn-off
SEGUE1_BD21brown dwarfs
SEGUE1_SDM22M sub-dwarfs
SEGUE1_AGB23asymptotic giant branch stars
SEGUE1_MAN24manual selection
SEG1LOW_AGB27low latitude selection of AGB stars
SEGUE1_CHECKED31was a checked object

More detailed information about the selection criteria for SEGUE-1 is available on the archived SEGUE Target Selection page.

SEGUE1_TARGET2: SEGUE-1 secondary target bits

Bit NameBinary DigitDescription
REDDEN_STD1reddening standard star
SEGUE1_QA 13QA Duplicate Observations (unused)
SKY4sky target
SPECTROPHOTO_STD5spectrophotometry standard (typically an F-star)
SEGUE1_SCIENCE 230SEGUE-1 science target
SEGUE1_TEST 331SEGUE-1 test target

Notes
1 QA duplicate observations are not currently marked in SEGUE1_TARGET2 bitmasks.
2 These are only marked in sourcetype in SpecObjAll.
3 These objects are specific science targets, but since reddening and spectrophotometric targets were also used for SEGUE science, it is not quite as useful as it might appear. Use with caution! These objects have programname ‘segtest’, but not all ‘segtest’ plates have this bit set. Use with caution!

SEGUE2_TARGET1: SEGUE-2 primary target bits

Bit NameBinary DigitDescription
SEGUE2_MSTO0Main-sequence turnoff
SEGUE2_REDKG1Red K-giant stars
SEGUE2_LKG2K-giant star identified by l-color
SEGUE2_PMKG3K-giant star identified by proper motions
SEGUE2_LM4Low metallicity
SEGUE2_HVS5hyper velocity candidate
SEGUE2_XDM6extreme sdM star
SEGUE2_MII7M giant
SEGUE2_HHV8High-velocity halo star candidate
SEGUE2_BHB13Blue horizontal branch star
SEGUE2_CWD17Cool white dwarf
SEGUE2_CHECKED31was a checked object

More detailed information about the selection criteria for SEGUE-2 is available on the archived SEGUE Target Selection page.

SEGUE2_TARGET2: SEGUE-2 secondary target bits

Bit NameBinary DigitDescription
LIGHT_TRAP0light trap hole
SEGUE2_REDDENING1reddening standard
SEGUE2_TEST2test target
SEGUE2_QA*3repeat target across plates
SKY4empty area for sky-subtraction
SEGUE2_SPECPHOTO5spectrophotometric star
GUIDE_STAR6guide star
BUNDLE_HOLE7bundle hole
QUALITY_HOLE8quality hole
HOT_STD9hot standard
SEGUE2_CLUSTER10SEGUE-2 stellar cluster target
SEGUE2_STETSON11Stetson standard target
SEGUE2_CHECKED31was a checked object

*QA duplicate observations are not currently marked in SEGUE2_TARGET2 bitmasks. These are only marked in sourcetype in SpecObjAll.

SPECIAL_TARGET1: SDSS special program target bits

Bit NameBinary DigitDescription
APBIAS0aperture bias target
LOWZ_ANNIS1low-redshift cluster galaxy
QSO_M312QSO in M31
COMMISSIONING_STAR3star in commissioning
DISKSTAR4thin/thick disk star
FSTAR5F-stars
HYADES_MSTAR6M-star in Hyades
LOWZ_GALAXY7low-redshift galaxy
DEEP_GALAXY_RED8deep LRG
DEEP_GALAXY_RED_II9deep LRG
BCG10brightest cluster galaxy
MSTURNOFF11main sequence turnoff
ORION_BD12Brown dwarf in Orion
ORION_MSTAR_EARLY13Early-type M-star (M0-3) in Orion
ORION_MSTAR_LATE14Late-type M-star (M4-) in Orion
SPECIAL_FILLER15filler from completeTile, check primtarget for details
PHOTOZ_GALAXY16test galaxy for photometric redshifts
PREBOSS_QSO17QSO for pre-BOSS observations
PREBOSS_LRG18QSO for pre-BOSS observations
PREMARVELS19pre-MARVELS stellar target
SOUTHERN_EXTENDED20simple extension of southern targets
SOUTHERN_COMPLETE21completion in south of main targets
U_PRIORITY22priority u-band target
U_EXTRA23extra u-band target
U_EXTRA224extra u-band target
FAINT_LRG25faint LRG in south
FAINT_QSO26faint QSO in south
BENT_RADIO27bent double-lobed radio source
STRAIGHT_RADIO28straight double-lobed radio source
VARIABLE_HIPRI29high priority variable
VARIABLE_LOPRI30low priority variable
ALLPSF31i < 19.1 point sources
ALLPSF_NONSTELLAR32i < 19.1 point sources off stellar locus
ALLPSF_STELLAR33i < 19.1 point sources on stellar locus
HIPM34high proper motion
TAURUS_STAR35star on Taurus or reddening plate
TAURUS_GALAXY36galaxy on Taurus or reddening plate
PERSEUS37galaxy in Perseus-Pisces
LOWZ_LOVEDAY38low redshift galaxy selected by Loveday

SPECIAL_TARGET2: Secondary target mask bits in SDSS-I, -II

These bitmask values are appropriate for the following bitmasks used for SDSS-I and -II: LEGACY_TARGET2, SPECIAL_TARGET2 or SECTARGET.

Bit NameBinary DigitDescription
LIGHT_TRAP0hole drilled for bright star, to avoid scattered light
REDDEN_STD1reddening standard star
TEST_TARGET2a test target
QA3quality assurance target
SKY4sky target
SPECTROPHOTO_STD5spectrophotometry standard (typically an F-star)
GUIDE_STAR6guide star hole
BUNDLE_HOLE7fiber bundle hole
QUALITY_HOLE8hole drilled for plate shop quality measurements
HOT_STD9hot standard star
SOUTHERN_SURVEY31a segue or southern survey target

BOSS_TARGET1: BOSS survey primary target selection flags

Bit NameBinary DigitDescription
GAL_LOZ0low-z lrgs
GAL_CMASS1dperp > 0.55, color-mag cut
GAL_CMASS_COMM2dperp > 0.55, commissioning color-mag cut
GAL_CMASS_SPARSE3GAL_CMASS_COMM & (!GAL_CMASS) & (i < 19.9) sparsely sampled
GAL_LODPERP_DEPRECATED5(DEPRECATED) Same as hiz but between dperp00 and dperp0
SDSS_KNOWN6Matches a known SDSS spectra
GAL_CMASS_ALL7GAL_CMASS and the entire sparsely sampled region
GAL_IFIBER2_FAINT8ifiber2 > 21.5, extinction corrected. Used after Nov 2010
QSO_CORE10restrictive qso selection: commissioning only
QSO_BONUS11permissive qso selection: commissioning only
QSO_KNOWN_MIDZ12known qso between [2.2,9.99]
QSO_KNOWN_LOHIZ13known qso outside of miz range. never target
QSO_NN14Neural Net that match to sweeps/pass cuts
QSO_UKIDSS15UKIDSS stars that match sweeps/pass flag cuts
QSO_KDE_COADD16kde targets from the stripe82 coadd
QSO_LIKE17likelihood method
QSO_FIRST_BOSS18FIRST radio match
QSO_KDE19selected by kde+chi2
STD_FSTAR20standard f-stars
STD_WD21white dwarfs
STD_QSO22qso
TEMPLATE_GAL_PHOTO32galaxy templates
TEMPLATE_QSO_SDSS133QSO templates
TEMPLATE_STAR_PHOTO34stellar templates
TEMPLATE_STAR_SPECTRO35stellar templates (spectroscopically known)
QSO_CORE_MAIN40Main survey core sample
QSO_BONUS_MAIN41Main survey bonus sample
QSO_CORE_ED42Extreme Deconvolution in Core
QSO_CORE_LIKE43Likelihood that make it into core
QSO_KNOWN_SUPPZ44known qso between [1.8,2.15]

EBOSS_TARGET0: SEQUELS, TDSS and SPIDERS target selection flags

Bit NameBinary DigitDescription
DO_NOT_OBSERVE0Don’t put a fiber on this object
LRG_IZW1LRG selection in i/z/W plane
LRG_RIW2LRG selection in r/i/W plan with (i-z) cut
QSO_EBOSS_CORE10QSOs in XDQSOz+WISE selection for clustering
QSO_PTF11QSOs with variability in PTF imaging
QSO_REOBS12QSOs from BOSS to be reobserved
QSO_EBOSS_KDE13KDE-selected QSOs (sequels only)
QSO_EBOSS_FIRST14Objects with FIRST radio matches
QSO_BAD_BOSS15QSOs from BOSS with bad spectra
QSO_BOSS_TARGET16Known TARGETS from BOSS with spectra
QSO_SDSS_TARGET17Known TARGETS from SDSS with spectra
QSO_KNOWN18Known QSOs from previous surveys
DR9_CALIB_TARGET19Target found in DR9-calibrated imaging
SPIDERS_RASS_AGN20RASS AGN sources
SPIDERS_RASS_CLUS21RASS Cluster sources
SPIDERS_ERASS_AGN22ERASS AGN sources
SPIDERS_ERASS_CLUS23ERASS Cluster sources
TDSS_A30Main PanSTARRS selection for TDSS
TDSS_FES_DE31TDSS Few epoch spectroscopy
TDSS_FES_DWARFC32TDSS Few epoch spectroscopy
TDSS_FES_NQHISN33TDSS Few epoch spectroscopy
TDSS_FES_MGII34TDSS Few epoch spectroscopy
TDSS_FES_VARBAL35TDSS Few epoch spectroscopy
SEQUELS_PTF_VARIABLE40Variability objects from PTF
SEQUELS_COLLIDED41Collided galaxies from BOSS

EBOSS_TARGET1: eBOSS, TDSS and SPIDERS target selection flags

Bit NameBinary DigitDescription
DO_NOT_OBSERVE0Don’t put a fiber on this object
LRG1_WISE1LRG selection in i/z/W plane
LRG1_IDROP2LRG selection in r/i/W plan with (i-z) cut
LRG_KNOWN3LRG selection in r/i/W plan with (i-z) cut
QSO1_VAR_S829Variability-selected QSOs in the repeated Stripe 82 imaging
QSO1_EBOSS_CORE10QSOs in XDQSOz+WISE selection for clustering
QSO1_PTF11QSOs with variability in PTF imaging
QSO1_REOBS12QSOs from BOSS to be reobserved
QSO1_EBOSS_KDE13KDE-selected QSOs (sequels only)
QSO1_EBOSS_FIRST14Ojbects with FIRST radio matches
QSO1_BAD_BOSS15QSOs from BOSS with bad spectra
QSO_BOSS_TARGET16Known TARGETS from BOSS with spectra
QSO_SDSS_TARGET17Known TARGETS from SDSS with spectra
QSO_KNOWN18Known QSOs from previous surveys
EFEDS_EROSITA_AGN19Point-like eROSITA source – target expected to be AGN, star or compact object
EFEDS_EROSITA_CLUS20Extended eROSITA source – target expected to be galaxy cluster member
EFEDS_HSC_HIZQSO22High redshift QSO candidate from HSC photometry
EFEDS_HSC_WERGS23WISE bright, optically faint radio galaxy from HSC photometry
EFEDS_HSC_REDAGN24Obscured AGN selected in HSC+WISE and/or HSC+VIKING photometry
EFEDS_COSMOQSO25UVX/variability QSO selection
EFEDS_WISE_AGN26WISE colour-selected AGN
EFEDS_WISE_VARAGN27WISE variability-selected AGN
EFEDS_XMMATLAS28X-ray selected target from the XMM-ATLAS coverage in the eFEDS field
EFEDS_CSC229X-ray selected target from the Chandra Source Catalogue in the eFEDS field
TDSS_TARGET30Target for TDSS (subclass found in eboss_target2)
SPIDERS_TARGET31Target for SPIDERS (subclass found in eboss_target2)
S82X_TILE132
S82X_TILE233
S82X_TILE334
EFEDS_SDSSWISE_QSO35QSO candidate from UMAP classification of SDSS+WISE photometric sources
EFEDS_GAIAWISE_QSO36QSO candidate from RF classification of Gaia-unWISE sources
EFEDS_KIDS_QSO37QSO candidate from classification of KiDS+VIKING DR3 sources
EFEDS_SDSS_REDMAPPER38RedMaPPER galaxy cluster candidate with SDSS photometry
EFEDS_HSC_REDMAPPER39RedMaPPER galaxy cluster candidate with HSC photometry
ELG_TEST140Test targets for ELG selection
ELG1_EBOSS41Standard DECALS ELG target selection
ELG1_EXTENDED42Extended DECALS ELG target selection
ELG1_SGC43Final ELG selection, SGC data
ELG1_NGC44Final ELG selection, NGC data
EFEDS_GAIA_WD45Gaia-selected WD binary candidate in the region between the ZAMS and the
WD sequence
EFEDS_GAIAGALEX_WD46Gaia-GALEX UV excess source – expected to be compact binary harbouring a WD
EFEDS_VAR_WD47Optical variability selected WD candidate
STD_FSTAR50standard f-stars
STD_WD51white dwarfs
STD_QSO52qso

EBOSS_TARGET2: eBOSS, TDSS and SPIDERS special target selection flags

Bit NameBinary DigitDescription
SPIDERS_RASS_AGN0RASS AGN sources
SPIDERS_RASS_CLUS1RASS Cluster sources
SPIDERS_ERASS_AGN2ERASS AGN sources
SPIDERS_ERASS_CLUS3ERASS Cluster sources
SPIDERS_XMMSL_AGN4XMM Slew survey
SPIDERS_XCLASS_CLUS5XMM serendipitous clusters
TDSS_A20Main PanSTARRS selection for TDSS
TDSS_FES_DE21QSOs with disk emitter broad line profiles
TDSS_FES_DWARFC22dwarf carbon stars
TDSS_FES_NQHISN23QSOs with previous spectra of S/N>25
TDSS_FES_MGII24binary AGN candidate
TDSS_FES_VARBAL25broad absorption line QSOs
TDSS_B26Main TDSS SES version B
TDSS_FES_HYPQSO27strongly variable QSOs
TDSS_FES_HYPSTAR28strongly variable star
TDSS_FES_WDDM29white dwarf/M dwarf pairs with Halpha emission
TDSS_FES_ACTSTAR30late-M and L stars with Halpha emission
TDSS_CP31TDSS in common with CORE/PTF
TDSS_S82X_FES_HYPQSO32
TDSS_S82X_SESQSO33
TDSS_RQS134quasars targeted at high priority
TDSS_RQS235quasars targeted at medium priority
TDSS_RQS336quasars targeted at lower priority
TDSS_RQS2v37variability selected quasars targeted at medium priority
TDSS_RQS3v38variability selected quasars targeted at lower priority
ELG_SCUSS_TEST140SCUSS selection for test1 ELG plates
ELG_DES_TEST141DES selection for test1 ELG plates
ELG_DESI_TEST142DESI selection for test1 ELG plates
ELG_SDSS_TEST143SDSS-only selection for test1 ELG plates
ELG_UGRIZW_TEST144WISE selection for test1 ELG plates
ELG_UGRIZWbright_TEST145WISE selection for test1 ELG plates
ELG_GRIW_TEST146WISE selection for test1 ELG plates
ELG_DECALS_TEST147DECALS ELG selection, added sept 2015
ELG1_SGC48repeated bit from eboss_target1 for tiling purposes
ELG1_NGC49repeated bit from eboss_target1 for tiling purposes
S82X_BRIGHT_TARGET50
S82X_XMM_TARGET51
S82X_WISE_TARGET52
S82X_SACLAY_VAR_TARGET53
S82X_SACLAY_BDT_TARGET54
S82X_SACLAY_HIZ_TARGET55
S82X_RICHARDS15_PHOTOQSO_TARGET56
S82X_PETERS15_COLORVAR_TARGET57
S82X_LSSTZ4_TARGET58
S82X_UNWISE_TARGET59
S82X_GTRADMZ4_TARGET60
S82X_CLAGN1_TARGET61
S82X_CLAGN2_TARGET62

ANCILLARY_TARGET1: Objects selected as BOSS Ancillary Targets

The presence of a nonzero value for this target flag indicates that the object was selected through one or more of the BOSS ancillary target selection programs.
If you don’t see the ancillary target bit you’re looking for here, try the other ancillary target flag parameter, ANCILLARY_TARGET2.

Bit NameBinary DigitDescription
AMC0Candidate Am CVn variables in Stripe 82
FLARE11Flaring M stars in Stripe 82 (year 1 targets)
FLARE22Flaring M stars in Stripe 82 (year 2 targets)
HPM3High Proper Motion stars in Stripe 82
LOW_MET4Low-metallicity M dwarfs in Stripe 82
VARS5Unusual variable objects (colors outside the stellar and quasar loci) in Stripe 82
BLAZGVAR6A flag used in a pilot version of the ancillary targeting program High-Energy Blazars and Optical Counterparts to Gamma-Ray Sources; no longer used
BLAZR7A flag used in a pilot version of the ancillary targeting program High-Energy Blazars and Optical Counterparts to Gamma-Ray Sources; no longer used
BLAZXR8A target that might have a match with a Fermi source, but which is now below the detection limits of the early Fermi source catalogs
BLAZXRSAM9A flag used in a pilot version of the ancillary targeting program High-Energy Blazars and Optical Counterparts to Gamma-Ray Sources; no longer used
BLAZXRVAR10A flag used in a pilot version of the ancillary targeting program High-Energy Blazars and Optical Counterparts to Gamma-Ray Sources; no longer used
XMMBRIGHT11An object that matches a serendipitous x-ray source from the Second XMM-Newton Serendipitous Source Catalog (2XMMi), with bright i magnitudes (i < 20.5) and bright 2-12 keV fluxes (f2-12 keV > 5 × 10-14 erg*cm-2*s-1)
XMMGRIZ12An object that matches a serendipitous x-ray source from the Second XMM-Newton Serendipitous Source Catalog (2XMMi), with outlier SDSS colors (gr > 1.2 or r – i > 1.0 or i – z > 1.4)
XMMHR13An object that matches a serendipitous x-ray source from the Second XMM-Newton Serendipitous Source Catalog (2XMMi), with unusual hardness ratios in the HR2-HR3 plane
XMMRED14An object that matches a serendipitous x-ray source from the Second XMM-Newton
Serendipitous Source Catalog (2XMMi)
with highly red SDSS colors (gi > 1.0)
FBQSBAL15Broad absorption line (BAL) quasar with spectrum from the FIRST Bright Quasar Survey
LBQSBAL16Broad absorption line (BAL) quasar with spectrum from the Large Bright Quasar Survey
ODDBAL17Broad absorption line (BAL) quasar with various unusual properties (selected by hand)
OTBAL18Photometrically-selected overlapping-trough (OT) broad absorption line (BAL) quasar
PREVBAL19Broad absorption line (BAL) quasar with prior spectrum from SDSS-I/-II
VARBAL20Photometrically-selected candidate broad absorption line (BAL) quasar
BRIGHTGAL21Bright (r < 16) galaxies whose spectra were missed by the original SDSS spectroscopic survey
QSO_AAL22Radio-quiet variable quasar candidates with one absorption system associated with the quasar (v ≤ 5000 km/s in the quasar rest frame)
QSO_AALS23Radio-quiet variable quasar candidates with multiple absorption systems (associated and/or intervening)
QSO_IAL24Radio-quiet variable quasar candidates with one absorption system in the intervening space along our line-of-sight (v > 5000 km/s in the quasar rest frame)
QSO_RADIO25Radio-loud variable quasar candidates with multiple absorption systems (associated and/or intervening)
QSO_RADIO_AAL26Radio-loud variable quasar candidates with one absorption system associated with the quasar (v ≤ 5000 km/s in the quasar rest frame)
QSO_RADIO_IAL27Radio-loud variable quasar candidates with one absorption system in the intervening space along our line-of-sight (v > 5000 km/s in the quasar rest frame)
QSO_NOAALS28Radio-quiet variable quasar candidates with no associated absorption systems and multiple intervening absorption systems
QSO_GRI29Candidate high-redshift quasar (z > 3.6), selected in gri color space
QSO_HIZ30Candidate high-redshift quasar (z > 5.6), detected only in SDSS i and z filters.
QSO_RIZ31Candidate high-redshift quasar (z > 4.5), selected in riz color space
RQSS_SF32Candidate reddened quasar ( E(B-V)) > 0.5 ), selected from an SDSS primary catalog object matched with FIRST catalog data
RQSS_SFC33Candidate reddened quasar ( E(B-V)) > 0.5 ), selected from an SDSS child catalog object matched with FIRST catalog data
RQSS_STM34Candidate reddened quasar ( E(B-V)) > 0.5 ), selected from an SDSS primary catalog object matched with 2MASS catalog data
RQSS_STMC35Candidate reddened quasar ( E(B-V)) > 0.5 ), selected from an SDSS child catalog object matched with 2MASS catalog data
SN_GAL136Likely host galaxy for an SDSS-II supernova, with the BOSS fiber assigned to the galaxy closest to the supernova’s position
SN_GAL237Likely host galaxy for an SDSS-II supernova, with the
BOSS fiber assigned to the second-closest galaxy
SN_GAL338Likely host galaxy for an SDSS-II supernova, with the BOSS fiber assigned to the third-closest galaxy
SN_LOC39Likely host galaxy for an SDSS-II supernova, with the BOSS fiber assigned to the position of the original supernova
SPEC_SN40Likely host galaxy for an SDSS-II supernova, where the original supernova was identified from SDSS spectroscopic data
SPOKE41Widely-separated binary systems in which both stars are low-mass (spectral class M)
WHITEDWARF_NEW42White dwarf candidate whose spectrum had not been observed previously by the SDSS
WHITEDWARF_SDSS43White dwarf candidate with a pre-existing SDSS spectrum
BRIGHTERL44Bright L dwarf candidate (iPSF < 19.5, iPSFzPSF) > 1.14)
BRIGHTERM45Bright M dwarf candidate (iPSF < 19.5, iPSFzPSF) < 1.14)
FAINTERL46Faint L dwarf candidate (iPSF > 19.5, iPSFzPSF) > 1.14)
FAINTERM47Faint M dwarf candidate (iPSF > 19.5, iPSFzPSF) < 1.14)
RED_KG48Giant star in the Milky Way outer halo
RVTEST49Known giant star selected as a test of radial velocity measurement techniques
BLAZGRFLAT50Candidate optical counterpart to a Fermi gamma-ray source, within 2″ of a CRATES radio
source and within a Fermi error ellipse
BLAZGRQSO51Candidate optical counterpart to a Fermi gamma-ray source, within 2″ of a FIRST radio source and within a Fermi error ellipse
BLAZGX52Candidate optical counterpart to a Fermi gamma-ray source, within 1′ of a ROSAT All-Sky Survey x-ray source and within a Fermi error ellipse, and without typical signs of blazar activity
BLAZGXQSO53Candidate optical counterpart to a Fermi gamma-ray source, within 1′ of a ROSAT All-Sky Survey x-ray source and within a Fermi error ellipse
BLAZGXR54Candidate optical counterpart to a Fermi gamma-ray source, with
matches in both radio and x-ray wavelengths: within 1′ of a ROSAT All-Sky
Survey
x-ray source, within 2″ of a FIRST radio source, and within a Fermi error ellipse
BLUE_RADIO56Likely star-forming AGN: blue galaxies that match with FIRST radio sources
CHANDRAV157An object with a Chandra match that is likely to be a star-forming galaxy with black hole accretion
CXOBRIGHT58An object that matches a serendipitous x-ray source from the Chandra Source Catalog, with bright i magnitudes (i < 20.0) and bright 2-8 keV fluxes (f2-8 keV > 5 x 10-14 erg*cm-2*s-1)
CXOGRIZ59An object that matches a serendipitous x-ray source from the Chandra Source Catalog, with outlier SDSS colors (gr > 1.2 or ri > 1.0 or iz > 1.4)
CXORED60An object that matches a serendipitous x-ray source from the Chandra Source Catalog, with highly red SDSS colors (gi > 1.0)
ELG61Luminous blue galaxy with gPSF < 22.5
GAL_NEAR_QSO62A galaxy that lies between 0.006′ and 1′ of the line-of-sight for a spectroscopically-confirmed quasar
MTEMP63Template M-stars observed as a comparison sample in Stripe 82

ANCILLARY_TARGET2: More objects selected as BOSS Ancillary Targets

The presence of a nonzero value for this target flag indicates that the object was selected through one or more of the BOSS ancillary target selection programs.
If you don’t see the ancillary target bit you’re looking for here, try the other ancillary target flag parameter, ANCILLARY_TARGET1.

Bit NameBinary DigitDescription
HIZQSO820Quasar candidate in SDSS stripe 82 selected with UKIDSS YJHK photometry using a more relaxed color cut
HIZQSOIR1Quasar candidate selected with UKIDSS YJHK photometry
KQSO_BOSS2Quasar candidate selected with UKIDSS YJHK photometry
QSO_VAR3Candidate quasar in Stripe 82 survey area, selected from variability alone
QSO_VAR_FPG4Candidate quasar in Stripe 82 survey area, selected from variability alone
RADIO_2LOBE_QSO5Object near the midpoint of a double-lobed object identified in FIRST Catalogs
STRIPE82BCG6The brightest cluster member of a galaxy cluster or group identified in the Stripe 82 survey area
QSO_SUPPZ7A subset of SDSS-I/-II quasars with 1.8 < z < 2.15 that were reobserved with the BOSS spectrograph to measure metal absorption free of any effects from the Lyman-α forest (no longer used in DR12)
QSO_VAR_SDSS8Quasars selected by photometric variability in the overlap regions between stripes of SDSS-I/-II imaging, accounting for roughly 30% of the total BOSS footprint (no longer used in DR12)
QSO_WISE_SUPP9Quasar targets selected on their mid-infrared colors from the WISE satellite, thought to be z>2.2 quasars, as a supplement to the primary BOSS quasar sample (no longer used in DR12)
QSO_WISE_FULL_SKY10Quasar selected from the WISE All-Sky Survey
XMMSDSS11Hard x-ray-selected AGN from XMM
IAMASERS12Known or potential maser
DISKEMITTER_REPEAT13Candidate massive binary black hole pair
WISE_BOSS_QSO14Quasar identified in the WISE All-Sky Survey
QSO_XD_KDE_PAIR15Candidate closely-separated quasar pair
CLUSTER_MEMBER16Member of a galaxy cluster selected from ROSAT All-Sky Survey data
SPOKE217Candidate binary pair in which one star is an M dwarf
FAINT_ELG18Blue star-forming galaxy selected from CFHT-LS photometry
PTF_GAL19A nearby galaxy identified in PTF imaging with an SDSS counterpart
QSO_STD20A standard star targeted to improve BOSS spectrophotometric calibration
HIZ_LRG21A candidate z > 0.6 LRG, selected using a narrower r-i color constraint and observed at higher priority
LRG_ROUND322A candidate z > 0.6 LRG, selected using a broader r-i color constraint and observed at lower priority
WISE_COMPLETE23Galaxy in the same redshift range as the BOSS CMASS sample, but selected with a more relaxed color cut
TDSS_PILOT24Objects identified from PanSTARRS imaging using the selection criteria described on the BOSS ancillary target page
SPIDERS_PILOT25Objects identified from PanSTARRS imaging using the selection criteria described on the BOSS ancillary target page
TDSS_SPIDERS_PILOT26Objects identified using both sets of selection criteria for TDSS_PILOT and SPIDERS_PILOT
QSO_VAR_LF27Candidate quasar in stripe 82, selected by color and variability
TDSS_PILOT_PM28Objects identified using X-ray imaging that has high proper motions
TDSS_PILOT_SNHOST29Objects identified in PanSTARRS imaging that showed transient behavior in extended objects
FAINT_HIZ_LRG30Candidate galaxy in the redshift range 0.6 < z < 0.9, defined by color cuts
QSO_EBOSS_W3_ADM31Candidate quasar, defined by one of the complex color cuts described below and recorded in the W3bitmask parameter of the original targeting file
XMM_PRIME32Candidate AGN identified from the XMM-XXL survey observed at higher priority
XMM_SECOND33Candidate AGN identified from the XMM-XXL survey observed at lower priority
SEQUELS_ELG34Emission-line galaxy targeted by the SEQUELS program
GES35Star observed by the Gaia/ESO Survey (GES)
SEGUE136Star observed by the prior SDSS spectroscopic SEGUE-1 survey
SEGUE237Star observed by SEGUE-2
SDSSFILLER38Star in the GES survey area, targeted from prior SDSS photometry
SEQUELS_ELG_LOWP39Emission-line galaxy targeted by the SEQUELS program at lower priority
25_ORI_WISE40WISE-selected target near the star 25 Ori
25_ORI_WISE_W341WISE-selected target near the star 25 Ori, selected from data in the W3 band
KOEKAP_STAR42WISE-selected source in the star-forming region Kappa Ori, selected from WISE infrared excess
KOE2023_STAR43WISE-selected source in the star-forming region NGC 2023, selected from WISE infrared excess
KOE2068_STAR44WISE-selected source in the star-forming region NGC 2068, selected from WISE infrared excess
KOE2023BSTAR45Other WISE-selected source in the star-forming region NGC 2023
KOE2068BSTAR46Other WISE-selected source in the star-forming region NGC 2068
KOEKAPAPBSTAR47Other WISE-selected source in the star-forming region Kappa Ori
COROTGESAPOG48Star observed by both the CoRoT survey and by APOGEE
COROTGES49Star observed by both CoRoT and GES
APOGEE50Star in the CoRoT survey area, not observed by CoRoT but with an APOGEE spectrum
2MASSFILL51Star in the CoRoT survey area targeted from 2MASS photometry
TAU_STAR52Spitzer-selected source in the Taurus Heiles 2 molecular cloud
SEQUELS_TARGET53A target from the SEQUELS program (no longer used, replaced by EBOSS_TARGET0 flag)
RM_TILE154AGN selected for reverberation mapping study at high priority
RM_TILE255AGN selected for reverberation mapping study at lower priority
QSO_DEEP56Candidate quasar selected by time variability
LBG57Candidate Lyman-break galaxy selected by color
ELAIS_N1_LOFAR58LOFAR source selected with RMS noise criteria
ELAIS_N1_FIRST59Source detected in the FIRST radio catalog
ELAIS_N1_GMRT_GARN60Source identified from deeper GMRT radio data
ELAIS_N1_GMRT_TAYLOR61Fainter source identified from deeper GMRT radio data
ELAIS_N1_JVLA62Very faint source detected in JVLA radio data

BOSSTILE_STATUS: BOSS tiling code status bits

Bit NameBinary DigitDescription
TILED0assigned a fiber
NAKED1not in area covered by tiles
BOSSTARGET2in the high priority set of targets
DECOLLIDED3in the decollided set of high priority
ANCILLARY4in the lower priority, ancillary set
POSSIBLE_KNOCKOUT5knocked out of at least one tile by BOSSTARGET
IGNORE_PRIORITY6priority exceeds max (ANCILLARY only)
TOOBRIGHT7fibermag too bright
BLUEFIBER8allocate this object a blue fiber
CENTERPOST992 arcsec collision with center post
REPEAT10included on more than one tile
FILLER11was a filler (not normal repeat)
NOT_TILED_TARGET12though in input file, not a tiled target
OUT_OF_BOUNDS13outside bounds for this sort of target (for restricted QSO geometry, e.g.)
BAD_CALIB_STATUS14bad CALIB_STATUS
PREVIOUS_CHUNK15included because not tiled in previous overlapping chunk
KNOWN_OBJECT16galaxy has known redshift
DUPLICATE17trimmed as a duplicate object (only checked if not trimmed for any other reason)
DUPLICATE_PRIMARY18has associated duplicate object that were trimmed (but this one is kept)
DUPLICATE_TILED19trimmed as a duplicate object, and its primary was tiled
TOOFAINT20trimmed because it was fainter than the ifiber2mag limit
SUPPLEMENTARY21supplementary targets tiles after the ancillaries (subset of ancillaries)

FLUXMATCH_STATUS: Flags from flux-based matching to SDSS photometry

Bit NameBinary DigitDescription
ORIGINAL_FLUXMATCH0used the original positional match (which exists)
FIBER_FLUXMATCH1flagged due to fiberflux/aperflux issue
NONMATCH_FLUXMATCH2flagged due to non-match
NOPARENT_FLUXMATCH3no overlapping parent in primary field
PARENT_FLUXMATCH4overlapping parent has no children, so used it
BRIGHTEST_FLUXMATCH5picked the brightest child

APOGEE_TARGET1: 1/2 APOGEE target bits

Bit NameBinary DigitDescription
APOGEE_FAINT0Star selected in faint bin of cohort
APOGEE_MEDIUM1Star selected in medium bin of cohort
APOGEE_BRIGHT2Star selected in bright bin of cohort
APOGEE_IRAC_DERED3Star selected using RJCE-IRAC dereddening
APOGEE_WISE_DERED4Star selected using RJCE-WISE dereddening
APOGEE_SFD_DERED5Selected using SFD E(B-V) dereddening
APOGEE_NO_DERED6Star selected using no dereddening
APOGEE_WASH_GIANT7Selected as giant star via Washington+DDO51 photometry
APOGEE_WASH_DWARF8Selected as dwarf star via Washington+DDO51 photometry
APOGEE_SCI_CLUSTER9Probable stellar cluster member
APOGEE_EXTENDED10Extended object
APOGEE_SHORT11Short cohort target star
APOGEE_INTERMEDIATE12Intermediate cohort target star
APOGEE_LONG13Long cohort target star
14
APOGEE_SERENDIPITOUS15Serendipitous interesting target to re-observe
APOGEE_FIRST_LIGHT16“First Light” cluster target
APOGEE_ANCILLARY17An ancillary program target (particular program specified in other bits, see below)
APOGEE_M31_CLUSTER18M31 cluster target (ancillary)
APOGEE_MDWARF19M dwarf star selected for RV/metallicity program (ancillary)
APOGEE_HIRES20Star with optical hi-res spectra (ancillary)
APOGEE_OLD_STAR21Selected as old star (ancillary)
APOGEE_DISK_RED_GIANT22Disk red giant star (ancillary)
APOGEE_KEPLER_EB23Eclipsing binary star from Kepler (ancillary)
APOGEE_GC_PAL124Star in Pal1 globular cluster (ancillary)
APOGEE_MASSIVE_STAR25Massive star (ancillary)
APOGEE_SGR_DSPH26Sagittarius dwarf galaxy member
APOGEE_KEPLER_SEISMO27Kepler astroseismology program target star
APOGEE_KEPLER_HOST28Kepler planet-host program target star
APOGEE_FAINT_EXTRA29Selected as faint target for low target density field
APOGEE_SEGUE_OVERLAP30Selected because of overlap with SEGUE survey
APOGEE_CHECKED31This object was checked for APOGEE target selection.

APOGEE_TARGET2: 2/2 APOGEE target bits

Bit NameBinary DigitDescription
0
APOGEE_FLUX_STANDARD1Flux standard
APOGEE_STANDARD_STAR2Stellar abundance and/or parameters standard
APOGEE_RV_STANDARD3Stellar radial velocity standard
SKY4Blank sky position
5
6
7
8
APOGEE_TELLURIC9Hot (telluric) standard star
APOGEE_CALIB_CLUSTER10Known calibration cluster member star
APOGEE_BULGE_GIANT11Probable giant star in Galactic bulge
APOGEE_BULGE_SUPER_GIANT12Probable supergiant star in Galactic bulge
APOGEE_EMBEDDEDCLUSTER_STAR13Young embedded cluster member (ancillary)
APOGEE_LONGBAR14Probable RC star in long bar (ancillary)
APOGEE_EMISSION_STAR15Emission-line star (ancillary)
APOGEE_KEPLER_COOLDWARF16Kepler cool dwarf or subgiant (ancillary)
APOGEE_MIRCLUSTER_STAR17MIR-detected candidate cluster member (ancillary)
APOGEE_RV_MONITOR_IC34818IC 348 star monitored for RV variability (ancillary)
APOGEE_RV_MONITOR_KEPLER19Kepler planet host or binary monitored for RV variability (ancillary)
APOGEE_GES_CALIBRATE20Gaia-ESO calibrator
APOGEE_BULGE_RV_VERIFY21Bulge commissioning RV verification
APOGEE_1M_TARGET22Targeted with the 1-m telescope
23
24
25
26
27
28
29
30
APOGEE_CHECKED31This object was checked for APOGEE target selection.

APOGEE2_TARGET1: 1/3 APOGEE-2 target bits

Bit NameBit numberDescription
APOGEE2_ONEBIN_GT_0_50Selected in single (J−Ks)0>0.5 color bin
APOGEE2_TWOBIN_0_5_TO_0_81Selected in “blue” 0.5<(J−Ks)0<0.8 color bin
APOGEE2_TWOBIN_GT_0_82Selected in “red” (J−Ks)0>0.8 color bin
APOGEE2_IRAC_DERED3Star selected using RJCE-IRAC dereddening
APOGEE2_WISE_DERED4Star selected using RJCE-WISE dereddening
APOGEE2_SFD_DERED5Selected using SFD E(B−V) dereddening
APOGEE2_NO_DERED6Star selected using no dereddening
APOGEE2_WASH_GIANT7Selected as giant star via Washington+DDO51 photometry
APOGEE2_WASH_DWARF8Selected as dwarf star via Washington+DDO51 photometry
APOGEE2_SCI_CLUSTER9Science cluster candidate member
APOGEE2_EXTENDED10Extended object
APOGEE2_SHORT11Short cohort target star
APOGEE2_MEDIUM12Intermediate cohort target star
APOGEE2_LONG13Long cohort target star
APOGEE2_NORMAL_SAMPLE14Selected as part of the random sample
APOGEE2_MANGA_LED15Star on a shared MaNGA-led design
APOGEE2_ONEBIN_GT_0_316Selected in single (J−Ks)0>0.3 color bin
APOGEE2_WASH_NOCLASS17Selected because it has no W+D classification
APOGEE2_STREAM_MEMBER18Selected as confirmed halo tidal stream member
APOGEE2_STREAM_CANDIDATE19Selected as potential halo tidal stream member
APOGEE2_DSPH_MEMBER20Selected as confirmed dSph member (non Sgr)
APOGEE2_DSPH_CANDIDATE21Selected as potential dSph member (non Sgr) (based on photometry)
APOGEE2_MAGCLOUD_MEMBER22Selected as confirmed Mag Cloud member
APOGEE2_MAGCLOUD_CANDIDATE23Selected as potential Mag Cloud member (based on photometry)
APOGEE2_RRLYR24Selected as an RR Lyrae star
APOGEE2_BULGE_RC25Selected as a bulge candidate RC star
APOGEE2_SGR_DSPH26Sagittarius dwarf galaxy member
APOGEE2_APOKASC_GIANT27Selected as part of APOKASC “giant” sample
APOGEE2_APOKASC_DWARF28Selected as part of APOKASC “dwarf” sample
APOGEE2_FAINT_EXTRA29Selected as faint target for low target density field
APOGEE2_APOKASC30Selected as part of the APOKASC program (incl. seismic/gyro targets and others, both the Cygnus field and K2)
APOGEE2_CHECKED31This object was checked for APOGEE target selection.

APOGEE2_TARGET2: 2/3 APOGEE-2 target bits

Bit NameBit numberDescription
0
APOGEE2_CCLOUD_AS41California Cloud target
APOGEE2_STANDARD_STAR2Stellar parameters/abundance standard
APOGEE2_RV_STANDARD3Stellar RV standard
APOGEE2_SKY4Sky fiber
APOGEE2_EXTERNAL_CALIB5External survey calibration target
APOGEE2_INTERNAL_CALIB6Internal survey calibration target
APOGEE2_DISK_SUBSTRUCTURE_MEMBER7Bright time extension: outer disk substructure (Triand, GASS, and A13) members
APOGEE2_DISK_SUBSTRUCTURE_CANDIDATE8Bright time extension: outer disk substructure (Triand, GASS, and A13) candidates
APOGEE2_TELLURIC9Telluric calibrator target
APOGEE2_CALIB_CLUSTER10Selected as calibration cluster member
APOGEE2_K2_PLANETHOST11Planet host in the K2 field
APOGEE2_TIDAL_BINARY12Ancillary KOI Program (Simonian)
APOGEE2_LITERATURE_CALIB13Overlap with high-resolution literature studies
APOGEE2_GES_OVERLAP14Overlap with Gaia-ESO
APOGEE2_ARGOS_OVERLAP15Overlap with ARGOS
APOGEE2_GAIA_OVERLAP16Overlap with Gaia
APOGEE2_GALAH_OVERLAP17Overlap with GALAH
APOGEE2_RAVE_OVERLAP18Overlap with RAVE
APOGEE2_COMMIS_SOUTH_SPEC19Commissioning special targets for APOGEE-2S
APOGEE2_HALO_MEMBER20Bright time extension: halo member
APOGEE2_HALO_CANDIDATE21Bright time extension: halo candidate
APOGEE2_1M_TARGET22Selected as a 1-m target
APOGEE2_MOD_BRIGHT_LIMIT23Selected in a cohort with H>10 rather than H>7
APOGEE2_CIS24Carnegie program target
APOGEE2_CNTAC25Chilean community target
APOGEE2_EXTERNAL26Proprietary external target
APOGEE2_CVZ_AS4_OBAF27OBAF stars selected for multi-epoc observations Andrew T.
APOGEE2_CVZ_AS4_GI28Submitted program to be on CVZ plate (Known Planets, ATL, Tayar-Subgiant, Canas-Cool-dwarf)
APOGEE2_CVZ_AS4_CTL29Filler CTL star selected from the TESS Input Catalog
APOGEE2_CVZ_AS4_GIANT30Filler Giant selected with RPMJ
31

APOGEE2_TARGET3: 3/3 APOGEE-2 target bits

Bit NameBit numberDescription
APOGEE2_KOI0Selected as part of the long cadence KOI study
APOGEE2_EB1Selected as part of the EB program
APOGEE2_KOI_CONTROL2Selected as part of the long cadence KOI “control sample”
APOGEE2_MDWARF3Selected as part of the M dwarf study
APOGEE2_SUBSTELLAR_COMPANIONS4Selected as part of the substellar companion search
APOGEE2_YOUNG_CLUSTER5Selected as part of the young cluster study (IN-SYNC)
APOGEE2_K26Selected as part of the K2 program (BTX and Main Survey)
APOGEE2_OBJECT7This object is an APOGEE-2 target
APOGEE2_ANCILLARY8Selected as an ancillary target
APOGEE2_MASSIVE_STAR9Selected as part of the Massive Star program
APOGEE2_QSO10Ancillary QSO program
APOGEE2_CEPHEID11Ancillary Cepheid sparse targets
APOGEE2_LOW_AV_WINDOWS12Ancillary Deep Disk sample
APOGEE2_BE_STAR13Ancillary ASHELS sample
APOGEE2_YOUNG_MOVING_GROUP14Ancillary young moving group members
APOGEE2_NGC679115Ancillary NGC 6791 star
APOGEE2_LABEL_STAR16Ancillary Cannon calibrator sample (Ness)
APOGEE2_FAINT_KEPLER_GIANTS17Ancillary APOKASC faint giants
APOGEE2_W34518Ancillary W3/4/5 star forming complex
APOGEE2_MASSIVE_EVOLVED19Ancillary massive/evolved star targets
APOGEE2_REDDENING_TARGETS20Ancillary extinction targets
APOGEE2_KEPLER_MDWARF_KOI21Ancillary M dwarf targets
APOGEE2_AGB22Ancillary AGB sample
APOGEE2_M3323Ancillary M33 Program (Anguiano)
APOGEE2_ULTRACOOL24Ancillary Ultracool Dwarfs Program (Burgasser)
APOGEE2_DISTANT_SEGUE_GIANTS25Ancillary Distant SEGUE Giants Program (Harding)
APOGEE2_CEPHEID_MAPPING26Ancillary Cepheid Mapping Program (Inno)
APOGEE2_SA5727Ancillary SA57 Kapteyn Field Program (Majewski)
APOGEE2_K2_MDWARF28Ancillary K2 M dwarf Program (Smith)
APOGEE2_RVVAR29Ancillary RV Variables Program (Troup)
APOGEE2_M3130Ancillary M31 Program (Zasowski)
31

APOGEE_EXTRATARG: APOGEE Extra Targeting Bits

This bit mask provides a convenient way to select only main survey targets (EXTRATARG==0) and identifies the main classes of other targets.

Bit NameBinary DigitDescription
NOT_MAIN0Not main survey target
COMMISSIONING1Commissioning data
TELLURIC2Telluric target
APO1M31m observation
DUPLICATE4Duplicate observation

APOGEE_PIXMASK: APOGEE pixel level mask bits

This bit mask describes the warnings and failures for pixels within the 1D spectra for APOGEE. The bits are set on a per-pixel basis.

Bit NameBinary DigitDescription
BADPIX0Pixel marked as BAD in bad pixel mask
CRPIX1Pixel marked as cosmic ray in ap3d
SATPIX2Pixel marked as saturated in ap3d
UNFIXABLE3Pixel marked as unfixable in ap3d
BADDARK4Pixel marked as bad as determined from dark frame
BADFLAT5Pixel marked as bad as determined from flat frame
BADERR6Pixel set to have very high error (not used)
NOSKY7No sky available for this pixel from sky fibers
LITTROW_GHOST8Pixel falls in Littrow ghost, may be affected
PERSIST_HIGH9Pixel falls in high persistence region, may be affected
PERSIST_MED10Pixel falls in medium persistence region, may be affected
PERSIST_LOW11Pixel falls in low persistence region, may be affected
SIG_SKYLINE12Pixel falls near sky line that has significant flux compared with object
SIG_TELLURIC13Pixel falls near telluric line that has significant absorption
NOT_ENOUGH_PSF14Less than 50 percent PSF in good pixels
15

APOGEE_STARFLAG: APOGEE star level bitmask 

Bit NameBinary DigitDescription
BAD_PIXELS0Spectrum has many bad pixels (>40%): BAD
COMMISSIONING1Commissioning data (MJD<55761), non-standard configuration, poor LSF: WARN
BRIGHT_NEIGHBOR2Star has neighbor more than 10 times brighter: WARN
VERY_BRIGHT_NEIGHBOR3Star has neighbor more than 100 times brighter: BAD
LOW_SNR4Spectrum has low S/N (S/N<5): BAD
5
6
7
8
PERSIST_HIGH9Spectrum has significant number (>20%) of pixels in high persistence region: WARN
PERSIST_MED10Spectrum has significant number (>20%) of pixels in medium persistence region: WARN
PERSIST_LOW11Spectrum has significant number (>20%) of pixels in low persistence region: WARN
PERSIST_JUMP_POS12Spectrum show obvious positive jump in blue chip: WARN
PERSIST_JUMP_NEG13Spectrum show obvious negative jump in blue chip: WARN
14
15
SUSPECT_RV_COMBINATION16WARNING: RVs from synthetic template differ significantly from those from combined template
SUSPECT_BROAD_LINES17WARNING: cross-correlation peak with template significantly broader than autocorrelation of template
18
19
20
21
22
23
24
25
26
27
28
29
30
31

APOGEE_RV_FLAG: APOGEE RV level bitmask 

Bit NameBinary DigitDescription
BAD_PIXELS0Spectrum has many bad pixels (>40%): BAD
COMMISSIONING1Commissioning data (MJD<55761), non-standard configuration, poor LSF: WARN
BRIGHT_NEIGHBOR2Star has neighbor more than 10 times brighter: WARN
VERY_BRIGHT_NEIGHBOR3Star has neighbor more than 100 times brighter: BAD
LOW_SNR4Spectrum has low S/N (S/N<5): BAD
5
6
7
8
PERSIST_HIGH9Spectrum has significant number (>20%) of pixels in high persistence region: WARN
PERSIST_MED10Spectrum has significant number (>20%) of pixels in medium persistence region: WARN
PERSIST_LOW11Spectrum has significant number (>20%) of pixels in low persistence region: WARN
PERSIST_JUMP_POS12Spectrum show obvious positive jump in blue chip: WARN
PERSIST_JUMP_NEG13Spectrum show obvious negative jump in blue chip: WARN
14
15
SUSPECT_RV_COMBINATION16WARNING: RVs from synthetic template differ significantly from those from combined template
SUSPECT_BROAD_LINES17WARNING: cross-correlation peak with template significantly broader than autocorrelation of template
18
19
20
21
22
23
24
25
26
27
28
29
30
31

APOGEE_ASPCAPFLAG: APOGEE ASPCAP bitmask 

Bit NameBinary DigitDescription
TEFF_WARN0WARNING on effective temperature (see PARAMFLAG[0] for details)
LOGG_WARN1WARNING on log g (see PARAMFLAG[1] for details)
VMICRO_WARN2WARNING on vmicro (see PARAMFLAG[2] for details)
METALS_WARN3WARNING on metals (see PARAMFLAG[3] for details)
ALPHAFE_WARN4WARNING on [alpha/Fe] (see PARAMFLAG[4] for details)
CFE_WARN5WARNING on [C/Fe] (see PARAMFLAG[5] for details)
NFE_WARN6WARNING on [N/Fe] (see PARAMFLAG[6] for details)
STAR_WARN7WARNING overall for star: set if any of TEFF, LOGG, CHI2, COLORTE, ROTATION, SN warn are set
CHI2_WARN8high chi^2 (> 2*median at ASPCAP temperature (WARN)
COLORTE_WARN9effective temperature more than 500K from photometric temperature for dereddened color (WARN)
ROTATION_WARN10Spectrum has broad lines, with possible bad effects: FWHM of cross-correlation of spectrum with best RV template relative to auto-correltion of template > 1.5 (WARN)
SN_WARN11S/N<70 (WARN)
12
13
VSINI_WARN14
15
TEFF_BAD16BAD effective temperature (see PARAMFLAG[0] for details)
LOGG_BAD17BAD log g (see PARAMFLAG[1] for details)
VMICRO_BAD18BAD vmicro (see PARAMFLAG[2] for details)
METALS_BAD19BAD metals (see PARAMFLAG[3] for details)
ALPHAFE_BAD20BAD [alpha/Fe] (see PARAMFLAG[4] for details)
CFE_BAD21BAD [C/Fe] (see PARAMFLAG[5] for details)
NFE_BAD22BAD [N/Fe] (see PARAMFLAG[6] for details)
STAR_BAD23BAD overall for star: set if any of TEFF, LOGG, CHI2, COLORTE, ROTATION, SN error are set, or any parameter is near grid edge (GRIDEDGE_BAD is set in any PARAMFLAG)
CHI2_BAD24high chi^2 (> 5*median at ASPCAP temperature (BAD)
COLORTE_BAD25effective temperature more than 1000K from photometric temperature for dereddened color (BAD)
ROTATION_BAD26Spectrum has broad lines, with possible bad effects: FWHM of cross-correlation of spectrum with best RV template relative to auto-correltion of template > 2 (BAD)
SN_BAD27S/N<50 (BAD)
28
29
VSINI_BAD30
NO_ASPCAP_RESULT31

APOGEE_MEMBER: APOGEE membership bitmask 

Bit NameBinary DigitDescription
BAD_PIXELS0Spectrum has many bad pixels (>40%): BAD
COMMISSIONING1Commissioning data (MJD<55761), non-standard configuration, poor LSF: WARN
BRIGHT_NEIGHBOR2Star has neighbor more than 10 times brighter: WARN
VERY_BRIGHT_NEIGHBOR3Star has neighbor more than 100 times brighter: BAD
LOW_SNR4Spectrum has low S/N (S/N<5): BAD
5
6
7
8
PERSIST_HIGH9Spectrum has significant number (>20%) of pixels in high persistence region: WARN
PERSIST_MED10Spectrum has significant number (>20%) of pixels in medium persistence region: WARN
PERSIST_LOW11Spectrum has significant number (>20%) of pixels in low persistence region: WARN
PERSIST_JUMP_POS12Spectrum show obvious positive jump in blue chip: WARN
PERSIST_JUMP_NEG13Spectrum show obvious negative jump in blue chip: WARN
14
15
SUSPECT_RV_COMBINATION16WARNING: RVs from synthetic template differ significantly from those from combined template
SUSPECT_BROAD_LINES17WARNING: cross-correlation peak with template significantly broader than autocorrelation of template
18
19
20
21
22
23
24
25
26
27
28
29
30
31

APOGEE_PARAMFLAG/APOGEE_ELEMFLAG: APOGEE parameter/element bitmask flag

Bit NameBinary DigitDescription
GRIDEDGE_BAD0Parameter within 1/8 grid spacing of grid edge
CALRANGE_BAD1Parameter outside valid range of calibration determination
OTHER_BAD2Other error condition
FERRE_BAD3FERRE failed to return a value
PARAM_MISMATCH_BAD4Elemental abundance from window differs > 0.5 dex from parameter abundance
5-7Currently unused
GRIDEDGE_WARN8Parameter within 1/2 grid spacing of grid edge
CALRANGE_WARN9Parameter in possibly unreliable range of calibration determination
OTHER_WARN10Other warning condition
FERRE_WARN11FERRE provided a value and a warning
PARAM_MISMATCH_WARN12Elemental abundance from window differs > 0.25 dex from parameter abundance
13-15Currently unused
PARAM_FIXED16Parameter set at fixed value, not fit
17-31Currently unused

MANGA_TARGET1: MaNGA galaxy targeting bits

The MANGA_TARGET1, MANGA_TARGET2, and MANGA_TARGET3 integers are used to track the target type (e.g., primary sample galaxies, F-standard stars, etc). Loosely speaking, all galaxy targets have a non-zero bit set for MANGA_TARGET1, all non-galaxy targets (e.g., MaStar) have a non-zero bit set for MANGA_TARGET2, and all ancillary program targets have a non-zero bit set for MANGA_TARGET3.

Bit nameBit numberDecimal valueDescription
NONE01Unused.
PRIMARY_PLUS_COM12March 2014 commissioning
SECONDARY_COM24March 2014 commissioning
COLOR_ENHANCED_COM38March 2014 commissioning
PRIMARY_v1_1_0416First tag, August 2014 plates
SECONDARY_v1_1_0532First tag, August 2014 plates
COLOR_ENHANCED_v1_1_0664First tag, August 2014 plates
PRIMARY_COM27128July 2014 commissioning
SECONDARY_COM28256July 2014 commissioning
COLOR_ENHANCED_COM29512July 2014 commissioning
PRIMARY_v1_2_0101024MaNGA main survey primary selection
SECONDARY_v1_2_0112048MaNGA main survey secondary selection
COLOR_ENHANCED_v1_2_0124096MaNGA main survey color-enhanced selection
FILLER138192Filler targets
RETIRED1416384Retired bit; do not use

MANGA_TARGET2: MaNGA non-galaxy targeting bits

The MANGA_TARGET1, MANGA_TARGET2, and MANGA_TARGET3 integers are used to track the target type (e.g., primary sample galaxies, F-standard stars, etc). Loosely speaking, all galaxy targets have a non-zero bit set for MANGA_TARGET1, all non-galaxy targets (e.g., MaStar) have a non-zero bit set for MANGA_TARGET2, and all ancillary program targets have a non-zero bit set for MANGA_TARGET3.

Bit nameBit numberDecimal valueDescription
NONE01Unused.
SKY12
MaStar stellar library targets:
STELLIB_SDSS_COM24Commissioning selection using SDSS photometry.
STELLIB_2MASS_COM38Commissioning selection using 2MASS photometry.
STELLIB_KNOWN_COM416Commissioning selection of known parameter stars.
STELLIB_COM_mar2015532Commissioning selection in March 2015.
STELLIB_COM_jun2015664Commissioning selection in June 2015.
STELLIB_PS17128Library stars using PS1 photometry.
STELLIB_APASS8256Library stars using APASS photometry.
STELLIB_PHOTO_COM9512Commissioning selection using photo-derived para.
STELLIB_aug2015101024Global Selection generated in Aug 2015.
STELLIB_SDSS112048Library stars using SDSS photometry.
STELLIB_GAIA124096Library stars using GAIA photometry, g band only.
STELLIB_TYCHO2138192Library stars using TYCHO2 photometry (B and V in place of u and r).
STELLIB_BRIGHT1416384Bright stars observed with short exposures.
STELLIB_UNRELIABLE1532768Library stars with unreliable photometry
STELLIB_GAIADR21665536Library stars using Gaia DR2 photometry, G, BP, RP
Spectrophotometric calibration standards:
STD_FSTAR_COM201048576
STD_WD_COM212097152
STD_STD_COM224194304
STD_FSTAR238388608
STD_WD2416777216
STD_APASS_COM2533554432Commissioning selection of stds using APASS photometry
STD_PS1_COM2667108864Commissioning selection of stds using PS1 photometry
STD_BRIGHT27134217728standards on bright star plates
PSF28268435456PSF calibration test objects

MANGA_TARGET3: MaNGA ancillary targeting bits

The MANGA_TARGET1, MANGA_TARGET2, and MANGA_TARGET3 integers are used to track the target type (e.g., primary sample galaxies, F-standard stars, etc). Loosely speaking, all galaxy targets have a non-zero bit set for MANGA_TARGET1, all non-galaxy targets (e.g., MaStar) have a non-zero bit set for MANGA_TARGET2, and all ancillary program targets have a non-zero bit set for MANGA_TARGET3.

Bit nameBit numberDecimal valueDescription
NONE01Unused.
AGN_BAT12
AGN_OIII24
AGN_WISE38
AGN_PALOMAR416
VOID532
EDGE_ON_WINDS664
PAIR_ENLARGE7128
PAIR_RECENTER8256
PAIR_SIM9512
PAIR_2IFU101024
LETTERS112048
MASSIVE124096
MWA138192
DWARF1416384
RADIO_JETS1532768
DISKMASS1665536
BCG17131072
ANGST18262144
DEEP_COMA19524288
IC342201048576
M31212097152
SN_ENV224194304
MW_ANALOG238388608
POST-STARBURST2416777216
GLSB2533554432
SN1A_HOST2667108864
GLOBULAR_CLUSTER27134217728

MANGA_DRP2PIXMASK: 2d DRP per-pixel mask

The 2d section of the MaNGA/MaStar DRP (i.e., reducing a single exposure of an entire plate through to the flux calibrated stage) uses the MANGA_DRP2PIXMASK maskbits. These maskbits apply to individual pixels in these images, and are used to determine (e.g.) where the extraction quality is bad due to hot pixels, cosmic ray hits, etc. These masks are contained in the MASK extensions to data produced by the 2d DRP.

Bit nameBit numberDecimal valueDescription
The following mask bits are for fibers:
NOPLUG01Fiber not listed in plugmap file.
BADTRACE12Bad trace.
BADFLAT24Low counts in fiberflat.
BADARC38Bad arc solution.
MANYBADCOLUMNS416More than 10% of pixels are bad columns.
MANYREJECTED532More than 10% of pixels are rejected in extraction.
LARGESHIFT664Large spatial shift between flat and object position.
BADSKYFIBER7128Sky fiber shows extreme residuals.
NEARWHOPPER8256Within 2 fibers of a whopping fiber (exclusive).
WHOPPER9512Whopping fiber, with a very bright source.
SMEARIMAGE101024Smear available for red and blue cameras.
SMEARHIGHSN112048S/N sufficient for full smear fit.
SMEARMEDSN124096S/N only sufficient for scaled median fit.
DEADFIBER138192Broken fiber according to metrology files.
The following mask bits are for a pixel:
SATURATION1416384Pixel considered saturated.
BADPIX1532768Pixel flagged in badpix reference file.
COSMIC1665536Pixel flagged as cosmic ray.
NEARBADPIXEL17131072Bad pixel within 3 pixels of trace.
LOWFLAT18262144Flat field less than 0.5.
FULLREJECT19524288Pixel fully rejected in extraction model fit (INVVAR=0).
PARTIALREJECT201048576Some pixels rejected in extraction model fit.
SCATTEREDLIGHT212097152Scattered light significant.
CROSSTALK224194304Cross-talk significant.
NOSKY238388608Sky level unknown at this wavelength (INVVAR=0).
BRIGHTSKY2416777216Sky level > flux + 10*(flux_err) AND sky > 1.25 * median(sky,99 pixels).
NODATA2533554432No data available in combine B-spline (INVVAR=0).
COMBINEREJ26671108864Rejected in combine B-spline.
BADFLUXFACTOR27134217728Low flux-calibration or flux-correction factor.
BADSKYCHI28268435456Relative chi2 > 3 in sky residuals at this wavelength.
REDMONSTER29536870912Contiguous region of bad chi2 in sky residuals (with threshhold of relative chi2 > 3).
3DREJECT301073741824Used in RSS file, indicates should be rejected when making 3D cube.

MANGA_DRP3PIXMASK: 3d DRP per-pixel mask

Since the RSS files combining all exposures for specific IFUs have the same data format as the 2d pipeline, they retain the MANGA_DRP2PIXMASK mask bits. These are informative, in the sense that they tell the end user why a given pixel was masked at the detector level (e.g., cosmic ray, full rejection of the model fit during spectral extraction, etc.).
The combined 3d data cubes use the MANGA_DRP3PIXMASK mask bits that describe whether a given spaxel should be used for science analyses. For instance, it tells where dead fibers are, low relative exposure depth (e.g. at the edges of the frame), no coverage (beyond the borders of the IFU hexagon but within the rectilinear data cube frame, etc. The most generally useful mask bit though is the ‘DONOTUSE’ bit, which should be self explanatory, and is a distillation of all of the relevant reasons why not to trust particular values.
There is also a FORESTAR bit that indicates where a foreground star has been noted, and should probably be masked out for galaxy analyses. Since the spectra in these regions are still valid, having the FORESTAR bit set does not automatically set the DONOTUSE bit.

Bit nameBit numberDecimal valueDescription
NOCOV01No coverage in cube.
LOWCOV12Low coverage depth in cube.
DEADFIBER24Major contributing fiber is dead.
FORESTAR38Foreground star.
DONOTUSE101024Do not use this spaxel for science.

MANGA_DAPPIXMASK: Mask for 2d DAP derived maps

MANGA_DAPPIXMASK is the 2d image bitmap used to describe the quality of individual pixel measurements in the DAP MAPS file. In addition to reproducing some entries from the MANGA_DRP3PIXMASK for the data cubes (e.g., flagging foreground stars, low coverage, etc) it also adds some new entries indicating spaxels for which the fitting algorithms failed in some manner (e.g., by reaching the bounds of allowable values, failing to derive a fit, etc). The most important flags are incorporated into the DONOTUSE bit, which indicates that a given pixel should not be used for science.

The NEARBOUND flag is used to signify that a returned parameter is likely biased by an imposed boundary on the allowed parameter space. These are specifically relevant to the kinematics (both for stars and ionized-gas) from pPXF. pPXF imposes a ±2000 km/s limit relative to the input guess velocity (set to cz as given by the SCINPVEL header keyword and most often identical to the NSA redshift) on the returned velocity and dv/100 < σ < 1000 limit on the velocity dispersion, where dv is the size of the MaNGA LOGCUBE wavelength channel (~70 km/s; given by VSTEP header keyword). The returned velocity is determined to be NEARBOUND if the “best-fit” value is within 100th of the width of the allowed range of either boundary; i.e., NEARBOUND is triggered if the velocity is -2000 < v < -1980 or 1980 < v < 2000. For the velocity dispersion, NEARBOUND is triggered by the same criterion but geometrically; i.e., if the velocity dispersion is 0.69 < σ < 0.74 or 929.8 < σ < 1000.

The UNRELIABLE flag is not incorporated into the DONOTUSE flag. This flag is intended to act as a warning to users that the data may be biased in some way, based on a set of criteria developed by the data pipeline team. You are strongly encouraged to understand the implications of this flag on the data and how to properly make the distinction between the DONOTUSE and UNRELIABLE flags for your science application. For DR15, the UNRELIABLE flag is only set if there are masked pixels in any of the wavelength passbands used when calculating the emission-line equivalent widths or the spectral indices (extensions EMLINE_SEWEMLINE_GEW, and SPECINDEX in the MAPS file).

Bit nameBit numberDecimal valueDescription
NOCOV01No coverage in cube.
LOWCOV12Low coverage depth in cube.
DEADFIBER24Major contributing fiber is dead.
FORESTAR38Foreground star.
NOVALUE416Spaxel was not fit because it did not meet selection criteria.
UNRELIABLE532Value is deemed unreliable.
MATHERROR664Mathematical error in computing value.
FITFAILED7128Attempted fit for property failed.
NEARBOUND8256Fitted value is too near an imposed boundary.
NOCORRECTION9512Appropriate correction not available.
MULTICOMP101024Multi-component velocity features present (placeholder, not used in DR15).
DONOTUSE301073741824Do not use this spaxel for science.

MANGA_DAPSPECMASK: Mask bits for MANGA DAP model data cubes

MANGA_DAPSPECMASK is the 3d cube bitmap used to describe the quality of individual spaxel fits in the DAP model data cube file.

Bit nameBit numberDecimal valueDescription
IGNORED01Ignored because of DRP flags or stacking parameters.
FORESTAR12There is a foreground star within the data cube.
FLUXINVALID24Ignored because (stacked) flux not valid.
IVARINVALID38Ignored because inverse variance not valid.
ARTIFACT416Contains a designated artifact.
FITIGNORED532Ignored during fit.
FITFAILED664Fit failed in this region.
ELIGNORED7128Ignored during emission-line fit.
ELFAILED8256Emission-line fit failed.
NOMODEL9512Identifies pixels outside of the fitted spectral range.

MANGA_DRP2QUAL: 2d DRP reduction quality

The quality of DRP-2d products is tracked using the integer DRP2QUAL that is contained in the output FITS headers of all 2d DRP products (and in the OBSINFO extensions of all 3d DRP products). This uses the bitmask values MANGA_DRP2QUAL. These provide information to the pipeline about failure points that need to be addressed in quality control. For instance, a detected failure in sky subtraction will trigger a mask bit SKYSUBBAD to be set; the flux calibration routine will detect this, and not try to flux calibrate data that has failed the sky subtraction stage.

Bit nameBit numberDecimal valueDescription
RETIRED01Retired bit; do not use.
EXTRACTBAD12Many bad values in extracted frame.
EXTRACTBRIGHT24Extracted spectra abnormally bright.
LOWEXPTIME38Exposure time less than 10 minutes.
BADIFU416One or more IFUs missing/bad in this frame.
HIGHSCAT532High scattered light levels.
SCATFAIL664Failure to correct high scattered light levels.
BADDITHER7128Bad dither location information.
ARCFOCUS8256Bad focus on arc frames.
RAMPAGINGBUNNY9512Rampaging dust bunnies in IFU flats.
SKYSUBBAD101024Bad sky subtraction.
SKYSUBFAIL112048Failed sky subtraction.
FULLCLOUD124096Completely cloudy exposure.
BADFLEXURE138192Abnormally high flexure LSF correction.
VGROOVEFAIL1416384Possible V-groove glue failure.
NOGUIDER1532768No guider data available.
NOSPEC11665536No data from spec1.
NOSPEC217131072No data from spec2.
BLOWTORCH18262144Blowtorch artifact detected.
RETIRED219524288Bit retired from use.
SEVEREBT201048576Severe blowtorch artifact.

MANGA_DRP3QUAL: 3d DRP reduction quality

The quality of DRP-3d products is tracked using the integer DRP3QUAL that is contained in the output FITS headers of all 3d DRP products. This uses the bitmask values MANGA_DRP3QUAL. These provide information to end-users and the DAP about final cubes and RSS files that do not meet quality standards (e.g., this ifu dropped out of the plate for some observations, so the data are not as deep as for other IFUs on the plate).

Bit nameBit numberDecimal valueDescription
RETIRED01Bit retired from use; do not use.
BADDEPTH12IFU does not reach target depth.
SKYSUBBAD24Bad sky subtraction in one or more frames.
HIGHSCAT38High scattered light in one or more frames.
BADASTROM416Bad astrometry in one or more frames.
VARIABLELSF532LSF varies signif. between component spectra.
BADOMEGA664Omega greater than threshhold in one or more sets.
BADSET7128One or more sets are bad.
BADFLUX8256Bad flux calibration.
BADPSF9512PSF estimate may be bad.
MANYDEAD101024Many dead fibers.
RETIRED2112048Bit retired, moved into MASTAR_QUAL instead.
BLOWTORCH124096Blowtorch artifact detected in one or more frames.
SEVEREBT138192Severe blowtorch artifact.
UNUSUAL1416384Cube slightly unusual in some way but good for most science.
CRITICAL301073741824Critical failure in one or more frames .

MANGA_DAPQUAL: Mask bits for MaNGA DAP quality flags

The overall quality of DAP data products is tracked using MANGA_DAPQUAL bit contained in the headers of the DAP output fits files. This bit provides information to end-users about DAP maps and model data cubes that do not meet quality standards (e.g., a bad NSA redshift, ppxf failures, etc.). Anything with the CRITICAL bit set in MANGA_DAPQUAL should generally not be used for scientific purposes.

Bit nameBit numberDecimal valueDescription
FORESTAR01There is a foreground star within the data cube.
BADZ12NSA redshift does not match derived redshift.
LINELESS24No emission lines in data cube.
PPXFFAIL38PPXF fails to fit this object.
SINGLEBIN416Voronoi binning resulted in all spectra in a single bin.
BADGEOM532Invalid input geometry; elliptical coordinates and effective radius are meaningless.
DRPCRIT28268435456Critical failure in DRP.
DAPCRIT29536870912Critical failure in DAP.
CRITICAL301073741824Critical failure in DRP or DAP.

MASTAR_QUAL: Mask bits for MaStar spectra quality flags

The overall quality of summary MaStar spectra is tracked using the integers MJDQUAL, EXPQUAL, and MSTRQUAL that are contained in the output FITS headers and/or binary tables of all MaStar data products. These all use the bitmask values MASTAR_QUAL (see further info at MaStar spectra). These provide information to end-users about spectra that do not meet quality standards (e.g., bad flux calibration, high variance in radial velocity estimates, problematic visual inspection, etc.).

Bit nameBit numberDecimal valueDescription
NODATA01No Data.
SKYSUBBAD12Bad sky subtraction in one or more frames.
HIGHSCAT24High scattered light in one or more frames.
BADFLUX38Bad flux calibration.
LOWCOV416PSF-covering fraction by fiber is too small (<10%).
POORCAL532Poor throughput.
BADHELIORV664High variance between stellar RVs.
MANUAL7128Flagged as problematic by visual inspection.
EMLINE8256Spectrum contain emission lines.
LOWSN9512Per-MJD Spectrum has median S/N <= 15.
MULTIFIBER101024Composite spectrum combined from multiple fibers.
BLOWTORCH112048Blowtorch artifact in one or more frames.
SEVEREBT124096Severe blowtorch artifact.
UPTURNRISK138192Risk of having a red-upturn.
REDUPTURN1416384Red-upturn identified by visual inspection.
REDDOWNTURN1532768Red-downturn identified by visual inspection.
NONSTELLAR1665536Non-stellar spectrum based on visual inspection.
CRITICAL301073741824Critical failure in one or more frames.
Back to Top