GaiaX Alerts#

GaiaX is a stream of alerts from the single field-of-view detector (1-FoV detector), as detailed in Kostrzewa-Rutkowska Z., et al., 2020.

Operating independently from the main Gaia Alerts stream, GaiaX provides the potential for studying multimesseger astrophysics. Using the Gaia precise photometric, astrometric, and spectroscopic measurements, coupled with its all-sky, multi-epoch survey capability, make it an effective tool for detecting electromagnetic counterparts to gravitational wave events.

[38]:
from GaiaAlertsPy.alert import GaiaX_history, GaiaX_alert

import numpy as np
from astropy.time import Time

# fancy plotting
import matplotlib.pyplot as plt
%matplotlib inline
%config InlineBackend.figure_format = "retina"
from matplotlib import rcParams
rcParams['savefig.dpi'] = 550
rcParams['font.size'] = 20
plt.rc('font', family='serif')

Load GaiaX alert release table from 2023:

[40]:
alerts_2023 = GaiaX_history('2023')
[81]:
alerts_2023[0:5]
[81]:
Table length=5
RunEarliestLatestNo. of AlertsPublishedCSV
int64str19str19int64str19str14
74702023-12-28T23:32:132023-12-30T07:25:111232023-12-31T17:10:03gaiax_7470.csv
74692023-12-27T19:10:562023-12-29T08:56:451592023-12-31T09:50:03gaiax_7469.csv
74682023-12-26T20:28:362023-12-28T10:28:051212023-12-29T09:40:03gaiax_7468.csv
74672023-12-25T09:21:042023-12-27T10:19:271192023-12-28T09:50:03gaiax_7467.csv
74652023-12-25T04:55:032023-12-26T12:41:481112023-12-27T15:30:03gaiax_7465.csv
[55]:
plt.figure(figsize=(7, 4))
plt.bar(Time(alerts_2023['Published']).mjd, alerts_2023['No. of Alerts'], color='#353935', width=3,
        label='GaiaX 2023')
plt.legend()
plt.yscale('log')
plt.xlabel('Time [MJD]')
plt.ylabel('Number of Alerts')
[55]:
Text(0, 0.5, 'Number of Alerts')
../_images/source_GaiaX-alerts_5_1.png

Using the CSV extension, we can also load the alert data:

[95]:
alert_hist = GaiaX_alert('gaiax_7469.csv')

alert_hist[0:5]
[95]:
Table length=5
NameSourceIDObsTimeRADecGMagGMagErr
str14int64str19float64float64float64float64
GaiaX23-2803467955751231639627522023-12-29T01:53:57150.31298235.33394818.870.09
GaiaX23-2803457958946687345611522023-12-29T01:53:13150.20554836.13456418.360.03
GaiaX23-28034417639313346233221122023-12-29T01:24:05317.47168717.15364420.320.05
GaiaX23-28034317639150137475974402023-12-29T01:23:57317.57060817.03877920.590.05
GaiaX23-28034217639073171662042882023-12-28T23:37:11317.61199916.85422718.730.03
[101]:
plt.figure(figsize=(7, 4))
plt.scatter(alert_hist['RA'], alert_hist['Dec'], c=alert_hist['GMag'],
            cmap='rainbow_r', s=20, alpha=1, vmin=18, vmax=20., marker='*')
plt.colorbar(pad=0.001, label='G$_{mag}$')
plt.xlabel('RA [deg]')
plt.ylabel('Dec [deg]')
plt.minorticks_on()

../_images/source_GaiaX-alerts_8_0.png