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


Performing analysis on: 4FGL_J2317.7+2839_daily_bin1719
RA = 349.438, Dec = 28.6589
tmin = 684892801, tmax = 685152001
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='668298', job_status='RUN', time_executed='2022-09-18 01:22:58.435034', time_epoch_executed='1663489378.44' WHERE source_name='4FGL J2317.7+2839' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668298

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668298/ft1_4FGL_J2317.7+2839_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668298/ft2_4FGL_J2317.7+2839_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668298/ft1_4FGL_J2317.7+2839_daily_bin1719.fits outfile=/scratch/kocevski/668298/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1719.fits ra=349.438 dec=28.6589 rad=12.0 tmin=684892801.0 tmax=685152001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.17
user 2.94
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/668298/ft2_4FGL_J2317.7+2839_daily_bin1719.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/668298/ft2_4FGL_J2317.7+2839_daily_bin1719.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/668298/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/668298/ft1_filtered_4FGL_J2317.7+2839_daily_bin1719.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.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 922

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/668298/ft1_filtered_4FGL_J2317.7+2839_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/668298/ft2_4FGL_J2317.7+2839_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/668298/ltcube_684892801_685152001_4FGL_J2317.7+2839_daily_bin1719.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/668298/ft2_4FGL_J2317.7+2839_daily_bin1719.fits
.....................!
real 16.98
user 16.44
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668298/ft1_filtered_4FGL_J2317.7+2839_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/668298/ft2_4FGL_J2317.7+2839_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/668298/ltcube_684892801_685152001_4FGL_J2317.7+2839_daily_bin1719.fits outfile=/scratch/kocevski/668298/expmap_684892801_685152001_4FGL_J2317.7+2839_daily_bin1719.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/668298/ltcube_684892801_685152001_4FGL_J2317.7+2839_daily_bin1719.fits
.....................!
real 191.71
user 186.57
sys 4.49

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

Setting source of interest to:
4FGL J2317.7+2839 @ 349.438 28.6589

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/668298/ft1_filtered_4FGL_J2317.7+2839_daily_bin1719.fits scfile=/scratch/kocevski/668298/ft2_4FGL_J2317.7+2839_daily_bin1719.fits outfile=/scratch/kocevski/668298/cmap_684892801_685152001_4FGL_J2317.7+2839_daily_bin1719.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=349.438 yref=28.6589 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668298/ft1_filtered_4FGL_J2317.7+2839_daily_bin1719.fits scfile=/scratch/kocevski/668298/ft2_4FGL_J2317.7+2839_daily_bin1719.fits outfile=/scratch/kocevski/668298/cmap_HighResolution_684892801_685152001_4FGL_J2317.7+2839_daily_bin1719.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=349.438 yref=28.6589 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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/668298/ft1_filtered_4FGL_J2317.7+2839_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/668298/ft2_4FGL_J2317.7+2839_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/668298/Model_4FGL_J2317.7+2839_daily_bin1719.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/668298/ft1_filtered_4FGL_J2317.7+2839_daily_bin1719.fits.....................!
real 115.72
user 113.97
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/668298/ft1_filtered_4FGL_J2317.7+2839_daily_bin1719.fits', '/scratch/kocevski/668298/ft2_4FGL_J2317.7+2839_daily_bin1719.fits', expMap='/scratch/kocevski/668298/expmap_684892801_685152001_4FGL_J2317.7+2839_daily_bin1719.fits', expCube='/scratch/kocevski/668298/ltcube_684892801_685152001_4FGL_J2317.7+2839_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/668298/Model_4FGL_J2317.7+2839_daily_bin1719.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2317.7+2839'

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  2.207e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  2.003e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
414        Scale:  3.565e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/668298/ft1_filtered_4FGL_J2317.7+2839_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/668298/ft2_4FGL_J2317.7+2839_daily_bin1719.fits
Exposure map: /scratch/kocevski/668298/expmap_684892801_685152001_4FGL_J2317.7+2839_daily_bin1719.fits
Exposure cube: /scratch/kocevski/668298/ltcube_684892801_685152001_4FGL_J2317.7+2839_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/668298/Model_4FGL_J2317.7+2839_daily_bin1719.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) = 10173.8739801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7321       1.0000          .0000       .10000E+07
     2 'norm      '    3.2778       1.0000          .0000       .10000E+07
     3 'Prefactor '    .68890       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.616       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.5305       1.0000          .0000       .10000E+07
     6 'norm      '    2.7859       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.6619       1.0000          .0000       .10000E+07
     8 'Prefactor '    12.074       1.0000          .0000       .10000E+07
     9 'Prefactor '    53.610       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.067       1.0000          .0000       .10000E+07
    11 'norm      '    5.0328       1.0000          .0000       .10000E+07
    12 'Prefactor '    .49888E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .26563       1.0000          .0000       .10000E+07
    14 'Prefactor '    .11215E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .98323E-01   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.3172       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .85621       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10173.87     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1258 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7320        1.0151        .15796E-06    .32173E-03
   2  norm          3.2814        2.1226        .22280E-07   -.91211E-03
   3  Prefactor     .62501        9.3778        .21041E-05    .17975E-01
   4  Prefactor     13.639        12.633       -.16981E-05   -.36264E-01
   5  Prefactor     6.4794        9.2598       -.36656E-06   -.41561E-02
   6  norm          2.7856        1.4973       -.28452E-06    .37967E-02
   7  Prefactor     3.6508        6.0721       -.71528E-07    .69600E-01
   8  Prefactor     12.117        9.7826       -.10458E-05   -.13756E-01
   9  Prefactor     53.543        30.452        .17202E-05   -.68877E-01
  10  Prefactor     11.075        10.257       -.47699E-06   -.14527E-01
  11  norm          5.0436        4.4691       -.38211E-06   -.19743E-02
  12  Prefactor     .84377E-08    72.573        .81936E-06** at limit **
  13  norm          .26817        1.3308       -.94918E-06   -.74415E-03
  14  Prefactor      .0000        12.211       -.30772E-06** at limit **
  15  Prefactor     .66613E-09    21.343        .13136E-05** at limit **
  16  Normalizat    1.3176        .23550        .85158E-05    .84687E-04
  17  Prefactor     .85599        .11213        .10579E-04    .12102E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.73196
  norm       = 3.28135
  Prefactor  = 0.625012
  Prefactor  = 13.6393
  Prefactor  = 6.47943
  norm       = 2.78555
  Prefactor  = 3.65076
  Prefactor  = 12.1168
  Prefactor  = 53.5434
  Prefactor  = 11.0748
  norm       = 5.04357
  Prefactor  = 8.43769e-09
  norm       = 0.268167
  Prefactor  = 0
  Prefactor  = 6.66134e-10
  Normalizat = 1.31765
  Prefactor  = 0.855988
 **********
 **   18 **HESSE 
 **********

 FCN=   10173.87     FROM HESSE     STATUS=OK           265 CALLS     1523 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7320        1.0183        .79728E-03   -1.5682    
   2  norm          3.2814        2.2153        .55905E-03   -1.5672    
   3  Prefactor     .62501        69.116        .61614E-03   -1.5692    
   4  Prefactor     13.639        12.684        .27119E-03   -1.5634    
   5  Prefactor     6.4794        9.2655        .39247E-03   -1.5657    
   6  norm          2.7856        1.5065        .60936E-03   -1.5675    
   7  Prefactor     3.6508        44.808        .52761E-03   -1.5670    
   8  Prefactor     12.117        9.8075        .28804E-03   -1.5638    
   9  Prefactor     53.543        35.288        .13659E-03   -1.5562    
  10  Prefactor     11.075        10.272        .30091E-03   -1.5641    
  11  norm          5.0436        4.4934        .44800E-03   -1.5663    
  12  Prefactor     .84377E-08    71.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .26817        1.3581        .10708E-02   -1.5698    
  14  Prefactor      .0000        12.221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .66613E-09    21.287        .13974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3176        .20138        .75246E-01   -.83041    
  17  Prefactor     .85599        .94963E-01    .44444E-01   -.97696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29142e-06
Minuit parameter uncertainties:
  1  1.01828
  2  2.21529
  3  13.1453
  4  12.6839
  5  9.26556
  6  1.50649
  7  25.5803
  8  9.80756
  9  35.2879
  10  10.2717
  11  4.49337
  12  0.00155941
  13  1.207
  14  3.48254e-05
  15  0.000242955
  16  0.201502
  17  0.0949815
Done.

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

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  5.354e+01  3.529e+01  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  2.003e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
414        Scale:  3.565e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  8.560e-01  9.498e-02  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  1.318e+00  2.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.31
Ra Dec: 349.438 28.659
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 6.85e-08 +/- 4.51e-08
Energy Flux (Fixed Index): 4.70e-05 +/- 3.10e-05

TS (Fixed Index): 3.31
Ra Dec: 349.438 28.659
Photon Flux Upper Limit: 1.53e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.15e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/668298/likelihoodResults_684892801_685152001_4FGL_J2317.7+2839_daily_bin1719.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) = 10171.6332639
delta logL = 2.23694270266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10171.5952515
delta logL = 2.27495508371

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10171.60     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      267 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.263        55.894        .31208E-03    .55377E-02
   2  Index         2.9040        1.3969        .66726E-01    .48319E-03
   3  Normalizat    1.1950        .85968E-01    .78304E-01    .15991E-04
   4  Prefactor     .88972        .37040E-01    .44874E-01    .98908E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2633
  Index      = 2.90403
  Normalizat = 1.19502
  Prefactor  = 0.889715
 **********
 **   18 **HESSE 
 **********

 FCN=   10171.60     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      300 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.263        80.342        .12483E-04   -1.5644    
   2  Index         2.9040        1.8895        .26303E-02   -.43256    
   3  Normalizat    1.1950        .27763        .34660E-03   -.86757    
   4  Prefactor     .88972        .13049        .18961E-03   -.96501    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.05715e-09
Minuit parameter uncertainties:
  1  57.432
  2  1.94882
  3  0.27797
  4  0.130534
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668298': 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) = 10171.5952493
delta logL = 2.27495732788

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  1.026e+01  5.743e+01  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  2.904e+00  1.949e+00  0.000e+00  1.000e+01 (-1.000e+00)
414        Scale:  3.565e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  8.897e-01  1.305e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  1.195e+00  2.780e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.12
Ra Dec: 349.438 28.659
Photon Index (Free Index): 2.90 +/- 1.95
Photon Flux (Free Index): 1.74e-07 +/- 9.65e-08
Energy Flux (Free Index): 3.64e-05 +/- 3.12e-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/668298/cmap_HighResolution_684892801_685152001_4FGL_J2317.7+2839_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', comment='SUCCESS', photon_flux='6.85e-08', energy_flux2='3.64e-05', photon_flux_error='4.51e-08', dlogl='2.27e+00', energy_flux='4.70e-05', photon_flux2='1.74e-07', job_status='DONE', time_completed='2022-09-18 01:34:35.531555', photon_index_error2='1.95', photon_index2='2.90', ts='3.31', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.53e-07', energy_flux_error2='3.12e-05', EG='1.32', time_epoch_completed='1663490075.53', return_code='0', job_id='668298', GAL2='0.89', EG2='1.20', return_code2='102', energy_flux_error='3.10e-05', photon_flux_error2='9.65e-08', ts2='8.12', photon_index='2.00' WHERE bin_id='1719' AND source_name='4FGL J2317.7+2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:34:35 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 668298: <4FGL_J2317.7+2839_daily_bin1719> in cluster <slac> Done

Job <4FGL_J2317.7+2839_daily_bin1719> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 18 01:20:24 2022
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:21:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:21:11 2022
Terminated at Sun Sep 18 01:34:36 2022
Results reported at Sun Sep 18 01:34:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2317.7+2839_daily_bin1719 349.438 28.6589 684892801 685152001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2317.7+2839 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   698.38 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             291.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            852 sec.

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

