/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_J2318.2+1915_weekly_bin907
RA = 349.557, Dec = 19.256
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='17776864', job_status='RUN', time_executed='2025-12-23 02:37:50.891126', time_epoch_executed='1766486270.89' WHERE source_name='4FGL J2318.2+1915' and cadence='weekly' and bin_id='907'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17776864

Creating custom pfile directory:
/lscratch/kocevski/17776864/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/17776864/ft1_4FGL_J2318.2+1915_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/17776864/ft2_4FGL_J2318.2+1915_weekly_bin907.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17776864/ft1_4FGL_J2318.2+1915_weekly_bin907.fits outfile=/lscratch/kocevski/17776864/ft1_filteredMKT_4FGL_J2318.2+1915_weekly_bin907.fits ra=349.557 dec=19.256 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 4.31
user 3.73
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17776864/ft2_4FGL_J2318.2+1915_weekly_bin907.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17776864/ft2_4FGL_J2318.2+1915_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/17776864/ft1_filteredMKT_4FGL_J2318.2+1915_weekly_bin907.fits evtable="EVENTS" outfile="/lscratch/kocevski/17776864/ft1_filtered_4FGL_J2318.2+1915_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.59
user 0.20
sys 0.11

Number of photons that the gtmktime cut: 1731

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17776864/ft1_filtered_4FGL_J2318.2+1915_weekly_bin907.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17776864/ft2_4FGL_J2318.2+1915_weekly_bin907.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17776864/ltcube_787536001_788140801_4FGL_J2318.2+1915_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/17776864/ft2_4FGL_J2318.2+1915_weekly_bin907.fits
.....................!
real 15.71
user 15.17
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17776864/ft1_filtered_4FGL_J2318.2+1915_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17776864/ft2_4FGL_J2318.2+1915_weekly_bin907.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17776864/ltcube_787536001_788140801_4FGL_J2318.2+1915_weekly_bin907.fits outfile=/lscratch/kocevski/17776864/expmap_787536001_788140801_4FGL_J2318.2+1915_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/17776864/ltcube_787536001_788140801_4FGL_J2318.2+1915_weekly_bin907.fits
.....................!
real 59.56
user 55.71
sys 3.40

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

