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


Performing analysis on: 4FGL_J1345.8+0706_weekly_bin763
RA = 206.465, Dec = 7.1072
tmin = 700444801, tmax = 701049601
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='431437', job_status='RUN', time_executed='2023-03-21 01:53:34.380055', time_epoch_executed='1679388814.38' WHERE source_name='4FGL J1345.8+0706' and cadence='weekly' and bin_id='763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431437

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

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=700444801.0 && nMetStart<701049601.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<701049601.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431437/ft1_4FGL_J1345.8+0706_weekly_bin763.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431437/ft2_4FGL_J1345.8+0706_weekly_bin763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431437/ft1_4FGL_J1345.8+0706_weekly_bin763.fits outfile=/scratch/kocevski/431437/ft1_filteredMKT_4FGL_J1345.8+0706_weekly_bin763.fits ra=206.465 dec=7.1072 rad=12.0 tmin=700444801.0 tmax=701049601.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 9.74
user 9.37
sys 0.34

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431437/ft2_4FGL_J1345.8+0706_weekly_bin763.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/431437/ft1_filteredMKT_4FGL_J1345.8+0706_weekly_bin763.fits evtable="EVENTS" outfile="/scratch/kocevski/431437/ft1_filtered_4FGL_J1345.8+0706_weekly_bin763.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.55
user 0.36
sys 0.17

Number of photons that the gtmktime cut: 1078

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431437/ft1_filtered_4FGL_J1345.8+0706_weekly_bin763.fits" evtable="EVENTS" scfile=/scratch/kocevski/431437/ft2_4FGL_J1345.8+0706_weekly_bin763.fits sctable="SC_DATA" outfile=/scratch/kocevski/431437/ltcube_700444801_701049601_4FGL_J1345.8+0706_weekly_bin763.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/431437/ft2_4FGL_J1345.8+0706_weekly_bin763.fits
.....................!
real 26.26
user 25.77
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431437/ft1_filtered_4FGL_J1345.8+0706_weekly_bin763.fits evtable="EVENTS" scfile=/scratch/kocevski/431437/ft2_4FGL_J1345.8+0706_weekly_bin763.fits sctable="SC_DATA" expcube=/scratch/kocevski/431437/ltcube_700444801_701049601_4FGL_J1345.8+0706_weekly_bin763.fits outfile=/scratch/kocevski/431437/expmap_700444801_701049601_4FGL_J1345.8+0706_weekly_bin763.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/431437/ltcube_700444801_701049601_4FGL_J1345.8+0706_weekly_bin763.fits
.....................!
real 190.95
user 185.19
sys 5.44

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/431437/ft1_filtered_4FGL_J1345.8+0706_weekly_bin763.fits scfile=/scratch/kocevski/431437/ft2_4FGL_J1345.8+0706_weekly_bin763.fits outfile=/scratch/kocevski/431437/cmap_700444801_701049601_4FGL_J1345.8+0706_weekly_bin763.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=206.465 yref=7.1072 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431437/ft1_filtered_4FGL_J1345.8+0706_weekly_bin763.fits scfile=/scratch/kocevski/431437/ft2_4FGL_J1345.8+0706_weekly_bin763.fits outfile=/scratch/kocevski/431437/cmap_HighResolution_700444801_701049601_4FGL_J1345.8+0706_weekly_bin763.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.58
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8418       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.3804       1.0000          .0000       .10000E+07
     3 'Prefactor '    .78107E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .63771E-06   1.0000          .0000       .10000E+07
     5 'norm      '    14.613       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15018       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21051       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14433E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    .39635E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .77705E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.3587       1.0000          .0000       .10000E+07
    12 'Prefactor '    47.915       1.0000          .0000       .10000E+07
    13 'norm      '    .75611E-05   1.0000          .0000       .10000E+07
    14 'Normalizat'    .97759       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1407       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=   12291.95     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      839 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8511        2.2378       -.11568E-07    .54688E-02
   2  Prefactor     4.3860        6.0034       -.47114E-07    .39720E-01
   3  Prefactor     .53291E-08    9.4691       -.20657E-06** at limit **
   4  Prefactor     .85654E-07    16.607       -.55300E-06** at limit **
   5  norm          14.482        2.3902       -.21509E-07    .29083E-01
   6  Prefactor     .15037        8.4778       -.66331E-07** at limit **
   7  Prefactor     .15812E-04    9.0283       -.30954E-06** at limit **
   8  Prefactor      .0000        1.8798       -.10591E-06** at limit **
   9  Prefactor     .42188E-08    2.9429        .23932E-06** at limit **
  10  Prefactor     .19929E-07    13.726       -.24056E-06** at limit **
  11  Prefactor     2.3704        7.5039        .13084E-06   -.14284E-01
  12  Prefactor     47.892        1.6087       -.55313E-08    .28730E-01
  13  norm          .42744E-08    3.0695       -.14646E-06** at limit **
  14  Normalizat    .97767        .17068       -.19773E-06   -.34207E-04
  15  Prefactor     1.1409        .12962       -.73347E-06   -.63766E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.85108
  Prefactor  = 4.38603
  Prefactor  = 5.32907e-09
  Prefactor  = 8.56537e-08
  norm       = 14.4816
  Prefactor  = 0.150368
  Prefactor  = 1.58125e-05
  Prefactor  = 0
  Prefactor  = 4.21885e-09
  Prefactor  = 1.99285e-08
  Prefactor  = 2.37042
  Prefactor  = 47.8916
  norm       = 4.27436e-09
  Normalizat = 0.977669
  Prefactor  = 1.14086
 **********
 **   18 **HESSE 
 **********

 FCN=   12291.95     FROM HESSE     STATUS=OK           218 CALLS     1057 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8511        21.187        .76827E-03   -1.5681    
   2  Prefactor     4.3860        8.2616        .48098E-03   -1.5666    
   3  Prefactor     .53291E-08    9.5340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .85654E-07    17.194        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          14.482        22.472        .26175E-03   -1.5632    
   6  Prefactor     .15037        .99660        .67461E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .15812E-04    9.9288        .11592E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.8662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .42188E-08    3.0331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19929E-07    13.766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.3704        11.281        .66704E-03   -1.5677    
  12  Prefactor     47.892        23.314        .14448E-03   -1.5570    
  13  norm          .42744E-08    3.1589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .97767        .14936        .45886E-01   -.93782    
  15  Prefactor     1.1409        .11130        .36212E-01   -.88171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.78985e-08
