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


Performing analysis on: 4FGL_J1351.3+1115_weekly_bin751
RA = 207.843, Dec = 11.2502
tmin = 693187201, tmax = 693792001
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='676551', job_status='RUN', time_executed='2022-12-27 01:17:24.096088', time_epoch_executed='1672132644.1' WHERE source_name='4FGL J1351.3+1115' and cadence='weekly' and bin_id='751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676551

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676551/ft1_4FGL_J1351.3+1115_weekly_bin751.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676551/ft2_4FGL_J1351.3+1115_weekly_bin751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676551/ft1_4FGL_J1351.3+1115_weekly_bin751.fits outfile=/scratch/kocevski/676551/ft1_filteredMKT_4FGL_J1351.3+1115_weekly_bin751.fits ra=207.843 dec=11.2502 rad=12.0 tmin=693187201.0 tmax=693792001.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 7.68
user 7.34
sys 0.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/676551/ft2_4FGL_J1351.3+1115_weekly_bin751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/676551/ft2_4FGL_J1351.3+1115_weekly_bin751.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/676551/ft1_filteredMKT_4FGL_J1351.3+1115_weekly_bin751.fits evtable="EVENTS" outfile="/scratch/kocevski/676551/ft1_filtered_4FGL_J1351.3+1115_weekly_bin751.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.58
user 0.40
sys 0.16

Number of photons that the gtmktime cut: 1275

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/676551/ft1_filtered_4FGL_J1351.3+1115_weekly_bin751.fits" evtable="EVENTS" scfile=/scratch/kocevski/676551/ft2_4FGL_J1351.3+1115_weekly_bin751.fits sctable="SC_DATA" outfile=/scratch/kocevski/676551/ltcube_693187201_693792001_4FGL_J1351.3+1115_weekly_bin751.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/676551/ft2_4FGL_J1351.3+1115_weekly_bin751.fits
.....................!
real 36.70
user 35.50
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676551/ft1_filtered_4FGL_J1351.3+1115_weekly_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/676551/ft2_4FGL_J1351.3+1115_weekly_bin751.fits sctable="SC_DATA" expcube=/scratch/kocevski/676551/ltcube_693187201_693792001_4FGL_J1351.3+1115_weekly_bin751.fits outfile=/scratch/kocevski/676551/expmap_693187201_693792001_4FGL_J1351.3+1115_weekly_bin751.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/676551/ltcube_693187201_693792001_4FGL_J1351.3+1115_weekly_bin751.fits
.....................!
real 192.64
user 186.90
sys 4.87

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 150 point sources and 0 extended sources

