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


Performing analysis on: 4FGL_J1345.8+0706_daily_bin1779
RA = 206.465, Dec = 7.1072
tmin = 700444801, tmax = 700704001
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='27950', job_status='RUN', time_executed='2023-03-17 01:46:16.249318', time_epoch_executed='1679042776.25' WHERE source_name='4FGL J1345.8+0706' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/27950

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/27950/ft1_4FGL_J1345.8+0706_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/27950/ft2_4FGL_J1345.8+0706_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/27950/ft1_4FGL_J1345.8+0706_daily_bin1779.fits outfile=/scratch/kocevski/27950/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin1779.fits ra=206.465 dec=7.1072 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.30
user 5.02
sys 0.24

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

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

Number of photons that the gtmktime cut: 615

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/27950/ft1_filtered_4FGL_J1345.8+0706_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/27950/ft2_4FGL_J1345.8+0706_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/27950/ltcube_700444801_700704001_4FGL_J1345.8+0706_daily_bin1779.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/27950/ft2_4FGL_J1345.8+0706_daily_bin1779.fits
.....................!
real 12.45
user 12.06
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/27950/ft1_filtered_4FGL_J1345.8+0706_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/27950/ft2_4FGL_J1345.8+0706_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/27950/ltcube_700444801_700704001_4FGL_J1345.8+0706_daily_bin1779.fits outfile=/scratch/kocevski/27950/expmap_700444801_700704001_4FGL_J1345.8+0706_daily_bin1779.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/27950/ltcube_700444801_700704001_4FGL_J1345.8+0706_daily_bin1779.fits
.....................!
real 190.86
user 185.40
sys 5.11

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/27950/ft1_filtered_4FGL_J1345.8+0706_daily_bin1779.fits scfile=/scratch/kocevski/27950/ft2_4FGL_J1345.8+0706_daily_bin1779.fits outfile=/scratch/kocevski/27950/cmap_700444801_700704001_4FGL_J1345.8+0706_daily_bin1779.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.85
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/27950/ft1_filtered_4FGL_J1345.8+0706_daily_bin1779.fits scfile=/scratch/kocevski/27950/ft2_4FGL_J1345.8+0706_daily_bin1779.fits outfile=/scratch/kocevski/27950/cmap_HighResolution_700444801_700704001_4FGL_J1345.8+0706_daily_bin1779.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/27950/ft1_filtered_4FGL_J1345.8+0706_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/27950/ft2_4FGL_J1345.8+0706_daily_bin1779.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/27950/Model_4FGL_J1345.8+0706_daily_bin1779.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/27950/ft1_filtered_4FGL_J1345.8+0706_daily_bin1779.fits.....................!
real 52.54
user 51.15
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6680       1.0000          .0000       .10000E+07
     2 'Prefactor '    .41656E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .48533E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .22265E-04   1.0000          .0000       .10000E+07
     5 'norm      '    33.641       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6343       1.0000          .0000       .10000E+07
     7 'Prefactor '    .33819E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .19373E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .23054E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .68243E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2267       1.0000          .0000       .10000E+07
    12 'Prefactor '    28.827       1.0000          .0000       .10000E+07
    13 'norm      '    .45020E-07   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1745       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0006       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=   6841.472     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1188 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6769        13.390        .10080E-05    .51139E-01
   2  Prefactor     .36204E-06    18.671        .55688E-06** at limit **
   3  Prefactor     .49905E-07    11.011       -.44547E-06** at limit **
   4  Prefactor     .63710E-06    46.088        .15622E-05** at limit **
   5  norm          33.643        1.3078        .70282E-08    .43695E-02
   6  Prefactor     1.6356        3.2293        .68958E-07    .29764E-03
   7  Prefactor     .24792E-05    18.961       -.12683E-05** at limit **
   8  Prefactor     .11102E-09    3.0935       -.12301E-07** at limit **
   9  Prefactor     .63838E-08    6.0534        .73343E-07** at limit **
  10  Prefactor     .20677E-04    17.764        .12472E-06** at limit **
  11  Prefactor     2.2276        12.876        .12391E-05   -.71652E-03
  12  Prefactor     28.828        1.5437        .14065E-07   -.14588E-02
  13  norm          .22760E-08    4.9429        .26434E-07** at limit **
  14  Normalizat    1.1744        .22686        .13290E-05    .41542E-04
  15  Prefactor     1.0005        .17158        .17544E-05    .60380E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.6769
  Prefactor  = 3.62044e-07
  Prefactor  = 4.99045e-08
  Prefactor  = 6.37101e-07
  norm       = 33.6425
  Prefactor  = 1.63563
  Prefactor  = 2.47924e-06
  Prefactor  = 1.11022e-10
  Prefactor  = 6.38378e-09
  Prefactor  = 2.0677e-05
  Prefactor  = 2.22755
  Prefactor  = 28.8282
  norm       = 2.27596e-09
  Normalizat = 1.17441
  Prefactor  = 1.00054
 **********
 **   18 **HESSE 
 **********

 FCN=   6841.472     FROM HESSE     STATUS=OK           216 CALLS     1404 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6769        15.376        .52715E-03   -1.5670    
   2  Prefactor     .36204E-06    18.991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .49905E-07    11.090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .63710E-06    46.909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          33.643        31.960        .17243E-03   -1.5592    
   6  Prefactor     1.6356        3.2632        .82663E-03   -1.5682    
   7  Prefactor     .24792E-05    22.094        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    3.0759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .63838E-08    6.0557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .20677E-04    4.5972        .65148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2276        12.919        .68873E-03   -1.5678    
  12  Prefactor     28.828        30.434        .18628E-03   -1.5601    
  13  norm          .22760E-08    4.9450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.1744        .18771        .59986E-01   -.87397    
  15  Prefactor     1.0005        .14200        .45628E-01   -.92712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07161e-07