Setting source of interest to:
4FGL J2318.2+1915 @ 349.557 19.256

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17776864/ft1_filtered_4FGL_J2318.2+1915_weekly_bin907.fits scfile=/lscratch/kocevski/17776864/ft2_4FGL_J2318.2+1915_weekly_bin907.fits outfile=/lscratch/kocevski/17776864/cmap_787536001_788140801_4FGL_J2318.2+1915_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=349.557 yref=19.256 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.46
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17776864/ft1_filtered_4FGL_J2318.2+1915_weekly_bin907.fits scfile=/lscratch/kocevski/17776864/ft2_4FGL_J2318.2+1915_weekly_bin907.fits outfile=/lscratch/kocevski/17776864/cmap_HighResolution_787536001_788140801_4FGL_J2318.2+1915_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=349.557 yref=19.256 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.51
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17776864/ft1_filtered_4FGL_J2318.2+1915_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17776864/ft2_4FGL_J2318.2+1915_weekly_bin907.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17776864/Model_4FGL_J2318.2+1915_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/17776864/ft1_filtered_4FGL_J2318.2+1915_weekly_bin907.fits.....................!
real 64.54
user 63.06
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17776864/ft1_filtered_4FGL_J2318.2+1915_weekly_bin907.fits', '/lscratch/kocevski/17776864/ft2_4FGL_J2318.2+1915_weekly_bin907.fits', expMap='/lscratch/kocevski/17776864/expmap_787536001_788140801_4FGL_J2318.2+1915_weekly_bin907.fits', expCube='/lscratch/kocevski/17776864/ltcube_787536001_788140801_4FGL_J2318.2+1915_weekly_bin907.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17776864/Model_4FGL_J2318.2+1915_weekly_bin907.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2318.2+1915'

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  2.396e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
373        Index:  2.667e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  6.043e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17776864/ft1_filtered_4FGL_J2318.2+1915_weekly_bin907.fits
Spacecraft file(s): /lscratch/kocevski/17776864/ft2_4FGL_J2318.2+1915_weekly_bin907.fits
Exposure map: /lscratch/kocevski/17776864/expmap_787536001_788140801_4FGL_J2318.2+1915_weekly_bin907.fits
Exposure cube: /lscratch/kocevski/17776864/ltcube_787536001_788140801_4FGL_J2318.2+1915_weekly_bin907.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17776864/Model_4FGL_J2318.2+1915_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) = 18570.2206212

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25794E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .85523       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.3991       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.0912       1.0000          .0000       .10000E+07
     5 'Prefactor '    .84704       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1296       1.0000          .0000       .10000E+07
     7 'Prefactor '    8.5904       1.0000          .0000       .10000E+07
     8 'Prefactor '    17.178       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.778       1.0000          .0000       .10000E+07
    10 'Prefactor '    .36976E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .65367       1.0000          .0000       .10000E+07
    12 'norm      '    19.959       1.0000          .0000       .10000E+07
    13 'Prefactor '    .97645E-04   1.0000          .0000       .10000E+07
    14 'norm      '    2.7156       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.6644       1.0000          .0000       .10000E+07
    16 'Normalizat'    .84568       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0840       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18570.20     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1215 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.4942        .76719E-07** at limit **
   2  norm          .85506        .92540        .39768E-07   -.50147E-03
   3  Prefactor     7.4040        1.8945        .15670E-07    .59479E-02
   4  Prefactor     2.0787        3.1829       -.32274E-08   -.22773E-03
   5  Prefactor     .84691        .11798       -.24803E-07   -.47356E-04
   6  Prefactor     5.1642        3.4921       -.10983E-07   -.21056E-03
   7  Prefactor     8.6062        11.323        .10848E-06   -.91143E-02
   8  Prefactor     17.219        1.7495        .15978E-07    .91382E-02
   9  Prefactor     10.789        4.6326       -.63317E-07   -.12238E-03
  10  Prefactor      .0000        2.3411       -.21137E-07** at limit **
  11  Prefactor     .37888        70.667        .79017E-06    .53319E-04
  12  norm          19.899        7.0136       -.21131E-07    .14814E-03
  13  Prefactor      .0000        4.3109       -.10467E-06** at limit **
  14  norm          2.7104        1.8294       -.98902E-08   -.30264E-01
  15  Prefactor     8.6743        4.3959       -.11899E-06    .64987E-03
  16  Normalizat    .84625        .15358        .37718E-06   -.47247E-06
  17  Prefactor     1.0838        .89462E-01    .29614E-06    .35777E-07
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0.85506
  Prefactor  = 7.404
  Prefactor  = 2.07867
  Prefactor  = 0.846911
  Prefactor  = 5.16417
  Prefactor  = 8.60618
  Prefactor  = 17.2189
  Prefactor  = 10.7886
  Prefactor  = 0
  Prefactor  = 0.378882
  norm       = 19.8987
  Prefactor  = 0
  norm       = 2.71039
  Prefactor  = 8.67434
  Normalizat = 0.846247
  Prefactor  = 1.08384
 **********
 **   18 **HESSE 
 **********

 FCN=   18570.20     FROM HESSE     STATUS=OK           275 CALLS     1490 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .59931        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .85506        .93220        .48906E-03   -1.5689    
   3  Prefactor     7.4040        10.552        .36848E-03   -1.5654    
   4  Prefactor     2.0787        3.2072        .71357E-03   -1.5679    
   5  Prefactor     .84691        .11885        .37670E-02   -1.5524    
   6  Prefactor     5.1642        3.4971        .44366E-03   -1.5663    
   7  Prefactor     8.6062        11.929        .34177E-03   -1.5649    
   8  Prefactor     17.219        16.633        .24138E-03   -1.5625    
   9  Prefactor     10.789        4.7091        .30493E-03   -1.5642    
  10  Prefactor      .0000        2.3461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .37888        6.8730        .95787E-02   -1.5696    
  12  norm          19.899        7.0370        .22391E-03   -1.5619    
  13  Prefactor      .0000        4.3000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.7104        8.6716        .61778E-03   -1.5675    
  15  Prefactor     8.6743        4.4059        .34030E-03   -1.5649    
  16  Normalizat    .84625        .13653        .80454E-01   -.98376    
  17  Prefactor     1.0838        .78565E-01    .38230E-01   -.89985    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49342e-08
