25.12.1 epoch_photometry [DataLink]
The epoch photometry table contains the photometric time series at FoV level for a given object in bands G, BP and RP as stored in the Datalink Massive data base.
For G-band epoch photometry information at CCD level, please refer to table epoch_photometry_ccd.
Note this table is not available through the main archive TAP interface. Data are delivered via the Massive Data service indexed by the VO DataLink protocol and described in Chapter 23. For example this can be actioned in the archive user interface by joining queries with the table all_source_flags and selecting has_epoch_photometry = ’true’. The DataLink retrieval type to specify for this product in programmatic archive access via the Astroquery Gaia Python package is EPOCH_PHOTOMETRY.
DataLink products are served with a choice of two different data structures:
- •
DATAMODEL_STANDARD: the product is serialised following a standard data model (for example an IVOA-compliant data model in applicable cases);
- •
DATAMODEL_GAIA: the product is serialised following the Gaia DPAC(-internal) data model.
The DATAMODEL_GAIA format is described here whereas the DATAMODEL_STANDARD format is described in https://www.cosmos.esa.int/web/gaia-users/archive/datalink-products#datalink_serialisation
Columns description:
solution_id : Solution Identifier (long)
All Gaia data processed by the Data Processing and Analysis Consortium comes tagged with a solution identifier. This is a numeric field attached to each table row that can be used to unequivocally identify the version of all the subsystems that were used in the generation of the data as well as the input data used. It is mainly for internal DPAC use but is included in the published data releases to enable end users to examine the provenance of processed data products. To decode a given solution ID visit https://gaia.esac.esa.int/decoder/solnDecoder.jsp
source_id : Unique source identifier (unique within a particular Data Release) (long)
A unique single numerical identifier of the source (for a detailed description see gaia_source.source_id).
transit_id : Unique transit identifier (long)
The transit_id is a unique identifier assigned to each detected (and confirmed) source as it transits the Gaia focal plane. Each time a given source is detected as Gaia scans and re-scans the sky a new transit_id will be created to badge that apparition. Hence the along–scan time and the across–scan position along with the telescope in which the source was detected are used to form a unique integer with which to label the transit.
The several features of a detection that are encoded in transit_id can be easily retrieved using bit masks (&) and shifts () as follows:
-
•
On-Board Mission Time line [ns]
= 204800 * ((transit_id 17) & (0x000003FFFFFFFFFF)) -
•
Field-of-view = 1 + (transit_id 15) & 0x03 [1 for ‘preceding’ and 2 for ‘following’ fields-of-view respectively]
-
•
CCD row = (transit_id 12) & 0x07 [dimensionless, in the range 1 to 7]
-
•
Across-scan ‘reference acquisition pixel’ in strip AF1 = (transit_id) & 0x0FFF [pixels] (this is the across-scan centre of the AF1 window and is odd if immediately below the mid-point of the window and even if immediately above)
where the bit mask prefix ‘0x’ denotes hexadecimal.
For further details see Portell et al. (2020). For convenience a decoder for transit_id is available on-line at
g_n_obs : Number of CCD observations contributing to transit averaged G band flux (int)
Number of CCD transits contributing to the transit averaged G flux (g_flux and g_flux_error).
Note that the parameter range is not [1-10], but [0-9] as the Sky Mapper G flux is not used in the calculation of the transit averaged G flux. In the case of g_n_obs = 0, all 9 AF fluxes have been discarded because of non nominal acquisition and/or processing rejection.
g_obs_time : Transit averaged G band observing time (double, Time[Barycentric JD in TCB 2 455 197.5 (day)])
Field-of-view transit averaged observation time in units of Barycentric JD (in TCB), in days minus 2 455 197.5, computed as follows. First the observation time is converted from On-board Mission Time (OBMT) into Julian date in TCB (Temps Coordonnée Barycentrique). Next a correction is applied for the light-travel time to the Solar system barycentre, resulting in Barycentric Julian Date (BJD). Finally an offset of 2 455 197.5 days is applied (corresponding to a reference time at 2010-01-01T00:00:00) to have a conveniently small numerical value. Although the centroiding time accuracy of the individual CCD observations is (much) below 1 ms, this per-FoV observation time is averaged over typically 9 CCD observations taken in a time range of about 44 sec.
g_flux : Transit averaged G band flux (float, Flux[e s] )
The average G flux value, a combination of individual SM-AF CCD fluxes.
g_flux_error : Transit averaged G band flux error (float, Flux[e s] )
(N.B. this column is the subject of a known issue in Gaia DR4 documented on the ESA COSMOS web pages, where the complete list of known issues is being maintained.)
The uncertainty g_flux_error on g_flux is the uncertainty on the weighted mean G flux of the set of AF individual CCD observations for the transit. This accounts for intrinsic scatter in the data. The exact formula and further details are given in Carrasco et al. (2017).
g_flux_over_error : Transit averaged G band flux divided by its error (float)
(N.B. this column is the subject of a known issue in Gaia DR4 documented on the ESA COSMOS web pages, where the complete list of known issues is being maintained.)
Mean flux in the G band divided by its error.
g_mag : Transit averaged G band Vega magnitude (float, Magnitude[mag])
G band Vega magnitude. It is computed from the flux applying the DR4 zero-point detailed in Section 5.4.2.2 in the online documentation.
bp_obs_time : BP CCD transit observing time (double, Time[Barycentric JD in TCB 2 455 197.5 (day)])
Observation time of the BP CCD transit in units of Barycentric JD (in TCB), in days minus 2 455 197.5, computed as follows. First the observation time is converted from On-board Mission Time (OBMT) into Julian date in TCB (Temps Coordonnée Barycentrique). Next a correction is applied for the light-travel time to the Solar system barycentre, resulting in Barycentric Julian Date (BJD). Finally an offset of 2 455 197.5 days is applied (corresponding to a reference time at 2010-01-01T00:00:00) to have a conveniently small numerical value.
bp_flux : BP band flux (float, Flux[e s] )
The integrated BP flux value of the transit. If the BP flux has been rejected or is unavailable, the flux will be set to NaN.
bp_flux_error : BP band flux error (float, Flux[e s] )
(N.B. this column is the subject of a known issue in Gaia DR4 documented on the ESA COSMOS web pages, where the complete list of known issues is being maintained.)
The uncertainty bp_flux_error on bp_flux is the uncertainty on the BP flux. This is the uncertainty associated with the single BP CCD transit available for a FoV transit. It includes photon noise and all applicable calibration errors. If the BP flux has been rejected or is unavailable, the value will be set to NaN (in VOTable and FITS formats) and an empty string (in plain text CSV format).
bp_flux_over_error : BP band flux divided by its error (float)
(N.B. this column is the subject of a known issue in Gaia DR4 documented on the ESA COSMOS web pages, where the complete list of known issues is being maintained.)
Mean flux in the BP band divided by its error. If the BP flux has been rejected or is unavailable, this value will be set to NaN.
bp_mag : BP band Vega magnitude (float, Magnitude[mag])
BP band Vega magnitude. It is computed from the flux applying the DR4 zero-point detailed in Section 5.4.2.2 in the online documentation.
rp_obs_time : RP CCD transit observing time (double, Time[Barycentric JD in TCB 2 455 197.5 (day)])
Observation time of the RP CCD transit in units of Barycentric JD (in TCB), in days minus 2 455 197.5, computed as follows. First the observation time is converted from On-board Mission Time (OBMT) into Julian date in TCB (Temps Coordonnée Barycentrique). Next a correction is applied for the light-travel time to the Solar system barycentre, resulting in Barycentric Julian Date (BJD). Finally an offset of 2 455 197.5 days is applied (corresponding to a reference time at 2010-01-01T00:00:00) to have a conveniently small numerical value.
rp_flux : RP band flux (float, Flux[e s] )
The integrated RP flux value of the transit. If the RP flux has been rejected or is unavailable, the flux will be set to NaN.
rp_flux_error : RP band flux error (float, Flux[e s] )
(N.B. this column is the subject of a known issue in Gaia DR4 documented on the ESA COSMOS web pages, where the complete list of known issues is being maintained.)
The uncertainty rp_flux_error on rp_flux is the uncertainty on the RP flux. This is the uncertainty associated with the single RP CCD transit available for a FoV transit. It includes photon noise and all applicable calibration errors. If the RP flux has been rejected or is unavailable, the value will be set to NaN (in VOTable and FITS formats) and an empty string (in plain text CSV format).
rp_flux_over_error : RP band flux divided by its error (float)
Mean flux in the RP band divided by its error. If the RP flux has been rejected or is unavailable, this value will be set to NaN.
rp_mag : RP band Vega magnitude (float, Magnitude[mag])
RP band Vega magnitude. It is computed from the flux applying the DR4 zero-point detailed in Section 5.4.2.2 in the online documentation.
transit_acq_flags : Transit-level information on the on-board acquisition (short)
This field contains a set of bitwise flags (from Bit 15 = msb to Bit 0 = lsb) related to the data acquisition. It has some oddities for historical reasons.
Windows may suffer truncation or trimming. Here, truncation refers to a reduction in size - often irregular - caused by an intra-field conflict with another window, while trimming refers to the permanent use of a reduced window size across scan. Truncation and trimming only affect 1D windows and never affect SM and AF1 windows. Trimming was only used for AF2-9 and only for a short period early in the mission (around OMBT revolutions 2103 to 2238).
The shape of all 1D AF2-9 windows is detailed in epoch_image.shape_af.
The field is coded as follows:
-
•
Bits 15 and 14: unused
-
•
Bit 13 (0x2000): Always set.
-
•
Bit 12 (0x1000): The AF2-9 windows are trimmed AC but have not suffered truncation.
-
•
Bits 11-9: unused
-
•
Bits 7 and 8 (0x0180): xp_offset. This is the value of a continuous two-bit TDI counter. It is needed for the reconstruction of the XP windows.
-
•
Bit 6 (0x0040): AF2-9 windows are 2D.
-
•
Bit 5 (0x0020): AF2-9 windows are 1D (complement of Bit 6).
-
•
Bit 4 (0x0010): AF2-9 windows are 1D and with the full AC size of 12 pixels.
-
•
Bit 3 (0x0008): No BP window acquired.
-
•
Bit 2 (0x0004): No RP window acquired.
-
•
Bit 1 (0x0002): BP window truncated.
-
•
Bit 0 (0x0001): RP window truncated.
transit_proc_flags : Transit-level information on the processing results (short)
This field contains a set of bitwise flags, coded as follows:
-
•
Bits 3 to 0 (transit_proc_flags AND 0x000F): IPD strategy and findings. As of IDT 15.1 and until IDT 21.0, as well as in IDU until DRC-02, this field was not used (0 was always stored here). As of IDU DRC-03, the following information is provided:
‘0’: Normal IPD. Ambiguity not tested or not detected. Default value for all records produced until IDT 21.0 and IDU until DRC-02
‘1’: Multiple Source IPD: As of IDT 21.1, this value is used to indicate that the earlier object in time detected in the window has been selected. In case of 2D windows with larger AC than AL separation between detected peaks: higher selected.
‘2’: Multiple Source IPD: As of IDT 21.1, this value is used to indicate that the later object in time detected in the window has been selected. In case of 2D windows with larger AC than AL separation between detected peaks: lower selected.
‘3’: Multiple Source IPD: As of IDU DRC-03, this value is used to indicate that at least one of the windows has a multiple source and that these disturbing sources were masked for the IPD processing. ccd_proc_flags can be checked to know which and how many windows have been affected.
‘4’: DIPD: As of IDU 21.0, this value is used to indicate that this object has been obtained using DIPD implementation and thus include a window model template and combined AF solution.
‘5’: TukeyBiWeight IPD: this value is used to indicate that this object has been obtained using TukeyBiWeight IPD initialisation for the internal processing subsystem IDU-AttAc; such initial values do not propagate into the published data.
Values 6-15 are reserved for future extensions.
-
•
Bits 6 to 4 (0x0070): Bias and PEM OI strategy baseline: this field indicates the Bias mitigation mode requested to process this transit. The consumer must check the corresponding ccd_proc_flags field to determine the actual mode used for each individual CCD as sometimes some modes can not be applied due to missing input data or calibration limitations.
Value ‘0’: Default initialisation value for the Bias strategy. If found in an AstroElementary it means that something went wrong and the Bias (or maybe just its flagging) was not done appropriately. Thus, ‘0’ means ‘UNDEFINED/FAILURE’.
Value ‘1’: Only PreScan bias used.
Value ‘2’: PreScan + common NU baseline.
Value ‘3’: Full PEM NU.
Values 4-7 are reserved for future extensions.
-
•
Bits 10 to 7, colour info:
Bit 7 (0x0080), default colour: ‘1’ means ‘a default colour used for IPD processing’, which can be caused by some problem in the colour determination or retrieval (e.g. no BP/RP data in IDT or no valid PhotPipe fluxes in IDU).
Bit 8 (0x0100), epoch colour: ‘1’ means ‘epoch (transit-level) colour used for IPD processing’, ‘0’ means ‘mean (source-level) colour used’.
Bit 9 (0x0200), single-param colour: ‘1’ means ‘single-parameter colour used for IPD processing’ (such as nu_eff_used_in_astrometry), ‘0’ means ‘multi-parameter colour used’ (such as SSCs).
Bit 10 (0x0400), colour problems: ‘1’ means ‘missing colour information or dubious colour quatiliy’ (e.g. problematic/missing BP/RP data in IDT, NaN or rejected PhotPipe colour in IDU, etc).
Please note some remarkable combinations of this bit with Bit 7:
-
–
Non-default + no problems (Bit 7 = 0, Bit 10 = 0): Good colour from catalogue or epoch data
-
–
Non-default + problems (Bit 7 = 0, Bit 10 = 1): Dubious colour from catalogue or best approximation from partial or problematic epoch data. Implemented only in IDT.
-
–
Default + no problems (Bit 7 = 1, Bit 10 = 0): Default colour has been used because no colour information was available (i.e. for blacklisted observations). Implemented only in IDU.
-
–
Default + problems (Bit 7 = 1, Bit 10 = 1): Default colour used instead of the available colour from catalogue or epoch data (i.e. dubious colour rejected).
-
–
-
•
Bit 11 (0x0800), cosmetic effects flagging: ‘1’ means ‘dead pixel columns affecting some of the windows’.
-
•
Bit 12 (0x1000), cosmetic effects flagging: ‘1’ means ‘anomalously low samples found in some of the windows’.
-
•
Bit 13 (0x2000), cosmetic effects flagging: ‘1’ means ‘anomalously high samples found in some of the windows’.
-
•
Bit 14 (0x4000), problems in initial centroid: ‘1’ means that problems have been found in the Initial Centroids determination. In the case of IDT, combined with the ‘some problem found in the colour determination’ flag (bit 10), it may indicate problems in the TransitPredictor (e.g. predicted position outside window, or no attitude available) in which case a default position is used for colour determination.
-
•
Bit 15, attitude issues: ‘1’ indicates that some attitude problem was found affecting some of the windows i.e. missing attitude or problems computing AL/AC rates. This flag is only set by IDU which depends on the attitude to access the ELSF and for the combine AF processing in DIPD.
See Chapter 3 of the DR4 online documentation for more information.
phot_ccd_proc_flags : CCD-level information on PhotPipe processing (short[12] array)
This field reports information generated during the PhotPipe processing. The type of this field is an array of 12 short (SM, AF1-9, BP and RP). Each short will bit-wise encode the following meanings when set to a value of ‘1’:
-
•
Bit 0: a saturation correction was applied to this CCD transit
-
•
Bit 1: predicted position computation failed or predicted position outside window
-
•
Bit 2: the AC centring error was clamped when the LS calibration was applied (refer to the end-of-cycle documentation for details on the clamping ranges used)
-
•
Bit 3: no calibration available (no calibrated CCD photometry will be available in this case)
-
•
Bit 4: calibration rejected and replaced with neighbouring calibration
-
•
Bit 5: calibration application failure
-
•
Bit 6: excluded from the generation of the mean source photometry, due to pre-filtering based on available flags (this is different from Bit 7 that reports on outlier rejection)
-
•
Bit 7: rejected in the source accumulation process; beware that outlier rejection will only affect the source photometry accumulation, i.e. when computing FoV level photometry ALL available calibrated CCD photometric data will be used regardless of the value of this flag
-
•
Bit 8: observation affected by satellite event
-
•
Bit 9: charge release correction applied; this is only applicable for BP/RP
-
•
Bit 10: stray-light mitigation applied; this is only applicable for BP/RP
-
•
Bit 11: local (KNN) background mitigation applied; this is only applicable for BP/RP
-
•
Bit 12: crowding information available in the table xp_epoch_crowding; this is only applicable for BP/RP
-
•
Bit 13: the transit is affected by truncation or multiple gate configuration in a way that is considered unrecoverable; this is only applicable for BP/RP
-
•
Bit 14: the transit has been treated for truncation or multiple gate configuration; this is only applicable for BP/RP
Remaining bits are available for future extensions.
xp_ccd_info_flags : CCD-level information on the input BP/RP observations (byte[2] array)
Flag providing information at the CCD level. This is only applicable to BP/RP CCD transits as similar information for the SM/AF CCDs is provided in the propagated AstroElementary flags.
-
•
Bit 0: affected by numerical saturation
-
•
Bit 1: affected by hot column
Other bits are available for future extensions.