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


Performing analysis on: 4FGL_J1018.4+0528_daily_bin994
RA = 154.617, Dec = 5.4702
tmin = 496972801, tmax = 497232001
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='806606', job_status='RUN', time_executed='2021-09-01 17:40:00.382656', time_epoch_executed='1630543200.38' WHERE source_name='4FGL J1018.4+0528' and cadence='daily' and bin_id='994'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/806606

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/806606/ft1_4FGL_J1018.4+0528_daily_bin994.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/806606/ft2_4FGL_J1018.4+0528_daily_bin994.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/806606/ft1_4FGL_J1018.4+0528_daily_bin994.fits outfile=/scratch/kocevski/806606/ft1_filteredMKT_4FGL_J1018.4+0528_daily_bin994.fits ra=154.617 dec=5.4702 rad=12.0 tmin=496972801.0 tmax=497232001.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 5.37
user 5.08
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/806606/ft2_4FGL_J1018.4+0528_daily_bin994.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/806606/ft2_4FGL_J1018.4+0528_daily_bin994.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/806606/ft1_filteredMKT_4FGL_J1018.4+0528_daily_bin994.fits evtable="EVENTS" outfile="/scratch/kocevski/806606/ft1_filtered_4FGL_J1018.4+0528_daily_bin994.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.51
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/806606/ft1_filtered_4FGL_J1018.4+0528_daily_bin994.fits" evtable="EVENTS" scfile=/scratch/kocevski/806606/ft2_4FGL_J1018.4+0528_daily_bin994.fits sctable="SC_DATA" outfile=/scratch/kocevski/806606/ltcube_496972801_497232001_4FGL_J1018.4+0528_daily_bin994.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/806606/ft2_4FGL_J1018.4+0528_daily_bin994.fits
.....................!
real 18.26
user 17.81
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/806606/ft1_filtered_4FGL_J1018.4+0528_daily_bin994.fits evtable="EVENTS" scfile=/scratch/kocevski/806606/ft2_4FGL_J1018.4+0528_daily_bin994.fits sctable="SC_DATA" expcube=/scratch/kocevski/806606/ltcube_496972801_497232001_4FGL_J1018.4+0528_daily_bin994.fits outfile=/scratch/kocevski/806606/expmap_496972801_497232001_4FGL_J1018.4+0528_daily_bin994.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/806606/ltcube_496972801_497232001_4FGL_J1018.4+0528_daily_bin994.fits
.....................!
real 193.71
user 187.42
sys 5.62

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

