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

TOI-561 Stage 30 error #25

Closed
mar-palt opened this issue Nov 21, 2023 · 5 comments
Closed

TOI-561 Stage 30 error #25

mar-palt opened this issue Nov 21, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@mar-palt
Copy link

Hi Sebastian,

When I try running Stage 30 with TOI-561 data, I get the following error for both the white and spectroscopic light curve fits:

Screen Shot 2023-11-21 at 12 27 04 PM

These are my pcf and fit_par files:
fit_par.txt
obs_par.pcf.txt

@sebastian-zieba sebastian-zieba self-assigned this Nov 22, 2023
@sebastian-zieba sebastian-zieba added the bug Something isn't working label Nov 22, 2023
@n-bachmann
Copy link
Contributor

Hi mar-palt,
I got the same error message and found a solution which at least works for my dataset. My data has just one visit so there is no reason to not tie any of the parameters in the fit_par.txt file. Once I removed all the duplicated lines in the file and tied the parameters, the error in stage 30 was resolved. Maybe this could work for your dataset too.

@sebastian-zieba
Copy link
Owner

Hi @mar-palt , just double checking, do you have one or two visits?

@mar-palt
Copy link
Author

Hi both,

Sorry for the late response! I have only one visit, and I tried incorporating @n-bachmann's solution and it seems to work, the error isn't present any more. Thank you for you help!

@sebastian-zieba
Copy link
Owner

Hi @mar-palt ,

Great that it's fixed!
Just for clarification: If you only have one visit, all values in the "tied" column in fit_par.txt should be "-1" and the lines shouldn't be repeated. Only if you have several visits and you don't want to have the same value across visits (= you dont want to have them tied across visits), then you would repeat the line.
So for example, let's assume you have three visits. Then you will want to have a different normalization for each visit. In the fit_par.txt it will look something like this:

c False 0 8.37 True 6.0 True 8.9 U 6.7 7.0 0.001
c False 1 8.37 True 6.0 True 8.9 U 6.7 7.0 0.001
c False 2 8.37 True 6.0 True 8.9 U 6.7 7.0 0.001

This will give you one "c" value for each visit.
Hope that clarifies it a bit!

@sebastian-zieba
Copy link
Owner

This is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants