aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 60 seconds before starting...
Proceeding.

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).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 7461
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1118.2-0415_daily_bin1757
RA = 169.575, Dec = -4.2539
tmin = 694742401, tmax = 695001601
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='194313', job_status='RUN', time_executed='2023-01-10 00:50:13.445696', time_epoch_executed='1673340613.45' WHERE source_name='4FGL J1118.2-0415' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194313

Creating custom pfile directory:
/scratch/kocevski/194313/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=694742401.0 && nMetStart<695001601.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=694742401.0 && nMetStart<695001601.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194313/ft1_4FGL_J1118.2-0415_daily_bin1757.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=694742401.0 && nMetStart<695001601.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194313/ft2_4FGL_J1118.2-0415_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194313/ft1_4FGL_J1118.2-0415_daily_bin1757.fits outfile=/scratch/kocevski/194313/ft1_filteredMKT_4FGL_J1118.2-0415_daily_bin1757.fits ra=169.575 dec=-4.2539 rad=12.0 tmin=694742401.0 tmax=695001601.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 2.91
user 2.68
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/194313/ft2_4FGL_J1118.2-0415_daily_bin1757.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/194313/ft2_4FGL_J1118.2-0415_daily_bin1757.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/194313/ft1_filteredMKT_4FGL_J1118.2-0415_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/194313/ft1_filtered_4FGL_J1118.2-0415_daily_bin1757.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 539

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194313/ft1_filtered_4FGL_J1118.2-0415_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/194313/ft2_4FGL_J1118.2-0415_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/194313/ltcube_694742401_695001601_4FGL_J1118.2-0415_daily_bin1757.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 /scratch/kocevski/194313/ft2_4FGL_J1118.2-0415_daily_bin1757.fits
.....................!
real 15.17
user 14.79
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194313/ft1_filtered_4FGL_J1118.2-0415_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/194313/ft2_4FGL_J1118.2-0415_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/194313/ltcube_694742401_695001601_4FGL_J1118.2-0415_daily_bin1757.fits outfile=/scratch/kocevski/194313/expmap_694742401_695001601_4FGL_J1118.2-0415_daily_bin1757.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 /scratch/kocevski/194313/ltcube_694742401_695001601_4FGL_J1118.2-0415_daily_bin1757.fits
.....................!
real 191.80
user 186.50
sys 4.87

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

