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


Performing analysis on: 4FGL_J1345.8+0706_daily_bin457
RA = 206.465, Dec = 7.1072
tmin = 357782401, tmax = 358041601
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='947428', job_status='RUN', time_executed='2021-09-08 11:23:29.147942', time_epoch_executed='1631125409.15' WHERE source_name='4FGL J1345.8+0706' and cadence='daily' and bin_id='457'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/947428

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/947428/ft1_4FGL_J1345.8+0706_daily_bin457.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/947428/ft2_4FGL_J1345.8+0706_daily_bin457.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/947428/ft1_4FGL_J1345.8+0706_daily_bin457.fits outfile=/scratch/kocevski/947428/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin457.fits ra=206.465 dec=7.1072 rad=12.0 tmin=357782401.0 tmax=358041601.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.53
user 3.28
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/947428/ft2_4FGL_J1345.8+0706_daily_bin457.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/947428/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin457.fits evtable="EVENTS" outfile="/scratch/kocevski/947428/ft1_filtered_4FGL_J1345.8+0706_daily_bin457.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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/947428/ft1_filtered_4FGL_J1345.8+0706_daily_bin457.fits" evtable="EVENTS" scfile=/scratch/kocevski/947428/ft2_4FGL_J1345.8+0706_daily_bin457.fits sctable="SC_DATA" outfile=/scratch/kocevski/947428/ltcube_357782401_358041601_4FGL_J1345.8+0706_daily_bin457.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/947428/ft2_4FGL_J1345.8+0706_daily_bin457.fits
.....................!
real 14.77
user 14.37
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/947428/ft1_filtered_4FGL_J1345.8+0706_daily_bin457.fits evtable="EVENTS" scfile=/scratch/kocevski/947428/ft2_4FGL_J1345.8+0706_daily_bin457.fits sctable="SC_DATA" expcube=/scratch/kocevski/947428/ltcube_357782401_358041601_4FGL_J1345.8+0706_daily_bin457.fits outfile=/scratch/kocevski/947428/expmap_357782401_358041601_4FGL_J1345.8+0706_daily_bin457.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/947428/ltcube_357782401_358041601_4FGL_J1345.8+0706_daily_bin457.fits
.....................!
real 190.14
user 185.30
sys 4.35

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/947428/ft1_filtered_4FGL_J1345.8+0706_daily_bin457.fits scfile=/scratch/kocevski/947428/ft2_4FGL_J1345.8+0706_daily_bin457.fits outfile=/scratch/kocevski/947428/cmap_357782401_358041601_4FGL_J1345.8+0706_daily_bin457.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.57
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/947428/ft1_filtered_4FGL_J1345.8+0706_daily_bin457.fits scfile=/scratch/kocevski/947428/ft2_4FGL_J1345.8+0706_daily_bin457.fits outfile=/scratch/kocevski/947428/cmap_HighResolution_357782401_358041601_4FGL_J1345.8+0706_daily_bin457.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.60
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.229       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .30854E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0211       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.5874       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.5155       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.7441       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4643       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12014E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    17.285       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .97274       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .91406       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=   6155.070     FROM MIGRAD    STATUS=CONVERGED    317 CALLS     1504 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.260        .25538E-07** at limit **
   2  Prefactor     12.228        13.107        .18527E-07   -.93913E-05
   3  Prefactor     .10000E-03    10.452        .25467E-07** at limit **
   4  Prefactor     .10000E-03    22.608        .23200E-06** at limit **
   5  norm          .10028E-03    13.298        .11579E-05** at limit **
   6  Prefactor     1.0147        3.5897        .42473E-07   -.22033E-03
   7  Prefactor     .10000E-03    4.9057       -.35932E-07** at limit **
   8  Prefactor     1.5863        4.9227        .73254E-06   -.21036E-03
   9  Prefactor     9.5161        11.568       -.61927E-07   -.15800E-04
  10  Prefactor     5.7387        9.6889        .28736E-05   -.59468E-03
  11  Prefactor     2.4506        56.267       -.12620E-05   -.50600E-05
  12  Prefactor     .10000E-03    22.625        .12875E-06** at limit **
  13  Prefactor     .10000E-03    28.068       -.50242E-06** at limit **
  14  norm          17.248        26.967       -.53467E-05   -.35373E-03
  15  Normalizat    .97295        .19095       -.53453E-06   -.97160E-05
  16  Prefactor     .91390        .13986        .24699E-06   -.86184E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.2279
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100281
  Prefactor  = 1.01473
  Prefactor  = 0.0001
  Prefactor  = 1.58626
  Prefactor  = 9.51606
  Prefactor  = 5.73869
  Prefactor  = 2.45061
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.2485
  Normalizat = 0.972951
  Prefactor  = 0.913898
 **********
 **   18 **HESSE 
 **********

 FCN=   6155.070     FROM HESSE     STATUS=OK           207 CALLS     1711 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.228        13.129        .11455E-03   -1.5008    
   3  Prefactor     .10000E-03    10.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    22.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10028E-03    126.47        .55042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.0147        5.2424        .25343E-02   -1.5507    
   7  Prefactor     .10000E-03    4.9102        .16971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.5863        4.9424        .29251E-03   -1.5456    
   9  Prefactor     9.5161        11.561        .12991E-03   -1.5091    
  10  Prefactor     5.7387        10.726        .83794E-03   -1.5229    
  11  Prefactor     2.4506        56.197        .26051E-03   -1.5395    
  12  Prefactor     .10000E-03    22.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    28.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          17.248        29.585        .96335E-04   -1.4877    
  15  Normalizat    .97295        .22766        .26184E-03   -.93942    
  16  Prefactor     .91390        .16840        .20247E-03   -.95657    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09236e-08