Minuit parameter uncertainties:
  1  15.0381
  2  0.00524429
  3  0.00148788
  4  0.0109336
  5  31.9598
  6  3.26319
  7  0.0148024
  8  3.65367e-05
  9  0.00039318
  10  0.0194993
  11  10.7292
  12  30.434
  13  0.000212097
  14  0.187816
  15  0.142055
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.636e+00  3.263e+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:  1.001e+00  1.421e-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.174e+00  1.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/27950/likelihoodResults_700444801_700704001_4FGL_J1345.8+0706_daily_bin1779.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) = 6840.90782869
delta logL = 0.564379181862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6840.90310803
delta logL = 0.569099843077

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9333       1.0000          .0000       .10000E+07
     2 'Index     '    1.3030       1.0000          .0000       10.000    
     3 'Normalizat'    1.1831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99581       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=   6840.903     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      219 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9340        2.2036        .74662E-03    .25254E-02
   2  Index         1.3031        .37721        .24831       -.97017E-04
   3  Normalizat    1.1831        .18511        .59755E-01    .98287E-05
   4  Prefactor     .99582        .14050        .46215E-01    .74765E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.93396
  Index      = 1.3031
  Normalizat = 1.18309
  Prefactor  = 0.995822
 **********
 **   18 **HESSE 
 **********

 FCN=   6840.903     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9340        3.1263        .12737E-04   -1.5680    
   2  Index         1.3031        .65362        .90404E-02   -.83215    
   3  Normalizat    1.1831        .22471        .26428E-03   -.87127    
   4  Prefactor     .99582        .17073        .21532E-03   -.92869    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.86985e-09
Minuit parameter uncertainties:
  1  3.12633
  2  0.657801
  3  0.224891
  4  0.170818
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/27950': 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) = 6840.90310801
delta logL = 0.569099864022

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.934e+00  3.126e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  1.303e+00  6.578e-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:  9.958e-01  1.708e-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.183e+00  2.249e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.46
Ra Dec: 206.465 7.107
Photon Index (Free Index): 1.30 +/- 0.66
Photon Flux (Free Index): 7.87e-09 +/- 1.17e-08
Energy Flux (Free Index): 4.77e-05 +/- 7.67e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/27950/cmap_HighResolution_700444801_700704001_4FGL_J1345.8+0706_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.55e-03', comment='SUCCESS', energy_flux2='4.77e-05', dlogl='5.69e-01', photon_flux2='7.87e-09', job_status='DONE', time_completed='2023-03-17 01:54:36.592048', photon_index_error2='0.66', photon_index2='1.30', ts='0.32', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='9.75e-08', energy_flux_error2='7.67e-05', EG='1.17', time_epoch_completed='1679043276.59', return_code='0', job_id='27950', GAL2='1.00', EG2='1.18', return_code2='0', photon_flux_error2='1.17e-08', ts2='1.46', photon_index='2.44' WHERE bin_id='1779' AND source_name='4FGL J1345.8+0706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:54:36 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 27950: <4FGL_J1345.8+0706_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1345.8+0706_daily_bin1779> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Mar 17 01:45:27 2023
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:45:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:45:28 2023
Terminated at Fri Mar 17 01:54:37 2023
Results reported at Fri Mar 17 01:54:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_daily_bin1779 206.465 7.1072 700444801 700704001 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 :                                   502.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             277.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   548 sec.
    Turnaround time :                            550 sec.

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

