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


Performing analysis on: 4FGL_J1518.0-2731_daily_bin2110
RA = 229.512, Dec = -27.5313
tmin = 786240001, tmax = 786499201
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='16684260', job_status='RUN', time_executed='2025-12-04 03:16:29.992298', time_epoch_executed='1764846989.99' WHERE source_name='4FGL J1518.0-2731' and cadence='daily' and bin_id='2110'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/16684260

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/16684260/ft1_4FGL_J1518.0-2731_daily_bin2110.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/16684260/ft2_4FGL_J1518.0-2731_daily_bin2110.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/16684260/ft1_4FGL_J1518.0-2731_daily_bin2110.fits outfile=/lscratch/kocevski/16684260/ft1_filteredMKT_4FGL_J1518.0-2731_daily_bin2110.fits ra=229.512 dec=-27.5313 rad=12.0 tmin=786240001.0 tmax=786499201.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 1.94
user 1.29
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/16684260/ft2_4FGL_J1518.0-2731_daily_bin2110.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/16684260/ft2_4FGL_J1518.0-2731_daily_bin2110.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/16684260/ft1_filteredMKT_4FGL_J1518.0-2731_daily_bin2110.fits evtable="EVENTS" outfile="/lscratch/kocevski/16684260/ft1_filtered_4FGL_J1518.0-2731_daily_bin2110.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.60
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 237

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/16684260/ft1_filtered_4FGL_J1518.0-2731_daily_bin2110.fits" evtable="EVENTS" scfile=/lscratch/kocevski/16684260/ft2_4FGL_J1518.0-2731_daily_bin2110.fits sctable="SC_DATA" outfile=/lscratch/kocevski/16684260/ltcube_786240001_786499201_4FGL_J1518.0-2731_daily_bin2110.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/16684260/ft2_4FGL_J1518.0-2731_daily_bin2110.fits
.....................!
real 8.75
user 8.12
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/16684260/ft1_filtered_4FGL_J1518.0-2731_daily_bin2110.fits evtable="EVENTS" scfile=/lscratch/kocevski/16684260/ft2_4FGL_J1518.0-2731_daily_bin2110.fits sctable="SC_DATA" expcube=/lscratch/kocevski/16684260/ltcube_786240001_786499201_4FGL_J1518.0-2731_daily_bin2110.fits outfile=/lscratch/kocevski/16684260/expmap_786240001_786499201_4FGL_J1518.0-2731_daily_bin2110.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/16684260/ltcube_786240001_786499201_4FGL_J1518.0-2731_daily_bin2110.fits
.....................!
real 70.46
user 65.74
sys 4.11

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
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Added 222 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1518.0-2731 @ 229.512 -27.5313

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/16684260/ft1_filtered_4FGL_J1518.0-2731_daily_bin2110.fits scfile=/lscratch/kocevski/16684260/ft2_4FGL_J1518.0-2731_daily_bin2110.fits outfile=/lscratch/kocevski/16684260/cmap_786240001_786499201_4FGL_J1518.0-2731_daily_bin2110.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=229.512 yref=-27.5313 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.84
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/16684260/ft1_filtered_4FGL_J1518.0-2731_daily_bin2110.fits scfile=/lscratch/kocevski/16684260/ft2_4FGL_J1518.0-2731_daily_bin2110.fits outfile=/lscratch/kocevski/16684260/cmap_HighResolution_786240001_786499201_4FGL_J1518.0-2731_daily_bin2110.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=229.512 yref=-27.5313 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.76
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/16684260/ft1_filtered_4FGL_J1518.0-2731_daily_bin2110.fits evtable="EVENTS" scfile=/lscratch/kocevski/16684260/ft2_4FGL_J1518.0-2731_daily_bin2110.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/16684260/Model_4FGL_J1518.0-2731_daily_bin2110.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 FHES J1626.9-2431
adding source GAL_V02
Working on...
/lscratch/kocevski/16684260/ft1_filtered_4FGL_J1518.0-2731_daily_bin2110.fits......................!
real 15.45
user 13.90
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/16684260/ft1_filtered_4FGL_J1518.0-2731_daily_bin2110.fits', '/lscratch/kocevski/16684260/ft2_4FGL_J1518.0-2731_daily_bin2110.fits', expMap='/lscratch/kocevski/16684260/expmap_786240001_786499201_4FGL_J1518.0-2731_daily_bin2110.fits', expCube='/lscratch/kocevski/16684260/ltcube_786240001_786499201_4FGL_J1518.0-2731_daily_bin2110.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/16684260/Model_4FGL_J1518.0-2731_daily_bin2110.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1518.0-2731'