Minuit parameter uncertainties:
  1  1.50203e-05
  2  13.1324
  3  7.7497e-07
  4  3.23079e-05
  5  0.0119454
  6  4.61326
  7  4.52064e-06
  8  4.94365
  9  11.5632
  10  10.73
  11  23.495
  12  8.0885e-06
  13  0.000110488
  14  29.6104
  15  0.227888
  16  0.1685
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.015e+00  4.613e+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:  9.139e-01  1.685e-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:  9.730e-01  2.279e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/947428/likelihoodResults_357782401_358041601_4FGL_J1345.8+0706_daily_bin457.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) = 6155.06814828
delta logL = 0.00165248333269

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6155.06804259
delta logL = 0.00175817847503

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97416       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5317       1.0000          .0000       10.000    
     3 'Normalizat'    .97156       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91457       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=   6155.068     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      235 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .96261        22.650        .44553E-01    .89481E-03
   2  Index         2.5394        1.4895        .47232        .43094E-06
   3  Normalizat    .97181        .13831E-01    .45810E-01    .25615E-03
   4  Prefactor     .91448        .10466E-01    .45190E-01    .33692E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.962611
  Index      = 2.53939
  Normalizat = 0.97181
  Prefactor  = 0.914482
 **********
 **   18 **HESSE 
 **********

 FCN=   6155.068     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .96261        6.5478        .23995E-02   -1.5512    
   2  Index         2.5394        1.8024        .88008E-02   -.51453    
   3  Normalizat    .97181        .22333        .26198E-03   -.93981    
   4  Prefactor     .91448        .16763        .20241E-03   -.95637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82915e-10
Minuit parameter uncertainties:
  1  5.02167
  2  1.85832
  3  0.223546
  4  0.167728
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/947428': 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) = 6155.06803011
delta logL = 0.00177065848584

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  9.626e-01  5.022e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.539e+00  1.858e+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:  9.145e-01  1.677e-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:  9.718e-01  2.235e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 206.465 7.107

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/947428/cmap_HighResolution_357782401_358041601_4FGL_J1345.8+0706_daily_bin457.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.48e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-08 11:31:44.058242', job_id='947428', GAL2='0.91', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1631125904.06', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.77e-03', ts2='0.05', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='457' AND source_name='4FGL J1345.8+0706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 11:31:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 947428: <4FGL_J1345.8+0706_daily_bin457> in cluster <slac> Done

Job <4FGL_J1345.8+0706_daily_bin457> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  8 11:20:29 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 11:21:06 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:21:06 2021
Terminated at Wed Sep  8 11:31:44 2021
Results reported at Wed Sep  8 11:31:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_daily_bin457 206.465 7.1072 357782401 358041601 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 :                                   492.27 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             279.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            675 sec.

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

