/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 17524
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0924.0+2816_weekly_bin907
RA = 141.005, Dec = 28.2755
tmin = 787536001, tmax = 788140801
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='17772279', job_status='RUN', time_executed='2025-12-23 01:14:41.451408', time_epoch_executed='1766481281.45' WHERE source_name='4FGL J0924.0+2816' and cadence='weekly' and bin_id='907'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17772279

Creating custom pfile directory:
/lscratch/kocevski/17772279/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=787536001.0 && nMetStart<788140801.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=787536001.0 && nMetStart<788140801.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17772279/ft1_4FGL_J0924.0+2816_weekly_bin907.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=787536001.0 && nMetStart<788140801.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17772279/ft2_4FGL_J0924.0+2816_weekly_bin907.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17772279/ft1_4FGL_J0924.0+2816_weekly_bin907.fits outfile=/lscratch/kocevski/17772279/ft1_filteredMKT_4FGL_J0924.0+2816_weekly_bin907.fits ra=141.005 dec=28.2755 rad=12.0 tmin=787536001.0 tmax=788140801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.07
user 4.38
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17772279/ft2_4FGL_J0924.0+2816_weekly_bin907.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17772279/ft2_4FGL_J0924.0+2816_weekly_bin907.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/17772279/ft1_filteredMKT_4FGL_J0924.0+2816_weekly_bin907.fits evtable="EVENTS" outfile="/lscratch/kocevski/17772279/ft1_filtered_4FGL_J0924.0+2816_weekly_bin907.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.79
user 0.25
sys 0.14

Number of photons that the gtmktime cut: 1321

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17772279/ft1_filtered_4FGL_J0924.0+2816_weekly_bin907.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17772279/ft2_4FGL_J0924.0+2816_weekly_bin907.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17772279/ltcube_787536001_788140801_4FGL_J0924.0+2816_weekly_bin907.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/17772279/ft2_4FGL_J0924.0+2816_weekly_bin907.fits
.....................!
real 19.23
user 18.43
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17772279/ft1_filtered_4FGL_J0924.0+2816_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17772279/ft2_4FGL_J0924.0+2816_weekly_bin907.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17772279/ltcube_787536001_788140801_4FGL_J0924.0+2816_weekly_bin907.fits outfile=/lscratch/kocevski/17772279/expmap_787536001_788140801_4FGL_J0924.0+2816_weekly_bin907.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/17772279/ltcube_787536001_788140801_4FGL_J0924.0+2816_weekly_bin907.fits
.....................!
real 69.94
user 65.00
sys 4.05

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 170 point sources and 0 extended sources

