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


Performing analysis on: 4FGL_J0118.7-0848_daily_bin1118
RA = 19.6884, Dec = -8.808
tmin = 529113601, tmax = 529372801
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='535047', job_status='RUN', time_executed='2021-08-13 22:43:40.547996', time_epoch_executed='1628919820.55' WHERE source_name='4FGL J0118.7-0848' and cadence='daily' and bin_id='1118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/535047

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/535047/ft1_4FGL_J0118.7-0848_daily_bin1118.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/535047/ft2_4FGL_J0118.7-0848_daily_bin1118.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/535047/ft1_4FGL_J0118.7-0848_daily_bin1118.fits outfile=/scratch/kocevski/535047/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin1118.fits ra=19.6884 dec=-8.808 rad=12.0 tmin=529113601.0 tmax=529372801.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 8.96
user 3.68
sys 5.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/535047/ft2_4FGL_J0118.7-0848_daily_bin1118.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/535047/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin1118.fits evtable="EVENTS" outfile="/scratch/kocevski/535047/ft1_filtered_4FGL_J0118.7-0848_daily_bin1118.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 5.04
user 0.34
sys 4.65

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/535047/ft1_filtered_4FGL_J0118.7-0848_daily_bin1118.fits" evtable="EVENTS" scfile=/scratch/kocevski/535047/ft2_4FGL_J0118.7-0848_daily_bin1118.fits sctable="SC_DATA" outfile=/scratch/kocevski/535047/ltcube_529113601_529372801_4FGL_J0118.7-0848_daily_bin1118.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/535047/ft2_4FGL_J0118.7-0848_daily_bin1118.fits
.....................!
real 19.79
user 13.38
sys 6.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/535047/ft1_filtered_4FGL_J0118.7-0848_daily_bin1118.fits evtable="EVENTS" scfile=/scratch/kocevski/535047/ft2_4FGL_J0118.7-0848_daily_bin1118.fits sctable="SC_DATA" expcube=/scratch/kocevski/535047/ltcube_529113601_529372801_4FGL_J0118.7-0848_daily_bin1118.fits outfile=/scratch/kocevski/535047/expmap_529113601_529372801_4FGL_J0118.7-0848_daily_bin1118.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/535047/ltcube_529113601_529372801_4FGL_J0118.7-0848_daily_bin1118.fits
.....................!
real 196.86
user 185.97
sys 10.51

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/535047/ft1_filtered_4FGL_J0118.7-0848_daily_bin1118.fits scfile=/scratch/kocevski/535047/ft2_4FGL_J0118.7-0848_daily_bin1118.fits outfile=/scratch/kocevski/535047/cmap_529113601_529372801_4FGL_J0118.7-0848_daily_bin1118.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 5.43
user 0.37
sys 5.03

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/535047/ft1_filtered_4FGL_J0118.7-0848_daily_bin1118.fits scfile=/scratch/kocevski/535047/ft2_4FGL_J0118.7-0848_daily_bin1118.fits outfile=/scratch/kocevski/535047/cmap_HighResolution_529113601_529372801_4FGL_J0118.7-0848_daily_bin1118.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 5.12
user 0.38
sys 4.57

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/535047/ft1_filtered_4FGL_J0118.7-0848_daily_bin1118.fits evtable="EVENTS" scfile=/scratch/kocevski/535047/ft2_4FGL_J0118.7-0848_daily_bin1118.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/535047/Model_4FGL_J0118.7-0848_daily_bin1118.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/535047/ft1_filtered_4FGL_J0118.7-0848_daily_bin1118.fits.....................!
real 66.63
user 58.80
sys 7.63

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32099       1.0000         .10000E-03   10000.    
     2 'norm      '    6.3574       1.0000         .10000E-03   10000.    
     3 'norm      '    .11071E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.3160       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.677       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.103       1.0000         .10000E-03   10000.    
     7 'norm      '    4.9193       1.0000         .10000E-03   10000.    
     8 'Prefactor '    42.740       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10727E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.4463       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.7600       1.0000         .10000E-03   10000.    
    14 'norm      '    1.1437       1.0000         .10000E-03   10000.    
    15 'norm      '    11.628       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .97746       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .77088       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=   6077.430     FROM MIGRAD    STATUS=CONVERGED    375 CALLS     1762 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35286        5.8468        .51398E-05   -.66161E-03
   2  norm          6.3574        3.5373       -.42453E-06   -.58962E-03
   3  norm          .10002E-03    3.9489       -.11671E-05** at limit **
   4  Prefactor     3.3008        34.667        .43627E-05    .88862E-05
   5  Prefactor     30.678        29.153       -.69819E-06   -.10284E-03
   6  Prefactor     12.044        29.667       -.16977E-05   -.19380E-03
   7  norm          4.9195        1.6319        .60264E-07   -.22776E-03
   8  Prefactor     42.751        39.063       -.68502E-06   -.98499E-04
   9  Prefactor     .10000E-03    6.9412        .82455E-06** at limit **
  10  Prefactor     1.4464        2.8063        .23952E-06    .13249E-03
  11  Prefactor     .10000E-03    37.640       -.15040E-05** at limit **
  12  Prefactor     .10000E-03    5.0628        .37689E-06** at limit **
  13  norm          7.7601        20.085       -.78472E-06    .52398E-04
  14  norm          1.1438        .75309        .75962E-07    .72859E-04
  15  norm          11.628        5.6138        .23074E-06   -.24329E-04
  16  Prefactor     .10000E-03    25.191        .12364E-05** at limit **
  17  Normalizat    .97743        .15098       -.13909E-05   -.57548E-03
  18  Prefactor     .77082        .14558       -.15544E-05   -.42793E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.352863
  norm       = 6.35737
  norm       = 0.000100018
  Prefactor  = 3.30077
  Prefactor  = 30.6778
  Prefactor  = 12.0438
  norm       = 4.9195
  Prefactor  = 42.7515
  Prefactor  = 0.000100001
  Prefactor  = 1.44635
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.76008
  norm       = 1.14376
  norm       = 11.6281
  Prefactor  = 0.0001
  Normalizat = 0.977428
  Prefactor  = 0.770824
 **********
 **   18 **HESSE 
 **********

 FCN=   6077.430     FROM HESSE     STATUS=OK           246 CALLS     2008 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35286        6.6569        .18306E-02   -1.5589    
   2  norm          6.3574        3.5388        .10330E-03   -1.5204    
   3  norm          .10002E-03    7.4879        .27469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3008        35.178        .22230E-03   -1.5345    
   5  Prefactor     30.678        29.162        .72340E-04   -1.4600    
   6  Prefactor     12.044        30.063        .11515E-03   -1.5014    
   7  norm          4.9195        1.6312        .55293E-04   -1.5264    
   8  Prefactor     42.751        38.959        .61320E-04   -1.4399    
   9  Prefactor     .10000E-03    7.1798        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.4464        2.7783        .17278E-03   -1.5467    
  11  Prefactor     .10000E-03    37.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.1295        .17152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.7601        20.024        .71974E-03   -1.5151    
  14  norm          1.1438        .75185        .53145E-04   -1.5494    
  15  norm          11.628        5.6104        .11748E-03   -1.5026    
  16  Prefactor     .10000E-03    25.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .97743        .17266        .22188E-03   -.93791    
  18  Prefactor     .77082        .16424        .23988E-03   -1.0081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33396e-09