Setting source of interest to:
4FGL J1018.4+0528 @ 154.617 5.4702

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/806606/ft1_filtered_4FGL_J1018.4+0528_daily_bin994.fits scfile=/scratch/kocevski/806606/ft2_4FGL_J1018.4+0528_daily_bin994.fits outfile=/scratch/kocevski/806606/cmap_496972801_497232001_4FGL_J1018.4+0528_daily_bin994.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.617 yref=5.4702 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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/806606/ft1_filtered_4FGL_J1018.4+0528_daily_bin994.fits scfile=/scratch/kocevski/806606/ft2_4FGL_J1018.4+0528_daily_bin994.fits outfile=/scratch/kocevski/806606/cmap_HighResolution_496972801_497232001_4FGL_J1018.4+0528_daily_bin994.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.617 yref=5.4702 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.60
user 0.40
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/806606/ft1_filtered_4FGL_J1018.4+0528_daily_bin994.fits evtable="EVENTS" scfile=/scratch/kocevski/806606/ft2_4FGL_J1018.4+0528_daily_bin994.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/806606/Model_4FGL_J1018.4+0528_daily_bin994.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/806606/ft1_filtered_4FGL_J1018.4+0528_daily_bin994.fits.....................!
real 48.77
user 47.33
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/806606/ft1_filtered_4FGL_J1018.4+0528_daily_bin994.fits', '/scratch/kocevski/806606/ft2_4FGL_J1018.4+0528_daily_bin994.fits', expMap='/scratch/kocevski/806606/expmap_496972801_497232001_4FGL_J1018.4+0528_daily_bin994.fits', expCube='/scratch/kocevski/806606/ltcube_496972801_497232001_4FGL_J1018.4+0528_daily_bin994.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/806606/Model_4FGL_J1018.4+0528_daily_bin994.xml', optimizer='MINUIT')

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

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  9.961e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
217        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  1.954e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/806606/ft1_filtered_4FGL_J1018.4+0528_daily_bin994.fits
Spacecraft file(s): /scratch/kocevski/806606/ft2_4FGL_J1018.4+0528_daily_bin994.fits
Exposure map: /scratch/kocevski/806606/expmap_496972801_497232001_4FGL_J1018.4+0528_daily_bin994.fits
Exposure cube: /scratch/kocevski/806606/ltcube_496972801_497232001_4FGL_J1018.4+0528_daily_bin994.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/806606/Model_4FGL_J1018.4+0528_daily_bin994.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) = 4608.36184972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.3007       1.0000         .10000E-03   10000.    
     2 'norm      '    .98455       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.094       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.5130       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    78.798       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.9327       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .17698E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.0841       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.8278       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.757       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.3152       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .81989       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1856       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.359     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2027 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.3000        2.2959       -.17383E-06    .98908E-05
   2  norm          .98430        .85479        .63933E-08   -.18001E-03
   3  Prefactor     .10000E-03    7.1692       -.24287E-05** at limit **
   4  Prefactor     16.072        59.448       -.50652E-04   -.35205E-05
   5  Prefactor     .10000E-03    11.763       -.65531E-05** at limit **
   6  norm          9.5124        17.940       -.16574E-05   -.43939E-04
   7  Prefactor     .10000E-03    8.7203        .50249E-05** at limit **
   8  Prefactor     78.805        78.591        .80776E-05   -.28506E-04
   9  Prefactor     .10000E-03    24.590       -.34743E-06** at limit **
  10  Prefactor     .10000E-03    7.2028       -.24615E-05** at limit **
  11  norm          .10000E-03    .88560        .29884E-06** at limit **
  12  Prefactor     9.9299        10.542        .42389E-06   -.11268E-03
  13  Prefactor     .10001E-03    3.6435        .65814E-06** at limit **
  14  Prefactor     7.0808        12.661       -.19693E-05   -.66996E-04
  15  Prefactor     .10000E-03    15.154        .57753E-05** at limit **
  16  norm          2.8276        1.2302        .20113E-07   -.46529E-03
  17  Prefactor     14.753        15.680       -.17416E-05   -.10935E-03
  18  Prefactor     1.2946        43.043       -.23750E-04   -.15371E-03
  19  Normalizat    .82021        .24733        .21747E-05   -.11930E-03
  20  Prefactor     1.1854        .19663        .18912E-05   -.20543E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.29999
  norm       = 0.984303
  Prefactor  = 0.0001
  Prefactor  = 16.072
  Prefactor  = 0.0001
  norm       = 9.51237
  Prefactor  = 0.0001
  Prefactor  = 78.8053
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.9299
  Prefactor  = 0.000100009
  Prefactor  = 7.08083
  Prefactor  = 0.0001
  norm       = 2.82759
  Prefactor  = 14.7527
  Prefactor  = 1.29462
  Normalizat = 0.820205
  Prefactor  = 1.18545
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.359     FROM HESSE     STATUS=OK           297 CALLS     2324 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.3000        2.2975        .54743E-04   -1.5168    
   2  norm          .98430        .82620        .55008E-03   -1.5510    
   3  Prefactor     .10000E-03    7.1783        .17752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.072        59.154        .99836E-04   -1.4906    
   5  Prefactor     .10000E-03    11.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.5124        17.919        .12993E-03   -1.5091    
   7  Prefactor     .10000E-03    8.7522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     78.805        78.932        .45241E-04   -1.3930    
   9  Prefactor     .10000E-03    24.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.2075        .17797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.5094        .12233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.9299        10.470        .12714E-03   -1.5078    
  13  Prefactor     .10001E-03    6.8291        .24550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.0808        12.716        .15072E-03   -1.5176    
  15  Prefactor     .10000E-03    15.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.8276        1.2307        .24184E-04   -1.5372    
  17  Prefactor     14.753        15.678        .10426E-03   -1.4940    
  18  Prefactor     1.2946        45.369        .38411E-03   -1.5480    
  19  Normalizat    .82021        .28779        .31951E-03   -.99324    
  20  Prefactor     1.1854        .23223        .22921E-03   -.86780    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37875e-09