Setting source of interest to:
4FGL J1118.2-0415 @ 169.575 -4.2539

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/194313/ft1_filtered_4FGL_J1118.2-0415_daily_bin1757.fits scfile=/scratch/kocevski/194313/ft2_4FGL_J1118.2-0415_daily_bin1757.fits outfile=/scratch/kocevski/194313/cmap_694742401_695001601_4FGL_J1118.2-0415_daily_bin1757.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=169.575 yref=-4.2539 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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194313/ft1_filtered_4FGL_J1118.2-0415_daily_bin1757.fits scfile=/scratch/kocevski/194313/ft2_4FGL_J1118.2-0415_daily_bin1757.fits outfile=/scratch/kocevski/194313/cmap_HighResolution_694742401_695001601_4FGL_J1118.2-0415_daily_bin1757.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=169.575 yref=-4.2539 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.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/194313/ft1_filtered_4FGL_J1118.2-0415_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/194313/ft2_4FGL_J1118.2-0415_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/194313/Model_4FGL_J1118.2-0415_daily_bin1757.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...
/scratch/kocevski/194313/ft1_filtered_4FGL_J1118.2-0415_daily_bin1757.fits.....................!
real 56.36
user 54.94
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/194313/ft1_filtered_4FGL_J1118.2-0415_daily_bin1757.fits', '/scratch/kocevski/194313/ft2_4FGL_J1118.2-0415_daily_bin1757.fits', expMap='/scratch/kocevski/194313/expmap_694742401_695001601_4FGL_J1118.2-0415_daily_bin1757.fits', expCube='/scratch/kocevski/194313/ltcube_694742401_695001601_4FGL_J1118.2-0415_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/194313/Model_4FGL_J1118.2-0415_daily_bin1757.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1118.2-0415'

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  1.706e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/194313/ft1_filtered_4FGL_J1118.2-0415_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/194313/ft2_4FGL_J1118.2-0415_daily_bin1757.fits
Exposure map: /scratch/kocevski/194313/expmap_694742401_695001601_4FGL_J1118.2-0415_daily_bin1757.fits
Exposure cube: /scratch/kocevski/194313/ltcube_694742401_695001601_4FGL_J1118.2-0415_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/194313/Model_4FGL_J1118.2-0415_daily_bin1757.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) = 6070.95491156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.212       1.0000          .0000       .10000E+07
     2 'norm      '    .70333E-07   1.0000          .0000       .10000E+07
     3 'norm      '    3.5187       1.0000          .0000       .10000E+07
     4 'Prefactor '    22.937       1.0000          .0000       .10000E+07
     5 'Prefactor '    .15158E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    68.073       1.0000          .0000       .10000E+07
     7 'norm      '    2.7010       1.0000          .0000       .10000E+07
     8 'Prefactor '    .50188E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    60.349       1.0000          .0000       .10000E+07
    10 'norm      '    .21188E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9411       1.0000          .0000       .10000E+07
    12 'Prefactor '    .87053       1.0000          .0000       .10000E+07
    13 'Prefactor '    21.048       1.0000          .0000       .10000E+07
    14 'norm      '    .22381E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.0047       1.0000          .0000       .10000E+07
    16 'Prefactor '    .17634E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .29306E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    40.062       1.0000          .0000       .10000E+07
    19 'Normalizat'    .53516       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3373       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6070.954     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1647 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.248        9.1864       -.92782E-06   -.20596E-02
   2  norm           .0000        .21978        .55537E-06** at limit **
   3  norm          3.4567        7.2960       -.11132E-05   -.28675E-03
   4  Prefactor     22.835        23.252       -.94254E-06   -.36670E-01
   5  Prefactor      .0000        1.7765       -.14103E-06** at limit **
   6  Prefactor     68.932        99.607        .52752E-05   -.34050E-01
   7  norm          2.8989        9.5180       -.45083E-07    .26910E-03
   8  Prefactor      .0000        1.7549       -.60312E-06** at limit **
   9  Prefactor     60.381        14.305       -.61430E-06   -.48115E-01
  10  norm          .55511E-10    6.4626       -.12365E-05** at limit **
  11  Prefactor     1.9414        2.4071        .99280E-06   -.59057E-03
  12  Prefactor     1.4097        85.552        .45767E-05    .54137E-02
  13  Prefactor     21.058        6.7447       -.36389E-06   -.24638    
  14  norm           .0000        1.6687       -.50021E-06** at limit **
  15  Prefactor     5.0101        3.7973       -.98708E-07    .11809E-03
  16  Prefactor     .16653E-09    21.181        .40136E-05** at limit **
  17  Prefactor     .16653E-09    13.372        .20758E-05** at limit **
  18  Prefactor     40.107        5.4304        .81128E-07   -.38692E-01
  19  Normalizat    .53413        .24681        .68256E-04   -.23172E-05
  20  Prefactor     1.3372        .18507       -.36773E-04   -.58467E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2484
  norm       = 0
  norm       = 3.45673
  Prefactor  = 22.8349
  Prefactor  = 0
  Prefactor  = 68.9316
  norm       = 2.89885
  Prefactor  = 0
  Prefactor  = 60.3811
  norm       = 5.55112e-11
  Prefactor  = 1.94145
  Prefactor  = 1.40967
  Prefactor  = 21.0578
  norm       = 0
  Prefactor  = 5.01007
  Prefactor  = 1.66533e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 40.107
  Normalizat = 0.534129
  Prefactor  = 1.33718
 **********
 **   18 **HESSE 
 **********

 FCN=   6070.954     FROM HESSE     STATUS=OK           337 CALLS     1984 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.248        9.1966        .31330E-03   -1.5644    
   2  norm           .0000        .21637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.4567        7.3224        .53869E-03   -1.5671    
   4  Prefactor     22.835        23.364        .20885E-03   -1.5612    
   5  Prefactor      .0000        1.7738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     68.932        102.64        .12121E-03   -1.5542    
   7  norm          2.8989        9.5739        .61958E-03   -1.5674    
   8  Prefactor      .0000        1.7492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     60.381        14.323        .12873E-03   -1.5553    
  10  norm          .55511E-10    6.4630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9414        2.4283        .74486E-03   -1.5680    
  12  Prefactor     1.4097        87.842        .47819E-03   -1.5684    
  13  Prefactor     21.058        24.785        .21803E-03   -1.5616    
  14  norm           .0000        1.6653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.0101        3.8314        .44928E-03   -1.5663    
  16  Prefactor     .16653E-09    20.412        .17198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .16653E-09    13.329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     40.107        41.806        .15801E-03   -1.5581    
  19  Normalizat    .53413        .23094        .86844E-01   -1.1086    
  20  Prefactor     1.3372        .16993        .31989E-01   -.82208    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04752e-06