Setting source of interest to:
4FGL J1351.3+1115 @ 207.843 11.2502

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/676551/ft1_filtered_4FGL_J1351.3+1115_weekly_bin751.fits scfile=/scratch/kocevski/676551/ft2_4FGL_J1351.3+1115_weekly_bin751.fits outfile=/scratch/kocevski/676551/cmap_693187201_693792001_4FGL_J1351.3+1115_weekly_bin751.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=207.843 yref=11.2502 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.61
user 0.43
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676551/ft1_filtered_4FGL_J1351.3+1115_weekly_bin751.fits scfile=/scratch/kocevski/676551/ft2_4FGL_J1351.3+1115_weekly_bin751.fits outfile=/scratch/kocevski/676551/cmap_HighResolution_693187201_693792001_4FGL_J1351.3+1115_weekly_bin751.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=207.843 yref=11.2502 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.63
user 0.45
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/676551/ft1_filtered_4FGL_J1351.3+1115_weekly_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/676551/ft2_4FGL_J1351.3+1115_weekly_bin751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/676551/Model_4FGL_J1351.3+1115_weekly_bin751.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/676551/ft1_filtered_4FGL_J1351.3+1115_weekly_bin751.fits.....................!
real 91.75
user 90.10
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/676551/ft1_filtered_4FGL_J1351.3+1115_weekly_bin751.fits', '/scratch/kocevski/676551/ft2_4FGL_J1351.3+1115_weekly_bin751.fits', expMap='/scratch/kocevski/676551/expmap_693187201_693792001_4FGL_J1351.3+1115_weekly_bin751.fits', expCube='/scratch/kocevski/676551/ltcube_693187201_693792001_4FGL_J1351.3+1115_weekly_bin751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/676551/Model_4FGL_J1351.3+1115_weekly_bin751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1351.3+1115'

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.085e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  1.884e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/676551/ft1_filtered_4FGL_J1351.3+1115_weekly_bin751.fits
Spacecraft file(s): /scratch/kocevski/676551/ft2_4FGL_J1351.3+1115_weekly_bin751.fits
Exposure map: /scratch/kocevski/676551/expmap_693187201_693792001_4FGL_J1351.3+1115_weekly_bin751.fits
Exposure cube: /scratch/kocevski/676551/ltcube_693187201_693792001_4FGL_J1351.3+1115_weekly_bin751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/676551/Model_4FGL_J1351.3+1115_weekly_bin751.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) = 13804.013325

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.400       1.0000          .0000       .10000E+07
     2 'Prefactor '    .14178E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13615E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .51575E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .23520E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.0595       1.0000          .0000       .10000E+07
     7 'Prefactor '    .30234E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    12.263       1.0000          .0000       .10000E+07
     9 'Prefactor '    .61994E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15023E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    53.790       1.0000          .0000       .10000E+07
    12 'norm      '    6.4519       1.0000          .0000       .10000E+07
    13 'Prefactor '    .30131E-06   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.2802       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .77330       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13803.92     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      816 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.312        6.6283        .10168E-08    .44935E-04
   2  Prefactor     .72720E-08    3.7908        .91453E-08** at limit **
   3  Prefactor     .89873E-07    5.0927        .18906E-06** at limit **
   4  Prefactor      .0000        .93429       -.20042E-06** at limit **
   5  Prefactor     .56455E-07    4.4642        .16498E-06** at limit **
   6  Prefactor     1.0594        1.0937       -.48862E-07   -.18322E-02
   7  Prefactor     .11102E-09    2.9922        .20462E-08** at limit **
   8  Prefactor     12.211        7.5543        .12066E-07    .60457E-02
   9  Prefactor     .17319E-06    2.7144        .45930E-07** at limit **
  10  Prefactor     .28333E-06    6.8890        .18996E-06** at limit **
  11  Prefactor     53.414        8.7492       -.18775E-07    .24733    
  12  norm          6.4587        2.6183       -.10165E-07   -.47836E-01
  13  Prefactor     .22499E-06    3.1213        .15672E-07** at limit **
  14  Normalizat    1.2809        .14959        .42896E-05    .45028E-03
  15  Prefactor     .77319        .11394       -.75732E-06    .39023E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.3115
  Prefactor  = 7.27196e-09
  Prefactor  = 8.98726e-08
  Prefactor  = 0
  Prefactor  = 5.64548e-08
  Prefactor  = 1.05942
  Prefactor  = 1.11022e-10
  Prefactor  = 12.2113
  Prefactor  = 1.73195e-07
  Prefactor  = 2.83329e-07
  Prefactor  = 53.4143
  norm       = 6.45865
  Prefactor  = 2.24987e-07
  Normalizat = 1.28092
  Prefactor  = 0.773191
 **********
 **   18 **HESSE 
 **********

 FCN=   13803.92     FROM HESSE     STATUS=OK           210 CALLS     1026 TOTAL
                     EDM=   .62E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.312        6.6299        .27337E-03   -1.5635    
   2  Prefactor     .72720E-08    6.7273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .89873E-07    9.8421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        .92870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .56455E-07    10.100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.0594        1.4045        .26842E-02   -1.5687    
   7  Prefactor     .11102E-09    6.9580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.211        7.5366        .28580E-03   -1.5638    
   9  Prefactor     .17319E-06    5.2162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .28333E-06    9.0354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     53.414        20.004        .13636E-03   -1.5562    
  12  norm          6.4587        10.818        .39489E-03   -1.5657    
  13  Prefactor     .22499E-06    5.5459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.2809        .12396        .52915E-01   -.84138    
  15  Prefactor     .77319        .94558E-01    .43369E-01   -1.0072    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18528e-07
