You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I checked the FAQ and my question has not been addressed.
Instrument
Light curve fitting (Stages 4-6)
What happened?
For my stage 5 I set for fit method dynesty and I got the error below, I choose dynesty because that's the method in the demo file, but, should I use this method?, or does it matter if I pick a different one, because I ran again stage 5 but with fit method as lsq, is that correct?, because my results with lsq looked decent.
Error traceback output
55643it [1:18:22, 11.18it/s, bound: 338 | nc: 30 | ncall: 1596070 | eff(%): 3.486 | loglstar: -inf < 1678.602 < inf | logz: 1621.999 +/- 0.235 | d
55643it [1:18:22, 11.83it/s, bound: 338 | nc: 30 | ncall: 1596070 | eff(%): 3.486 | loglstar: -inf < 1678.602 < inf | logz: 1621.999 +/- 0.235 | dlogz: 2.392 > 0.100]
Traceback (most recent call last):
File "/home/iaunam/Escritorio/Verano_2024/ECF_files_byme/run_eureka_wasp39_2.py", line 34, in <module>
meta = s5.fitlc(eventlabel, ecf_path=ecf_path)
File "/home/iaunam/anaconda3/envs/eureka/lib/python3.9/site-packages/eureka/S5_lightcurve_fitting/s5_fit.py", line 460, in fitlc
meta, params = fit_channel(meta, time, flux, channel,
File "/home/iaunam/anaconda3/envs/eureka/lib/python3.9/site-packages/eureka/S5_lightcurve_fitting/s5_fit.py", line 856, in fit_channel
lc_model.fit(model, meta, log, fitter='dynesty')
File "/home/iaunam/anaconda3/envs/eureka/lib/python3.9/site-packages/eureka/S5_lightcurve_fitting/lightcurve.py", line 179, in fit
fit_model = self.fitter_func(self, model, meta, log, **kwargs)
File "/home/iaunam/anaconda3/envs/eureka/lib/python3.9/site-packages/eureka/S5_lightcurve_fitting/fitters.py", line 817, in dynestyfitter
sampler.run_nested(dlogz=tol, print_progress=True) # output progress bar
File "/home/iaunam/anaconda3/envs/eureka/lib/python3.9/site-packages/dynesty/sampler.py", line 1025, in run_nested
for it, results in enumerate(
File "/home/iaunam/anaconda3/envs/eureka/lib/python3.9/site-packages/dynesty/sampler.py", line 848, in sample
u, v, logl, nc = self._new_point(loglstar_new)
File "/home/iaunam/anaconda3/envs/eureka/lib/python3.9/site-packages/dynesty/sampler.py", line 439, in _new_point
self.update_bound_if_needed(loglstar, ncall=ncall)
File "/home/iaunam/anaconda3/envs/eureka/lib/python3.9/site-packages/dynesty/sampler.py", line 327, in update_bound_if_needed
bound = self.update(subset=subset)
File "/home/iaunam/anaconda3/envs/eureka/lib/python3.9/site-packages/dynesty/nestedsamplers.py", line 679, in update
self.mell.update(self.live_u[subset, :self.ncdim],
File "/home/iaunam/anaconda3/envs/eureka/lib/python3.9/site-packages/dynesty/bounding.py", line 580, in update
ells = _bounding_ellipsoids(points, firstell)
File "/home/iaunam/anaconda3/envs/eureka/lib/python3.9/site-packages/dynesty/bounding.py", line 1414, in _bounding_ellipsoids
k2_res = kmeans2(points / scale,
File "/home/iaunam/anaconda3/envs/eureka/lib/python3.9/site-packages/scipy/cluster/vq.py", line 788, in kmeans2
label = vq(data, code_book)[0]
File "/home/iaunam/anaconda3/envs/eureka/lib/python3.9/site-packages/scipy/cluster/vq.py", line 200, in vq
obs = _asarray_validated(obs, check_finite=check_finite)
File "/home/iaunam/anaconda3/envs/eureka/lib/python3.9/site-packages/scipy/_lib/_util.py", line 287, in _asarray_validated
a = toarray(a)
File "/home/iaunam/anaconda3/envs/eureka/lib/python3.9/site-packages/numpy/lib/function_base.py", line 628, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Have you closely looked at the figures output at the start of the fit, and have you closely looked at your ECF settings and made sure that all of your priors are reasonable?
FAQ check
Instrument
Light curve fitting (Stages 4-6)
What happened?
For my stage 5 I set for fit method dynesty and I got the error below, I choose dynesty because that's the method in the demo file, but, should I use this method?, or does it matter if I pick a different one, because I ran again stage 5 but with fit method as lsq, is that correct?, because my results with lsq looked decent.
Error traceback output
What operating system are you using?
Ubuntu 18.04.6 LTS
What version of Python are you running?
Python 3.9.7
What Python packages do you have installed?
Code of Conduct
The text was updated successfully, but these errors were encountered: