-
Notifications
You must be signed in to change notification settings - Fork 54
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
gta.lightcurve issue #591
Comments
Can you send a simple script that illustrates your issue? |
Thank you for your response.
Please find the Python script attached below where I am facing the issue.
I am looking forward to your assistance in resolving this issue.
*Regards,*
*Athar Ahmad Dar*
*Research Scholar*
*Department of Physics*
*University of Kashmir, 190006*
*+91-7006361913*
…On Tue, May 14, 2024 at 2:34 AM Nicola Omodei ***@***.***> wrote:
Can you send a simple script that illustrates your issue?
—
Reply to this email directly, view it on GitHub
<#591 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXSOYO5VJJRM2Z2ANCILNGLZCETFDAVCNFSM6AAAAABHMKESSOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBYG44TMOBRG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I am sorry, there is no script attached here, probably you attached via email, can you use the web interface to upload a test sample? Thank you! |
from fermipy.gtanalysis import GTAnalysis Initialize GTAnalysisgta = GTAnalysis('config.yaml', logging={'verbosity': 3}) Print source parameterssource_name = 4FGL J1642.9+3948' gta.fit() break energy values to be fixed for the source in each time binbreak_energies = np.loadtxt('break_energy.txt') Generate light curve for each break energytmin = 620581417 for i in range(len(time_bins)-1):
|
I am writing to seek your guidance regarding an issue I am facing with my Fermipy analysis. I use the gta.lightcurve command to obtain the 10-day binned gamma-ray light curve. A broken power law model is used for the source model. My goal is to fix the break energy of the model to the specific values in each bin. In each time bin, I have a specific value of the break energy. However, I have encountered a challenge where the break energy takes the value by default, and I cannot fix it to the energy as intended. I have reviewed the Fermipy documentation and explored various options within the code, but I have not been able to resolve this issue. I believe there might be a specific approach or parameter setting that I am overlooking. I would greatly appreciate it if you could provide me with guidance or suggestions on addressing this issue.
The text was updated successfully, but these errors were encountered: