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


Performing analysis on: 4FGL_J1008.0+0620_daily_bin275
RA = 152.014, Dec = 6.3475
tmin = 310608001, tmax = 310867201
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='680775', job_status='RUN', time_executed='2021-09-01 11:10:22.810055', time_epoch_executed='1630519822.81' WHERE source_name='4FGL J1008.0+0620' and cadence='daily' and bin_id='275'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/680775

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/680775/ft1_4FGL_J1008.0+0620_daily_bin275.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/680775/ft2_4FGL_J1008.0+0620_daily_bin275.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/680775/ft1_4FGL_J1008.0+0620_daily_bin275.fits outfile=/scratch/kocevski/680775/ft1_filteredMKT_4FGL_J1008.0+0620_daily_bin275.fits ra=152.014 dec=6.3475 rad=12.0 tmin=310608001.0 tmax=310867201.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 3.52
user 3.25
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/680775/ft2_4FGL_J1008.0+0620_daily_bin275.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/680775/ft2_4FGL_J1008.0+0620_daily_bin275.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/680775/ft1_filteredMKT_4FGL_J1008.0+0620_daily_bin275.fits evtable="EVENTS" outfile="/scratch/kocevski/680775/ft1_filtered_4FGL_J1008.0+0620_daily_bin275.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.68
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/680775/ft1_filtered_4FGL_J1008.0+0620_daily_bin275.fits" evtable="EVENTS" scfile=/scratch/kocevski/680775/ft2_4FGL_J1008.0+0620_daily_bin275.fits sctable="SC_DATA" outfile=/scratch/kocevski/680775/ltcube_310608001_310867201_4FGL_J1008.0+0620_daily_bin275.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/680775/ft2_4FGL_J1008.0+0620_daily_bin275.fits
.....................!
real 12.69
user 12.11
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/680775/ft1_filtered_4FGL_J1008.0+0620_daily_bin275.fits evtable="EVENTS" scfile=/scratch/kocevski/680775/ft2_4FGL_J1008.0+0620_daily_bin275.fits sctable="SC_DATA" expcube=/scratch/kocevski/680775/ltcube_310608001_310867201_4FGL_J1008.0+0620_daily_bin275.fits outfile=/scratch/kocevski/680775/expmap_310608001_310867201_4FGL_J1008.0+0620_daily_bin275.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/680775/ltcube_310608001_310867201_4FGL_J1008.0+0620_daily_bin275.fits
.....................!
real 190.91
user 185.08
sys 4.91

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

