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


Performing analysis on: 4FGL_J1345.8+0706_daily_bin95
RA = 206.465, Dec = 7.1072
tmin = 263952001, tmax = 264211201
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='940443', job_status='RUN', time_executed='2021-09-08 11:11:39.428967', time_epoch_executed='1631124699.43' WHERE source_name='4FGL J1345.8+0706' and cadence='daily' and bin_id='95'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/940443

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/940443/ft1_4FGL_J1345.8+0706_daily_bin95.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/940443/ft2_4FGL_J1345.8+0706_daily_bin95.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/940443/ft1_4FGL_J1345.8+0706_daily_bin95.fits outfile=/scratch/kocevski/940443/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin95.fits ra=206.465 dec=7.1072 rad=12.0 tmin=263952001.0 tmax=264211201.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.72
user 1.53
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/940443/ft2_4FGL_J1345.8+0706_daily_bin95.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/940443/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin95.fits evtable="EVENTS" outfile="/scratch/kocevski/940443/ft1_filtered_4FGL_J1345.8+0706_daily_bin95.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/940443/ft1_filtered_4FGL_J1345.8+0706_daily_bin95.fits" evtable="EVENTS" scfile=/scratch/kocevski/940443/ft2_4FGL_J1345.8+0706_daily_bin95.fits sctable="SC_DATA" outfile=/scratch/kocevski/940443/ltcube_263952001_264211201_4FGL_J1345.8+0706_daily_bin95.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/940443/ft2_4FGL_J1345.8+0706_daily_bin95.fits
.....................!
real 16.17
user 15.73
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/940443/ft1_filtered_4FGL_J1345.8+0706_daily_bin95.fits evtable="EVENTS" scfile=/scratch/kocevski/940443/ft2_4FGL_J1345.8+0706_daily_bin95.fits sctable="SC_DATA" expcube=/scratch/kocevski/940443/ltcube_263952001_264211201_4FGL_J1345.8+0706_daily_bin95.fits outfile=/scratch/kocevski/940443/expmap_263952001_264211201_4FGL_J1345.8+0706_daily_bin95.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/940443/ltcube_263952001_264211201_4FGL_J1345.8+0706_daily_bin95.fits
.....................!
real 191.11
user 185.88
sys 4.77

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/940443/ft1_filtered_4FGL_J1345.8+0706_daily_bin95.fits scfile=/scratch/kocevski/940443/ft2_4FGL_J1345.8+0706_daily_bin95.fits outfile=/scratch/kocevski/940443/cmap_263952001_264211201_4FGL_J1345.8+0706_daily_bin95.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/940443/ft1_filtered_4FGL_J1345.8+0706_daily_bin95.fits scfile=/scratch/kocevski/940443/ft2_4FGL_J1345.8+0706_daily_bin95.fits outfile=/scratch/kocevski/940443/cmap_HighResolution_263952001_264211201_4FGL_J1345.8+0706_daily_bin95.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/940443/ft1_filtered_4FGL_J1345.8+0706_daily_bin95.fits', '/scratch/kocevski/940443/ft2_4FGL_J1345.8+0706_daily_bin95.fits', expMap='/scratch/kocevski/940443/expmap_263952001_264211201_4FGL_J1345.8+0706_daily_bin95.fits', expCube='/scratch/kocevski/940443/ltcube_263952001_264211201_4FGL_J1345.8+0706_daily_bin95.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/940443/Model_4FGL_J1345.8+0706_daily_bin95.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/940443/ft1_filtered_4FGL_J1345.8+0706_daily_bin95.fits
Spacecraft file(s): /scratch/kocevski/940443/ft2_4FGL_J1345.8+0706_daily_bin95.fits
Exposure map: /scratch/kocevski/940443/expmap_263952001_264211201_4FGL_J1345.8+0706_daily_bin95.fits
Exposure cube: /scratch/kocevski/940443/ltcube_263952001_264211201_4FGL_J1345.8+0706_daily_bin95.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/940443/Model_4FGL_J1345.8+0706_daily_bin95.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) = 7699.64788

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.218       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.0597       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .20579E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    .10129E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10325E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .34572       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.024       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .77905E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.604       1.0000         .10000E-03   10000.    
    14 'norm      '    15.612       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3532       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .83946       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.

 FCN=   7699.553     FROM MIGRAD    STATUS=CONVERGED    375 CALLS     1381 TOTAL
                     EDM=   .36E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.934        .12984E-06** at limit **
   2  Prefactor     13.221        10.342        .52676E-05   -.20623E-04
   3  Prefactor     4.0637        22.214       -.15702E-04   -.43513E-04
   4  Prefactor     .10023E-03    30.577        .44519E-06** at limit **
   5  norm          .10000E-03    16.714       -.24426E-07** at limit **
   6  Prefactor     .10000E-03    1.5509       -.24558E-07** at limit **
   7  Prefactor     .10000E-03    9.3466        .84968E-07** at limit **
   8  Prefactor     .10000E-03    2.9739        .59119E-08** at limit **
   9  Prefactor     .35327        5.5243       -.15700E-05    .54549E-04
  10  Prefactor     10.018        9.7888       -.94803E-06   -.47571E-04
  11  Prefactor     .10000E-03    8.4157        .35223E-07** at limit **
  12  Prefactor     .81790E-01    8.4921       -.39145E-06   -.54466E-05
  13  Prefactor     22.583        20.954       -.12677E-05   -.41031E-06
  14  norm          15.641        18.909        .62062E-06   -.59713E-05
  15  Normalizat    1.3532        .17905       -.13408E-06    .13468E-03
  16  Prefactor     .83942        .13205        .58985E-07    .92616E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.2209
  Prefactor  = 4.06369
  Prefactor  = 0.000100225
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.353273
  Prefactor  = 10.0177
  Prefactor  = 0.0001
  Prefactor  = 0.0817895
  Prefactor  = 22.5826
  norm       = 15.6413
  Normalizat = 1.35322
  Prefactor  = 0.839421
 **********
 **   18 **HESSE 
 **********

 FCN=   7699.553     FROM HESSE     STATUS=OK           223 CALLS     1604 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.221        10.287        .11017E-03   -1.4981    
   3  Prefactor     4.0637        22.636        .20011E-03   -1.5305    
   4  Prefactor     .10023E-03    30.278        .15093       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    16.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.5755        .10666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.3916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.1099        .29537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .35327        28.857        .39803E-02   -1.5589    
  10  Prefactor     10.018        9.8036        .12656E-03   -1.5075    
  11  Prefactor     .10000E-03    8.4405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .81790E-01    11.205        .97709E-01   -1.5651    
  13  Prefactor     22.583        20.983        .84250E-04   -1.4757    
  14  norm          15.641        18.909        .10137E-03   -1.4917    
  15  Normalizat    1.3532        .21593        .25017E-03   -.81991    
  16  Prefactor     .83942        .15932        .22855E-03   -.98291    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.23907e-10
