/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 83 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 = 7476
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1016.0+0512_daily_bin98
RA = 154.009, Dec = 5.2089
tmin = 264729601, tmax = 264988801
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='769510', job_status='RUN', time_executed='2021-09-01 15:43:23.196289', time_epoch_executed='1630536203.2' WHERE source_name='4FGL J1016.0+0512' and cadence='daily' and bin_id='98'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/769510

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/769510/ft1_4FGL_J1016.0+0512_daily_bin98.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/769510/ft2_4FGL_J1016.0+0512_daily_bin98.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/769510/ft1_4FGL_J1016.0+0512_daily_bin98.fits outfile=/scratch/kocevski/769510/ft1_filteredMKT_4FGL_J1016.0+0512_daily_bin98.fits ra=154.009 dec=5.2089 rad=12.0 tmin=264729601.0 tmax=264988801.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 1.45
user 1.27
sys 0.16

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/769510/ft2_4FGL_J1016.0+0512_daily_bin98.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/769510/ft2_4FGL_J1016.0+0512_daily_bin98.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/769510/ft1_filteredMKT_4FGL_J1016.0+0512_daily_bin98.fits evtable="EVENTS" outfile="/scratch/kocevski/769510/ft1_filtered_4FGL_J1016.0+0512_daily_bin98.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.49
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/769510/ft1_filtered_4FGL_J1016.0+0512_daily_bin98.fits" evtable="EVENTS" scfile=/scratch/kocevski/769510/ft2_4FGL_J1016.0+0512_daily_bin98.fits sctable="SC_DATA" outfile=/scratch/kocevski/769510/ltcube_264729601_264988801_4FGL_J1016.0+0512_daily_bin98.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/769510/ft2_4FGL_J1016.0+0512_daily_bin98.fits
.....................!
real 14.33
user 13.96
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/769510/ft1_filtered_4FGL_J1016.0+0512_daily_bin98.fits evtable="EVENTS" scfile=/scratch/kocevski/769510/ft2_4FGL_J1016.0+0512_daily_bin98.fits sctable="SC_DATA" expcube=/scratch/kocevski/769510/ltcube_264729601_264988801_4FGL_J1016.0+0512_daily_bin98.fits outfile=/scratch/kocevski/769510/expmap_264729601_264988801_4FGL_J1016.0+0512_daily_bin98.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/769510/ltcube_264729601_264988801_4FGL_J1016.0+0512_daily_bin98.fits
.....................!
real 191.26
user 185.42
sys 4.82

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

Setting source of interest to:
4FGL J1016.0+0512 @ 154.009 5.2089

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/769510/ft1_filtered_4FGL_J1016.0+0512_daily_bin98.fits scfile=/scratch/kocevski/769510/ft2_4FGL_J1016.0+0512_daily_bin98.fits outfile=/scratch/kocevski/769510/cmap_264729601_264988801_4FGL_J1016.0+0512_daily_bin98.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.009 yref=5.2089 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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/769510/ft1_filtered_4FGL_J1016.0+0512_daily_bin98.fits scfile=/scratch/kocevski/769510/ft2_4FGL_J1016.0+0512_daily_bin98.fits outfile=/scratch/kocevski/769510/cmap_HighResolution_264729601_264988801_4FGL_J1016.0+0512_daily_bin98.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.009 yref=5.2089 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.52
user 0.37
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/769510/ft1_filtered_4FGL_J1016.0+0512_daily_bin98.fits evtable="EVENTS" scfile=/scratch/kocevski/769510/ft2_4FGL_J1016.0+0512_daily_bin98.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/769510/Model_4FGL_J1016.0+0512_daily_bin98.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/769510/ft1_filtered_4FGL_J1016.0+0512_daily_bin98.fits.....................!
real 80.62
user 79.08
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/769510/ft1_filtered_4FGL_J1016.0+0512_daily_bin98.fits', '/scratch/kocevski/769510/ft2_4FGL_J1016.0+0512_daily_bin98.fits', expMap='/scratch/kocevski/769510/expmap_264729601_264988801_4FGL_J1016.0+0512_daily_bin98.fits', expCube='/scratch/kocevski/769510/ltcube_264729601_264988801_4FGL_J1016.0+0512_daily_bin98.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/769510/Model_4FGL_J1016.0+0512_daily_bin98.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1016.0+0512'