Minuit parameter uncertainties:
  1  3.06522
  2  3.53893
  3  0.000729869
  4  21.567
  5  29.1759
  6  30.1011
  7  1.63121
  8  38.9825
  9  0.000142431
  10  2.7785
  11  0.000229922
  12  5.2276e-05
  13  20.0417
  14  0.751858
  15  5.61063
  16  6.98129e-05
  17  0.172759
  18  0.164349
Done.

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

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  1.000e-04  2.299e-04  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:  7.708e-01  1.643e-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.774e-01  1.728e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 19.688 -8.808
Photon Flux Upper Limit: 7.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/535047/likelihoodResults_529113601_529372801_4FGL_J0118.7-0848_daily_bin1118.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) = 6077.43052561
delta logL = -0.000126551922222

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6077.43039916
delta logL = -1.03257661976e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5643       1.0000          .0000       10.000    
     3 'Normalizat'    .97746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77083       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=   6077.430     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      196 TOTAL
                     EDM=   .80E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    71.635        .90712E-02** at limit **
   2  Index         2.5627        6.1453        .50000        .35070E-06
   3  Normalizat    .97743        .14499        .45884E-01    .18579E-04
   4  Prefactor     .77082        .14149        .43336E-01    .22303E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.56268
  Normalizat = 0.977429
  Prefactor  = 0.770824
 **********
 **   18 **HESSE 
 **********

 FCN=   6077.430     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5627        6.2808        .50000       -.50918    
   3  Normalizat    .97743        .16471        .22188E-03   -.93790    
   4  Prefactor     .77082        .16073        .23988E-03   -1.0081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8213e-12
Minuit parameter uncertainties:
  1  0.000135932
  2  4.5476
  3  0.164798
  4  0.160828
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/535047': 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) = 6077.43039905
delta logL = 3.29782778863e-09

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  1.000e-04  1.359e-04  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  2.563e+00  4.548e+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:  7.708e-01  1.608e-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.774e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/535047/cmap_HighResolution_529113601_529372801_4FGL_J0118.7-0848_daily_bin1118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.66e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2021-08-13 22:54:35.238620', job_id='535047', GAL2='0.77', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1628920475.24', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='3.30e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1118' AND source_name='4FGL J0118.7-0848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 22:54:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 535047: <4FGL_J0118.7-0848_daily_bin1118> in cluster <slac> Done

Job <4FGL_J0118.7-0848_daily_bin1118> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 13 22:40:47 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 22:42:02 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:42:02 2021
Terminated at Fri Aug 13 22:54:36 2021
Results reported at Fri Aug 13 22:54:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0118.7-0848_daily_bin1118 19.6884 -8.808 529113601 529372801 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 :                                   728.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             326.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            829 sec.

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