Minuit parameter uncertainties:
  1  4.58889e-06
  2  10.2883
  3  19.1929
  4  0.00522628
  5  3.01535e-07
  6  1.84197e-06
  7  7.7387e-06
  8  2.29857e-06
  9  6.38801
  10  9.80517
  11  7.73715e-06
  12  1.91385
  13  20.9896
  14  18.9164
  15  0.216077
  16  0.159408
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  1.842e-06  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:  8.394e-01  1.594e-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.353e+00  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 206.465 7.107
Photon Flux Upper Limit: 5.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/940443/likelihoodResults_263952001_264211201_4FGL_J1345.8+0706_daily_bin95.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): 102
logL (Free Index) = 7699.55643386
delta logL = -0.00301736809251

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7699.55341648
delta logL = 1.14250724437e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4525       1.0000          .0000       10.000    
     3 'Normalizat'    1.3532       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83945       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=   7699.538     FROM MIGRAD    STATUS=CONVERGED    162 CALLS      313 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22005E-01    .97607        .10700E-01   -.45750E-02
   2  Index         4.7669        1.6396        .50000        .10208E-04
   3  Normalizat    1.3410        .18168E-01    .25017E-03   -.37082E-04
   4  Prefactor     .84501        .13434E-01    .22855E-03   -.10093E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0220053
  Index      = 4.76689
  Normalizat = 1.34103
  Prefactor  = 0.845011
 **********
 **   18 **HESSE 
 **********

 FCN=   7699.538     FROM HESSE     STATUS=OK            31 CALLS      344 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22005E-01    .30020        .42409E-03   -1.5738    
   2  Index         4.7669        3.3732        .71784E-02   -.46639E-01
   3  Normalizat    1.3410        .22504        .10007E-04   -.82350    
   4  Prefactor     .84501        .16214        .91421E-05   -.98090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01744e-10
Minuit parameter uncertainties:
  1  0.162185
  2  3.70331
  3  0.225206
  4  0.162227
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/940443': 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) = 7699.53843746
delta logL = 0.0149790360347

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  2.201e-02  1.622e-01  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  4.767e+00  3.703e+00  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:  8.450e-01  1.622e-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.341e+00  2.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 206.465 7.107

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/940443/cmap_HighResolution_263952001_264211201_4FGL_J1345.8+0706_daily_bin95.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.60e-03', job_status='DONE', photon_flux_upper_limit='5.94e-08', time_completed='2021-09-08 11:20:40.341051', job_id='940443', GAL2='0.85', fit_tolerance='1e-08', EG2='1.34', EG='1.35', time_epoch_completed='1631125240.34', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.50e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='95' AND source_name='4FGL J1345.8+0706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 11:20:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 940443: <4FGL_J1345.8+0706_daily_bin95> in cluster <slac> Done

Job <4FGL_J1345.8+0706_daily_bin95> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep  8 11:10:43 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 11:11:08 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:11:08 2021
Terminated at Wed Sep  8 11:20:41 2021
Results reported at Wed Sep  8 11:20:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_daily_bin95 206.465 7.1072 263952001 264211201 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 :                                   540.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             351.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   572 sec.
    Turnaround time :                            598 sec.

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

