/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 145 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0118.7-0848_daily_bin627
RA = 19.6884, Dec = -8.808
tmin = 401846401, tmax = 402105601
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='532109', job_status='RUN', time_executed='2021-08-13 22:36:33.212800', time_epoch_executed='1628919393.21' WHERE source_name='4FGL J0118.7-0848' and cadence='daily' and bin_id='627'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532109

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532109/ft1_4FGL_J0118.7-0848_daily_bin627.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532109/ft2_4FGL_J0118.7-0848_daily_bin627.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532109/ft1_4FGL_J0118.7-0848_daily_bin627.fits outfile=/scratch/kocevski/532109/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin627.fits ra=19.6884 dec=-8.808 rad=12.0 tmin=401846401.0 tmax=402105601.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 5.80
user 3.24
sys 2.54

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/532109/ft2_4FGL_J0118.7-0848_daily_bin627.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/532109/ft2_4FGL_J0118.7-0848_daily_bin627.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/532109/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin627.fits evtable="EVENTS" outfile="/scratch/kocevski/532109/ft1_filtered_4FGL_J0118.7-0848_daily_bin627.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 2.83
user 0.33
sys 2.47

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532109/ft1_filtered_4FGL_J0118.7-0848_daily_bin627.fits" evtable="EVENTS" scfile=/scratch/kocevski/532109/ft2_4FGL_J0118.7-0848_daily_bin627.fits sctable="SC_DATA" outfile=/scratch/kocevski/532109/ltcube_401846401_402105601_4FGL_J0118.7-0848_daily_bin627.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/532109/ft2_4FGL_J0118.7-0848_daily_bin627.fits
.....................!
real 15.29
user 12.35
sys 2.87

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532109/ft1_filtered_4FGL_J0118.7-0848_daily_bin627.fits evtable="EVENTS" scfile=/scratch/kocevski/532109/ft2_4FGL_J0118.7-0848_daily_bin627.fits sctable="SC_DATA" expcube=/scratch/kocevski/532109/ltcube_401846401_402105601_4FGL_J0118.7-0848_daily_bin627.fits outfile=/scratch/kocevski/532109/expmap_401846401_402105601_4FGL_J0118.7-0848_daily_bin627.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/532109/ltcube_401846401_402105601_4FGL_J0118.7-0848_daily_bin627.fits
.....................!
real 194.80
user 185.92
sys 8.12

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

