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


Performing analysis on: 4FGL_J1018.4+0528_weekly_bin861
RA = 154.617, Dec = 5.4702
tmin = 759715201, tmax = 760320001
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='63365761', job_status='RUN', time_executed='2025-02-04 03:31:26.994974', time_epoch_executed='1738668686.99' WHERE source_name='4FGL J1018.4+0528' and cadence='weekly' and bin_id='861'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/63365761

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/63365761/ft1_4FGL_J1018.4+0528_weekly_bin861.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/63365761/ft2_4FGL_J1018.4+0528_weekly_bin861.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/63365761/ft1_4FGL_J1018.4+0528_weekly_bin861.fits outfile=/lscratch/kocevski/63365761/ft1_filteredMKT_4FGL_J1018.4+0528_weekly_bin861.fits ra=154.617 dec=5.4702 rad=12.0 tmin=759715201.0 tmax=760320001.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.83
user 4.43
sys 0.33

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/63365761/ft2_4FGL_J1018.4+0528_weekly_bin861.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/63365761/ft2_4FGL_J1018.4+0528_weekly_bin861.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/63365761/ft1_filteredMKT_4FGL_J1018.4+0528_weekly_bin861.fits evtable="EVENTS" outfile="/lscratch/kocevski/63365761/ft1_filtered_4FGL_J1018.4+0528_weekly_bin861.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.48
user 0.22
sys 0.15

Number of photons that the gtmktime cut: 1436

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/63365761/ft1_filtered_4FGL_J1018.4+0528_weekly_bin861.fits" evtable="EVENTS" scfile=/lscratch/kocevski/63365761/ft2_4FGL_J1018.4+0528_weekly_bin861.fits sctable="SC_DATA" outfile=/lscratch/kocevski/63365761/ltcube_759715201_760320001_4FGL_J1018.4+0528_weekly_bin861.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/63365761/ft2_4FGL_J1018.4+0528_weekly_bin861.fits
.....................!
real 19.06
user 18.53
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/63365761/ft1_filtered_4FGL_J1018.4+0528_weekly_bin861.fits evtable="EVENTS" scfile=/lscratch/kocevski/63365761/ft2_4FGL_J1018.4+0528_weekly_bin861.fits sctable="SC_DATA" expcube=/lscratch/kocevski/63365761/ltcube_759715201_760320001_4FGL_J1018.4+0528_weekly_bin861.fits outfile=/lscratch/kocevski/63365761/expmap_759715201_760320001_4FGL_J1018.4+0528_weekly_bin861.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/63365761/ltcube_759715201_760320001_4FGL_J1018.4+0528_weekly_bin861.fits
.....................!
real 67.63
user 63.60
sys 3.63

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

Setting source of interest to:
4FGL J1018.4+0528 @ 154.617 5.4702

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/63365761/ft1_filtered_4FGL_J1018.4+0528_weekly_bin861.fits scfile=/lscratch/kocevski/63365761/ft2_4FGL_J1018.4+0528_weekly_bin861.fits outfile=/lscratch/kocevski/63365761/cmap_759715201_760320001_4FGL_J1018.4+0528_weekly_bin861.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=154.617 yref=5.4702 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.43
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/63365761/ft1_filtered_4FGL_J1018.4+0528_weekly_bin861.fits scfile=/lscratch/kocevski/63365761/ft2_4FGL_J1018.4+0528_weekly_bin861.fits outfile=/lscratch/kocevski/63365761/cmap_HighResolution_759715201_760320001_4FGL_J1018.4+0528_weekly_bin861.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=154.617 yref=5.4702 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.41
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/63365761/ft1_filtered_4FGL_J1018.4+0528_weekly_bin861.fits evtable="EVENTS" scfile=/lscratch/kocevski/63365761/ft2_4FGL_J1018.4+0528_weekly_bin861.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/63365761/Model_4FGL_J1018.4+0528_weekly_bin861.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/63365761/ft1_filtered_4FGL_J1018.4+0528_weekly_bin861.fits.....................!
real 52.09
user 51.00
sys 0.73

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/63365761/ft1_filtered_4FGL_J1018.4+0528_weekly_bin861.fits', '/lscratch/kocevski/63365761/ft2_4FGL_J1018.4+0528_weekly_bin861.fits', expMap='/lscratch/kocevski/63365761/expmap_759715201_760320001_4FGL_J1018.4+0528_weekly_bin861.fits', expCube='/lscratch/kocevski/63365761/ltcube_759715201_760320001_4FGL_J1018.4+0528_weekly_bin861.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/63365761/Model_4FGL_J1018.4+0528_weekly_bin861.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.4+0528'

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  9.961e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
217        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  1.954e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/63365761/ft1_filtered_4FGL_J1018.4+0528_weekly_bin861.fits
Spacecraft file(s): /lscratch/kocevski/63365761/ft2_4FGL_J1018.4+0528_weekly_bin861.fits
Exposure map: /lscratch/kocevski/63365761/expmap_759715201_760320001_4FGL_J1018.4+0528_weekly_bin861.fits
Exposure cube: /lscratch/kocevski/63365761/ltcube_759715201_760320001_4FGL_J1018.4+0528_weekly_bin861.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/63365761/Model_4FGL_J1018.4+0528_weekly_bin861.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) = 16055.4885531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18147       1.0000          .0000       .10000E+07
     2 'norm      '    .68445E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .55970       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.8901       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10286E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .17675E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    18.698       1.0000          .0000       .10000E+07
     8 'Prefactor '    .75782E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11762E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .87281       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.4852       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.1112       1.0000          .0000       .10000E+07
    13 'Prefactor '    28.526       1.0000          .0000       .10000E+07
    14 'Prefactor '    .31088       1.0000          .0000       .10000E+07
    15 'norm      '    1.0288       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.4451       1.0000          .0000       .10000E+07
    17 'Normalizat'    .96783       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1053       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16055.43     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1091 TOTAL
                     EDM=   .35E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18146        .63485        .17245E-07** at limit **
   2  norm           .0000        .60359       -.24866E-07** at limit **
   3  Prefactor     .48599        11.656        .12763E-06   -.61400E-04
   4  Prefactor     6.8253        1.6285       -.11524E-07   -.58744E-02
   5  Prefactor      .0000        5.9683       -.76277E-07** at limit **
   6  Prefactor      .0000        1.4810       -.14852E-08** at limit **
   7  Prefactor     20.333        24.544       -.83536E-07    .19995E-03
   8  Prefactor      .0000        17.629        .11505E-06** at limit **
   9  Prefactor     .11102E-09    16.199       -.16194E-06** at limit **
  10  norm          .87293        .65953        .10683E-07   -.41730E-03
  11  Prefactor     3.4990        3.1900        .79134E-09   -.69809E-04
  12  Prefactor     5.1179        2.4704        .25323E-07   -.48232E-03
  13  Prefactor     28.538        8.2895       -.24157E-07    .88001E-04
  14  Prefactor     .26685        20.169       -.12032E-06   -.94319E-04
  15  norm          1.0295        .33559        .11597E-07   -.17909E-02
  16  Prefactor     1.3318        32.666       -.16916E-06    .69350E-04
  17  Normalizat    .96664        .14163        .80167E-06   -.28307E-04
  18  Prefactor     1.1058        .11528       -.10048E-06   -.34369E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.181457
  norm       = 0
  Prefactor  = 0.485993
  Prefactor  = 6.82533
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 20.3326
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  norm       = 0.87293
  Prefactor  = 3.49901
  Prefactor  = 5.11791
  Prefactor  = 28.5378
  Prefactor  = 0.266852
  norm       = 1.02947
  Prefactor  = 1.33178
  Normalizat = 0.966636
  Prefactor  = 1.10584
 **********
 **   18 **HESSE 
 **********

 FCN=   16055.43     FROM HESSE     STATUS=OK           300 CALLS     1391 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18146        .48198        .25340E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .97510E-01    .24596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .48599        11.451        .72918E-03   -1.5694    
   4  Prefactor     6.8253        16.403        .38198E-03   -1.5656    
   5  Prefactor      .0000        5.9832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.4930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.333        24.522        .23135E-03   -1.5618    
   8  Prefactor      .0000        17.629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-09    15.954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .87293        .66432        .47659E-03   -1.5689    
  11  Prefactor     3.4990        3.2035        .54138E-03   -1.5671    
  12  Prefactor     5.1179        2.5225        .44448E-03   -1.5663    
  13  Prefactor     28.538        8.2804        .18726E-03   -1.5601    
  14  Prefactor     .26685        2.9299        .63867E-02   -1.5698    
  15  norm          1.0295        .34265        .91214E-03   -1.5688    
  16  Prefactor     1.3318        32.220        .89654E-03   -1.5685    
  17  Normalizat    .96664        .12572        .45763E-01   -.94157    
  18  Prefactor     1.1058        .10011        .37388E-01   -.89280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09784e-06
