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


Performing analysis on: 4FGL_J0118.7-0848_daily_bin1170
RA = 19.6884, Dec = -8.808
tmin = 542592001, tmax = 542851201
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='536186', job_status='RUN', time_executed='2021-08-13 22:46:37.989104', time_epoch_executed='1628919997.99' WHERE source_name='4FGL J0118.7-0848' and cadence='daily' and bin_id='1170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/536186

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/536186/ft1_4FGL_J0118.7-0848_daily_bin1170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/536186/ft2_4FGL_J0118.7-0848_daily_bin1170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/536186/ft1_4FGL_J0118.7-0848_daily_bin1170.fits outfile=/scratch/kocevski/536186/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin1170.fits ra=19.6884 dec=-8.808 rad=12.0 tmin=542592001.0 tmax=542851201.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 10.47
user 6.48
sys 3.87

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/536186/ft2_4FGL_J0118.7-0848_daily_bin1170.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/536186/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin1170.fits evtable="EVENTS" outfile="/scratch/kocevski/536186/ft1_filtered_4FGL_J0118.7-0848_daily_bin1170.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 4.16
user 0.35
sys 3.77

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/536186/ft1_filtered_4FGL_J0118.7-0848_daily_bin1170.fits" evtable="EVENTS" scfile=/scratch/kocevski/536186/ft2_4FGL_J0118.7-0848_daily_bin1170.fits sctable="SC_DATA" outfile=/scratch/kocevski/536186/ltcube_542592001_542851201_4FGL_J0118.7-0848_daily_bin1170.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/536186/ft2_4FGL_J0118.7-0848_daily_bin1170.fits
.....................!
real 16.72
user 12.33
sys 4.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/536186/ft1_filtered_4FGL_J0118.7-0848_daily_bin1170.fits evtable="EVENTS" scfile=/scratch/kocevski/536186/ft2_4FGL_J0118.7-0848_daily_bin1170.fits sctable="SC_DATA" expcube=/scratch/kocevski/536186/ltcube_542592001_542851201_4FGL_J0118.7-0848_daily_bin1170.fits outfile=/scratch/kocevski/536186/expmap_542592001_542851201_4FGL_J0118.7-0848_daily_bin1170.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/536186/ltcube_542592001_542851201_4FGL_J0118.7-0848_daily_bin1170.fits
.....................!
real 194.72
user 185.47
sys 8.86

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/536186/ft1_filtered_4FGL_J0118.7-0848_daily_bin1170.fits scfile=/scratch/kocevski/536186/ft2_4FGL_J0118.7-0848_daily_bin1170.fits outfile=/scratch/kocevski/536186/cmap_542592001_542851201_4FGL_J0118.7-0848_daily_bin1170.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 4.08
user 0.37
sys 3.68

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/536186/ft1_filtered_4FGL_J0118.7-0848_daily_bin1170.fits scfile=/scratch/kocevski/536186/ft2_4FGL_J0118.7-0848_daily_bin1170.fits outfile=/scratch/kocevski/536186/cmap_HighResolution_542592001_542851201_4FGL_J0118.7-0848_daily_bin1170.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 4.08
user 0.40
sys 3.66

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/536186/ft1_filtered_4FGL_J0118.7-0848_daily_bin1170.fits evtable="EVENTS" scfile=/scratch/kocevski/536186/ft2_4FGL_J0118.7-0848_daily_bin1170.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/536186/Model_4FGL_J0118.7-0848_daily_bin1170.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/536186/ft1_filtered_4FGL_J0118.7-0848_daily_bin1170.fits.....................!
real 67.16
user 61.19
sys 5.79

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/536186/ft1_filtered_4FGL_J0118.7-0848_daily_bin1170.fits', '/scratch/kocevski/536186/ft2_4FGL_J0118.7-0848_daily_bin1170.fits', expMap='/scratch/kocevski/536186/expmap_542592001_542851201_4FGL_J0118.7-0848_daily_bin1170.fits', expCube='/scratch/kocevski/536186/ltcube_542592001_542851201_4FGL_J0118.7-0848_daily_bin1170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/536186/Model_4FGL_J0118.7-0848_daily_bin1170.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/536186/ft1_filtered_4FGL_J0118.7-0848_daily_bin1170.fits
Spacecraft file(s): /scratch/kocevski/536186/ft2_4FGL_J0118.7-0848_daily_bin1170.fits
Exposure map: /scratch/kocevski/536186/expmap_542592001_542851201_4FGL_J0118.7-0848_daily_bin1170.fits
Exposure cube: /scratch/kocevski/536186/ltcube_542592001_542851201_4FGL_J0118.7-0848_daily_bin1170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/536186/Model_4FGL_J0118.7-0848_daily_bin1170.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) = 6351.57732742

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9214       1.0000         .10000E-03   10000.    
     2 'norm      '    3.7759       1.0000         .10000E-03   10000.    
     3 'norm      '    3.0881       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .23034E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.7867       1.0000         .10000E-03   10000.    
     7 'norm      '    3.2188       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .21495E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.619       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .74377       1.0000         .10000E-03   10000.    
    13 'norm      '    12.641       1.0000         .10000E-03   10000.    
    14 'norm      '    2.5923       1.0000         .10000E-03   10000.    
    15 'norm      '    20.119       1.0000         .10000E-03   10000.    
    16 'Prefactor '    57.640       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .94448       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98724       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.

 FCN=   6351.575     FROM MIGRAD    STATUS=CONVERGED    366 CALLS     1765 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9213        3.2635        .74941E-02    .72560E-03
   2  norm          3.7719        3.7494        .51938E-02    .16219E-03
   3  norm          3.0876        4.1667        .57698E-02    .16311E-03
   4  Prefactor     .10000E-03    6.3870        .90712E-02** at limit **
   5  Prefactor     .10000E-03    25.277        .13750    ** at limit **
   6  Prefactor     8.7878        25.951        .33805E-02    .79851E-04
   7  norm          3.2196        1.4186        .56451E-02    .11903E-03
   8  Prefactor     .10000E-03    14.084        .90712E-02** at limit **
   9  Prefactor     .10000E-03    11.811        .90712E-02** at limit **
  10  Prefactor     .10000E-03    1.2826        .90712E-02** at limit **
  11  Prefactor     21.625        42.071        .21536E-02   -.84226E-03
  12  Prefactor     .73434        8.5813        .67380E-01    .61061E-03
  13  norm          12.644        26.680        .28166E-02    .62790E-03
  14  norm          2.5919        1.4757        .63357E-02    .28734E-03
  15  norm          20.118        6.9634        .22324E-02   -.76833E-03
  16  Prefactor     57.640        69.556        .13210E-02    .27151E-03
  17  Normalizat    .94461        .17482        .45467E-01    .22914E-04
  18  Prefactor     .98721        .16564        .46107E-01    .25351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.92126
  norm       = 3.77187
  norm       = 3.08765
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 8.78778
  norm       = 3.21964
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.6253
  Prefactor  = 0.734344
  norm       = 12.6436
  norm       = 2.59195
  norm       = 20.1185
  Prefactor  = 57.6399
  Normalizat = 0.944611
  Prefactor  = 0.987205
 **********
 **   18 **HESSE 
 **********

 FCN=   6351.575     FROM HESSE     STATUS=OK           252 CALLS     2017 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9213        3.2293        .17511E-03   -1.5431    
   2  norm          3.7719        3.6459        .14446E-03   -1.5320    
   3  norm          3.0876        4.1440        .17961E-03   -1.5357    
   4  Prefactor     .10000E-03    6.3910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    198.13        .75523E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.7878        25.850        .13522E-03   -1.5115    
   7  norm          3.2196        1.4175        .60736E-04   -1.5349    
   8  Prefactor     .10000E-03    14.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.270        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.2934        .88099E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.625        41.468        .86144E-04   -1.4778    
  12  Prefactor     .73434        25.484        .41648E-02   -1.5537    
  13  norm          12.644        26.563        .11266E-03   -1.4997    
  14  norm          2.5919        1.4757        .69597E-04   -1.5386    
  15  norm          20.118        6.9578        .89295E-04   -1.4811    
  16  Prefactor     57.640        69.559        .52841E-04   -1.4188    
  17  Normalizat    .94461        .20104        .25919E-03   -.94910    
  18  Prefactor     .98721        .19109        .24198E-03   -.93157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06595e-08
Minuit parameter uncertainties:
  1  3.22958
  2  3.64608
  3  4.1444
  4  2.66963e-06
  5  0.00142015
  6  25.8831
  7  1.41751
  8  3.68285e-05
  9  1.40403e-05
  10  1.01237e-06
  11  41.5231
  12  8.65529
  13  26.5881
  14  1.47576
  15  6.95807
  16  69.6575
  17  0.201203
  18  0.191218
Done.

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

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  2.163e+01  4.152e+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:  9.872e-01  1.912e-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:  9.446e-01  2.012e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/536186/likelihoodResults_542592001_542851201_4FGL_J0118.7-0848_daily_bin1170.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) = 6351.46922604
delta logL = 0.105503438099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6351.4668994
delta logL = 0.107830072508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.153       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1725       1.0000          .0000       10.000    
     3 'Normalizat'    .93523       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99320       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.

 FCN=   6351.467     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      260 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.117        606.55        .27611E-02    .42315E-04
   2  Index         3.1757        6.5847        .21739        .88004E-04
   3  Normalizat    .93512        .46746E-01    .45350E-01    .78040E-04
   4  Prefactor     .99319        .44990E-01    .46182E-01   -.18923E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1166
  Index      = 3.17574
  Normalizat = 0.935122
  Prefactor  = 0.993193
 **********
 **   18 **HESSE 
 **********

 FCN=   6351.467     FROM HESSE     STATUS=OK            33 CALLS      293 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.117        42.817        .11045E-03   -1.4983    
   2  Index         3.1757        1.7834        .93818E-02   -.37347    
   3  Normalizat    .93512        .19684        .26032E-03   -.95237    
   4  Prefactor     .99319        .18725        .24130E-03   -.92957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94065e-11
Minuit parameter uncertainties:
  1  42.9171
  2  1.8302
  3  0.196994
  4  0.187373
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/536186': 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) = 6351.46689562
delta logL = 0.107833853763

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  1.312e+01  4.292e+01  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  3.176e+00  1.830e+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:  9.932e-01  1.874e-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:  9.351e-01  1.970e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.34
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/536186/cmap_HighResolution_542592001_542851201_4FGL_J0118.7-0848_daily_bin1170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.12e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2021-08-13 22:57:33.167221', job_id='536186', GAL2='0.99', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1628920653.17', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.08e-01', ts2='0.55', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1170' AND source_name='4FGL J0118.7-0848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 22:57:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 536186: <4FGL_J0118.7-0848_daily_bin1170> in cluster <slac> Done

Job <4FGL_J0118.7-0848_daily_bin1170> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 22:45:19 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 22:45:29 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:45:29 2021
Terminated at Fri Aug 13 22:57:34 2021
Results reported at Fri Aug 13 22:57:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0118.7-0848_daily_bin1170 19.6884 -8.808 542592001 542851201 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 :                                   702.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            735 sec.

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