Minuit parameter uncertainties:
  1  6.62992
  2  0.000441663
  3  0.00188093
  4  9.48171e-06
  5  0.00151014
  6  1.40446
  7  5.26613e-05
  8  7.53661
  9  0.00190103
  10  0.00320004
  11  20.0043
  12  10.8179
  13  0.00223394
  14  0.123991
  15  0.0945782
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.059e+00  1.404e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  1.884e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  7.732e-01  9.458e-02  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.281e+00  1.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.15
Ra Dec: 207.843 11.250
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 5.72e-09 +/- 7.58e-09
Energy Flux (Fixed Index): 5.37e-06 +/- 7.11e-06

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) = 13803.5141495
delta logL = 0.408291914435

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13803.5079488
delta logL = 0.414492554792

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3947       1.0000          .0000       .10000E+07
     2 'Index     '    1.2833       1.0000          .0000       10.000    
     3 'Normalizat'    1.2836       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77244       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13803.51     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      292 TOTAL
                     EDM=   .66E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3947        1.4304        .13576E-04   -.11221E-03
   2  Index         1.2834        .60131        .16204E-01   -.14037E-04
   3  Normalizat    1.2836        .14682        .23374E-03    .85603E-05
   4  Prefactor     .77244        .11366        .22583E-03    .10068E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.39473
  Index      = 1.28335
  Normalizat = 1.28362
  Prefactor  = 0.772444
 **********
 **   18 **HESSE 
 **********

 FCN=   13803.51     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .45E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3947        1.4401        .54304E-06   -1.5684    
   2  Index         1.2834        .60562        .64817E-03   -.83803    
   3  Normalizat    1.2836        .14698        .93496E-05   -.84057    
   4  Prefactor     .77244        .11379        .90331E-05   -1.0075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.50303e-12
Minuit parameter uncertainties:
  1  1.44009
  2  0.608977
  3  0.147029
  4  0.113821
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676551': 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) = 13803.5079488
delta logL = 0.414492568327

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.395e+00  1.440e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  1.283e+00  6.090e-01  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  7.724e-01  1.138e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.284e+00  1.470e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.98
Ra Dec: 207.843 11.250
Photon Index (Free Index): 1.28 +/- 0.61
Photon Flux (Free Index): 2.83e-09 +/- 3.52e-09
Energy Flux (Free Index): 1.83e-05 +/- 2.89e-05

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/676551/cmap_HighResolution_693187201_693792001_4FGL_J1351.3+1115_weekly_bin751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.72e-09', energy_flux2='1.83e-05', photon_flux_error='7.58e-09', dlogl='4.14e-01', energy_flux='5.37e-06', photon_flux2='2.83e-09', job_status='DONE', time_completed='2022-12-27 01:27:57.145409', photon_index_error2='0.61', photon_index2='1.28', ts='4.15', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='2.89e-05', EG='1.28', time_epoch_completed='1672133277.15', return_code='0', job_id='676551', GAL2='0.77', EG2='1.28', return_code2='0', energy_flux_error='7.11e-06', photon_flux_error2='3.52e-09', ts2='4.98', photon_index='1.88' WHERE bin_id='751' AND source_name='4FGL J1351.3+1115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 27 01:27:57 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 676551: <4FGL_J1351.3+1115_weekly_bin751> in cluster <slac> Done

Job <4FGL_J1351.3+1115_weekly_bin751> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Dec 27 01:15:21 2022
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 27 01:15:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 27 01:15:51 2022
Terminated at Tue Dec 27 01:27:58 2022
Results reported at Tue Dec 27 01:27:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_weekly_bin751 207.843 11.2502 693187201 693792001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1351.3+1115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   630.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            757 sec.

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

