This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Galclaim: A tool to identify host galaxy of astrophysical transient sources

J.-G. Ducoina,111Corresponding author: [email protected] (J.-G. Ducoin).
Abstract

The Galclaim software is designed to identify association between astrophysical transient sources and host galaxy by computing the probability of chance alignment. It is distributed as an open source Python software. It is already used to identify, confirm or reject host galaxy candidates of GRBs and to validate or invalidate transient candidates in astrophysical observations. Such tools are also very useful to characterise archived transient candidates in large sky survey telescopes.

keywords:
Python , Software , Transients , Galaxies
journal: SoftwareX
\affiliation

organization=Sorbonne Université, CNRS, UMR 7095, Institut d’Astrophysique de Paris,addressline=98 bis bd Arago, city=Paris, postcode=75014, country=France

Metadata

Nr. Code metadata description Please fill in this column
C1 Current code version v1.0
C2 Permanent link to code/repository used for this code version https://github.com/jgducoin/galclaim
C3 Permanent link to Reproducible Capsule None
C4 Legal Code License GNU General Public License 3
C5 Code versioning system used git and gitlab
C6 Software code languages, tools, and services used python
C7 Compilation requirements, operating environments & dependencies numpy, healpy, astropy, matplotlib
C8 If available Link to developer documentation/manual None
C9 Support email for questions [email protected]
Table 1: Code metadata

1 Motivation and significance

Identifying galaxies that host transient phenomenons is useful to investigate their environment, provide clues about their formation and the astrophysical condition necessary for their formation (e.g. [1, 2, 3, 4]). Inferring host candidates is also a fruitful strategy to identify, reject and classify the transients in observations. Such approaches (along with lightcurve classification) are very useful for large sky survey telescopes producing a huge number of transient candidates every night (e.g. [5, 6]). But, without spectroscopic observation to provide a clear indication, the association of extra-galactic transient sources with their host galaxy is often a complex task, especially when their localisation is greater than 1\sim 1 arcsec (e.g. [2]). In order to address this issue, people rely on probability of chance alignment computation, introduced by [1], to statistically provide host candidate (e.g. [2, 3]).

The Galclaim software addresses these concerns providing an open source Python software dedicated to identify association between astrophysical transient sources and host galaxy by estimating the chance alignment between a given transient sky localisation and galaxies identified in astronomical surveys. The code lives in a dedicated git repertory222https://github.com/jgducoin/galclaim, https://gitlab.in2p3.fr/ducoin/galclaim.

2 Software description

The Galclaim software is distributed as an open source Python software relying on open source and standard tools for data science, numerics, astrophysics and plotting such as numpy, healpy, astropy, astroquery and matplotlib [7, 8, 9, 10, 11].

The Galclaim software is dedicated to identify association between astrophysical transient sources and host galaxy. This association is made by estimating the chance alignment between a given transient sky localisation and nearby galaxies using the formalism firstly introduced by [1] and widely used since in the transient sky community (e.g. [2, 3, 4]). In this formalism, the probability of chance alignment for a given transient and a given galaxy ii is expressed as:

Pi=1eπri2σ(mi)P_{i}=1-e^{-\pi r^{2}_{i}\sigma(\leq m_{i})} (1)

Where rir_{i} is the angular distance between the transient localisation and the galaxy center, σ(mi)\sigma(\leq m_{i}) is the number of galaxies per arcsecond square having a magnitude below mim_{i} (magnitude of the galaxy ii). This approach is typically used for transients localised with an error of up to few arcseconds (see Section 5.6.2 of [12]). The Galclaim software is relying on sky survey catalogs to crossmatch the transient localisation with known astrophysical sources. The current version of the code uses the Pan-STARRS catalog [13], the Hubble Source Catalog (HSC) [14], the AllWISE catalog [15] and the GLADE catalog [16]. The Pan-STARRS and HSC catalogs provide a good resolution and a relatively deep photometry, two essential properties for the chance alignment estimation, but none of them is all-sky. The Pan-STARRS catalog is limited to 30-30 deg in declination and the HSC one is a visit-based discontinuous catalog. For the sake of completeness of usable sky position, we furthermore implemented the use of the AllWISE infrared catalog [15] which has the advantage of being all-sky but with worse resolution and depth. Finally, we implemented the GLADE catalog, which is dedicated for multi-messenger searches, as it provide the redshift for nearby galaxies (with a reasonable completeness up to \sim 91Mpc [16]).