Setting source of interest to:
4FGL J0924.0+2816 @ 141.005 28.2755

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17772279/ft1_filtered_4FGL_J0924.0+2816_weekly_bin907.fits scfile=/lscratch/kocevski/17772279/ft2_4FGL_J0924.0+2816_weekly_bin907.fits outfile=/lscratch/kocevski/17772279/cmap_787536001_788140801_4FGL_J0924.0+2816_weekly_bin907.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=141.005 yref=28.2755 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.79
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17772279/ft1_filtered_4FGL_J0924.0+2816_weekly_bin907.fits scfile=/lscratch/kocevski/17772279/ft2_4FGL_J0924.0+2816_weekly_bin907.fits outfile=/lscratch/kocevski/17772279/cmap_HighResolution_787536001_788140801_4FGL_J0924.0+2816_weekly_bin907.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=141.005 yref=28.2755 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.74
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17772279/ft1_filtered_4FGL_J0924.0+2816_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17772279/ft2_4FGL_J0924.0+2816_weekly_bin907.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17772279/Model_4FGL_J0924.0+2816_weekly_bin907.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/17772279/ft1_filtered_4FGL_J0924.0+2816_weekly_bin907.fits.....................!
real 45.26
user 43.56
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17772279/ft1_filtered_4FGL_J0924.0+2816_weekly_bin907.fits', '/lscratch/kocevski/17772279/ft2_4FGL_J0924.0+2816_weekly_bin907.fits', expMap='/lscratch/kocevski/17772279/expmap_787536001_788140801_4FGL_J0924.0+2816_weekly_bin907.fits', expCube='/lscratch/kocevski/17772279/ltcube_787536001_788140801_4FGL_J0924.0+2816_weekly_bin907.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17772279/Model_4FGL_J0924.0+2816_weekly_bin907.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0924.0+2816'

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17772279/ft1_filtered_4FGL_J0924.0+2816_weekly_bin907.fits
Spacecraft file(s): /lscratch/kocevski/17772279/ft2_4FGL_J0924.0+2816_weekly_bin907.fits
Exposure map: /lscratch/kocevski/17772279/expmap_787536001_788140801_4FGL_J0924.0+2816_weekly_bin907.fits
Exposure cube: /lscratch/kocevski/17772279/ltcube_787536001_788140801_4FGL_J0924.0+2816_weekly_bin907.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17772279/Model_4FGL_J0924.0+2816_weekly_bin907.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 15040.8666989

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 15040.7547306

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88978       1.0000          .0000       .10000E+07
     2 'Prefactor '    .93488       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.0799       1.0000          .0000       .10000E+07
     4 'norm      '    .19271E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    32.699       1.0000          .0000       .10000E+07
     6 'norm      '    .79706       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5917       1.0000          .0000       .10000E+07
     8 'norm      '    11.817       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.0921       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11380E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .18185E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18186E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10197E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
    15 'norm      '    .94209       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1088       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .90639       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15040.75     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      969 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .88984        .39782        .17990E-06    .22388E-01
   2  Prefactor     .93972        .51062        .61003E-07    .12001E-01
   3  Prefactor     7.2943        3.4093       -.10535E-05   -.13351    
   4  norm          .45630E-07    9.7372        .65041E-06** at limit **
   5  Prefactor     33.835        26.003        .87497E-06   -.44065E-02
   6  norm          .79649        .72248       -.75105E-07    .21974E-02
   7  Prefactor     1.0205        30.564       -.57609E-05    .29130E-02
   8  norm          11.910        6.1791       -.12040E-05   -.87063E-02
   9  Prefactor     2.0896        2.2578        .42215E-06    .10919E-02
  10  Prefactor     .18874E-08    3.4330        .10825E-06** at limit **
  11  Prefactor     .82712E-08    13.731        .26724E-05** at limit **
  12  Prefactor     .16653E-09    2.0541       -.34148E-06** at limit **
  13  Prefactor     .21944E-06    12.186       -.46771E-05** at limit **
  14  Prefactor      .0000        .52076        .10553E-06** at limit **
  15  norm          .93086        4.5001        .27589E-05   -.12996E-01
  16  Normalizat    1.1087        .12299        .44583E-05   -.23720E-04
  17  Prefactor     .90622        .11986       -.15632E-04    .19910E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.889839
  Prefactor  = 0.93972
  Prefactor  = 7.29433
  norm       = 4.56302e-08
  Prefactor  = 33.8351
  norm       = 0.796491
  Prefactor  = 1.02052
  norm       = 11.9097
  Prefactor  = 2.08964
  Prefactor  = 1.88738e-09
  Prefactor  = 8.27116e-09
  Prefactor  = 1.66533e-10
  Prefactor  = 2.19436e-07
  Prefactor  = 0
  norm       = 0.930863
  Normalizat = 1.10865
  Prefactor  = 0.906215
 **********
 **   18 **HESSE 
 **********

 FCN=   15040.75     FROM HESSE     STATUS=OK           257 CALLS     1226 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .88984        .40723        .46469E-03   -1.5689    
   2  Prefactor     .93972        7.0869        .43378E-03   -1.5689    
   3  Prefactor     7.2943        10.351        .37677E-03   -1.5654    
   4  norm          .45630E-07    9.9247        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.835        29.128        .17490E-03   -1.5592    
   6  norm          .79649        .73055        .53154E-03   -1.5690    
   7  Prefactor     1.0205        87.951        .84065E-03   -1.5688    
   8  norm          11.910        7.9189        .29117E-03   -1.5639    
   9  Prefactor     2.0896        2.2866        .71340E-03   -1.5679    
  10  Prefactor     .18874E-08    3.4611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .82712E-08    13.844        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16653E-09    2.0468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .21944E-06    13.181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        .51737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .93086        4.6359        .42893E-03   -1.5689    
  16  Normalizat    1.1087        .10782        .37653E-01   -.89474    
  17  Prefactor     .90622        .10402        .45086E-01   -.95924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01294e-07