Setting source of interest to:
4FGL J0118.7-0848 @ 19.6884 -8.808

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/532109/ft1_filtered_4FGL_J0118.7-0848_daily_bin627.fits scfile=/scratch/kocevski/532109/ft2_4FGL_J0118.7-0848_daily_bin627.fits outfile=/scratch/kocevski/532109/cmap_401846401_402105601_4FGL_J0118.7-0848_daily_bin627.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=19.6884 yref=-8.808 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 2.80
user 0.37
sys 2.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532109/ft1_filtered_4FGL_J0118.7-0848_daily_bin627.fits scfile=/scratch/kocevski/532109/ft2_4FGL_J0118.7-0848_daily_bin627.fits outfile=/scratch/kocevski/532109/cmap_HighResolution_401846401_402105601_4FGL_J0118.7-0848_daily_bin627.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=19.6884 yref=-8.808 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 2.82
user 0.40
sys 2.40

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/532109/ft1_filtered_4FGL_J0118.7-0848_daily_bin627.fits evtable="EVENTS" scfile=/scratch/kocevski/532109/ft2_4FGL_J0118.7-0848_daily_bin627.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/532109/Model_4FGL_J0118.7-0848_daily_bin627.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/532109/ft1_filtered_4FGL_J0118.7-0848_daily_bin627.fits.....................!
real 64.18
user 59.85
sys 4.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/532109/ft1_filtered_4FGL_J0118.7-0848_daily_bin627.fits', '/scratch/kocevski/532109/ft2_4FGL_J0118.7-0848_daily_bin627.fits', expMap='/scratch/kocevski/532109/expmap_401846401_402105601_4FGL_J0118.7-0848_daily_bin627.fits', expCube='/scratch/kocevski/532109/ltcube_401846401_402105601_4FGL_J0118.7-0848_daily_bin627.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/532109/Model_4FGL_J0118.7-0848_daily_bin627.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0118.7-0848'

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  4.571e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  2.596e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.178e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/532109/ft1_filtered_4FGL_J0118.7-0848_daily_bin627.fits
Spacecraft file(s): /scratch/kocevski/532109/ft2_4FGL_J0118.7-0848_daily_bin627.fits
Exposure map: /scratch/kocevski/532109/expmap_401846401_402105601_4FGL_J0118.7-0848_daily_bin627.fits
Exposure cube: /scratch/kocevski/532109/ltcube_401846401_402105601_4FGL_J0118.7-0848_daily_bin627.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/532109/Model_4FGL_J0118.7-0848_daily_bin627.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6042.91419414

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5332       1.0000         .10000E-03   10000.    
     2 'norm      '    2.6020       1.0000         .10000E-03   10000.    
     3 'norm      '    .12051E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.839       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    68.988       1.0000         .10000E-03   10000.    
     7 'norm      '    14.069       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8662       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.1236       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.8603       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .88039       1.0000         .10000E-03   10000.    
    13 'norm      '    3.0842       1.0000         .10000E-03   10000.    
    14 'norm      '    .57954       1.0000         .10000E-03   10000.    
    15 'norm      '    1.8052       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .74782       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1020       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6042.806     FROM MIGRAD    STATUS=CONVERGED    374 CALLS     1569 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5356        4.4261       -.12626E-06    .35481E-05
   2  norm          2.6027        3.0068        .59564E-07   -.64015E-04
   3  norm          .10000E-03    5.7068        .23380E-07** at limit **
   4  Prefactor     10.839        14.086        .66561E-07   -.16461E-04
   5  Prefactor     .10000E-03    10.335        .12481E-07** at limit **
   6  Prefactor     68.998        31.825        .14384E-05    .39314E-03
   7  norm          14.069        2.6039       -.28222E-07   -.71327E-04
   8  Prefactor     .10000E-03    38.635        .30033E-06** at limit **
   9  Prefactor     5.8646        8.2011        .81308E-06    .19223E-03
  10  Prefactor     3.1236        2.5793        .47078E-07   -.22774E-04
  11  Prefactor     8.8567        47.023       -.26549E-05   -.56368E-04
  12  Prefactor     .88093        7.6046        .28806E-05   -.25527E-03
  13  norm          3.0840        18.250        .44402E-06   -.28250E-04
  14  norm          .57969        1.1208        .25723E-06   -.18151E-03
  15  norm          1.8052        2.3603        .18025E-07   -.23582E-04
  16  Prefactor     .10000E-03    57.065       -.50393E-07** at limit **
  17  Normalizat    .74782        .17373       -.40175E-06   -.68078E-04
  18  Prefactor     1.1020        .16963       -.46242E-06   -.58238E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.5356
  norm       = 2.6027
  norm       = 0.000100001
  Prefactor  = 10.8388
  Prefactor  = 0.0001
  Prefactor  = 68.9982
  norm       = 14.0688
  Prefactor  = 0.0001
  Prefactor  = 5.86463
  Prefactor  = 3.12355
  Prefactor  = 8.85675
  Prefactor  = 0.880925
  norm       = 3.08401
  norm       = 0.579691
  norm       = 1.80525
  Prefactor  = 0.0001
  Normalizat = 0.747821
  Prefactor  = 1.10202
 **********
 **   18 **HESSE 
 **********

 FCN=   6042.806     FROM HESSE     STATUS=OK           254 CALLS     1823 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5356        4.3063        .11942E-03   -1.5197    
   2  norm          2.6027        2.9800        .13905E-03   -1.5385    
   3  norm          .10000E-03    22.696        .33804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.839        14.086        .12169E-03   -1.5049    
   5  Prefactor     .10000E-03    10.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     68.998        33.875        .48327E-04   -1.4045    
   7  norm          14.069        2.6037        .51036E-04   -1.4958    
   8  Prefactor     .10000E-03    38.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.8646        8.2423        .16581E-03   -1.5224    
  10  Prefactor     3.1236        2.5765        .10846E-03   -1.5354    
  11  Prefactor     8.8567        47.414        .13466E-03   -1.5113    
  12  Prefactor     .88093        8.5873        .43582E-03   -1.5520    
  13  norm          3.0840        18.166        .23094E-03   -1.5357    
  14  norm          .57969        1.0940        .10848E-03   -1.5556    
  15  norm          1.8052        2.3463        .13290E-03   -1.5439    
  16  Prefactor     .10000E-03    57.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .74782        .19773        .27921E-03   -1.0203    
  18  Prefactor     1.1020        .19364        .23113E-03   -.89402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.99572e-10
Minuit parameter uncertainties:
  1  4.30651
  2  2.98013
  3  0.000234332
  4  14.0907
  5  5.62551e-07
  6  33.885
  7  2.60373
  8  5.24388e-05
  9  8.24388
  10  2.57663
  11  41.0351
  12  5.50153
  13  14.9765
  14  1.09408
  15  2.34645
  16  3.67964e-06
  17  0.19792
  18  0.193767
Done.

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

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  8.857e+00  4.104e+01  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  2.596e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.178e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.102e+00  1.938e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  7.478e-01  1.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 19.688 -8.808
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/532109/likelihoodResults_401846401_402105601_4FGL_J0118.7-0848_daily_bin627.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) = 6042.75189925
delta logL = 0.054275815135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6042.7476317
delta logL = 0.0585433737124

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4486       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3372       1.0000          .0000       10.000    
     3 'Normalizat'    .73741       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1070       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6042.748     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      275 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4241        86.491        .79024E-03    .54864E-04
   2  Index         3.3388        3.6837        .93275E-02    .12220E-03
   3  Normalizat    .73734        .19663        .28099E-03    .52597E-06
   4  Prefactor     1.1070        .19350        .23065E-03    .14294E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.42411
  Index      = 3.33876
  Normalizat = 0.737343
  Prefactor  = 1.10701
 **********
 **   18 **HESSE 
 **********

 FCN=   6042.748     FROM HESSE     STATUS=OK            27 CALLS      302 TOTAL
                     EDM=   .72E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4241        33.467        .15805E-03   -1.5201    
   2  Index         3.3388        2.4925        .18655E-02   -.33869    
   3  Normalizat    .73734        .19653        .11240E-04   -1.0244    
   4  Prefactor     1.1070        .19234        .92259E-05   -.89243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.20544e-12
Minuit parameter uncertainties:
  1  29.351
  2  2.62611
  3  0.19672
  4  0.192461
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532109': 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): 0
logL (Free Index) = 6042.74763113
delta logL = 0.0585439403976

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  6.424e+00  2.935e+01  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  3.339e+00  2.626e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  7.178e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.107e+00  1.925e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  7.373e-01  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 19.688 -8.808

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/532109/cmap_HighResolution_401846401_402105601_4FGL_J0118.7-0848_daily_bin627.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.20e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-08-13 22:46:29.770872', job_id='532109', GAL2='1.11', fit_tolerance='1e-08', EG2='0.74', EG='0.75', time_epoch_completed='1628919989.77', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='5.85e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='627' AND source_name='4FGL J0118.7-0848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 22:46:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0010>
Subject: Job 532109: <4FGL_J0118.7-0848_daily_bin627> in cluster <slac> Done

Job <4FGL_J0118.7-0848_daily_bin627> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Aug 13 22:30:52 2021
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 22:33:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 22:33:23 2021
Terminated at Fri Aug 13 22:46:30 2021
Results reported at Fri Aug 13 22:46:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0118.7-0848_daily_bin627 19.6884 -8.808 401846401 402105601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0118.7-0848 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   631.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            938 sec.

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