4FGL J1016.0+0512
   Spectrum: PowerLaw
210    Prefactor:  6.181e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
211        Index:  2.223e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  1.475e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/769510/ft1_filtered_4FGL_J1016.0+0512_daily_bin98.fits
Spacecraft file(s): /scratch/kocevski/769510/ft2_4FGL_J1016.0+0512_daily_bin98.fits
Exposure map: /scratch/kocevski/769510/expmap_264729601_264988801_4FGL_J1016.0+0512_daily_bin98.fits
Exposure cube: /scratch/kocevski/769510/ltcube_264729601_264988801_4FGL_J1016.0+0512_daily_bin98.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/769510/Model_4FGL_J1016.0+0512_daily_bin98.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) = 8988.61500903

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1286       1.0000         .10000E-03   10000.    
     2 'norm      '    1.3213       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.6414       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.4046       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .45601E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.8721       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.376       1.0000         .10000E-03   10000.    
    11 'norm      '    1.3596       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.4830       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4294       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.3962       1.0000         .10000E-03   10000.    
    15 'norm      '    .87231       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .85174       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2130       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8988.602     FROM MIGRAD    STATUS=CONVERGED    426 CALLS     1823 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1287        1.2151         .0000        .76716E-03
   2  norm          1.3213        .56522         .0000        .11223E-02
   3  Prefactor     7.6312        8.8021         .0000        .19969E-02
   4  Prefactor     2.3784        49.239         .0000        .13326E-02
   5  Prefactor     .10000E-03    20.032         .0000    ** at limit **
   6  norm          .41075E-01    5.9288         .0000        .17012E-03
   7  Prefactor     4.8715        4.7612         .0000       -.18246E-03
   8  Prefactor     .10000E-03    22.833         .0000    ** at limit **
   9  Prefactor     .10000E-03    53.627         .0000    ** at limit **
  10  Prefactor     11.366        12.593         .0000        .65269E-03
  11  norm          1.3595        .93274         .0000        .52660E-03
  12  Prefactor     7.4833        5.3055         .0000        .60342E-02
  13  Prefactor     3.4294        2.0507         .0000        .10842E-04
  14  Prefactor     5.3967        5.0734         .0000        .90940E-02
  15  norm          .87233        .43211         .0000        .46598E-03
  16  Prefactor     .10000E-03    3.1345         .0000    ** at limit **
  17  Normalizat    .85173        .15969         .0000        .68516E-04
  18  Prefactor     1.2130        .13481         .0000        .85800E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.12873
  norm       = 1.32132
  Prefactor  = 7.63121
  Prefactor  = 2.3784
  Prefactor  = 0.0001
  norm       = 0.041075
  Prefactor  = 4.87152
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.3663
  norm       = 1.35951
  Prefactor  = 7.48327
  Prefactor  = 3.42944
  Prefactor  = 5.39666
  norm       = 0.872332
  Prefactor  = 0.0001
  Normalizat = 0.851726
  Prefactor  = 1.21297
 **********
 **   18 **HESSE 
 **********

 FCN=   8988.602     FROM HESSE     STATUS=OK           260 CALLS     2083 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1287        1.2107        .74748E-04   -1.5416    
   2  norm          1.3213        .55790        .44171E-04   -1.5478    
   3  Prefactor     7.6312        8.7916        .72535E-03   -1.5155    
   4  Prefactor     2.3784        49.288        .13202E-02   -1.5400    
   5  Prefactor     .10000E-03    20.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .41075E-01    6.8587        .82578E-01   -1.5667    
   7  Prefactor     4.8715        4.7594        .18224E-03   -1.5267    
   8  Prefactor     .10000E-03    22.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    53.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.366        12.536        .59389E-03   -1.5034    
  11  norm          1.3595        .91998        .72877E-04   -1.5475    
  12  Prefactor     7.4833        5.2990        .73305E-03   -1.5161    
  13  Prefactor     3.4294        2.0521        .10083E-03   -1.5338    
  14  Prefactor     5.3967        5.0624        .86496E-03   -1.5243    
  15  norm          .87233        .42732        .42219E-04   -1.5521    
  16  Prefactor     .10000E-03    3.1550        .16373E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .85173        .18724        .29404E-03   -.98178    
  18  Prefactor     1.2130        .15914        .21887E-03   -.85933    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1536e-10
