Hello,
I am trying to fit a model to some spectroscopic data using emcee optimization. I have defined my model with the 'ssp' and 'optimize_speccal' templates, and have four free parameters: redshift (zred), mass, metallicity (logzsol) and age. The minimization (least-squares) fitting executes nicely for all four parameters that I've set to free, as expected. However, when I run emcee, it seems that the redshift parameter gets left out. The sampling occurs only for the mass, metallicity and age parameters, and thus produces a theta vector array that is 3 entries long rather than 4. To confirm that redshift is excluded, the 'chain' key in my emcee results dictionary has a free parameters dimension of 3 (when I believe it should be 4):
Is there a way to fix this? Thanks in advance
Hello,
I am trying to fit a model to some spectroscopic data using emcee optimization. I have defined my model with the 'ssp' and 'optimize_speccal' templates, and have four free parameters: redshift (zred), mass, metallicity (logzsol) and age. The minimization (least-squares) fitting executes nicely for all four parameters that I've set to free, as expected. However, when I run emcee, it seems that the redshift parameter gets left out. The sampling occurs only for the mass, metallicity and age parameters, and thus produces a theta vector array that is 3 entries long rather than 4. To confirm that redshift is excluded, the 'chain' key in my emcee results dictionary has a free parameters dimension of 3 (when I believe it should be 4):
Is there a way to fix this? Thanks in advance