4FGL J1518.0-2731
   Spectrum: PowerLaw
351    Prefactor:  2.846e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
352        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/16684260/ft1_filtered_4FGL_J1518.0-2731_daily_bin2110.fits
Spacecraft file(s): /lscratch/kocevski/16684260/ft2_4FGL_J1518.0-2731_daily_bin2110.fits
Exposure map: /lscratch/kocevski/16684260/expmap_786240001_786499201_4FGL_J1518.0-2731_daily_bin2110.fits
Exposure cube: /lscratch/kocevski/16684260/ltcube_786240001_786499201_4FGL_J1518.0-2731_daily_bin2110.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/16684260/Model_4FGL_J1518.0-2731_daily_bin2110.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) = 2607.5530383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97838E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .44048E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8473       1.0000          .0000       .10000E+07
     4 'Prefactor '    161.62       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.0347       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19200E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .11657E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.438       1.0000          .0000       .10000E+07
     9 'Prefactor '    .30397E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .94280E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .14622       1.0000          .0000       .10000E+07
    12 'norm      '    .52736E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    .26910E-01   1.0000          .0000       .10000E+07
    14 'norm      '    7.5702       1.0000          .0000       .10000E+07
    15 'Prefactor '    .81273       1.0000          .0000       .10000E+07
    16 'norm      '    2.0081       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11190E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .89298       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0663       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2607.387     FROM MIGRAD    STATUS=CONVERGED    238 CALLS     1474 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31641E-07    25.430        .40159E-07** at limit **
   2  Prefactor     .11102E-08    21.866       -.39927E-07** at limit **
   3  Prefactor     .18375        31.130        .89170E-07** at limit **
   4  Prefactor     215.00        194.66       -.63508E-07    .25188E-01
   5  Prefactor     1.2001        43.664        .12134E-05    .27776E-02
   6  Prefactor     .38858E-09    13.229       -.17503E-07** at limit **
   7  norm           .0000        1.1552        .57447E-08** at limit **
   8  Prefactor     37.902        28.436        .69783E-07    .96826E-02
   9  Prefactor      .0000        12.404       -.93634E-08** at limit **
  10  norm          .55511E-10    6.0643        .67814E-08** at limit **
  11  norm           .0000        53.516        .42738E-07** at limit **
  12  norm           .0000        .64029        .24110E-08** at limit **
  13  Prefactor      .0000        18.396       -.14806E-07** at limit **
  14  norm          7.3681        11.894        .18183E-07    .15550E-02
  15  Prefactor     .20014E-04    139.34        .19658E-06** at limit **
  16  norm          .63236E-04    411.84       -.44995E-06** at limit **
  17  Prefactor     .94369E-09    17.796        .12260E-07** at limit **
  18  Normalizat    .87630        .61265        .20491E-05    .75142E-06
  19  Prefactor     1.0678        .19853       -.92740E-07   -.65220E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.16414e-08
  Prefactor  = 1.11022e-09
  Prefactor  = 0.183746
  Prefactor  = 215.001
  Prefactor  = 1.20012
  Prefactor  = 3.88578e-10
  norm       = 0
  Prefactor  = 37.9025
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 0
  norm       = 0
  Prefactor  = 0
  norm       = 7.36808
  Prefactor  = 2.00142e-05
  norm       = 6.32358e-05
  Prefactor  = 9.4369e-10
  Normalizat = 0.876304
  Prefactor  = 1.06778
 **********
 **   18 **HESSE 
 **********

 FCN=   2607.387     FROM HESSE     STATUS=OK           302 CALLS     1776 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31641E-07    25.476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11102E-08    21.889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .18375        50.185        .98171E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     215.00        195.53        .78666E-04   -1.5415    
   5  Prefactor     1.2001        40.807        .12403E-02   -1.5730    
   6  Prefactor     .38858E-09    13.191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.1488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.902        28.571        .16345E-03   -1.5585    
   9  Prefactor      .0000        12.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    6.0421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        53.515        .12824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .64024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        18.254        .16618E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.3681        11.973        .36425E-03   -1.5654    
  15  Prefactor     .20014E-04    141.44        .51991E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .63236E-04    419.28        .73035E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .94369E-09    17.873        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .87630        .55162        .11844       -.97298    
  19  Prefactor     1.0678        .17319        .39035E-01   -.90503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96128e-06
