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


Performing analysis on: 4FGL_J1018.1+1905_daily_bin751
RA = 154.548, Dec = 19.0963
tmin = 433987201, tmax = 434246401
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='790655', job_status='RUN', time_executed='2021-09-01 16:46:47.746088', time_epoch_executed='1630540007.75' WHERE source_name='4FGL J1018.1+1905' and cadence='daily' and bin_id='751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790655

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790655/ft1_4FGL_J1018.1+1905_daily_bin751.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790655/ft2_4FGL_J1018.1+1905_daily_bin751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790655/ft1_4FGL_J1018.1+1905_daily_bin751.fits outfile=/scratch/kocevski/790655/ft1_filteredMKT_4FGL_J1018.1+1905_daily_bin751.fits ra=154.548 dec=19.0963 rad=12.0 tmin=433987201.0 tmax=434246401.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 6.32
user 5.90
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/790655/ft2_4FGL_J1018.1+1905_daily_bin751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/790655/ft2_4FGL_J1018.1+1905_daily_bin751.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/790655/ft1_filteredMKT_4FGL_J1018.1+1905_daily_bin751.fits evtable="EVENTS" outfile="/scratch/kocevski/790655/ft1_filtered_4FGL_J1018.1+1905_daily_bin751.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 0.73
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/790655/ft1_filtered_4FGL_J1018.1+1905_daily_bin751.fits" evtable="EVENTS" scfile=/scratch/kocevski/790655/ft2_4FGL_J1018.1+1905_daily_bin751.fits sctable="SC_DATA" outfile=/scratch/kocevski/790655/ltcube_433987201_434246401_4FGL_J1018.1+1905_daily_bin751.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/790655/ft2_4FGL_J1018.1+1905_daily_bin751.fits
.....................!
real 14.50
user 13.72
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790655/ft1_filtered_4FGL_J1018.1+1905_daily_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/790655/ft2_4FGL_J1018.1+1905_daily_bin751.fits sctable="SC_DATA" expcube=/scratch/kocevski/790655/ltcube_433987201_434246401_4FGL_J1018.1+1905_daily_bin751.fits outfile=/scratch/kocevski/790655/expmap_433987201_434246401_4FGL_J1018.1+1905_daily_bin751.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/790655/ltcube_433987201_434246401_4FGL_J1018.1+1905_daily_bin751.fits
.....................!
real 192.87
user 186.52
sys 4.77

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/790655/ft1_filtered_4FGL_J1018.1+1905_daily_bin751.fits scfile=/scratch/kocevski/790655/ft2_4FGL_J1018.1+1905_daily_bin751.fits outfile=/scratch/kocevski/790655/cmap_433987201_434246401_4FGL_J1018.1+1905_daily_bin751.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=154.548 yref=19.0963 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 0.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790655/ft1_filtered_4FGL_J1018.1+1905_daily_bin751.fits scfile=/scratch/kocevski/790655/ft2_4FGL_J1018.1+1905_daily_bin751.fits outfile=/scratch/kocevski/790655/cmap_HighResolution_433987201_434246401_4FGL_J1018.1+1905_daily_bin751.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=154.548 yref=19.0963 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 0.59
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/790655/ft1_filtered_4FGL_J1018.1+1905_daily_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/790655/ft2_4FGL_J1018.1+1905_daily_bin751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/790655/Model_4FGL_J1018.1+1905_daily_bin751.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/790655/ft1_filtered_4FGL_J1018.1+1905_daily_bin751.fits......................!
real 36.02
user 34.65
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/790655/ft1_filtered_4FGL_J1018.1+1905_daily_bin751.fits', '/scratch/kocevski/790655/ft2_4FGL_J1018.1+1905_daily_bin751.fits', expMap='/scratch/kocevski/790655/expmap_433987201_434246401_4FGL_J1018.1+1905_daily_bin751.fits', expCube='/scratch/kocevski/790655/ltcube_433987201_434246401_4FGL_J1018.1+1905_daily_bin751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/790655/Model_4FGL_J1018.1+1905_daily_bin751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/790655/ft1_filtered_4FGL_J1018.1+1905_daily_bin751.fits
Spacecraft file(s): /scratch/kocevski/790655/ft2_4FGL_J1018.1+1905_daily_bin751.fits
Exposure map: /scratch/kocevski/790655/expmap_433987201_434246401_4FGL_J1018.1+1905_daily_bin751.fits
Exposure cube: /scratch/kocevski/790655/ltcube_433987201_434246401_4FGL_J1018.1+1905_daily_bin751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/790655/Model_4FGL_J1018.1+1905_daily_bin751.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) = 3220.25559903

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.684       1.0000         .10000E-03   10000.    
     2 'norm      '    2.9297       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .97202E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8387       1.0000         .10000E-03   10000.    
     7 'norm      '    11.933       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8637       1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.760       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.6121       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2773       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.626       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .96673       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .86796       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3220.239     FROM MIGRAD    STATUS=CONVERGED    324 CALLS     1617 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.703        40.669       -.21708E-05   -.19589E-03
   2  norm          2.9298        1.8984        .14628E-06   -.31870E-03
   3  Prefactor     .10000E-03    39.753        .18632E-06** at limit **
   4  Prefactor     .10000E-03    25.345        .21642E-06** at limit **
   5  Prefactor     .10000E-03    4.6361        .11688E-05** at limit **
   6  Prefactor     1.8388        1.7583        .23422E-07   -.41691E-03
   7  norm          11.932        11.866        .14425E-06   -.50492E-03
   8  Prefactor     1.8182        594.89        .42894E-05   -.74652E-04
   9  Prefactor     31.728        61.485        .52419E-05   -.88468E-04
  10  Prefactor     1.6126        11.277        .64020E-06   -.10899E-03
  11  Prefactor     .10000E-03    .72801        .11715E-06** at limit **
  12  Prefactor     1.2775        16.415        .21721E-04   -.19215E-03
  13  Prefactor     16.628        12.294        .32249E-06    .52687E-04
  14  Prefactor     .10000E-03    6.6402        .24812E-07** at limit **
  15  Prefactor     .10000E-03    8.8142        .24698E-07** at limit **
  16  Normalizat    .96651        .22794       -.53207E-05   -.87759E-03
  17  Prefactor     .86819        .21129       -.36188E-07   -.74712E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.7026
  norm       = 2.92979
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 1.83881
  norm       = 11.9319
  Prefactor  = 1.81819
  Prefactor  = 31.7277
  Prefactor  = 1.61264
  Prefactor  = 0.0001
  Prefactor  = 1.27752
  Prefactor  = 16.6283
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.966512
  Prefactor  = 0.868189
 **********
 **   18 **HESSE 
 **********

 FCN=   3220.239     FROM HESSE     STATUS=OK           221 CALLS     1838 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.703        40.818        .84100E-04   -1.4755    
   2  norm          2.9298        1.8983        .60673E-04   -1.5366    
   3  Prefactor     .10000E-03    39.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    25.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    53.168        .22971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.8388        1.7691        .71556E-04   -1.5437    
   7  norm          11.932        11.844        .11597E-03   -1.5017    
   8  Prefactor     1.8182        617.70        .30520E-03   -1.5438    
   9  Prefactor     31.728        61.717        .71099E-04   -1.4581    
  10  Prefactor     1.6126        11.198        .33357E-03   -1.5454    
  11  Prefactor     .10000E-03    .72917        .47273E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.2775        16.446        .19651E-02   -1.5482    
  13  Prefactor     16.628        12.291        .98227E-04   -1.4892    
  14  Prefactor     .10000E-03    6.6498        .14273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.8236        .16449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .96651        .26829        .22137E-03   -.94161    
  17  Prefactor     .86819        .25066        .23316E-03   -.97262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67814e-09