Minuit parameter uncertainties:
  1  0.407232
  2  5.1613
  3  10.3514
  4  0.00134558
  5  29.1283
  6  0.730551
  7  18.9482
  8  7.9189
  9  2.28657
  10  0.000160504
  11  0.000676688
  12  3.90984e-05
  13  0.00340127
  14  4.82839e-06
  15  4.15471
  16  0.107846
  17  0.104038
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 15040.753335

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  2.090e+00  2.287e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  9.062e-01  1.040e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.109e+00  1.078e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.03
Ra Dec: 141.005 28.276
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 2.02e-08 +/- 2.20e-08
Energy Flux (Fixed Index): 5.82e-06 +/- 6.36e-06

TS (Fixed Index): 1.03
Ra Dec: 141.005 28.276
Photon Flux Upper Limit: 6.45438326507e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00502184267305 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/17772279/likelihoodResults_787536001_788140801_4FGL_J0924.0+2816_weekly_bin907.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15040.7454588
delta logL = 0.00787610715997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15040.7428821
delta logL = 0.0104528019183

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9174       1.0000          .0000       .10000E+07
     2 'Index     '    2.6388       1.0000          .0000       10.000    
     3 'Normalizat'    1.1057       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15040.74     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      236 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9172        2.8250        .17108E-04   -.33067E-02
   2  Index         2.6389        1.0613        .13152E-01   -.20376E-04
   3  Normalizat    1.1057        .12301        .22688E-03   -.12470E-02
   4  Prefactor     .90834        .12018        .24482E-03   -.14181E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.91724
  Index      = 2.63893
  Normalizat = 1.10569
  Prefactor  = 0.908339
 **********
 **   18 **HESSE 
 **********

 FCN=   15040.74     FROM HESSE     STATUS=OK            25 CALLS      261 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9172        2.5214        .68431E-06   -1.5680    
   2  Index         2.6389        .94805        .52606E-03   -.49180    
   3  Normalizat    1.1057        .12292        .45376E-04   -.89569    
   4  Prefactor     .90834        .12001        .48964E-04   -.95850    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.77973e-10
Minuit parameter uncertainties:
  1  2.52141
  2  0.955515
  3  0.122949
  4  0.120043
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15040.7428821
delta logL = 0.0104528079355

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.917e+00  2.521e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.639e+00  9.555e-01  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  9.083e-01  1.200e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.106e+00  1.229e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.06
Ra Dec: 141.005 28.276
Photon Index (Free Index): 2.64 +/- 0.96
Photon Flux (Free Index): 2.21e-08 +/- 2.64e-08
Energy Flux (Free Index): 5.61e-06 +/- 6.18e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/17772279/cmap_HighResolution_787536001_788140801_4FGL_J0924.0+2816_weekly_bin907.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-03', comment='SUCCESS', photon_flux='2.02e-08', energy_flux2='5.61e-06', photon_flux_error='2.20e-08', dlogl='1.05e-02', energy_flux='5.82e-06', photon_flux2='2.21e-08', job_status='DONE', time_completed='2025-12-23 01:28:05.837847', photon_index_error2='0.96', photon_index2='2.64', ts='1.03', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='6.45e-08', energy_flux_error2='6.18e-06', EG='1.11', time_epoch_completed='1766482085.84', return_code='0', job_id='17772279', GAL2='0.91', EG2='1.11', return_code2='0', energy_flux_error='6.36e-06', photon_flux_error2='2.64e-08', ts2='1.06', photon_index='2.51' WHERE bin_id='907' AND source_name='4FGL J0924.0+2816' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 23 01:28:06 PST 2025

