/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 107 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 = 7415
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0118.7-0848_daily_bin173
RA = 19.6884, Dec = -8.808
tmin = 284169601, tmax = 284428801
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='530580', job_status='RUN', time_executed='2021-08-13 22:31:23.261018', time_epoch_executed='1628919083.26' WHERE source_name='4FGL J0118.7-0848' and cadence='daily' and bin_id='173'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530580

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530580/ft1_4FGL_J0118.7-0848_daily_bin173.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530580/ft2_4FGL_J0118.7-0848_daily_bin173.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530580/ft1_4FGL_J0118.7-0848_daily_bin173.fits outfile=/scratch/kocevski/530580/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin173.fits ra=19.6884 dec=-8.808 rad=12.0 tmin=284169601.0 tmax=284428801.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 7.49
user 3.32
sys 4.04

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/530580/ft1_filtered_4FGL_J0118.7-0848_daily_bin173.fits" evtable="EVENTS" scfile=/scratch/kocevski/530580/ft2_4FGL_J0118.7-0848_daily_bin173.fits sctable="SC_DATA" outfile=/scratch/kocevski/530580/ltcube_284169601_284428801_4FGL_J0118.7-0848_daily_bin173.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/530580/ft2_4FGL_J0118.7-0848_daily_bin173.fits
.....................!
real 16.42
user 11.49
sys 4.66

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530580/ft1_filtered_4FGL_J0118.7-0848_daily_bin173.fits evtable="EVENTS" scfile=/scratch/kocevski/530580/ft2_4FGL_J0118.7-0848_daily_bin173.fits sctable="SC_DATA" expcube=/scratch/kocevski/530580/ltcube_284169601_284428801_4FGL_J0118.7-0848_daily_bin173.fits outfile=/scratch/kocevski/530580/expmap_284169601_284428801_4FGL_J0118.7-0848_daily_bin173.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/530580/ltcube_284169601_284428801_4FGL_J0118.7-0848_daily_bin173.fits
.....................!
real 198.41
user 185.63
sys 10.50

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/530580/ft1_filtered_4FGL_J0118.7-0848_daily_bin173.fits scfile=/scratch/kocevski/530580/ft2_4FGL_J0118.7-0848_daily_bin173.fits outfile=/scratch/kocevski/530580/cmap_284169601_284428801_4FGL_J0118.7-0848_daily_bin173.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.31
user 0.35
sys 3.90

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530580/ft1_filtered_4FGL_J0118.7-0848_daily_bin173.fits scfile=/scratch/kocevski/530580/ft2_4FGL_J0118.7-0848_daily_bin173.fits outfile=/scratch/kocevski/530580/cmap_HighResolution_284169601_284428801_4FGL_J0118.7-0848_daily_bin173.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.43
user 0.38
sys 4.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/530580/ft1_filtered_4FGL_J0118.7-0848_daily_bin173.fits evtable="EVENTS" scfile=/scratch/kocevski/530580/ft2_4FGL_J0118.7-0848_daily_bin173.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/530580/Model_4FGL_J0118.7-0848_daily_bin173.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/530580/ft1_filtered_4FGL_J0118.7-0848_daily_bin173.fits.....................!
real 51.96
user 45.15
sys 6.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10402E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.9433       1.0000         .10000E-03   10000.    
     3 'norm      '    8.6991       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13626E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    74.354       1.0000         .10000E-03   10000.    
     7 'norm      '    8.5801       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.5237       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.092       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10199E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    24.931       1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.4563       1.0000         .10000E-03   10000.    
    16 'Prefactor '    62.114       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .92098       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .70949       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4291.996     FROM MIGRAD    STATUS=CONVERGED    115 CALLS     1537 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3712       -.17266E-05** at limit **
   2  norm          2.9438        2.6584       -.11612E-06    .59666E-05
   3  norm          8.6999        6.5539        .11099E-04    .86887E-04
   4  Prefactor     .10000E-03    56.047        .49539E-06** at limit **
   5  Prefactor     .10000E-03    14.995        .68096E-06** at limit **
   6  Prefactor     74.340        4.5217        .69391E-06   -.36098E-02
   7  norm          8.5794        2.3015       -.68837E-06   -.19839E-04
   8  Prefactor     .10000E-03    21.241        .85752E-06** at limit **
   9  Prefactor     2.5219        6.5266        .26517E-04    .14282E-04
  10  Prefactor     11.090        5.4193        .15881E-05    .13933E-04
  11  Prefactor     .10000E-03    17.194       -.28359E-05** at limit **
  12  Prefactor     .10000E-03    6.4764        .12871E-05** at limit **
  13  norm          24.915        24.445        .21501E-04    .19840E-03
  14  norm          .10000E-03    .36165       -.83778E-06** at limit **
  15  norm          7.4553        5.2337       -.27406E-06   -.93195E-05
  16  Prefactor     61.844        77.143       -.19299E-04    .15581E-03
  17  Normalizat    .92148        .21634       -.88026E-05   -.14760E-04
  18  Prefactor     .70913        .19758       -.36638E-05   -.11502E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.9438
  norm       = 8.6999
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 74.3399
  norm       = 8.5794
  Prefactor  = 0.0001
  Prefactor  = 2.52191
  Prefactor  = 11.0901
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.9145
  norm       = 0.0001
  norm       = 7.4553
  Prefactor  = 61.8444
  Normalizat = 0.921484
  Prefactor  = 0.70913
 **********
 **   18 **HESSE 
 **********

 FCN=   4291.996     FROM HESSE     STATUS=OK           280 CALLS     1817 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3313        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9438        2.6575        .59185E-02   -1.5365    
   3  norm          8.6999        6.6295        .33976E-02   -1.5118    
   4  Prefactor     .10000E-03    54.971        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.987        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     74.340        36.089        .11641E-02   -1.3981    
   7  norm          8.5794        2.3052        .34212E-02   -1.5122    
   8  Prefactor     .10000E-03    21.212        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.5219        6.5649        .64286E-02   -1.5390    
  10  Prefactor     11.090        5.4045        .30073E-02   -1.5042    
  11  Prefactor     .10000E-03    17.182        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.4211        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          24.915        24.466        .20057E-02   -1.4709    
  14  norm          .10000E-03    .35753        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.4553        5.2356        .36718E-02   -1.5162    
  16  Prefactor     61.844        77.364        .12728E-02   -1.4134    
  17  Normalizat    .92148        .18979        .45169E-01   -.95709    
  18  Prefactor     .70913        .17394        .42527E-01   -1.0317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45724e-08