Minuit parameter uncertainties:
  1  0.00179611
  2  0.000314795
  3  6.0734
  4  195.537
  5  13.9964
  6  0.000146421
  7  3.58506e-06
  8  28.5707
  9  1.90508e-05
  10  2.84399e-05
  11  5.9879e-05
  12  6.94911e-07
  13  4.22217e-05
  14  11.9732
  15  0.106415
  16  0.325683
  17  0.000255956
  18  0.555225
  19  0.173277
Done.

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

Extracting fit parameters...

4FGL J1518.0-2731
   Spectrum: PowerLaw
351    Prefactor:  0.000e+00  4.222e-05  0.000e+00  1.000e+06 ( 1.000e-13)
352        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
756    Prefactor:  1.068e+00  1.733e-01  0.000e+00  1.000e+01 ( 1.000e+00)
757        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
758        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
751   Normalization:  8.763e-01  5.552e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 229.512 -27.531
Photon Flux Upper Limit: 2.97702377114e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0224225008437 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/16684260/likelihoodResults_786240001_786499201_4FGL_J1518.0-2731_daily_bin2110.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) = 2607.41361157
delta logL = -0.0264760679597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2607.38713874
delta logL = -3.23011272485e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10779E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.5343       1.0000          .0000       10.000    
     3 'Normalizat'    .87603       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0677       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2607.387     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      228 TOTAL
                     EDM=   .10E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6969        .42118E-03** at limit **
   2  Index         .27303        .37813       -.10162E-04     .0000    
   3  Normalizat    .87630        1.2126        .10531E-04    .36620E-05
   4  Prefactor     1.0678        1.1732       -.45865E-05    .97992E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.273031
  Normalizat = 0.876304
  Prefactor  = 1.06778
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2607.387     FROM HESSE     STATUS=FAILED         9 CALLS      237 TOTAL
                     EDM=   .10E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .79005E-01    .37813       -.10162E-04   -1.2388    
   3  Normalizat    .87630        1.2126        .10531E-04   -.97298    
   4  Prefactor     1.0678        1.1732       -.45865E-05   -.90503    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01596e-12
Minuit parameter uncertainties:
  1  1.99946e-06
  2  0.381607
  3  1.25372
  4  1.20339
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 2607.38713551
delta logL = 0.0

Extracting fit parameters...

4FGL J1518.0-2731
   Spectrum: PowerLaw
351    Prefactor:  0.000e+00  1.999e-06  0.000e+00  1.000e+06 ( 1.000e-13)
352        Index:  2.730e-01  3.816e-01  0.000e+00  1.000e+01 (-1.000e+00)
353        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
756    Prefactor:  1.068e+00  1.203e+00  0.000e+00  1.000e+01 ( 1.000e+00)
757        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
758        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
751   Normalization:  8.763e-01  1.254e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 229.512 -27.531

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/16684260/cmap_HighResolution_786240001_786499201_4FGL_J1518.0-2731_daily_bin2110.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.24e-02', job_status='DONE', photon_flux_upper_limit='2.98e-07', time_completed='2025-12-04 03:21:46.832132', job_id='16684260', GAL2='1.07', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1764847306.83', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2110' AND source_name='4FGL J1518.0-2731' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  4 03:21:47 PST 2025

