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


Performing analysis on: 4FGL_J1351.3+1115_weekly_bin748
RA = 207.843, Dec = 11.2502
tmin = 691372801, tmax = 691977601
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='13872', job_status='RUN', time_executed='2022-12-06 01:20:43.740044', time_epoch_executed='1670318443.74' WHERE source_name='4FGL J1351.3+1115' and cadence='weekly' and bin_id='748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/13872

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/13872/ft1_4FGL_J1351.3+1115_weekly_bin748.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/13872/ft2_4FGL_J1351.3+1115_weekly_bin748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/13872/ft1_4FGL_J1351.3+1115_weekly_bin748.fits outfile=/scratch/kocevski/13872/ft1_filteredMKT_4FGL_J1351.3+1115_weekly_bin748.fits ra=207.843 dec=11.2502 rad=12.0 tmin=691372801.0 tmax=691977601.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.49
user 5.21
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/13872/ft2_4FGL_J1351.3+1115_weekly_bin748.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/13872/ft1_filteredMKT_4FGL_J1351.3+1115_weekly_bin748.fits evtable="EVENTS" outfile="/scratch/kocevski/13872/ft1_filtered_4FGL_J1351.3+1115_weekly_bin748.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.37
sys 0.17

Number of photons that the gtmktime cut: 1645

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/13872/ft1_filtered_4FGL_J1351.3+1115_weekly_bin748.fits evtable="EVENTS" scfile=/scratch/kocevski/13872/ft2_4FGL_J1351.3+1115_weekly_bin748.fits sctable="SC_DATA" expcube=/scratch/kocevski/13872/ltcube_691372801_691977601_4FGL_J1351.3+1115_weekly_bin748.fits outfile=/scratch/kocevski/13872/expmap_691372801_691977601_4FGL_J1351.3+1115_weekly_bin748.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/13872/ltcube_691372801_691977601_4FGL_J1351.3+1115_weekly_bin748.fits
.....................!
real 192.68
user 185.66
sys 5.96

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/13872/ft1_filtered_4FGL_J1351.3+1115_weekly_bin748.fits scfile=/scratch/kocevski/13872/ft2_4FGL_J1351.3+1115_weekly_bin748.fits outfile=/scratch/kocevski/13872/cmap_691372801_691977601_4FGL_J1351.3+1115_weekly_bin748.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.60
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/13872/ft1_filtered_4FGL_J1351.3+1115_weekly_bin748.fits scfile=/scratch/kocevski/13872/ft2_4FGL_J1351.3+1115_weekly_bin748.fits outfile=/scratch/kocevski/13872/cmap_HighResolution_691372801_691977601_4FGL_J1351.3+1115_weekly_bin748.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.92
user 0.42
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/13872/ft1_filtered_4FGL_J1351.3+1115_weekly_bin748.fits', '/scratch/kocevski/13872/ft2_4FGL_J1351.3+1115_weekly_bin748.fits', expMap='/scratch/kocevski/13872/expmap_691372801_691977601_4FGL_J1351.3+1115_weekly_bin748.fits', expCube='/scratch/kocevski/13872/ltcube_691372801_691977601_4FGL_J1351.3+1115_weekly_bin748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/13872/Model_4FGL_J1351.3+1115_weekly_bin748.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/13872/ft1_filtered_4FGL_J1351.3+1115_weekly_bin748.fits
Spacecraft file(s): /scratch/kocevski/13872/ft2_4FGL_J1351.3+1115_weekly_bin748.fits
Exposure map: /scratch/kocevski/13872/expmap_691372801_691977601_4FGL_J1351.3+1115_weekly_bin748.fits
Exposure cube: /scratch/kocevski/13872/ltcube_691372801_691977601_4FGL_J1351.3+1115_weekly_bin748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/13872/Model_4FGL_J1351.3+1115_weekly_bin748.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) = 18419.9156687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9590       1.0000          .0000       .10000E+07
     2 'Prefactor '    25.462       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.285       1.0000          .0000       .10000E+07
     4 'Prefactor '    .99076E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .17142E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .11036E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .15665E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.2232       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.8612       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11352E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    62.383       1.0000          .0000       .10000E+07
    12 'norm      '    8.2161       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11324E-07   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0637       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .93578       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=   18419.61     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      776 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9603        4.6959       -.35872E-06    .41857E-02
   2  Prefactor     25.435        2.2346       -.54862E-06    .40370E-01
   3  Prefactor     12.281        1.1340       -.22105E-06    .15449E-01
   4  Prefactor     .11102E-09    4.2346        .18486E-05** at limit **
   5  Prefactor     .59397E-08    7.4145        .46698E-05** at limit **
   6  Prefactor     .22204E-09    .50604        .44967E-07** at limit **
   7  Prefactor      .0000        4.0812       -.14859E-05** at limit **
   8  Prefactor     3.2009        5.7298        .15647E-05   -.38468E-02
   9  Prefactor     6.8875        5.6154       -.36200E-05   -.44376E-02
  10  Prefactor     .21094E-08    8.6500       -.55136E-05** at limit **
  11  Prefactor     62.359        1.4689       -.20363E-06    .88010E-01
  12  norm          8.1973        1.0371        .26744E-07    .80774E-02
  13  Prefactor     .22204E-09    1.1954        .12317E-08** at limit **
  14  Normalizat    1.0638        .13100        .35332E-05   -.20772E-02
  15  Prefactor     .93583        .10058       -.22291E-05   -.26225E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96031
  Prefactor  = 25.4349
  Prefactor  = 12.2814
  Prefactor  = 1.11022e-10
  Prefactor  = 5.93969e-09
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 3.2009
  Prefactor  = 6.88751
  Prefactor  = 2.10942e-09
  Prefactor  = 62.3589
  norm       = 8.19726
  Prefactor  = 2.22045e-10
  Normalizat = 1.06376
  Prefactor  = 0.935833
 **********
 **   18 **HESSE 
 **********

 FCN=   18419.61     FROM HESSE     STATUS=OK           216 CALLS      992 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9603        4.7085        .33462E-03   -1.5648    
   2  Prefactor     25.435        15.063        .19822E-03   -1.5607    
   3  Prefactor     12.281        17.636        .28554E-03   -1.5638    
   4  Prefactor     .11102E-09    .89552        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .59397E-08    7.4838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .22204E-09    .50703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        4.0712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.2009        5.7446        .56401E-03   -1.5672    
   9  Prefactor     6.8875        5.6181        .38279E-03   -1.5655    
  10  Prefactor     .21094E-08    8.7427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     62.359        18.395        .12662E-03   -1.5550    
  12  norm          8.1973        10.665        .34953E-03   -1.5651    
  13  Prefactor     .22204E-09    1.1978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.0638        .10853        .57948E-01   -.90924    
  15  Prefactor     .93583        .82794E-01    .45459E-01   -.94900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11167e-07
