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


Performing analysis on: 4FGL_J1345.8+0706_daily_bin828
RA = 206.465, Dec = 7.1072
tmin = 453945601, tmax = 454204801
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='949058', job_status='RUN', time_executed='2021-09-08 11:29:42.609096', time_epoch_executed='1631125782.61' WHERE source_name='4FGL J1345.8+0706' and cadence='daily' and bin_id='828'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/949058

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/949058/ft1_4FGL_J1345.8+0706_daily_bin828.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/949058/ft2_4FGL_J1345.8+0706_daily_bin828.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/949058/ft1_4FGL_J1345.8+0706_daily_bin828.fits outfile=/scratch/kocevski/949058/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin828.fits ra=206.465 dec=7.1072 rad=12.0 tmin=453945601.0 tmax=454204801.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 4.13
user 3.86
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/949058/ft2_4FGL_J1345.8+0706_daily_bin828.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/949058/ft2_4FGL_J1345.8+0706_daily_bin828.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/949058/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin828.fits evtable="EVENTS" outfile="/scratch/kocevski/949058/ft1_filtered_4FGL_J1345.8+0706_daily_bin828.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.56
user 0.37
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/949058/ft1_filtered_4FGL_J1345.8+0706_daily_bin828.fits" evtable="EVENTS" scfile=/scratch/kocevski/949058/ft2_4FGL_J1345.8+0706_daily_bin828.fits sctable="SC_DATA" outfile=/scratch/kocevski/949058/ltcube_453945601_454204801_4FGL_J1345.8+0706_daily_bin828.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/949058/ft2_4FGL_J1345.8+0706_daily_bin828.fits
.....................!
real 16.43
user 16.06
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/949058/ft1_filtered_4FGL_J1345.8+0706_daily_bin828.fits evtable="EVENTS" scfile=/scratch/kocevski/949058/ft2_4FGL_J1345.8+0706_daily_bin828.fits sctable="SC_DATA" expcube=/scratch/kocevski/949058/ltcube_453945601_454204801_4FGL_J1345.8+0706_daily_bin828.fits outfile=/scratch/kocevski/949058/expmap_453945601_454204801_4FGL_J1345.8+0706_daily_bin828.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/949058/ltcube_453945601_454204801_4FGL_J1345.8+0706_daily_bin828.fits
.....................!
real 192.71
user 187.03
sys 5.14

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

Setting source of interest to:
4FGL J1345.8+0706 @ 206.465 7.1072

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/949058/ft1_filtered_4FGL_J1345.8+0706_daily_bin828.fits scfile=/scratch/kocevski/949058/ft2_4FGL_J1345.8+0706_daily_bin828.fits outfile=/scratch/kocevski/949058/cmap_453945601_454204801_4FGL_J1345.8+0706_daily_bin828.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=206.465 yref=7.1072 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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/949058/ft1_filtered_4FGL_J1345.8+0706_daily_bin828.fits scfile=/scratch/kocevski/949058/ft2_4FGL_J1345.8+0706_daily_bin828.fits outfile=/scratch/kocevski/949058/cmap_HighResolution_453945601_454204801_4FGL_J1345.8+0706_daily_bin828.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=206.465 yref=7.1072 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.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/949058/ft1_filtered_4FGL_J1345.8+0706_daily_bin828.fits evtable="EVENTS" scfile=/scratch/kocevski/949058/ft2_4FGL_J1345.8+0706_daily_bin828.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/949058/Model_4FGL_J1345.8+0706_daily_bin828.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/949058/ft1_filtered_4FGL_J1345.8+0706_daily_bin828.fits.....................!
real 49.94
user 48.57
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/949058/ft1_filtered_4FGL_J1345.8+0706_daily_bin828.fits', '/scratch/kocevski/949058/ft2_4FGL_J1345.8+0706_daily_bin828.fits', expMap='/scratch/kocevski/949058/expmap_453945601_454204801_4FGL_J1345.8+0706_daily_bin828.fits', expCube='/scratch/kocevski/949058/ltcube_453945601_454204801_4FGL_J1345.8+0706_daily_bin828.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/949058/Model_4FGL_J1345.8+0706_daily_bin828.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1345.8+0706'

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.852e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.443e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  7.607e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/949058/ft1_filtered_4FGL_J1345.8+0706_daily_bin828.fits
Spacecraft file(s): /scratch/kocevski/949058/ft2_4FGL_J1345.8+0706_daily_bin828.fits
Exposure map: /scratch/kocevski/949058/expmap_453945601_454204801_4FGL_J1345.8+0706_daily_bin828.fits
Exposure cube: /scratch/kocevski/949058/ltcube_453945601_454204801_4FGL_J1345.8+0706_daily_bin828.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/949058/Model_4FGL_J1345.8+0706_daily_bin828.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) = 6477.77162274

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5211       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10480E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11128E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.9266       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11991E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.7271       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.880       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.0966       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .77822       1.0000         .10000E-03   10000.    
    14 'norm      '    .49419       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3034       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .77740       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6477.742     FROM MIGRAD    STATUS=CONVERGED    313 CALLS     1277 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4953        12.389        .42748E-02   -.17527E-02
   2  Prefactor     .10000E-03    16.187        .90712E-02** at limit **
   3  Prefactor     .10000E-03    16.666        .90712E-02** at limit **
   4  Prefactor     .10001E-03    14.452        .90712E-02** at limit **
   5  norm          .10000E-03    8.4474        .90712E-02** at limit **
   6  Prefactor     3.9267        3.7567        .50897E-02    .31545E-03
   7  Prefactor     .10000E-03    6.7636        .90712E-02** at limit **
   8  Prefactor     .10008E-03    2.5328        .73639E-01** at limit **
   9  Prefactor     5.7297        8.8716        .41960E-02    .14451E-02
  10  Prefactor     .10000E-03    2.2128        .90712E-02** at limit **
  11  Prefactor     18.879        18.171        .23044E-02   -.12482E-02
  12  Prefactor     7.0957        14.579        .37646E-02    .68945E-03
  13  Prefactor     .73330        26.037        .12358        .47528E-03
  14  norm          .42468        16.325        .11247        .14312E-03
  15  Normalizat    1.3034        .18735        .54387E-01   -.44490E-03
  16  Prefactor     .77744        .13540        .43422E-01   -.75805E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.49527
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  norm       = 0.0001
  Prefactor  = 3.9267
  Prefactor  = 0.0001
  Prefactor  = 0.000100083
  Prefactor  = 5.72968
  Prefactor  = 0.000100001
  Prefactor  = 18.8786
  Prefactor  = 7.09572
  Prefactor  = 0.733302
  norm       = 0.424682
  Normalizat = 1.30338
  Prefactor  = 0.777441
 **********
 **   18 **HESSE 
 **********

 FCN=   6477.742     FROM HESSE     STATUS=OK           201 CALLS     1478 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4953        12.385        .17099E-03   -1.5239    
   2  Prefactor     .10000E-03    16.438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    14.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    8.4501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.9267        3.7521        .14567E-03   -1.5312    
   7  Prefactor     .10000E-03    6.7794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10008E-03    26.434        .24587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.7297        8.8495        .83919E-03   -1.5229    
  10  Prefactor     .10000E-03    2.2139        .11692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.879        18.167        .92177E-04   -1.4839    
  12  Prefactor     7.0957        14.573        .75292E-03   -1.5175    
  13  Prefactor     .73330        281.15        .74004E-02   -1.5537    
  14  norm          .42468        159.99        .61446E-02   -1.5578    
  15  Normalizat    1.3034        .22958        .24048E-03   -.83465    
  16  Prefactor     .77744        .16441        .22314E-03   -1.0057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01554e-08
