Closed lukasfurtak closed 5 years ago
Sorry, forgot to upload input files
Hi,
I can fit SEDs with v0.19 without a problem, but the latest version returns the same error.
Is there something like a log about changes in BEAGLE? I have finally finished building a photometry catalogue of a very large sample of galaxies. Fitting their SEDs will take approximately a week. So, It would be good to know more about the changes between different versions to decide on how relevant a re-fitting would be.
Cheers,
Steve
@steveschulze we have a changelog, but it's not yet currently accessible to everyone, but you're definitely right that it's very useful to make it available to all Beagle users, I'll take a look at possible solutions
Thanks Jacopo. :) This would be very useful.
@steveschulze the Beagle changelog can now be accessed here https://beagle.netlify.com/
@jacopo-chevallard apparently the error above only appears when sfh_type
is set to rising
. The exact same parameter file works fine when it is set to exponential
or constant
sfh.
and here as well, @lukasfurtak and @steveschulze can you check with version 0.23.0?
Hi Jacopo,
thanks for fixing that. I am currently on vacation until the 18th. After that, I have access to a computer again.
Cheers,
Steve
@jacopo-chevallard For me this error message still shows in version 0.23.0 but now also when sfh_type
is set to delayed
. It works for constant
though.
And for a rising
SFH the error is now (in version 0.23.0):
[ERROR: `Inf` or `NaN` detected in the star formation history `chem_abund` array! ]
[FUNCTION: "get_star_formation_history" ]
[MODULE: "star_formation" ]
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
@lukasfurtak I can reproduce the error with the rising
SFH, while it works with delayed
and the others (I'm using the parameter file you attached in this issue), can you check again that you didn't change anything else in the other test in which you got an error for the delayed
?
I think I found the problem with the rising
SFH, it's related to the prior you're using on tau
. The minimum allowed tau
in your parameter file is log(tau) = 6, and this makes the exponential function in a rising SFH explode, try to compute exp(t/tau) for t > 10^8 and tau=10^6, it goes well beyond what single precision floating points can record, and this is why you get Infinity
. If you restrict your prior to more manageable values, e.g. prior:range:[8.,9.]
, or even prior:range:[7.,9.]
, it runs without errors ! Can you check by yourself and confirm? (see also my comment above)
@lukasfurtak let me know if we can close this
Hi @jacopo-chevallard ! I’m sorry for taking so long to respond, I tested the rising
SFH with the prior ranges you suggested and this now seems to work. The delayed
SFH also works again so I think all of these issues have been taken care of. Thank you for your help! Closing ;)
Hi again,
I now also get this new error when running the same parameter file as in issue #84 with the parameter
sfr
switched on, i.e. uncommented andfitted
.Here are my parameter files for this particular issue: