aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 36 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7600
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1345.8+0706_daily_bin1709
RA = 206.465, Dec = 7.1072
tmin = 682300801, tmax = 682560001
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='137851', job_status='RUN', time_executed='2022-09-16 17:53:55.269518', time_epoch_executed='1663376035.27' WHERE source_name='4FGL J1345.8+0706' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/137851

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/137851/ft1_4FGL_J1345.8+0706_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/137851/ft2_4FGL_J1345.8+0706_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/137851/ft1_4FGL_J1345.8+0706_daily_bin1709.fits outfile=/scratch/kocevski/137851/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin1709.fits ra=206.465 dec=7.1072 rad=12.0 tmin=682300801.0 tmax=682560001.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.77
user 3.52
sys 0.21

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

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

Number of photons that the gtmktime cut: 591

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/137851/ft1_filtered_4FGL_J1345.8+0706_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/137851/ft2_4FGL_J1345.8+0706_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/137851/ltcube_682300801_682560001_4FGL_J1345.8+0706_daily_bin1709.fits outfile=/scratch/kocevski/137851/expmap_682300801_682560001_4FGL_J1345.8+0706_daily_bin1709.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/137851/ltcube_682300801_682560001_4FGL_J1345.8+0706_daily_bin1709.fits
.....................!
real 191.98
user 186.35
sys 5.19

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/137851/ft1_filtered_4FGL_J1345.8+0706_daily_bin1709.fits scfile=/scratch/kocevski/137851/ft2_4FGL_J1345.8+0706_daily_bin1709.fits outfile=/scratch/kocevski/137851/cmap_682300801_682560001_4FGL_J1345.8+0706_daily_bin1709.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/137851/ft1_filtered_4FGL_J1345.8+0706_daily_bin1709.fits scfile=/scratch/kocevski/137851/ft2_4FGL_J1345.8+0706_daily_bin1709.fits outfile=/scratch/kocevski/137851/cmap_HighResolution_682300801_682560001_4FGL_J1345.8+0706_daily_bin1709.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/137851/ft1_filtered_4FGL_J1345.8+0706_daily_bin1709.fits', '/scratch/kocevski/137851/ft2_4FGL_J1345.8+0706_daily_bin1709.fits', expMap='/scratch/kocevski/137851/expmap_682300801_682560001_4FGL_J1345.8+0706_daily_bin1709.fits', expCube='/scratch/kocevski/137851/ltcube_682300801_682560001_4FGL_J1345.8+0706_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/137851/Model_4FGL_J1345.8+0706_daily_bin1709.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  0.000e+00  1.000e+06 ( 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/137851/ft1_filtered_4FGL_J1345.8+0706_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/137851/ft2_4FGL_J1345.8+0706_daily_bin1709.fits
Exposure map: /scratch/kocevski/137851/expmap_682300801_682560001_4FGL_J1345.8+0706_daily_bin1709.fits
Exposure cube: /scratch/kocevski/137851/ltcube_682300801_682560001_4FGL_J1345.8+0706_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/137851/Model_4FGL_J1345.8+0706_daily_bin1709.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) = 6600.38006637

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86373E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    12.656       1.0000          .0000       .10000E+07
     3 'Prefactor '    18.902       1.0000          .0000       .10000E+07
     4 'Prefactor '    .34804E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .31419E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5564       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15005E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.6185       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.346       1.0000          .0000       .10000E+07
    10 'Prefactor '    .58313       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13521E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    138.51       1.0000          .0000       .10000E+07
    13 'norm      '    .17121E-05   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0644       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .80948       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6600.260     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      996 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        32.447       -.38747E-06** at limit **
   2  Prefactor     12.551        1.6211        .56907E-07   -.72000E-02
   3  Prefactor     18.837        16.711       -.72790E-07   -.10052    
   4  Prefactor     .16370E-05    7.7802       -.47461E-07** at limit **
   5  norm          .16653E-09    7.0456       -.83498E-07** at limit **
   6  Prefactor     2.5591        4.0533       -.20031E-06    .21297E-03
   7  Prefactor     .18800E-05    7.7725       -.17536E-06** at limit **
   8  Prefactor     4.6221        3.8601       -.12304E-06    .58761E-03
   9  Prefactor     13.364        1.2925        .52962E-08   -.23071E-01
  10  Prefactor     .62577        11.064       -.55249E-06   -.26073E-02
  11  Prefactor     .10547E-08    5.0718        .61724E-06** at limit **
  12  Prefactor     141.74        44.742        .50370E-07   -.19017E-02
  13  norm          .55511E-10    4.6417       -.37394E-06** at limit **
  14  Normalizat    1.0632        .21315       -.50530E-05    .40362E-05
  15  Prefactor     .80940        .15786        .55852E-05   -.14892E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 12.5508
  Prefactor  = 18.8374
  Prefactor  = 1.63702e-06
  norm       = 1.66533e-10
  Prefactor  = 2.55908
  Prefactor  = 1.88e-06
  Prefactor  = 4.62211
  Prefactor  = 13.3638
  Prefactor  = 0.625766
  Prefactor  = 1.05471e-09
  Prefactor  = 141.738
  norm       = 5.55112e-11
  Normalizat = 1.06317
  Prefactor  = 0.809399
 **********
 **   18 **HESSE 
 **********

 FCN=   6600.260     FROM HESSE     STATUS=OK           218 CALLS     1214 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        10.575        .88933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.551        10.340        .28131E-03   -1.5637    
   3  Prefactor     18.837        22.537        .23009E-03   -1.5621    
   4  Prefactor     .16370E-05    10.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .16653E-09    7.0474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5591        4.0656        .63828E-03   -1.5676    
   7  Prefactor     .18800E-05    10.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.6221        3.8678        .46810E-03   -1.5665    
   9  Prefactor     13.364        12.643        .27392E-03   -1.5635    
  10  Prefactor     .62577        10.942        .70753E-03   -1.5692    
  11  Prefactor     .10547E-08    5.0833        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     141.74        44.706        .84976E-04   -1.5470    
  13  norm          .55511E-10    4.6507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.0632        .17924        .57544E-01   -.90943    
  15  Prefactor     .80940        .13147        .43840E-01   -.99383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2482e-06
Minuit parameter uncertainties:
  1  5.5959e-06
  2  10.3403
  3  22.5373
  4  0.00832579
  5  6.55203e-05
  6  4.06556
  7  0.00906242
  8  3.86784
  9  12.6431
  10  5.23351
  11  0.000147853
  12  44.7061
  13  2.93489e-05
  14  0.179342
  15  0.131521
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  2.559e+00  4.066e+00  0.000e+00  1.000e+06 ( 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.094e-01  1.315e-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.063e+00  1.793e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/137851/likelihoodResults_682300801_682560001_4FGL_J1345.8+0706_daily_bin1709.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) = 6600.15935878
delta logL = 0.100162285657

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6600.14454471
delta logL = 0.114976361957

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6630       1.0000          .0000       .10000E+07
     2 'Index     '    1.9191       1.0000          .0000       10.000    
     3 'Normalizat'    1.0754       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80101       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6600.145     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      311 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6656        4.9474        .20105E-04    .51457E-04
   2  Index         1.9198        .88282        .11473E-01   -.11491E-03
   3  Normalizat    1.0757        .21148        .25311E-03    .44017E-05
   4  Prefactor     .80086        .15768        .21486E-03    .49209E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.66565
  Index      = 1.9198
  Normalizat = 1.07572
  Prefactor  = 0.800859
 **********
 **   18 **HESSE 
 **********

 FCN=   6600.145     FROM HESSE     STATUS=OK            25 CALLS      336 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6656        4.9663        .80420E-06   -1.5670    
   2  Index         1.9198        .88668        .22946E-02   -.66371    
   3  Normalizat    1.0757        .21170        .10124E-04   -.90535    
   4  Prefactor     .80086        .15782        .85942E-05   -.99697    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00024e-12
Minuit parameter uncertainties:
  1  4.96626
  2  0.894346
  3  0.211867
  4  0.157913
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/137851': 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) = 6600.14454177
delta logL = 0.114979300062

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  3.666e+00  4.966e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  1.920e+00  8.943e-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:  8.009e-01  1.579e-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.076e+00  2.119e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.46
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/137851/cmap_HighResolution_682300801_682560001_4FGL_J1345.8+0706_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.64e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2022-09-16 18:01:58.037822', job_id='137851', GAL2='0.80', fit_tolerance='1e-08', EG2='1.08', EG='1.06', time_epoch_completed='1663376518.04', return_code2='0', ts='0.46', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.15e-01', ts2='0.69', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1709' AND source_name='4FGL J1345.8+0706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:01:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 137851: <4FGL_J1345.8+0706_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1345.8+0706_daily_bin1709> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 17:50:18 2022
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:53:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:53:10 2022
Terminated at Fri Sep 16 18:01:58 2022
Results reported at Fri Sep 16 18:01:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_daily_bin1709 206.465 7.1072 682300801 682560001 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 :                                   484.57 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   530 sec.
    Turnaround time :                            700 sec.

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

