The Astrophysical Journal Supplement Series (Jan 2023)

Lightning: An X-Ray to Submillimeter Galaxy SED-fitting Code with Physically Motivated Stellar, Dust, and AGN Models

  • Keith Doore,
  • Erik B. Monson,
  • Rafael T. Eufrasio,
  • Bret D. Lehmer,
  • Kristen Garofali,
  • Antara Basu-Zych

DOI
https://doi.org/10.3847/1538-4365/accc29
Journal volume & issue
Vol. 266, no. 2
p. 39

Abstract

Read online

We present an updated version of Lightning , a galaxy spectral energy distribution (SED) fitting code that can model X-ray to submillimeter observations. The models in Lightning include the options to contain contributions from stellar populations, dust attenuation and emission, and active galactic nuclei (AGNs). X-ray emission, when utilized, can be modeled as originating from stellar compact binary populations with the option to include emission from AGNs. We have also included a variety of algorithms to fit the models to observations and sample parameter posteriors; these include adaptive Markov Chain Monte Carlo (MCMC), affine-invariant MCMC, and Levenberg–Marquardt gradient-descent ( MPFIT ) algorithms. To demonstrate some of the capabilities of Lightning , we present several examples using a variety of observational data. These examples include (1) deriving the spatially resolved stellar properties of the nearby galaxy M81, (2) demonstrating how X-ray emission can provide constraints on the properties of the supermassive black hole of a distant AGN, (3) exploring how to rectify the attenuation effects of inclination on the derived the star formation rate of the edge-on galaxy NGC 4631, (4) comparing the performance of Lightning to similar Bayesian SED-fitting codes when deriving physical properties of the star-forming galaxy NGC 628, and (5) comparing the derived X-ray and UV-to-IR AGN properties from Lightning and CIGALE for a distant AGN. Lightning is an open-source application developed in IDL and is available at https://github.com/rafaeleufrasio/lightning .

Keywords