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


Performing analysis on: 4FGL_J2317.7+2839_daily_bin1727
RA = 349.438, Dec = 28.6589
tmin = 686966401, tmax = 687225601
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='215440', job_status='RUN', time_executed='2022-10-12 00:40:24.321734', time_epoch_executed='1665560424.32' WHERE source_name='4FGL J2317.7+2839' and cadence='daily' and bin_id='1727'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215440

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215440/ft1_4FGL_J2317.7+2839_daily_bin1727.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215440/ft2_4FGL_J2317.7+2839_daily_bin1727.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215440/ft1_4FGL_J2317.7+2839_daily_bin1727.fits outfile=/scratch/kocevski/215440/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1727.fits ra=349.438 dec=28.6589 rad=12.0 tmin=686966401.0 tmax=687225601.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 2.92
user 2.72
sys 0.19

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

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

Number of photons that the gtmktime cut: 175

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/215440/ft1_filtered_4FGL_J2317.7+2839_daily_bin1727.fits" evtable="EVENTS" scfile=/scratch/kocevski/215440/ft2_4FGL_J2317.7+2839_daily_bin1727.fits sctable="SC_DATA" outfile=/scratch/kocevski/215440/ltcube_686966401_687225601_4FGL_J2317.7+2839_daily_bin1727.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/215440/ft2_4FGL_J2317.7+2839_daily_bin1727.fits
.....................!
real 12.73
user 12.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215440/ft1_filtered_4FGL_J2317.7+2839_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/215440/ft2_4FGL_J2317.7+2839_daily_bin1727.fits sctable="SC_DATA" expcube=/scratch/kocevski/215440/ltcube_686966401_687225601_4FGL_J2317.7+2839_daily_bin1727.fits outfile=/scratch/kocevski/215440/expmap_686966401_687225601_4FGL_J2317.7+2839_daily_bin1727.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/215440/ltcube_686966401_687225601_4FGL_J2317.7+2839_daily_bin1727.fits
.....................!
real 189.82
user 185.46
sys 4.00

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/215440/ft1_filtered_4FGL_J2317.7+2839_daily_bin1727.fits scfile=/scratch/kocevski/215440/ft2_4FGL_J2317.7+2839_daily_bin1727.fits outfile=/scratch/kocevski/215440/cmap_686966401_687225601_4FGL_J2317.7+2839_daily_bin1727.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/215440/ft1_filtered_4FGL_J2317.7+2839_daily_bin1727.fits scfile=/scratch/kocevski/215440/ft2_4FGL_J2317.7+2839_daily_bin1727.fits outfile=/scratch/kocevski/215440/cmap_HighResolution_686966401_687225601_4FGL_J2317.7+2839_daily_bin1727.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.54
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/215440/ft1_filtered_4FGL_J2317.7+2839_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/215440/ft2_4FGL_J2317.7+2839_daily_bin1727.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/215440/Model_4FGL_J2317.7+2839_daily_bin1727.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/215440/ft1_filtered_4FGL_J2317.7+2839_daily_bin1727.fits......................!
real 34.46
user 33.17
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/215440/ft1_filtered_4FGL_J2317.7+2839_daily_bin1727.fits', '/scratch/kocevski/215440/ft2_4FGL_J2317.7+2839_daily_bin1727.fits', expMap='/scratch/kocevski/215440/expmap_686966401_687225601_4FGL_J2317.7+2839_daily_bin1727.fits', expCube='/scratch/kocevski/215440/ltcube_686966401_687225601_4FGL_J2317.7+2839_daily_bin1727.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/215440/Model_4FGL_J2317.7+2839_daily_bin1727.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/215440/ft1_filtered_4FGL_J2317.7+2839_daily_bin1727.fits
Spacecraft file(s): /scratch/kocevski/215440/ft2_4FGL_J2317.7+2839_daily_bin1727.fits
Exposure map: /scratch/kocevski/215440/expmap_686966401_687225601_4FGL_J2317.7+2839_daily_bin1727.fits
Exposure cube: /scratch/kocevski/215440/ltcube_686966401_687225601_4FGL_J2317.7+2839_daily_bin1727.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/215440/Model_4FGL_J2317.7+2839_daily_bin1727.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) = 2024.18167465

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22282E-06   1.0000          .0000       .10000E+07
     2 'norm      '    1.5966       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.5151       1.0000          .0000       .10000E+07
     4 'Prefactor '    .91229E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .34818       1.0000          .0000       .10000E+07
     6 'norm      '    11.192       1.0000          .0000       .10000E+07
     7 'Prefactor '    177.26       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.0457       1.0000          .0000       .10000E+07
     9 'Prefactor '    90.182       1.0000          .0000       .10000E+07
    10 'Prefactor '    .18969E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .10645E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    62.786       1.0000          .0000       .10000E+07
    13 'norm      '    .60507E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    33.241       1.0000          .0000       .10000E+07
    15 'Prefactor '    92.388       1.0000          .0000       .10000E+07
    16 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1589       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=   2024.160     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1317 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .79121       -.20353E-08** at limit **
   2  norm          1.5917        2.9738       -.60008E-08   -.68151E-05
   3  Prefactor     7.6678        40.682        .48960E-07    .21263E-03
   4  Prefactor      .0000        7.4299        .75769E-09** at limit **
   5  Prefactor      .0000        61.715       -.29751E-08** at limit **
   6  norm          11.197        5.4207        .68580E-08   -.40202E-03
   7  Prefactor     181.07        78.433        .40663E-07   -.23499    
   8  Prefactor     2.0654        78.706        .44195E-06   -.48872E-03
   9  Prefactor     84.276        108.23       -.26451E-06   -.10349    
  10  Prefactor      .0000        18.690       -.86713E-07** at limit **
  11  norm           .0000        11.459        .12190E-07** at limit **
  12  Prefactor     63.319        63.642       -.10097E-06    .61579E-01
  13  norm           .0000        4.0129       -.85427E-08** at limit **
  14  Prefactor     31.523        78.608       -.54015E-06   -.67701E-02
  15  Prefactor     100.01        288.51        .23918E-05   -.64510E-02
  16  Normalizat    .10000E-01    .68408       -.10021E-06** at limit **
  17  Prefactor     1.1587        .13990       -.25778E-06    .22696E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 1.59168
  Prefactor  = 7.66779
  Prefactor  = 0
  Prefactor  = 0
  norm       = 11.1966
  Prefactor  = 181.065
  Prefactor  = 2.06537
  Prefactor  = 84.276
  Prefactor  = 0
  norm       = 0
  Prefactor  = 63.3185
  norm       = 0
  Prefactor  = 31.5233
  Prefactor  = 100.012
  Normalizat = 0.01
  Prefactor  = 1.15868
 **********
 **   18 **HESSE 
 **********

 FCN=   2024.160     FROM HESSE     STATUS=OK           253 CALLS     1570 TOTAL
                     EDM=   .45E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .78965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.5917        3.0205        .83901E-03   -1.5683    
   3  Prefactor     7.6678        40.814        .36560E-03   -1.5653    
   4  Prefactor      .0000        7.4399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        62.009        .95754E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          11.197        5.4575        .29921E-03   -1.5641    
   7  Prefactor     181.07        107.81        .75117E-04   -1.5439    
   8  Prefactor     2.0654        78.729        .72259E-03   -1.5679    
   9  Prefactor     84.276        119.11        .10531E-03   -1.5524    
  10  Prefactor      .0000        18.715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        11.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     63.319        71.326        .12621E-03   -1.5549    
  13  norm           .0000        4.0205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.523        78.791        .17347E-03   -1.5596    
  15  Prefactor     100.01        290.95        .10404E-03   -1.5508    
  16  Normalizat    .10000E-01    .38074        .32260       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.1587        .17282        .35684E-01   -.87612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47737e-06
Minuit parameter uncertainties:
  1  9.0295e-08
  2  3.02053
  3  35.3815
  4  3.8748e-06
  5  1.12282e-05
  6  5.45753
  7  107.815
  8  25.5037
  9  119.111
  10  2.51507e-06
  11  2.73426e-06
  12  71.327
  13  1.1218e-06
  14  78.7937
  15  290.99
  16  4.48319e-08
  17  0.172902
Done.

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

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  8.428e+01  1.191e+02  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:  1.159e+00  1.729e-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.000e-02  4.483e-08  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/215440/likelihoodResults_686966401_687225601_4FGL_J2317.7+2839_daily_bin1727.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) = 2023.5831046
delta logL = 0.576740922237

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2023.52426519
delta logL = 0.63558033132

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.563       1.0000          .0000       .10000E+07
     2 'Index     '    2.9804       1.0000          .0000       10.000    
     3 'Normalizat'    .10016E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1381       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2023.524     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      315 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.597        550.20        .10488E-04    .36210E-02
   2  Index         2.9791        3.7247        .24265E-02    .12317E-03
   3  Normalizat    .10000E-01    .39202        .11349E-01** at limit **
   4  Prefactor     1.1384        .12426        .16519E-03   -.10315E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.5974
  Index      = 2.97911
  Normalizat = 0.01
  Prefactor  = 1.13844
 **********
 **   18 **HESSE 
 **********

 FCN=   2023.524     FROM HESSE     STATUS=OK            25 CALLS      340 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.597        45.360        .41952E-06   -1.5632    
   2  Index         2.9791        1.0904        .97061E-04   -.41608    
   3  Normalizat    .10000E-01    .39424        .22698E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1384        .12314        .33037E-04   -.88247    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61976e-09
Minuit parameter uncertainties:
  1  45.3614
  2  1.10102
  3  2.79515e-05
  4  0.123166
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215440': 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) = 2023.52424082
delta logL = 0.635604695822

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  1.460e+01  4.536e+01  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  2.979e+00  1.101e+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:  1.138e+00  1.232e-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.000e-02  2.795e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.16
Ra Dec: 349.438 28.659
Photon Index (Free Index): 2.98 +/- 1.10
Photon Flux (Free Index): 3.11e-07 +/- 2.81e-07
Energy Flux (Free Index): 6.27e-05 +/- 5.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/215440/cmap_HighResolution_686966401_687225601_4FGL_J2317.7+2839_daily_bin1727.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.28e-02', comment='SUCCESS', energy_flux2='6.27e-05', dlogl='6.36e-01', photon_flux2='3.11e-07', job_status='DONE', time_completed='2022-10-12 00:46:48.079945', photon_index_error2='1.10', photon_index2='2.98', ts='0.85', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='4.37e-07', energy_flux_error2='5.26e-05', EG='0.01', time_epoch_completed='1665560808.08', return_code='0', job_id='215440', GAL2='1.14', EG2='0.01', return_code2='0', photon_flux_error2='2.81e-07', ts2='2.16', photon_index='2.00' WHERE bin_id='1727' AND source_name='4FGL J2317.7+2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:46:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 215440: <4FGL_J2317.7+2839_daily_bin1727> in cluster <slac> Done

Job <4FGL_J2317.7+2839_daily_bin1727> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Oct 12 00:40:14 2022
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:40:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:40:16 2022
Terminated at Wed Oct 12 00:46:48 2022
Results reported at Wed Oct 12 00:46:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2317.7+2839_daily_bin1727 349.438 28.6589 686966401 687225601 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 :                                   386.16 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             399.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   392 sec.
    Turnaround time :                            394 sec.

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