Minuit parameter uncertainties:
  1  4.70845
  2  15.0628
  3  17.636
  4  2.11723e-05
  5  0.00042166
  6  2.02179e-05
  7  4.97323e-06
  8  5.74458
  9  5.61812
  10  0.000273177
  11  18.3952
  12  10.6645
  13  3.08849e-05
  14  0.108556
  15  0.082805
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  2.220e-10  2.022e-05  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:  9.358e-01  8.281e-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.064e+00  1.086e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 207.843 11.250
Photon Flux Upper Limit: 1.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/13872/likelihoodResults_691372801_691977601_4FGL_J1351.3+1115_weekly_bin748.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): 102
logL (Free Index) = 18419.6885291
delta logL = -0.0781776349759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18419.6103522
delta logL = -8.01512214821e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21588E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.9929       1.0000          .0000       10.000    
     3 'Normalizat'    1.0638       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93584       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.

 FCN=   18419.61     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      224 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .55386E-02    .42118E-03** at limit **
   2  Index         1.4109        5.5156        .50000       -.54570E-10
   3  Normalizat    1.0638        .27175E-03    .57948E-01    .71523E-04
   4  Prefactor     .93584        .21168E-03    .45460E-01    .31630E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.41093
  Normalizat = 1.06376
  Prefactor  = 0.935835
 **********
 **   18 **HESSE 
 **********

 FCN=   18419.61     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      253 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .11358        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4109        8.6215        .50000       -.80066    
   3  Normalizat    1.0638        .12293E-02    .25626E-03   -.90924    
   4  Prefactor     .93584        .95802E-03    .21032E-03   -.94900    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.72903e-11
Minuit parameter uncertainties:
  1  5.28712e-06
  2  54676.5
  3  0.00122929
  4  0.00095802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/13872': 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): 102
logL (Free Index) = 18419.6103514
delta logL = 1.01499608718e-09

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  5.551e-11  5.287e-06  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  1.411e+00  5.468e+04  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:  9.358e-01  9.580e-04  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.064e+00  1.229e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 207.843 11.250

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/13872/cmap_HighResolution_691372801_691977601_4FGL_J1351.3+1115_weekly_bin748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-03', job_status='DONE', photon_flux_upper_limit='1.48e-08', time_completed='2022-12-06 01:33:06.465379', job_id='13872', GAL2='0.94', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1670319186.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.01e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='748' AND source_name='4FGL J1351.3+1115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec  6 01:33:06 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 13872: <4FGL_J1351.3+1115_weekly_bin748> in cluster <slac> Done

Job <4FGL_J1351.3+1115_weekly_bin748> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec  6 01:20:26 2022
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  6 01:20:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  6 01:20:27 2022
Terminated at Tue Dec  6 01:33:07 2022
Results reported at Tue Dec  6 01:33:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_weekly_bin748 207.843 11.2502 691372801 691977601 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 :                                   742.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             368.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            761 sec.

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

