sergiohcdna / ctadmtool

Analysis scripts for DM cluster searches
Other
1 stars 3 forks source link

ctulimit max iteration error #13

Closed lpin0002 closed 3 years ago

lpin0002 commented 3 years ago

Hey there,

So I've been having this issue for a couple days now where when I run csdmatter.py to get upper limits for anything looking at the galactic centre I get some "max iteration" error for ctulimit. The exact error is

ValueError: *** ERROR in ctulimit::ul_bisection(double&, double&): Invalid value. The maximum number of 50 has been reached. You may consider to increase the "max_iter" parameter and re-run ctulimit.

It only shows up if I try and use 10 or more mass points. It seems to be fine for 9 or below. I've tried doing what the error suggests in csdmatter when it uses ctulimit but I get the exact same error. Just wondering if anyone has any clue what may be causing it.

Any help would be appreciated and thanks in advance.

sergiohcdna commented 3 years ago

Hi @lpin0002

Can you provide the example you are running?

I had the same issue the same week, but it was related to an error when passing the coordinates of the source to csdmatter