In the absence of redshift, the first step is often to identify large galaxies near the transient localisation. For this reason, before any computation, Galclaim pre-check for nearby bright galaxies using the RC3 catalog [18] and a 30 arcseconds radius. When a nearby galaxy is found, a warning is raised to the user and the properties of the galaxy are saved in a dedicated output file.

As we are interested on galaxies only, we should identify galaxies in the used catalogs. In the HSC we simply used the extended flag provided. In the Pan-STARRS catalog, we discard stars from galaxies applying the color criteria (imag,PSFimag,Kron)0.05(i_{mag,PSF}-i_{mag,Kron})\geqslant 0.05 up to a magnitude of 21 as proposed by [13]. We flag as unknown classification object with magnitude higher than 21 or objects without imag,Kroni_{mag,Kron}. For the AllWISE catalog, we used the color criteria W1mproJ2MASS<1.7W1_{mpro}-J_{2MASS}<-1.7 (in the range of 12<W1mpro<1512<W1_{mpro}<15) proposed by [17] to select galaxies. We flag as unknown objects for which this criteria is not computable. For both Pan-STARRS and AllWISE catalogs, if the photometry is not sufficient or available for a given object to apply these color criteria, we decide to keep such unknown objects (i.e. treat them as galaxies) in the following computation as it will lead to a slightly over estimation of the galaxy density, i.e. penalise the alignment chance probability and hence harden any significant association. In the case of an association with such unknown object, we leave it up to the user to further investigate if the object is indeed a galaxy.

To compute the σ\sigma parameter the Galclaim software follow the principle proposed by [3] which is based on a local estimation of the galaxy density in a given catalog. This allows to take into account the galaxy clustering, as opposed to σ\sigma estimation based on a whole catalog or using deep optical galaxy surveys as in [1, 2]. In practice, as illustrated by Figure 1, we first fetch all galaxies within a 30 arcseconds radius centered on the transient localisation center and consider all of them as host galaxy candidates. We then estimate the galaxy density fetching all galaxies within a 3 arcminutes radius from the transient position center where we remove the host galaxy candidates not to bias the estimation of the local galaxy density with the host itself. For host galaxy candidate ii and for each photometric band in the catalog we can then compute the σ(mi)\sigma(\leq m_{i}) counting the number of galaxies, within the shell from 30 arcseconds to 3 arcminutes, with magnitude mi\leq m_{i}. We note that, for the HSC, we follow the same procedure but as the all-sky coverage is sparse and discontinuous we modify the way galaxies used to compute the galaxy density are retrieved. We identify in each band of the catalog in which image lies the GRB localisation and use all the galaxies within this image. Knowing the field of view of the catalog images (202×202202\times 202 arcseconds square) we have a cross-matched area which is comparable with the 3 arcminutes radius area used for Pan-STARRS, AllWISE and GLADE.

With σ(mi)\sigma(\leq m_{i}) we can compute the PiP_{i} as described in equation 1 for each host galaxy candidates, each catalogs and each photometric band. One can then discuss the association with a given host galaxy candidate looking at the minimum of the computed PiP_{i} for this galaxy as the result of the probability of chance alignment. While using the GLADE catalog, one can enable the check for compatible redshift providing a redshift range. Galclaim then compute for each host galaxy candidates if the redshift provided in the GLADE catalog is compatible with the provided redshift range and provides this information in the outputted host galaxy candidate properties.

Refer to caption
Figure 1: Illustration of the probability of chance alignment computed with Equation 1. The blue circle illustrate the 30 arcseconds radius used to compute the galaxy density. The red circle illustrate the 30 arcseconds radius used to consider a galaxy as a host galaxy candidate. The probability of chance alignment is computed for all galaxies in this red circle. The blue and red circle are centered on the transient localisation. The green arrow illustrates the computation of the angular distance between the transient localisation and a given galaxy center.

2.1 Chance alignment threshold

In order to claim for an association, one needs to define a threshold in PiP_{i} below which an association can be considered as reliable. While the typical value of the threshold is considered to be around Pi=0.01P_{i}=0.01, this threshold is not fixed in Galclaim as different value can be considered depending the transients studied. As the computation of PiP_{i} include the angular distance between the transient and the galaxy rir_{i}, different astrophysical sources will lead to different typical value of PiP_{i}.

2.2 Software Architecture

The Galclaim software has a very simple structure separated in several python scripts, parsed so that the user can launch the code using a command line in a console. The main dependencies and installation instructions, as well as the usage instructions are described in a usual README file. We provide an example of transient source file format that the user needs to use. After running, the code saves the outputs in a dedicated directory. One output table (in ECSV Format) is provided by transient and by catalog with the list of host galaxy candidates identified and its computed probability of chance alignment. Along with the tables, if enabled by the user, another directory is created to save the plots (one by transients and catalogs) created to facilitate investigations of the associations.

3 Illustrative Examples

Studying the population of galaxies that produces GRBs and the locations of the GRBs inside their hosts, helps to identify and characterise the GRB progenitor and their environment (e.g. [1, 2, 3, 4]). But the association between a given GRB and its host galaxy is a very complex issue especially when there is no optical or radio afterglow detection providing a sub-arcsecond localisation. For instance, a large offset between the host galaxy and transient location can originate from the ’kick’ velocity imparted to the compact object at the time of birth producing short GRBs (e.g. [19, 20]). In this context, the Galclaim software is used to identify, confirm or reject host galaxy candidates allowing to investigate and constrain their properties such as their redshift, stellar population and star formation rate [12].

4 Impact

The Galclaim software has already been used to study galaxy association in the case of short GRB transients and has proved its efficiency in identifying host galaxies for such events [12]. The Galclaim software is also used by the GRANDMA collaboration to validate or invalidate transient candidates in several follow-up campaign [21, 22]. Such tools are very useful to characterise archived transient candidates in large sky survey telescopes such as ZTF [5] or LSST [6]. Given its relatively high processing speed, Galclaim is a suitable tool for real-time classification of LSST transients, which require a drastic filter considering the large numbers involved (see for instance [23]). The current Galclaim version has typical computation time, enabling all the catalogs, of less that 30s for a given transient position. This computation time is by far dominated by the time needed to make the request in catalogs servers, hence is mainly independent of Galclaim code optimization. This typical computation time allows us to treat about 3000 transient candidates per days. While this is several orders of magnitude bellow the total number of transient candidate that LSST will provide per days, this is compatible with the rate of transient candidate one can get after applying filters dedicated to the search of a given transient source (afterglow, supernova, kilonova…).

5 Conclusion

The Galclaim software, dedicated to identify association between astrophysical transient sources and host galaxy, is a very useful tool to identify, confirm or reject transient candidates and host galaxy candidates. It’s distributed as an open source Python software. It’s has already been used by the GRANDMA collaboration and is expected to be widely used in the future for the classification of LSST transients.

Acknowledgments

This project was supported by a research grant from the Ile-de-France Region within the framework of the Domaine d’Intérêt Majeur-Astrophysique et Conditions d’Apparition de la Vie (DIM-ACAV). We acknowledge financial support from the Centre National d’Études Spatiales (CNES). We thank David Corre for his support in this work.

References

  • Bloom et al. [2002] Bloom, J. S., Kulkarni, S. R., Djorgovski, S. G. 2002. The Observed Offset Distribution of Gamma-Ray Bursts from Their Host Galaxies: A Robust Clue to the Nature of the Progenitors. The Astronomical Journal 123, 1111–1148. doi:10.1086/338893
  • Berger [2010] Berger, E. 2010. A Short Gamma-ray Burst “No-host” Problem? Investigating Large Progenitor Offsets for Short GRBs with Optical Afterglows. The Astrophysical Journal 722, 1946–1961. doi:10.1088/0004-637X/722/2/1946
  • Chrimes et al. [2018] Chrimes, A. A., Stanway, E. R., Levan, A. J., Davies, L. J. M., Angus, C. R., Greis, S. M. L. 2018. Investigating a population of infrared-bright gamma-ray burst host galaxies. Monthly Notices of the Royal Astronomical Society 478, 2–27. doi:10.1093/mnras/sty1043
  • Fong et al. [2022] Fong, W.-. fai . and 27 colleagues 2022. Short GRB Host Galaxies. I. Photometric and Spectroscopic Catalogs, Host Associations, and Galactocentric Offsets. The Astrophysical Journal 940. doi:10.3847/1538-4357/ac91d0
  • Masci et al. [2019] Masci, F. J. and 48 colleagues 2019. The Zwicky Transient Facility: Data Processing, Products, and Archive. Publications of the Astronomical Society of the Pacific 131, 018003. doi:10.1088/1538-3873/aae8ac
  • Ivezić et al. [2019] Ivezić, Ž. and 326 colleagues 2019. LSST: From Science Drivers to Reference Design and Anticipated Data Products. The Astrophysical Journal 873. doi:10.3847/1538-4357/ab042c
  • Harris et al. [2020] Harris, C. R. and 25 colleagues 2020. Array programming with NumPy. Nature 585, 357–362. doi:10.1038/s41586-020-2649-2
  • Zonca et al. [2019] Zonca, A. and 6 colleagues 2019. healpy: equal area pixelization and spherical harmonics transforms for data on the sphere in Python. The Journal of Open Source Software 4. doi:10.21105/joss.01298
  • Astropy Collaboration et al. [2022] Astropy Collaboration and 136 colleagues 2022. The Astropy Project: Sustaining and Growing a Community-oriented Open-source Project and the Latest Major Release (v5.0) of the Core Package. The Astrophysical Journal 935. doi:10.3847/1538-4357/ac7c74
  • Ginsburg et al. [2019] Ginsburg, A. and 24 colleagues 2019. astroquery: An Astronomical Web-querying Package in Python. The Astronomical Journal 157. doi:10.3847/1538-3881/aafc33
  • Hunter [2007] Hunter, J. D. 2007. Matplotlib: A 2D Graphics Environment. Computing in Science and Engineering 9, 90–95. doi:10.1109/MCSE.2007.55
  • Ducoin [2021] Ducoin, Jean-Grégoire 2021. Multi-messenger astronomy : from the analysis of transient sources of gravitational waves to electromagnetic counterparts searches, Thesis, https://theses.hal.science/tel-03514521
  • Chambers et al. [2016] Chambers, K. C. and 125 colleagues 2016. The Pan-STARRS1 Surveys. arXiv e-prints. doi:10.48550/arXiv.1612.05560
  • Whitmore et al. [2016] Whitmore, B. C. and 11 colleagues 2016. Version 1 of the Hubble Source Catalog. The Astronomical Journal 151. doi:10.3847/0004-6256/151/6/134
  • Cutri et al. [2021] Cutri, R. M. and 31 colleagues 2021. VizieR Online Data Catalog: AllWISE Data Release (Cutri+ 2013). VizieR Online Data Catalog.
  • Dálya et al. [2018] Dálya, G. and 8 colleagues 2018. GLADE: A galaxy catalogue for multimessenger searches in the advanced gravitational-wave detector era. Monthly Notices of the Royal Astronomical Society 479, 2374–2381. doi:10.1093/mnras/sty1703
  • Kovács and Szapudi [2015] Kovács, A., Szapudi, I. 2015. Star-galaxy separation strategies for WISE-2MASS all-sky infrared galaxy catalogues. Monthly Notices of the Royal Astronomical Society 448, 1305–1313. doi:10.1093/mnras/stv063
  • Corwin et al. [1994] Corwin, H. G., Buta, R. J., de Vaucouleurs, G. 1994. Corrections and additions to the Third Reference Catalogue of Bright Galaxies.. The Astronomical Journal 108, 2128–2144. doi:10.1086/117225
  • Bloom et al. [1999] Bloom, J. S., Sigurdsson, S., Pols, O. R. 1999. The spatial distribution of coalescing neutron star binaries: implications for gamma-ray bursts. Monthly Notices of the Royal Astronomical Society 305, 763–769. doi:10.1046/j.1365-8711.1999.02437.x
  • Voss and Tauris [2003] Voss, R., Tauris, T. M. 2003. Galactic distribution of merging neutron stars and black holes - prospects for short gamma-ray burst progenitors and LIGO/VIRGO. Monthly Notices of the Royal Astronomical Society 342, 1169–1184. doi:10.1046/j.1365-8711.2003.06616.x
  • Aivazyan et al. [2022] Aivazyan, V. and 82 colleagues 2022. GRANDMA observations of ZTF/Fink transients during summer 2021. Monthly Notices of the Royal Astronomical Society 515, 6007–6022. doi:10.1093/mnras/stac2054
  • Tosta e Melo, ducoin et al. [2023] Tosta e Melo, I., Ducoin, J.-G. and 107 colleagues 2023. Ready for O4 II: GRANDMA Observations of Swift GRBs during eight-weeks of Spring 2022. arXiv e-prints. doi:10.48550/arXiv.2310.17287
  • Möller et al. [2021] Möller, A. and 35 colleagues 2021. FINK, a new generation of broker for the LSST community. Monthly Notices of the Royal Astronomical Society 501, 3272–3288. doi:10.1093/mnras/staa3602