Minuit parameter uncertainties:
  1  40.8684
  2  1.89836
  3  0.000173014
  4  8.08422e-05
  5  0.000746415
  6  1.76911
  7  11.8468
  8  67.7396
  9  61.8414
  10  8.501
  11  6.81637e-06
  12  9.17018
  13  12.2926
  14  3.38667e-06
  15  5.68693e-06
  16  0.268668
  17  0.250993
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  3.173e+01  6.184e+01  1.000e-04  1.000e+04 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  8.682e-01  2.510e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  9.665e-01  2.687e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.30
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/790655/likelihoodResults_433987201_434246401_4FGL_J1018.1+1905_daily_bin751.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) = 3219.97190846
delta logL = 0.267274182479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3219.9598878
delta logL = 0.279294842142

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.154       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7415       1.0000          .0000       10.000    
     3 'Normalizat'    .93648       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+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=   3219.960     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      301 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.149        59.799        .11044E-03   -.15703E-03
   2  Index         2.7416        1.5948        .44469E-02   -.11824E-03
   3  Normalizat    .93581        .25209        .22446E-03   -.12128E-03
   4  Prefactor     .88274        .25062        .23129E-03   -.20968E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1493
  Index      = 2.74164
  Normalizat = 0.935814
  Prefactor  = 0.882741
 **********
 **   18 **HESSE 
 **********

 FCN=   3219.960     FROM HESSE     STATUS=OK            25 CALLS      326 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.149        34.621        .44176E-05   -1.4983    
   2  Index         2.7416        .99671        .17788E-03   -.46864    
   3  Normalizat    .93581        .25049        .44892E-04   -.95213    
   4  Prefactor     .88274        .24848        .46259E-04   -.96747    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.51713e-10
Minuit parameter uncertainties:
  1  34.6736
  2  1.0052
  3  0.250802
  4  0.2488
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790655': 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) = 3219.95988378
delta logL = 0.279298857574

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  1.315e+01  3.467e+01  1.000e-04  1.000e+04 ( 1.000e-14)
211        Index:  2.742e+00  1.005e+00  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  8.827e-01  2.488e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  9.358e-01  2.508e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
Ra Dec: 154.548 19.096

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/790655/cmap_HighResolution_433987201_434246401_4FGL_J1018.1+1905_daily_bin751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.20e-03', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2021-09-01 16:54:17.782032', job_id='790655', GAL2='0.88', fit_tolerance='1e-08', EG2='0.94', EG='0.97', time_epoch_completed='1630540457.78', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='2.79e-01', ts2='0.87', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='751' AND source_name='4FGL J1018.1+1905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 16:54:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 790655: <4FGL_J1018.1+1905_daily_bin751> in cluster <slac> Done

Job <4FGL_J1018.1+1905_daily_bin751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep  1 16:45:20 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 16:46:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 16:46:31 2021
Terminated at Wed Sep  1 16:54:18 2021
Results reported at Wed Sep  1 16:54:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.1+1905_daily_bin751 154.548 19.0963 433987201 434246401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1018.1+1905 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   445.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   467 sec.
    Turnaround time :                            538 sec.

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

