Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nestle likely bug #10

Open
sdhawan21 opened this issue Apr 9, 2023 · 0 comments
Open

Nestle likely bug #10

sdhawan21 opened this issue Apr 9, 2023 · 0 comments

Comments

@sdhawan21
Copy link

Fitting some data with a IIn template gives an error with nestle due to a negative h.

"""
File "/Users/suhaildhawan/workspaces/LSST/time_delays/core-collapse/simulate_sntd.py", line 43, in
fitCurves=sntd.fit_data(misn,snType=snType,models=template,bands=filt_ls,
File "/Users/suhaildhawan/.local/lib/python3.9/site-packages/sntd/fitting.py", line 568, in fit_data
curves = _fitparallel(args)
File "/Users/suhaildhawan/.local/lib/python3.9/site-packages/sntd/fitting.py", line 2725, in _fitparallel
res, fit = sncosmo.nest_lc(fit_table, tempMod, [x for x in args['params'] if x in tempMod.param_names],
File "/opt/anaconda3/lib/python3.9/site-packages/sncosmo/fitting.py", line 1099, in nest_lc
res = nestle.sample(loglike, prior_transform, ndim, npdim=npdim,
File "/Users/suhaildhawan/.local/lib/python3.9/site-packages/nestle.py", line 985, in sample
raise RuntimeError("Negative h encountered (h={}). Please report "
RuntimeError: Negative h encountered (h=-8.102136181477137e+23). Please report this as a likely bug.

"""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant