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


Performing analysis on: 4FGL_J0118.7-0848_daily_bin952
RA = 19.6884, Dec = -8.808
tmin = 486086401, tmax = 486345601
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='534776', job_status='RUN', time_executed='2021-08-13 22:42:56.836047', time_epoch_executed='1628919776.84' WHERE source_name='4FGL J0118.7-0848' and cadence='daily' and bin_id='952'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534776

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534776/ft1_4FGL_J0118.7-0848_daily_bin952.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534776/ft2_4FGL_J0118.7-0848_daily_bin952.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534776/ft1_4FGL_J0118.7-0848_daily_bin952.fits outfile=/scratch/kocevski/534776/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin952.fits ra=19.6884 dec=-8.808 rad=12.0 tmin=486086401.0 tmax=486345601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.64
user 3.54
sys 1.05

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/534776/ft2_4FGL_J0118.7-0848_daily_bin952.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/534776/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin952.fits evtable="EVENTS" outfile="/scratch/kocevski/534776/ft1_filtered_4FGL_J0118.7-0848_daily_bin952.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 1.29
user 0.32
sys 0.95

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/534776/ft1_filtered_4FGL_J0118.7-0848_daily_bin952.fits" evtable="EVENTS" scfile=/scratch/kocevski/534776/ft2_4FGL_J0118.7-0848_daily_bin952.fits sctable="SC_DATA" outfile=/scratch/kocevski/534776/ltcube_486086401_486345601_4FGL_J0118.7-0848_daily_bin952.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/534776/ft2_4FGL_J0118.7-0848_daily_bin952.fits
.....................!
real 13.42
user 12.08
sys 1.23

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534776/ft1_filtered_4FGL_J0118.7-0848_daily_bin952.fits evtable="EVENTS" scfile=/scratch/kocevski/534776/ft2_4FGL_J0118.7-0848_daily_bin952.fits sctable="SC_DATA" expcube=/scratch/kocevski/534776/ltcube_486086401_486345601_4FGL_J0118.7-0848_daily_bin952.fits outfile=/scratch/kocevski/534776/expmap_486086401_486345601_4FGL_J0118.7-0848_daily_bin952.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/534776/ltcube_486086401_486345601_4FGL_J0118.7-0848_daily_bin952.fits
.....................!
real 192.51
user 185.37
sys 5.88

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/534776/ft1_filtered_4FGL_J0118.7-0848_daily_bin952.fits scfile=/scratch/kocevski/534776/ft2_4FGL_J0118.7-0848_daily_bin952.fits outfile=/scratch/kocevski/534776/cmap_486086401_486345601_4FGL_J0118.7-0848_daily_bin952.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 1.37
user 0.37
sys 0.96

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534776/ft1_filtered_4FGL_J0118.7-0848_daily_bin952.fits scfile=/scratch/kocevski/534776/ft2_4FGL_J0118.7-0848_daily_bin952.fits outfile=/scratch/kocevski/534776/cmap_HighResolution_486086401_486345601_4FGL_J0118.7-0848_daily_bin952.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 1.34
user 0.39
sys 0.91

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/534776/ft1_filtered_4FGL_J0118.7-0848_daily_bin952.fits evtable="EVENTS" scfile=/scratch/kocevski/534776/ft2_4FGL_J0118.7-0848_daily_bin952.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/534776/Model_4FGL_J0118.7-0848_daily_bin952.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/534776/ft1_filtered_4FGL_J0118.7-0848_daily_bin952.fits.....................!
real 57.08
user 54.43
sys 2.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7934       1.0000         .10000E-03   10000.    
     2 'norm      '    6.1386       1.0000         .10000E-03   10000.    
     3 'norm      '    1.4416       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10441E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.064       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.807       1.0000         .10000E-03   10000.    
     7 'norm      '    33.777       1.0000         .10000E-03   10000.    
     8 'Prefactor '    46.617       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.502       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.923       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .63331E-01   1.0000         .10000E-03   10000.    
    15 'norm      '    1.0258       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .82372       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0741       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=   5086.676     FROM MIGRAD    STATUS=CONVERGED    363 CALLS     1733 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7933        2.5075        .78070E-02    .60732E-03
   2  norm          6.1384        4.2382        .40510E-02   -.21634E-02
   3  norm          1.4414        4.0992        .89812E-02    .85538E-03
   4  Prefactor     .10000E-03    37.403        .90712E-02** at limit **
   5  Prefactor     33.067        31.147        .17422E-02   -.12553E-02
   6  Prefactor     18.806        21.386        .23089E-02   -.33014E-04
   7  norm          33.777        4.0227        .17238E-02   -.97904E-03
   8  Prefactor     46.617        46.935        .14681E-02   -.12062E-03
   9  Prefactor     12.503        9.0957        .28322E-02   -.15405E-02
  10  Prefactor     .10000E-03    1.4574        .90712E-02** at limit **
  11  Prefactor     32.923        43.782        .17459E-02    .76350E-04
  12  Prefactor     .10000E-03    6.6321        .90712E-02** at limit **
  13  norm          .10000E-03    9.4617        .90712E-02** at limit **
  14  norm          .64068E-01    .82121        .34174E-01    .15680E-02
  15  norm          1.0262        5.8401        .12629E-01    .12604E-02
  16  Prefactor     .10000E-03    93.382        .90712E-02** at limit **
  17  Normalizat    .82351        .19641        .66385E-01   -.43968E-03
  18  Prefactor     1.0742        .18967        .56864E-01   -.50717E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.79331
  norm       = 6.13837
  norm       = 1.44141
  Prefactor  = 0.0001
  Prefactor  = 33.0669
  Prefactor  = 18.8062
  norm       = 33.777
  Prefactor  = 46.6168
  Prefactor  = 12.5026
  Prefactor  = 0.0001
  Prefactor  = 32.9228
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0640676
  norm       = 1.02618
  Prefactor  = 0.0001
  Normalizat = 0.823513
  Prefactor  = 1.07421
 **********
 **   18 **HESSE 
 **********

 FCN=   5086.676     FROM HESSE     STATUS=OK           238 CALLS     1971 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7933        2.4857        .12791E-03   -1.5440    
   2  norm          6.1384        4.2369        .11667E-03   -1.5212    
   3  norm          1.4414        4.0546        .23280E-03   -1.5468    
   4  Prefactor     .10000E-03    37.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.067        31.152        .69687E-04   -1.4557    
   6  Prefactor     18.806        21.372        .92357E-04   -1.4840    
   7  norm          33.777        4.0213        .47076E-04   -1.4545    
   8  Prefactor     46.617        46.933        .58726E-04   -1.4341    
   9  Prefactor     12.503        9.0867        .11329E-03   -1.5001    
  10  Prefactor     .10000E-03    1.4653        .84053E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     32.923        43.838        .69835E-04   -1.4560    
  12  Prefactor     .10000E-03    6.6637        .17931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    9.4672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .64068E-01    4.2978        .12301E-02   -1.5657    
  15  norm          1.0262        5.7472        .32974E-03   -1.5505    
  16  Prefactor     .10000E-03    93.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .82351        .22887        .29369E-03   -.99202    
  18  Prefactor     1.0742        .22392        .25143E-03   -.90295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.92827e-09