Minuit parameter uncertainties:
  1  9.19666
  2  1.19247e-06
  3  7.32246
  4  23.3637
  5  9.74037e-06
  6  102.638
  7  9.57391
  8  3.66037e-06
  9  14.3231
  10  4.05444e-05
  11  2.4283
  12  22.2559
  13  24.7849
  14  1.99176e-06
  15  3.83142
  16  0.000109895
  17  0.00010075
  18  41.8065
  19  0.231356
  20  0.170003
Done.

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

Extracting fit parameters...

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  9.740e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  1.337e+00  1.700e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  5.341e-01  2.314e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 169.575 -4.254
Photon Flux Upper Limit: 7.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/194313/likelihoodResults_694742401_695001601_4FGL_J1118.2-0415_daily_bin1757.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): 102
logL (Free Index) = 6070.95727889
delta logL = -0.00342693803123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6070.95385429
delta logL = -2.33494483837e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6070.954     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      235 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.9775        .42118E-03** at limit **
   2  Index         2.5046        1.3303        .18216E-03     .0000    
   3  Normalizat    .53413        .86814        .39925E-04   -.12256E-03
   4  Prefactor     1.3372        1.0705       -.10265E-04   -.81469E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.50462
  Normalizat = 0.534134
  Prefactor  = 1.33717
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6070.954     FROM HESSE     STATUS=FAILED         9 CALLS      244 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.9775        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .70700        1.9181        .18216E-03   -.52253    
   3  Normalizat    .53413        .86814        .39925E-04   -1.1086    
   4  Prefactor     1.3372        1.0705       -.10265E-04   -.82208    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.65832e-10
Minuit parameter uncertainties:
  1  1.37965e-05
  2  1.3521
  3  0.891774
  4  1.08903
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194313': No such file or directory
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) = 6070.95385195
delta logL = -5.45696821064e-10

Extracting fit parameters...

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  1.380e-05  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.505e+00  1.352e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  1.337e+00  1.089e+00  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  5.341e-01  8.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 169.575 -4.254

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 /scratch/kocevski/194313/cmap_HighResolution_694742401_695001601_4FGL_J1118.2-0415_daily_bin1757.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/194313

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.89e-03', job_status='DONE', photon_flux_upper_limit='7.51e-08', time_completed='2023-01-10 00:59:51.263848', job_id='194313', GAL2='1.34', fit_tolerance='1e-08', EG2='0.53', EG='0.53', time_epoch_completed='1673341191.26', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.34', dlogl='-5.46e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1757' AND source_name='4FGL J1118.2-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 00:59:51 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 194313: <4FGL_J1118.2-0415_daily_bin1757> in cluster <slac> Done

Job <4FGL_J1118.2-0415_daily_bin1757> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jan 10 00:45:18 2023
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 00:49:03 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 00:49:03 2023
Terminated at Tue Jan 10 00:59:52 2023
Results reported at Tue Jan 10 00:59:52 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1118.2-0415_daily_bin1757 169.575 -4.2539 694742401 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1118.2-0415 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   579.25 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            874 sec.

The output (if any) is above this job summary.