Setting source of interest to:
4FGL J1008.0+0620 @ 152.014 6.3475

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/680775/ft1_filtered_4FGL_J1008.0+0620_daily_bin275.fits scfile=/scratch/kocevski/680775/ft2_4FGL_J1008.0+0620_daily_bin275.fits outfile=/scratch/kocevski/680775/cmap_310608001_310867201_4FGL_J1008.0+0620_daily_bin275.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=152.014 yref=6.3475 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.58
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/680775/ft1_filtered_4FGL_J1008.0+0620_daily_bin275.fits scfile=/scratch/kocevski/680775/ft2_4FGL_J1008.0+0620_daily_bin275.fits outfile=/scratch/kocevski/680775/cmap_HighResolution_310608001_310867201_4FGL_J1008.0+0620_daily_bin275.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=152.014 yref=6.3475 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.37
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/680775/ft1_filtered_4FGL_J1008.0+0620_daily_bin275.fits evtable="EVENTS" scfile=/scratch/kocevski/680775/ft2_4FGL_J1008.0+0620_daily_bin275.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/680775/Model_4FGL_J1008.0+0620_daily_bin275.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/680775/ft1_filtered_4FGL_J1008.0+0620_daily_bin275.fits.....................!
real 56.32
user 53.67
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/680775/ft1_filtered_4FGL_J1008.0+0620_daily_bin275.fits', '/scratch/kocevski/680775/ft2_4FGL_J1008.0+0620_daily_bin275.fits', expMap='/scratch/kocevski/680775/expmap_310608001_310867201_4FGL_J1008.0+0620_daily_bin275.fits', expCube='/scratch/kocevski/680775/ltcube_310608001_310867201_4FGL_J1008.0+0620_daily_bin275.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/680775/Model_4FGL_J1008.0+0620_daily_bin275.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1008.0+0620'

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  6.323e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
201        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
202        Scale:  1.356e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/680775/ft1_filtered_4FGL_J1008.0+0620_daily_bin275.fits
Spacecraft file(s): /scratch/kocevski/680775/ft2_4FGL_J1008.0+0620_daily_bin275.fits
Exposure map: /scratch/kocevski/680775/expmap_310608001_310867201_4FGL_J1008.0+0620_daily_bin275.fits
Exposure cube: /scratch/kocevski/680775/ltcube_310608001_310867201_4FGL_J1008.0+0620_daily_bin275.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/680775/Model_4FGL_J1008.0+0620_daily_bin275.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) = 5564.89393735

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7398       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.809       1.0000         .10000E-03   10000.    
     3 'norm      '    2.1435       1.0000         .10000E-03   10000.    
     4 'norm      '    2.5875       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.006       1.0000         .10000E-03   10000.    
     6 'Prefactor '    71.050       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.720       1.0000         .10000E-03   10000.    
     8 'norm      '    19.297       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.4261       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11786E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .34868       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.1305       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13010E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.6800       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .76495       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2334       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5564.881     FROM MIGRAD    STATUS=CONVERGED    392 CALLS     1806 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7408        4.4402       -.23879E-05   -.65367E-03
   2  Prefactor     13.789        23.816        .26692E-04    .18440E-04
   3  norm          2.1429        1.4590       -.17120E-06   -.22178E-03
   4  norm          2.5874        1.0089       -.51421E-06   -.15460E-03
   5  Prefactor     20.013        14.231       -.21854E-06    .30504E-03
   6  Prefactor     71.027        54.577       -.13444E-04    .30215E-04
   7  Prefactor     22.759        46.573       -.31332E-04    .57858E-05
   8  norm          19.314        18.143        .10763E-05    .31623E-03
   9  Prefactor     .10000E-03    4.5831        .41132E-06** at limit **
  10  Prefactor     1.1652        721.46       -.11691E-03    .86156E-06
  11  Prefactor     .10000E-03    58.293       -.24827E-05** at limit **
  12  Prefactor     .10000E-03    11.255        .60855E-06** at limit **
  13  norm          .34775        1.3825       -.22771E-06   -.46087E-03
  14  Prefactor     4.1242        10.070        .51034E-05   -.58688E-04
  15  Prefactor     .10007E-03    2.0064        .23400E-06** at limit **
  16  Prefactor     6.6903        10.615        .45762E-06   -.12706E-03
  17  Normalizat    .76523        .22525        .33449E-05    .22245E-03
  18  Prefactor     1.2335        .17659        .44418E-06    .33837E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.74076
  Prefactor  = 13.7885
  norm       = 2.14293
  norm       = 2.58744
  Prefactor  = 20.0127
  Prefactor  = 71.0275
  Prefactor  = 22.7587
  norm       = 19.314
  Prefactor  = 0.0001
  Prefactor  = 1.16519
  Prefactor  = 0.000100005
  Prefactor  = 0.000100001
  norm       = 0.347752
  Prefactor  = 4.1242
  Prefactor  = 0.000100066
  Prefactor  = 6.6903
  Normalizat = 0.765226
  Prefactor  = 1.23346
 **********
 **   18 **HESSE 
 **********

 FCN=   5564.881     FROM HESSE     STATUS=OK           254 CALLS     2060 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7408        4.4404        .19143E-03   -1.5377    
   2  Prefactor     13.789        23.706        .10779E-03   -1.4965    
   3  norm          2.1429        1.4507        .69883E-04   -1.5415    
   4  norm          2.5874        1.0060        .42830E-04   -1.5386    
   5  Prefactor     20.013        14.221        .89546E-04   -1.4813    
   6  Prefactor     71.027        54.351        .47625E-04   -1.4020    
   7  Prefactor     22.759        46.575        .84034E-04   -1.4753    
   8  norm          19.314        18.069        .91175E-04   -1.4829    
   9  Prefactor     .10000E-03    4.5900        .15591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.1652        742.55        .36198E-02   -1.5492    
  11  Prefactor     .10000E-03    58.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .34775        2.1464        .15328E-02   -1.5590    
  14  Prefactor     4.1242        9.8333        .19834E-03   -1.5302    
  15  Prefactor     .10007E-03    52.358        .19124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.6903        10.259        .15526E-03   -1.5191    
  17  Normalizat    .76523        .26379        .31222E-03   -1.0137    
  18  Prefactor     1.2335        .21059        .21695E-03   -.85308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27873e-09
