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

Related to computing variability index in Enrico_lc task #182

Open
ajaykhoj opened this issue Sep 11, 2023 · 0 comments
Open

Related to computing variability index in Enrico_lc task #182

ajaykhoj opened this issue Sep 11, 2023 · 0 comments

Comments

@ajaykhoj
Copy link

Hi, I am generating LC and at the end of each iteration it calculates the variability and for that it needs the parameter index and cutoff values which it sees in the .xml file generated for each bin. But these parameters could not be found there and it looks at all .xml file of all bin. Therefore it consumes more and more time for each iteration by searching the parameters values in all .xml file of all bin. Can you please help me find a solution to this problem?

I am sharing an output here for iteration 2 (for LC analysis in 2nd bin) and here you can see that it look at all .xml file at that moment. let's say when you reach to iteration number "N", it will look for parameter index and cutoff in all "N" .xml file.

[LightCurve]: Write to Ascii file : .//LightCurve_101bins/1H0323+342_results.dat

************************************************************

*** Computing Variability index ***

************************************************************

[Message]: Creating Likelihood object for component.
Drm_Cache::update Measured counts < 0 4FGL J0336.4+3224 40 -2.56972e-16 3.42107e-16
0.23283 0.390573 0.599521 0.836207 1.04906 1.18382 1.21205 1.14194 1.00264 0.82118 0.624322 0.442312 0.293931 0.184381 0.107898 0.0587145 0.0300178 0.0144792 0.00653043 0.00278864 0.0011251 0.000436131 0.000161552 5.61932e-05 1.85338e-05 5.83812e-06 1.74387e-06 4.94364e-07 1.33557e-07 3.43439e-08 8.34962e-09 1.92267e-09 4.19179e-10 8.69317e-11 1.7163e-11 3.21312e-12 5.72233e-13 9.68853e-14 1.55682e-14 2.37119e-15 3.42107e-16
Parameter Index not found for source 1H0323+342 in file .//LightCurve_101bins//LC_0/0_439243752.297711_440453792.0025456.xml.
[FitMaker]: Freezing alpha = 2.0
Parameter Index1 not found for source 1H0323+342 in file .//LightCurve_101bins//LC_0/0_439243752.297711_440453792.0025456.xml.
[FitMaker]: Freezing beta = 0
Parameter Index2 not found for source 1H0323+342 in file .//LightCurve_101bins//LC_0/0_439243752.297711_440453792.0025456.xml.
Parameter Cutoff not found for source 1H0323+342 in file .//LightCurve_101bins//LC_0/0_439243752.297711_440453792.0025456.xml.
[Message]: Adding component to the summed likelihood.

************************************************************

*** 1 gteffbkg --- Generate effective background

************************************************************

************************************************************

*** 2 gtalphabkg --- Relative contribs of components

************************************************************

************************************************************

*** 3 gtwtsmap --- Relative weights

************************************************************

[Message]: Creating Likelihood object for component.
Parameter Index not found for source 1H0323+342 in file .//LightCurve_101bins//LC_1/1_440453792.0025456_441663831.7073802.xml.
[FitMaker]: Freezing alpha = 2.0
Parameter Index1 not found for source 1H0323+342 in file .//LightCurve_101bins//LC_1/1_440453792.0025456_441663831.7073802.xml.
[FitMaker]: Freezing beta = 0
Parameter Index2 not found for source 1H0323+342 in file .//LightCurve_101bins//LC_1/1_440453792.0025456_441663831.7073802.xml.
Parameter Cutoff not found for source 1H0323+342 in file .//LightCurve_101bins//LC_1/1_440453792.0025456_441663831.7073802.xml.
[Message]: Adding component to the summed likelihood.

************************************************************

*** 1 gteffbkg --- Generate effective background

************************************************************

************************************************************

*** 2 gtalphabkg --- Relative contribs of components

************************************************************

************************************************************

*** 3 gtwtsmap --- Relative weights

************************************************************

Any help would be appreciated.

Using latest version of Enrico_code.

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

1 participant