Minuit parameter uncertainties:
  1  2.67213e-06
  2  0.932196
  3  10.5523
  4  3.20721
  5  0.118847
  6  3.49708
  7  11.9286
  8  16.6328
  9  4.70915
  10  6.16671e-06
  11  3.22743
  12  7.03702
  13  1.44996e-06
  14  8.67159
  15  4.40594
  16  0.136584
  17  0.0785729
Done.

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

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  1.079e+01  4.709e+00  0.000e+00  1.000e+06 ( 1.000e-12)
373        Index:  2.667e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  6.043e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.084e+00  7.857e-02  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  8.462e-01  1.366e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.42
Ra Dec: 349.557 19.256
Photon Index (Fixed Index): 2.67 +/- 0.00
Photon Flux (Fixed Index): 7.85e-08 +/- 3.42e-08
Energy Flux (Fixed Index): 1.94e-05 +/- 8.47e-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) = 18570.2035009
delta logL = 0.000630741389614

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18570.2030207
delta logL = 0.00111099135756

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.955       1.0000          .0000       .10000E+07
     2 'Index     '    2.6457       1.0000          .0000       10.000    
     3 'Normalizat'    .84747       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0833       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+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=   18570.20     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      247 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.954        6.0095        .12098E-04    .14923E-02
   2  Index         2.6457        .47146        .85072E-02    .60291E-04
   3  Normalizat    .84747        .15088        .35594E-03    .11013E-03
   4  Prefactor     1.0833        .89706E-01    .19117E-03    .21214E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9543
  Index      = 2.64575
  Normalizat = 0.847472
  Prefactor  = 1.0833
 **********
 **   18 **HESSE 
 **********

 FCN=   18570.20     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.954        5.6731        .48392E-06   -1.5642    
   2  Index         2.6457        .44471        .34029E-03   -.49025    
   3  Normalizat    .84747        .15080        .14238E-04   -.98331    
   4  Prefactor     1.0833        .89650E-01    .38234E-04   -.90002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15689e-11
Minuit parameter uncertainties:
  1  5.67312
  2  0.445468
  3  0.150872
  4  0.0896624
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) = 18570.2030207
delta logL = 0.00111100931827

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  1.095e+01  5.673e+00  0.000e+00  1.000e+06 ( 1.000e-12)
373        Index:  2.646e+00  4.455e-01  0.000e+00  1.000e+01 (-1.000e+00)
374        Scale:  6.043e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.083e+00  8.966e-02  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  8.475e-01  1.509e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.38
Ra Dec: 349.557 19.256
Photon Index (Free Index): 2.65 +/- 0.45
Photon Flux (Free Index): 7.78e-08 +/- 3.60e-08
Energy Flux (Free Index): 1.96e-05 +/- 8.68e-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/17776864/cmap_HighResolution_787536001_788140801_4FGL_J2318.2+1915_weekly_bin907.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.85e-08', energy_flux2='1.96e-05', photon_flux_error='3.42e-08', dlogl='1.11e-03', energy_flux='1.94e-05', photon_flux2='7.78e-08', job_status='DONE', time_completed='2025-12-23 02:46:10.327282', photon_index_error2='0.45', photon_index2='2.65', ts='9.42', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='8.68e-06', EG='0.85', time_epoch_completed='1766486770.33', return_code='0', job_id='17776864', GAL2='1.08', EG2='0.85', return_code2='0', energy_flux_error='8.47e-06', photon_flux_error2='3.60e-08', ts2='9.38', photon_index='2.67' WHERE bin_id='907' AND source_name='4FGL J2318.2+1915' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 23 02:46:10 PST 2025