Minuit parameter uncertainties:
  1  1.21068
  2  0.557903
  3  8.79306
  4  21.6743
  5  3.43185e-05
  6  1.06038
  7  4.75978
  8  6.62771e-05
  9  0.000186677
  10  12.5388
  11  0.919988
  12  5.29936
  13  2.05217
  14  5.06284
  15  0.427325
  16  5.6133e-07
  17  0.187383
  18  0.159204
Done.

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

Extracting fit parameters...

4FGL J1016.0+0512
   Spectrum: PowerLaw
210    Prefactor:  4.872e+00  4.760e+00  1.000e-04  1.000e+04 ( 1.000e-13)
211        Index:  2.223e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  1.475e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  1.213e+00  1.592e-01  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  8.517e-01  1.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.06
Ra Dec: 154.009 5.209
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 1.58e-08 +/- 1.55e-08
Energy Flux (Fixed Index): 6.81e-06 +/- 6.65e-06

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) = 8986.83930815
delta logL = 1.76291444749

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8986.73983717
delta logL = 1.86238543217

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8986.740     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      215 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5293        2.6359        .64209E-02   -.91703E-03
   2  Index         .89847        .41834        .29970       -.10742E-03
   3  Normalizat    .86367        .15314        .66051E-01    .20989E-03
   4  Prefactor     1.2093        .13414        .49581E-01   -.17921E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.52927
  Index      = 0.898473
  Normalizat = 0.863667
  Prefactor  = 1.20929
 **********
 **   18 **HESSE 
 **********

 FCN=   8986.740     FROM HESSE     STATUS=OK            29 CALLS      244 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5293        4.2297        .14668E-03   -1.5390    
   2  Index         .89847        .67766        .12991E-02   -.96194    
   3  Normalizat    .86367        .18070        .29219E-03   -.97749    
   4  Prefactor     1.2093        .15849        .21919E-03   -.86046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.57531e-10
Minuit parameter uncertainties:
  1  4.23022
  2  0.68417
  3  0.180829
  4  0.158551
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/769510': 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) = 8986.73983712
delta logL = 1.8623854755

Extracting fit parameters...

4FGL J1016.0+0512
   Spectrum: PowerLaw
210    Prefactor:  2.529e+00  4.230e+00  1.000e-04  1.000e+04 ( 1.000e-13)
211        Index:  8.985e-01  6.842e-01  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  1.475e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  1.209e+00  1.586e-01  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  8.637e-01  1.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.78
Ra Dec: 154.009 5.209
Photon Index (Free Index): 0.90 +/- 0.68
Photon Flux (Free Index): 2.84e-09 +/- 3.24e-09
Energy Flux (Free Index): 5.20e-05 +/- 7.09e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/769510/cmap_HighResolution_264729601_264988801_4FGL_J1016.0+0512_daily_bin98.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.58e-08', energy_flux2='5.20e-05', photon_flux_error='1.55e-08', dlogl='1.86e+00', energy_flux='6.81e-06', photon_flux2='2.84e-09', job_status='DONE', time_completed='2021-09-01 15:53:07.050746', photon_index_error2='0.68', photon_index2='0.90', ts='7.06', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', energy_flux_error2='7.09e-05', EG='0.85', time_epoch_completed='1630536787.05', return_code='0', job_id='769510', GAL2='1.21', EG2='0.86', return_code2='0', energy_flux_error='6.65e-06', photon_flux_error2='3.24e-09', ts2='10.78', photon_index='2.22' WHERE bin_id='98' AND source_name='4FGL J1016.0+0512' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 15:53:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 769510: <4FGL_J1016.0+0512_daily_bin98> in cluster <slac> Done

Job <4FGL_J1016.0+0512_daily_bin98> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 15:40:46 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 15:41:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 15:41:46 2021
Terminated at Wed Sep  1 15:53:07 2021
Results reported at Wed Sep  1 15:53:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1016.0+0512_daily_bin98 154.009 5.2089 264729601 264988801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1016.0+0512 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   584.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   681 sec.
    Turnaround time :                            741 sec.

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