Minuit parameter uncertainties:
  1  2.2975
  2  0.826211
  3  2.39037e-05
  4  59.3712
  5  7.28291e-05
  6  17.9286
  7  5.86984e-05
  8  79.0374
  9  5.73711e-05
  10  1.76099e-05
  11  3.9506e-05
  12  10.4717
  13  0.000501478
  14  12.7206
  15  5.17647e-05
  16  1.23071
  17  15.6821
  18  15.3398
  19  0.288324
  20  0.232428
Done.

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

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  1.000e-04  5.737e-05  1.000e-04  1.000e+04 ( 1.000e-14)
217        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  1.954e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.185e+00  2.324e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  8.202e-01  2.883e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.617 5.470
Photon Flux Upper Limit: 8.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/806606/likelihoodResults_496972801_497232001_4FGL_J1018.4+0528_daily_bin994.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) = 4608.35961234
delta logL = -0.000193018157006

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.35941959
delta logL = -2.72102624876e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10467E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3683       1.0000          .0000       10.000    
     3 'Normalizat'    .82018       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1855       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.359     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      239 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1285.7        .90712E-02** at limit **
   2  Index         2.3449        6.0249        .50000        .85929E-05
   3  Normalizat    .82021        .47964E-01    .72199E-01    .14420E-04
   4  Prefactor     1.1854        .40804E-01    .51845E-01    .12303E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.34494
  Normalizat = 0.820205
  Prefactor  = 1.18545
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.359     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3449        6.1599        .50000       -.55979    
   3  Normalizat    .82021        .26638        .31951E-03   -.99324    
   4  Prefactor     1.1854        .22714        .22921E-03   -.86780    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50798e-10
Minuit parameter uncertainties:
  1  0.000579356
  2  4.70923
  3  0.266809
  4  0.227332
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/806606': 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) = 4608.35941944
delta logL = -1.17534909805e-07

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  1.000e-04  5.794e-04  1.000e-04  1.000e+04 ( 1.000e-14)
217        Index:  2.345e+00  4.709e+00  0.000e+00  1.000e+01 (-1.000e+00)
218        Scale:  1.954e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.185e+00  2.273e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  8.202e-01  2.668e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.617 5.470

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/806606/cmap_HighResolution_496972801_497232001_4FGL_J1018.4+0528_daily_bin994.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-03', job_status='DONE', photon_flux_upper_limit='8.05e-08', time_completed='2021-09-01 17:48:38.178071', job_id='806606', GAL2='1.19', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1630543718.18', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='-1.18e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='994' AND source_name='4FGL J1018.4+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 17:48:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 806606: <4FGL_J1018.4+0528_daily_bin994> in cluster <slac> Done

Job <4FGL_J1018.4+0528_daily_bin994> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  1 17:36:04 2021
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 17:37:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 17:37:50 2021
Terminated at Wed Sep  1 17:48:38 2021
Results reported at Wed Sep  1 17:48:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.4+0528_daily_bin994 154.617 5.4702 496972801 497232001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1018.4+0528 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   516.14 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             317.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            754 sec.

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