Minuit parameter uncertainties:
  1  2.48588
  2  4.23714
  3  4.0554
  4  8.29561e-05
  5  31.1671
  6  21.3809
  7  4.02131
  8  46.9703
  9  9.08768
  10  3.42021e-05
  11  43.8811
  12  7.35503e-06
  13  7.75554e-05
  14  1.04873
  15  4.85749
  16  0.00027471
  17  0.22914
  18  0.224112
Done.

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

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  3.292e+01  4.388e+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.074e+00  2.241e-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:  8.235e-01  2.291e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.74
Ra Dec: 19.688 -8.808
Photon Flux Upper Limit: 1.40e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/534776/likelihoodResults_486086401_486345601_4FGL_J0118.7-0848_daily_bin952.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) = 5086.14362199
delta logL = 0.532223425975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5086.1248711
delta logL = 0.550974314893

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5086.125     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      319 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.678        35.074        .11257E-03    .18178E-05
   2  Index         3.7402        1.6975        .58965E-02    .15272E-04
   3  Normalizat    .78636        .22919        .29957E-03   -.18368E-04
   4  Prefactor     1.0934        .21908        .24926E-03    .36899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6778
  Index      = 3.74023
  Normalizat = 0.786357
  Prefactor  = 1.09337
 **********
 **   18 **HESSE 
 **********

 FCN=   5086.125     FROM HESSE     STATUS=OK            25 CALLS      344 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.678        24.813        .45028E-05   -1.4996    
   2  Index         3.7402        1.2119        .23586E-03   -.25470    
   3  Normalizat    .78636        .22915        .11983E-04   -1.0058    
   4  Prefactor     1.0934        .21882        .99702E-05   -.89679    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64939e-11
Minuit parameter uncertainties:
  1  24.8335
  2  1.22496
  3  0.229429
  4  0.219001
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534776': 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) = 5086.12487081
delta logL = 0.550974603067

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  1.268e+01  2.483e+01  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  3.740e+00  1.225e+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.093e+00  2.190e-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.864e-01  2.294e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.87
Ra Dec: 19.688 -8.808
Photon Index (Free Index): 3.74 +/- 1.22
Photon Flux (Free Index): 7.38e-08 +/- 6.59e-08
Energy Flux (Free Index): 1.16e-05 +/- 1.01e-05

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/534776/cmap_HighResolution_486086401_486345601_4FGL_J0118.7-0848_daily_bin952.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', energy_flux2='1.16e-05', dlogl='5.51e-01', photon_flux2='7.38e-08', job_status='DONE', time_completed='2021-08-13 22:52:12.208133', photon_index_error2='1.22', photon_index2='3.74', ts='0.74', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.40e-07', energy_flux_error2='1.01e-05', EG='0.82', time_epoch_completed='1628920332.21', return_code='0', job_id='534776', GAL2='1.09', EG2='0.79', return_code2='0', photon_flux_error2='6.59e-08', ts2='1.87', photon_index='2.60' WHERE bin_id='952' AND source_name='4FGL J0118.7-0848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 22:52:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 534776: <4FGL_J0118.7-0848_daily_bin952> in cluster <slac> Done

Job <4FGL_J0118.7-0848_daily_bin952> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 13 22:40:26 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 22:40:35 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:40:35 2021
Terminated at Fri Aug 13 22:52:13 2021
Results reported at Fri Aug 13 22:52:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0118.7-0848_daily_bin952 19.6884 -8.808 486086401 486345601 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 :                                   564.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             274.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            707 sec.

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