Minuit parameter uncertainties:
  1  1.33449e-06
  2  2.6576
  3  6.63001
  4  1.49752e-05
  5  4.77879e-06
  6  36.1001
  7  2.30519
  8  9.24777e-07
  9  6.56672
  10  5.40471
  11  1.07431e-06
  12  3.61756e-06
  13  24.4758
  14  3.66568e-07
  15  5.23591
  16  77.4897
  17  0.189926
  18  0.174071
Done.

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

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  1.000e-04  1.074e-06  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.091e-01  1.741e-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.215e-01  1.899e-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.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/530580/likelihoodResults_284169601_284428801_4FGL_J0118.7-0848_daily_bin173.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4291.99645079
delta logL = -0.000276949807812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4291.9961764
delta logL = -2.56394923781e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.2557       1.0000          .0000       10.000    
     3 'Normalizat'    .92148       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70913       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=   4291.996     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      281 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    77.679        .18142E-01** at limit **
   2  Index         2.1160        5.7962        .50000        .41223E-06
   3  Normalizat    .92149        .92823E-02    .23756E-03    .42088E-02
   4  Prefactor     .70914        .86591E-02    .24837E-03    .40329E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Index      = 2.11595
  Normalizat = 0.921493
  Prefactor  = 0.709138
 **********
 **   18 **HESSE 
 **********

 FCN=   4291.996     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      310 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    485.39        .29122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1160        7.0201        .50000       -.61482    
   3  Normalizat    .92149        .23850E-01    .47512E-04   -.95709    
   4  Prefactor     .70914        .22248E-01    .49673E-04   -1.0317    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.41721e-09
Minuit parameter uncertainties:
  1  0.00358832
  2  1305.35
  3  0.0238498
  4  0.0222486
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530580': 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): 102
logL (Free Index) = 4291.99617335
delta logL = 4.84032170789e-07

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  1.000e-04  3.588e-03  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  2.116e+00  1.305e+03  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.091e-01  2.225e-02  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.215e-01  2.385e-02  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/530580/cmap_HighResolution_284169601_284428801_4FGL_J0118.7-0848_daily_bin173.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-03', job_status='DONE', photon_flux_upper_limit='7.89e-08', time_completed='2021-08-13 22:40:32.114184', job_id='530580', GAL2='0.71', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1628919632.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='4.84e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='173' AND source_name='4FGL J0118.7-0848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 22:40:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 530580: <4FGL_J0118.7-0848_daily_bin173> in cluster <slac> Done

Job <4FGL_J0118.7-0848_daily_bin173> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 22:25:31 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 22:28:24 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:28:24 2021
Terminated at Fri Aug 13 22:40:33 2021
Results reported at Fri Aug 13 22:40:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0118.7-0848_daily_bin173 19.6884 -8.808 284169601 284428801 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 :                                   601.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            902 sec.

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