Minuit parameter uncertainties:
  1  12.5251
  2  8.26166
  3  0.000451476
  4  0.00242737
  5  22.4718
  6  0.774227
  7  0.0250599
  8  6.61215e-06
  9  0.000226194
  10  0.00104709
  11  10.3424
  12  23.3138
  13  0.00023217
  14  0.14942
  15  0.111323
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.504e-01  7.742e-01  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.141e+00  1.113e-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.777e-01  1.494e-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: 6.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431437/likelihoodResults_700444801_701049601_4FGL_J1345.8+0706_weekly_bin763.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) = 12291.6908296
delta logL = 0.259194341557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12291.4876885
delta logL = 0.462335453167

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0612       1.0000          .0000       .10000E+07
     2 'Index     '    1.2591       1.0000          .0000       10.000    
     3 'Normalizat'    .97935       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1364       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=   12291.49     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      240 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0610        1.9127        .33905E-02    .15122E-01
   2  Index         1.2591        .41929        .24361       -.18538E-03
   3  Normalizat    .97935        .14484        .45908E-01    .35801E-04
   4  Prefactor     1.1364        .11049        .36342E-01    .11846E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.06103
  Index      = 1.25913
  Normalizat = 0.979351
  Prefactor  = 1.13643
 **********
 **   18 **HESSE 
 **********

 FCN=   12291.49     FROM HESSE     STATUS=OK            35 CALLS      275 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0610        1.9999        .17736E-03   -1.5687    
   2  Index         1.2591        .66714        .12141E-01   -.84531    
   3  Normalizat    .97935        .16942        .28862E-03   -.93725    
   4  Prefactor     1.1364        .12935        .20492E-03   -.88311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28902e-08
Minuit parameter uncertainties:
  1  1.99989
  2  0.671721
  3  0.169514
  4  0.129383
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431437': 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) = 12291.4876885
delta logL = 0.462335499726

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.061e+00  2.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  1.259e+00  6.717e-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:  1.136e+00  1.294e-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.794e-01  1.695e-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/431437/cmap_HighResolution_700444801_701049601_4FGL_J1345.8+0706_weekly_bin763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-03', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2023-03-21 02:04:21.704363', job_id='431437', GAL2='1.14', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1679389461.7', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='4.62e-01', ts2='0.93', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='763' AND source_name='4FGL J1345.8+0706' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 21 02:04:21 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 431437: <4FGL_J1345.8+0706_weekly_bin763> in cluster <slac> Done

Job <4FGL_J1345.8+0706_weekly_bin763> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 21 01:50:21 2023
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 21 01:50:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 21 01:50:22 2023
Terminated at Tue Mar 21 02:04:22 2023
Results reported at Tue Mar 21 02:04:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_weekly_bin763 206.465 7.1072 700444801 701049601 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 :                                   646.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            841 sec.

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

