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

Inf value for Loglkl #17

Open
ash2223 opened this issue Aug 26, 2022 · 5 comments
Open

Inf value for Loglkl #17

ash2223 opened this issue Aug 26, 2022 · 5 comments
Assignees

Comments

@ash2223
Copy link

ash2223 commented Aug 26, 2022

Hello! I'm trying to run pyactlike with MontePython on my cluster, but i'm getting -LogLkl = inf in my chains:

Screen Shot 2022-08-25 at 6 00 01 PM

I went into the init.py file and found that the analysis never makes it past the line cl = self.get_cl(cosmo, 6000) before it throws an error and sets Loglkl to inf. I'm wondering if I could get some help on bypassing this issue? Thank you!

-Adam

@xzackli xzackli self-assigned this Aug 26, 2022
@ash2223
Copy link
Author

ash2223 commented Aug 27, 2022

Ah, I figured out what the issue was! Turns out "data.cosmo_arguments['l_max_scalars'] = 6000" must be added to the .param file, otherwise the default value that CLASS uses for l_max_scalars is zero, and the get_cl function won't work. Perhaps someone could add this line to the .param file so that this issue will be resolved for others who run into it. Thanks all!

-Adam

@shan1525
Copy link

Dear @ash2223 and @xzackli ,

I am running the MontePython interface for ACT pol_lite likelihood. The param file that is attached with the likelihood gives inf -Loglkl. So as suggested in this thread I used "data.cosmo_arguments['l_max_scalars'] = 6000". The error was resolved but the -loglkl is continiously increasing and the chains are not converging. So as raised in #12, is there any starting covmat and bestfit files. Or is their anything more to get a convergence? Can anybody suggest any solution to this problem. I am using only the act_likelihood with the tau_prior likelihood as given in param file.

with the best regards,
shan.

@shan1525
Copy link

Dear developers,

Any update on this. Please, respond whenever you are free.

Thanking you,
with the best regards,
shan.

@xzackli
Copy link
Collaborator

xzackli commented Oct 27, 2022

I'm sorry, distracted with some other stuff. Let me get back to you in a few days!

@shan1525
Copy link

shan1525 commented Oct 27, 2022 via email

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

3 participants