bd-j / prospector

Python code for Stellar Population Inference from Spectra and SEDs
http://prospect.readthedocs.io
MIT License
156 stars 73 forks source link

Mass output differences when fitting with/without spectra #207

Closed CSwigg closed 3 years ago

CSwigg commented 3 years ago

This may be a more general question/issue about SED fitting, but I am finding some discrepancies in the output stellar mass (surviving) when running prospector on a sample of 50 galaxies using just their photometry (UV through mid-IR) and then again for a run including their optical spectra. My model is non-parametric with a continuity prior; here is a print out:

Screen Shot 2021-05-06 at 2 17 02 PM

I am finding that there is a ~0.25 dex shift in stellar mass between the two runs. I am beginning to consider some of the 'Fitting Spectra' bullet points in the Prospector FAQ, but are there any other more obvious reasons why including the spectra might create this shift? Here I am just including the spectra in a 3600-4200 AA region around the 4000 AA break, but using the full spectra also creates a similar shift. Let me know if I can provide any more info to make my procedure more clear. Also tagging @moustakas on this. Thank you!

Screen Shot 2021-05-03 at 10 48 51 AM
bd-j commented 3 years ago

A few things that could be important

1) Do the fits look reasonable, or is the photometry being massively misfit when including the spectrum?

2) The spectrum might actually be informative about the age or metallicity in a way that shifts the posterior from photometry only. You might compare the posterior distributions for logzsol and the SFH (also for dust)

CSwigg commented 3 years ago

Thank you for the suggestions. You are right that I am not currently implementing either of your points- I'll try them and report back. I would say the fits generally look reasonable but including the spectra does make the fits to photometry slightly worse. I also forgot to mention that the SFHs are usually vastly different between the two runs. Hopefully these changes have an effect.

CSwigg commented 3 years ago

Correcting for the instrumental resolution fixed this specific issue. The spectra and photometry were already calibrated to one another, so no change there.