Minuit parameter uncertainties:
  1  0.481983
  2  1.07537e-07
  3  4.71803
  4  16.4031
  5  1.12794e-06
  6  6.51229e-07
  7  24.5221
  8  4.38064e-05
  9  7.90462e-05
  10  0.664322
  11  3.2035
  12  2.52246
  13  8.28044
  14  1.76844
  15  0.342645
  16  13.1011
  17  0.125763
  18  0.100122
Done.

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

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  0.000e+00  4.381e-05  0.000e+00  1.000e+06 ( 1.000e-14)
217        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  1.954e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.106e+00  1.001e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  9.666e-01  1.258e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 154.617 5.470
Photon Flux Upper Limit: 2.86844348908e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00219880340285 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/63365761/likelihoodResults_759715201_760320001_4FGL_J1018.4+0528_weekly_bin861.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) = 16055.4548121
delta logL = -0.0282792268899

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16055.4265329
delta logL = -7.20719981473e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16055.43     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      213 TOTAL
                     EDM=   .45E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.736       -.47658E-06** at limit **
   2  Index         1.4547        5.1115       -.43385E-04     .0000    
   3  Normalizat    .96664        .13313       -.23663E-05   -.15006E-04
   4  Prefactor     1.1058        .11411        .10762E-05   -.39414E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.45468
  Normalizat = 0.966636
  Prefactor  = 1.10584
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16055.43     FROM HESSE     STATUS=FAILED        11 CALLS      224 TOTAL
                     EDM=   .45E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .18466        1.5440       -.43385E-04   -.78817    
   3  Normalizat    .96664        1.2984       -.23663E-05   -.94157    
   4  Prefactor     1.1058        1.1449        .10762E-05   -.89280    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.52792e-13
Minuit parameter uncertainties:
  1  2.20006e-06
  2  1.39523
  3  1.34484
  4  1.17197
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) = 16055.4265329
delta logL = 0.0

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  0.000e+00  2.200e-06  0.000e+00  1.000e+06 ( 1.000e-14)
217        Index:  1.455e+00  1.395e+00  0.000e+00  1.000e+01 (-1.000e+00)
218        Scale:  1.954e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.106e+00  1.172e+00  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  9.666e-01  1.345e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.617 5.470

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/63365761/cmap_HighResolution_759715201_760320001_4FGL_J1018.4+0528_weekly_bin861.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.20e-03', job_status='DONE', photon_flux_upper_limit='2.87e-08', time_completed='2025-02-04 03:38:13.590763', job_id='63365761', GAL2='1.11', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1738669093.59', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='861' AND source_name='4FGL J1018.4+0528' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb  4 03:38:13 PST 2025

