/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 = 17306
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2324.7+0801_weekly_bin906
RA = 351.19, Dec = 8.0282
tmin = 786931201, tmax = 787536001
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='17381727', job_status='RUN', time_executed='2025-12-16 03:25:13.785144', time_epoch_executed='1765884313.79' WHERE source_name='4FGL J2324.7+0801' and cadence='weekly' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17381727

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17381727/ft1_4FGL_J2324.7+0801_weekly_bin906.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17381727/ft2_4FGL_J2324.7+0801_weekly_bin906.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17381727/ft1_4FGL_J2324.7+0801_weekly_bin906.fits outfile=/lscratch/kocevski/17381727/ft1_filteredMKT_4FGL_J2324.7+0801_weekly_bin906.fits ra=351.19 dec=8.0282 rad=12.0 tmin=786931201.0 tmax=787536001.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 6.69
user 5.67
sys 0.29

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17381727/ft2_4FGL_J2324.7+0801_weekly_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17381727/ft2_4FGL_J2324.7+0801_weekly_bin906.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/17381727/ft1_filteredMKT_4FGL_J2324.7+0801_weekly_bin906.fits evtable="EVENTS" outfile="/lscratch/kocevski/17381727/ft1_filtered_4FGL_J2324.7+0801_weekly_bin906.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 1.25
user 0.26
sys 0.13

