Skip to content

Firefly (Fitting IteRativEly For Likelihood analYsis): a full spectral fitting code

Research output: Contribution to journalArticle

We present a new spectral fitting code, FIREFLY, for deriving the stellar population properties of stellar systems. FIREFLY is a chi-squared minimization fitting code that fits combinations of single-burst stellar population models to spectroscopic data, following an iterative best-fitting process controlled by the Bayesian information criterion. No priors are applied, rather all solutions within a statistical cut are retained with their weight. Moreover, no additive or multiplicative polynomials are employed to adjust the spectral shape. This fitting freedom is envisaged in order to map out the effect of intrinsic spectral energy distribution degeneracies, such as age, metallicity, dust reddening on galaxy properties, and to quantify the effect of varying input model components on such properties. Dust attenuation is included using a new procedure, which was tested on Integral Field Spectroscopic data in a previous paper. The fitting method is extensively tested with a comprehensive suite of mock galaxies, real galaxies from the Sloan Digital Sky Survey and Milky Way globular clusters. We also assess the robustness of the derived properties as a function of signal-to-noise ratio (S/N) and adopted wavelength range. We show that FIREFLY is able to recover age, metallicity, stellar mass, and even the star formation history remarkably well down to an S/N ∼ 5, for moderately dusty systems. Code and results are publicly available at
Original languageEnglish
Pages (from-to)4297–4326
JournalMonthly Notices of the Royal Astronomical Society
Issue number4
Early online date6 Sep 2017
Publication statusPublished - Dec 2017


  • stx2215

    Rights statement: This article has been accepted for publication in Monthly Notices of the Royal Astronomical Society ©: 2017 The Authors. Published by Oxford University Press on behalf of the Royal Astronomical Society. All rights reserved.

    Final published version, 13.3 MB, PDF document

Related information

Relations Get citation (various referencing formats)

ID: 8060086