Minuit parameter uncertainties:
  1  12.3913
  2  0.000529885
  3  5.00303e-05
  4  0.000726783
  5  2.12431e-05
  6  3.75234
  7  8.50752e-05
  8  0.00296378
  9  8.85147
  10  7.09399e-05
  11  18.1723
  12  14.5805
  13  28.8523
  14  16.5286
  15  0.229764
  16  0.164513
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  3.927e+00  3.752e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.443e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  7.607e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  7.774e-01  1.645e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.303e+00  2.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.65
Ra Dec: 206.465 7.107
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 3.87e-08 +/- 3.70e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 1.15e-05

TS (Fixed Index): 1.65
Ra Dec: 206.465 7.107
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/949058/likelihoodResults_453945601_454204801_4FGL_J1345.8+0706_daily_bin828.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) = 6477.49642357
delta logL = 0.245525149038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6477.46745499
delta logL = 0.274493736007

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8941       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9509       1.0000          .0000       10.000    
     3 'Normalizat'    1.3223       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76680       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+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=   6477.467     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      245 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8938        4.4294        .15524E-03   -.20872E-04
   2  Index         1.9509        .59620        .88679E-02   -.76969E-04
   3  Normalizat    1.3223        .21909        .23899E-03    .10941E-05
   4  Prefactor     .76680        .16183        .22445E-03    .15145E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.89377
  Index      = 1.95088
  Normalizat = 1.32234
  Prefactor  = 0.766796
 **********
 **   18 **HESSE 
 **********

 FCN=   6477.467     FROM HESSE     STATUS=OK            25 CALLS      270 TOTAL
                     EDM=   .99E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8938        4.4413        .62094E-05   -1.5265    
   2  Index         1.9509        .59784        .17736E-02   -.65584    
   3  Normalizat    1.3223        .21932        .95596E-05   -.82902    
   4  Prefactor     .76680        .16199        .89780E-05   -1.0096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.89891e-13
Minuit parameter uncertainties:
  1  4.44163
  2  0.600129
  3  0.219471
  4  0.162093
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/949058': 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) = 6477.46745498
delta logL = 0.274493746104

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  4.894e+00  4.442e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  1.951e+00  6.001e-01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  7.607e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  7.668e-01  1.621e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.322e+00  2.195e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.20
Ra Dec: 206.465 7.107
Photon Index (Free Index): 1.95 +/- 0.60
Photon Flux (Free Index): 2.69e-08 +/- 3.07e-08
Energy Flux (Free Index): 2.11e-05 +/- 2.64e-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/949058/cmap_HighResolution_453945601_454204801_4FGL_J1345.8+0706_daily_bin828.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.38e-03', comment='SUCCESS', photon_flux='3.87e-08', energy_flux2='2.11e-05', photon_flux_error='3.70e-08', dlogl='2.74e-01', energy_flux='1.20e-05', photon_flux2='2.69e-08', job_status='DONE', time_completed='2021-09-08 11:38:09.481087', photon_index_error2='0.60', photon_index2='1.95', ts='1.65', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='2.64e-05', EG='1.30', time_epoch_completed='1631126289.48', return_code='0', job_id='949058', GAL2='0.77', EG2='1.32', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='3.07e-08', ts2='2.20', photon_index='2.44' WHERE bin_id='828' AND source_name='4FGL J1345.8+0706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 11:38:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 949058: <4FGL_J1345.8+0706_daily_bin828> in cluster <slac> Done

Job <4FGL_J1345.8+0706_daily_bin828> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  8 11:25:50 2021
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 11:26:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 11:26:52 2021
Terminated at Wed Sep  8 11:38:10 2021
Results reported at Wed Sep  8 11:38:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_daily_bin828 206.465 7.1072 453945601 454204801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1345.8+0706 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   505.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            740 sec.

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