Number of photons that the gtmktime cut: 1330

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17381727/ft1_filtered_4FGL_J2324.7+0801_weekly_bin906.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17381727/ft2_4FGL_J2324.7+0801_weekly_bin906.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17381727/ltcube_786931201_787536001_4FGL_J2324.7+0801_weekly_bin906.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/17381727/ft2_4FGL_J2324.7+0801_weekly_bin906.fits
.....................!
real 23.98
user 22.15
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17381727/ft1_filtered_4FGL_J2324.7+0801_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17381727/ft2_4FGL_J2324.7+0801_weekly_bin906.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17381727/ltcube_786931201_787536001_4FGL_J2324.7+0801_weekly_bin906.fits outfile=/lscratch/kocevski/17381727/expmap_786931201_787536001_4FGL_J2324.7+0801_weekly_bin906.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/17381727/ltcube_786931201_787536001_4FGL_J2324.7+0801_weekly_bin906.fits
.....................!
real 75.25
user 67.16
sys 4.28

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 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2324.7+0801 @ 351.19 8.0282

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17381727/ft1_filtered_4FGL_J2324.7+0801_weekly_bin906.fits scfile=/lscratch/kocevski/17381727/ft2_4FGL_J2324.7+0801_weekly_bin906.fits outfile=/lscratch/kocevski/17381727/cmap_786931201_787536001_4FGL_J2324.7+0801_weekly_bin906.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=351.19 yref=8.0282 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.91
user 0.26
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17381727/ft1_filtered_4FGL_J2324.7+0801_weekly_bin906.fits scfile=/lscratch/kocevski/17381727/ft2_4FGL_J2324.7+0801_weekly_bin906.fits outfile=/lscratch/kocevski/17381727/cmap_HighResolution_786931201_787536001_4FGL_J2324.7+0801_weekly_bin906.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=351.19 yref=8.0282 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 1.21
user 0.28
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17381727/ft1_filtered_4FGL_J2324.7+0801_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17381727/ft2_4FGL_J2324.7+0801_weekly_bin906.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17381727/Model_4FGL_J2324.7+0801_weekly_bin906.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/17381727/ft1_filtered_4FGL_J2324.7+0801_weekly_bin906.fits.....................!
real 67.15
user 60.16
sys 3.26

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17381727/ft1_filtered_4FGL_J2324.7+0801_weekly_bin906.fits', '/lscratch/kocevski/17381727/ft2_4FGL_J2324.7+0801_weekly_bin906.fits', expMap='/lscratch/kocevski/17381727/expmap_786931201_787536001_4FGL_J2324.7+0801_weekly_bin906.fits', expCube='/lscratch/kocevski/17381727/ltcube_786931201_787536001_4FGL_J2324.7+0801_weekly_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17381727/Model_4FGL_J2324.7+0801_weekly_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.7+0801'

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  3.182e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17381727/ft1_filtered_4FGL_J2324.7+0801_weekly_bin906.fits
Spacecraft file(s): /lscratch/kocevski/17381727/ft2_4FGL_J2324.7+0801_weekly_bin906.fits
Exposure map: /lscratch/kocevski/17381727/expmap_786931201_787536001_4FGL_J2324.7+0801_weekly_bin906.fits
Exposure cube: /lscratch/kocevski/17381727/ltcube_786931201_787536001_4FGL_J2324.7+0801_weekly_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17381727/Model_4FGL_J2324.7+0801_weekly_bin906.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) = 14289.0413659

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0531       1.0000         .10000E-03   10000.    
     2 'norm      '    3.2148       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.359       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11864E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    18.188       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.5481       1.0000          .0000       .10000E+07
     7 'norm      '    .11907E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.2052       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10358E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14302E-03   1.0000          .0000       .10000E+07
    11 'norm      '    1.7099       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.170       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.7829       1.0000          .0000       .10000E+07
    14 'norm      '    .10918E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .26674E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.7464       1.0000          .0000       .10000E+07
    17 'Prefactor '    .15967E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    9.2323       1.0000          .0000       .10000E+07
    19 'Prefactor '    .99169E-04   1.0000          .0000       .10000E+07
    20 'Normalizat'    .86673       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .89424       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14289.02     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1620 TOTAL
                     EDM=   .46E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0531        .12997        .11291E-07    .16288E-03
   2  norm          3.1736        5.0542       -.14784E-07    .94588E-04
   3  Prefactor     25.504        1.0916        .81511E-08    .36918E-02
   4  Prefactor      .0000        1.9670       -.16685E-08** at limit **
   5  Prefactor     18.171        1.4659       -.15795E-07    .87639E-03
   6  Prefactor     1.5438        3.9195       -.82456E-07   -.97625E-04
   7  norm           .0000        .26361        .24386E-07** at limit **
   8  Prefactor     7.2072        5.2377        .98794E-08    .22432E-03
   9  Prefactor     .40079E-07    4.4204       -.75759E-07** at limit **
  10  Prefactor     .37692E-07    3.6929        .76511E-07** at limit **
  11  norm          1.7090        3.3764       -.11690E-06    .29223E-03
  12  Prefactor     13.149        4.7116        .18122E-07    .10175E-03
  13  Prefactor     5.7653        1.2356       -.59059E-08   -.35328E-02
  14  norm          .61062E-09    19.231       -.80221E-06** at limit **
  15  norm          .30531E-08    8.7047       -.38159E-06** at limit **
  16  Prefactor     1.7461        3.0522       -.41308E-07    .33803E-03
  17  Prefactor     .28866E-08    6.1033        .18727E-06** at limit **
  18  Prefactor     9.1747        9.3131       -.47573E-07   -.24745E-02
  19  Prefactor      .0000        1.7311       -.13528E-07** at limit **
  20  Normalizat    .86683        .14941        .24468E-05    .48417E-05
  21  Prefactor     .89424        .93756E-01   -.14066E-05    .41098E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.0531
  norm       = 3.17358
  Prefactor  = 25.5038
  Prefactor  = 0
  Prefactor  = 18.1712
  Prefactor  = 1.54382
  norm       = 0
  Prefactor  = 7.20722
  Prefactor  = 4.00791e-08
  Prefactor  = 3.76921e-08
  norm       = 1.70898
  Prefactor  = 13.1495
  Prefactor  = 5.7653
  norm       = 6.10623e-10
  norm       = 3.05311e-09
  Prefactor  = 1.74611
  Prefactor  = 2.88658e-09
  Prefactor  = 9.1747
  Prefactor  = 0
  Normalizat = 0.86683
  Prefactor  = 0.894242
 **********
 **   18 **HESSE 
 **********

 FCN=   14289.02     FROM HESSE     STATUS=OK           363 CALLS     1983 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0531        .13007        .32986E-02   -1.5503    
   2  norm          3.1736        5.0707        .56478E-03   -1.5672    
   3  Prefactor     25.504        20.515        .19862E-03   -1.5607    
   4  Prefactor      .0000        1.9670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.171        13.729        .23457E-03   -1.5623    
   6  Prefactor     1.5438        3.9403        .85594E-03   -1.5683    
   7  norm           .0000        .25998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.2072        5.2885        .37345E-03   -1.5654    
   9  Prefactor     .40079E-07    7.8212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .37692E-07    6.9943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.7090        3.4410        .80362E-03   -1.5682    
  12  Prefactor     13.149        4.7598        .27575E-03   -1.5635    
  13  Prefactor     5.7653        11.099        .41742E-03   -1.5660    
  14  norm          .61062E-09    18.441        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .30531E-08    9.0609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.7461        3.0600        .79328E-03   -1.5682    
  17  Prefactor     .28866E-08    6.4040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.1747        9.3899        .32960E-03   -1.5647    
  19  Prefactor      .0000        1.7313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .86683        .12994        .68000E-01   -.97636    
  21  Prefactor     .89424        .79908E-01    .44932E-01   -.96343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66936e-06
Minuit parameter uncertainties:
  1  0.130075
  2  5.0707
  3  20.5152
  4  2.67543e-07
  5  13.7287
  6  3.94034
  7  2.6006e-07
  8  5.28853
  9  0.00112006
  10  0.00102699
  11  3.44105
  12  4.75981
  13  11.0987
  14  0.000211871
  15  0.000331587
  16  3.06
  17  0.000271045
  18  9.38987
  19  1.97553e-07
  20  0.12999
  21  0.0799188
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  7.207e+00  5.289e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  8.942e-01  7.992e-02  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  8.668e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.15
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.59e-08 +/- 1.90e-08
Energy Flux (Fixed Index): 1.11e-05 +/- 8.13e-06

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) = 14289.0040374
delta logL = 0.0170757227515

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14288.9962062
delta logL = 0.0249068549874

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0105       1.0000          .0000       .10000E+07
     2 'Index     '    2.1149       1.0000          .0000       10.000    
     3 'Normalizat'    .86947       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89337       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+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=   14289.00     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      260 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0089        6.9370        .14161E-04    .36930E-04
   2  Index         2.1149        .51804        .98405E-02    .26905E-04
   3  Normalizat    .86952        .14365        .30044E-03   -.18163E-05
   4  Prefactor     .89335        .93238E-01    .19165E-03   -.71183E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.00888
  Index      = 2.11493
  Normalizat = 0.86952
  Prefactor  = 0.893349
 **********
 **   18 **HESSE 
 **********

 FCN=   14289.00     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .33E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0089        6.6728        .56643E-06   -1.5651    
   2  Index         2.1149        .49839        .39362E-03   -.61507    
   3  Normalizat    .86952        .14370        .12017E-04   -.97540    
   4  Prefactor     .89335        .93299E-01    .76662E-05   -.96374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25105e-14
Minuit parameter uncertainties:
  1  6.6728
  2  0.49964
  3  0.143764
  4  0.0933157
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) = 14288.9962062
delta logL = 0.024906951121

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  8.009e+00  6.673e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.115e+00  4.996e-01  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  8.933e-01  9.332e-02  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  8.695e-01  1.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.19
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.11 +/- 0.50
Photon Flux (Free Index): 2.33e-08 +/- 2.10e-08
Energy Flux (Free Index): 1.24e-05 +/- 1.12e-05

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/17381727/cmap_HighResolution_786931201_787536001_4FGL_J2324.7+0801_weekly_bin906.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.59e-08', energy_flux2='1.24e-05', photon_flux_error='1.90e-08', dlogl='2.49e-02', energy_flux='1.11e-05', photon_flux2='2.33e-08', job_status='DONE', time_completed='2025-12-16 03:37:37.190299', photon_index_error2='0.50', photon_index2='2.11', ts='4.15', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='1.12e-05', EG='0.87', time_epoch_completed='1765885057.19', return_code='0', job_id='17381727', GAL2='0.89', EG2='0.87', return_code2='0', energy_flux_error='8.13e-06', photon_flux_error2='2.10e-08', ts2='4.19', photon_index='2.23' WHERE bin_id='906' AND source_name='4FGL J2324.7+0801' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 16 03:37:37 PST 2025