Minuit parameter uncertainties:
  1  4.44093
  2  23.7224
  3  1.45077
  4  1.00596
  5  14.2238
  6  54.3889
  7  46.6499
  8  18.0738
  9  6.69265e-05
  10  59.5835
  11  0.00103021
  12  0.00015119
  13  1.72774
  14  9.83715
  15  0.0037236
  16  10.2615
  17  0.264229
  18  0.210735
Done.

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

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  2.001e+01  1.422e+01  1.000e-04  1.000e+04 ( 1.000e-13)
201        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
202        Scale:  1.356e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
481    Prefactor:  1.233e+00  2.107e-01  0.000e+00  1.000e+01 ( 1.000e+00)
482        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
483        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
480   Normalization:  7.652e-01  2.642e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.75
Ra Dec: 152.014 6.348
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 5.07e-08 +/- 3.60e-08
Energy Flux (Fixed Index): 2.32e-05 +/- 1.65e-05

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) = 5564.60004706
delta logL = 0.281444883063

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5564.56989033
delta logL = 0.311601609425

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5564.570     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      277 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.549        577.36        .19808E-02    .43786E-04
   2  Index         1.8001        5.6101        .19757        .43533E-04
   3  Normalizat    .78684        .17546        .69668E-01   -.34825E-04
   4  Prefactor     1.2214        .10385        .49276E-01   -.15430E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.5493
  Index      = 1.80014
  Normalizat = 0.786838
  Prefactor  = 1.22144
 **********
 **   18 **HESSE 
 **********

 FCN=   5564.570     FROM HESSE     STATUS=OK            31 CALLS      308 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.549        17.808        .79232E-04   -1.4697    
   2  Index         1.8001        .46810        .70588E-02   -.69446    
   3  Normalizat    .78684        .24126        .30827E-03   -1.0056    
   4  Prefactor     1.2214        .20819        .21783E-03   -.85674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15672e-11
Minuit parameter uncertainties:
  1  17.8113
  2  0.469268
  3  0.241591
  4  0.208331
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/680775': 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) = 5564.56988719
delta logL = 0.311604743571

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  2.555e+01  1.781e+01  1.000e-04  1.000e+04 ( 1.000e-13)
201        Index:  1.800e+00  4.693e-01  0.000e+00  1.000e+01 (-1.000e+00)
202        Scale:  1.356e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
481    Prefactor:  1.221e+00  2.083e-01  0.000e+00  1.000e+01 ( 1.000e+00)
482        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
483        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
480   Normalization:  7.868e-01  2.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.39
Ra Dec: 152.014 6.348
Photon Index (Free Index): 1.80 +/- 0.47
Photon Flux (Free Index): 3.47e-08 +/- 3.12e-08
Energy Flux (Free Index): 4.15e-05 +/- 4.51e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/680775/cmap_HighResolution_310608001_310867201_4FGL_J1008.0+0620_daily_bin275.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.07e-08', energy_flux2='4.15e-05', photon_flux_error='3.60e-08', dlogl='3.12e-01', energy_flux='2.32e-05', photon_flux2='3.47e-08', job_status='DONE', time_completed='2021-09-01 11:18:25.973322', photon_index_error2='0.47', photon_index2='1.80', ts='5.75', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', energy_flux_error2='4.51e-05', EG='0.77', time_epoch_completed='1630520305.97', return_code='0', job_id='680775', GAL2='1.22', EG2='0.79', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='3.12e-08', ts2='6.39', photon_index='2.19' WHERE bin_id='275' AND source_name='4FGL J1008.0+0620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 11:18:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 680775: <4FGL_J1008.0+0620_daily_bin275> in cluster <slac> Done

Job <4FGL_J1008.0+0620_daily_bin275> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 11:05:58 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 11:06:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 11:06:00 2021
Terminated at Wed Sep  1 11:18:26 2021
Results reported at Wed Sep  1 11:18:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1008.0+0620_daily_bin275 152.014 6.3475 310608001 310867201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1008.0+0620 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   479.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             201.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            748 sec.

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

