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


Performing analysis on: 4FGL_J2317.7+2839_daily_bin1709
RA = 349.438, Dec = 28.6589
tmin = 682300801, tmax = 682560001
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='255236', job_status='RUN', time_executed='2022-09-17 00:30:13.869707', time_epoch_executed='1663399813.87' WHERE source_name='4FGL J2317.7+2839' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255236

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255236/ft1_4FGL_J2317.7+2839_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255236/ft2_4FGL_J2317.7+2839_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255236/ft1_4FGL_J2317.7+2839_daily_bin1709.fits outfile=/scratch/kocevski/255236/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1709.fits ra=349.438 dec=28.6589 rad=12.0 tmin=682300801.0 tmax=682560001.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.80
user 3.55
sys 0.23

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

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

Number of photons that the gtmktime cut: 832

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/255236/ft1_filtered_4FGL_J2317.7+2839_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/255236/ft2_4FGL_J2317.7+2839_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/255236/ltcube_682300801_682560001_4FGL_J2317.7+2839_daily_bin1709.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/255236/ft2_4FGL_J2317.7+2839_daily_bin1709.fits
.....................!
real 15.82
user 15.37
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255236/ft1_filtered_4FGL_J2317.7+2839_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/255236/ft2_4FGL_J2317.7+2839_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/255236/ltcube_682300801_682560001_4FGL_J2317.7+2839_daily_bin1709.fits outfile=/scratch/kocevski/255236/expmap_682300801_682560001_4FGL_J2317.7+2839_daily_bin1709.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/255236/ltcube_682300801_682560001_4FGL_J2317.7+2839_daily_bin1709.fits
.....................!
real 193.06
user 186.60
sys 6.07

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/255236/ft1_filtered_4FGL_J2317.7+2839_daily_bin1709.fits scfile=/scratch/kocevski/255236/ft2_4FGL_J2317.7+2839_daily_bin1709.fits outfile=/scratch/kocevski/255236/cmap_682300801_682560001_4FGL_J2317.7+2839_daily_bin1709.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.58
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/255236/ft1_filtered_4FGL_J2317.7+2839_daily_bin1709.fits scfile=/scratch/kocevski/255236/ft2_4FGL_J2317.7+2839_daily_bin1709.fits outfile=/scratch/kocevski/255236/cmap_HighResolution_682300801_682560001_4FGL_J2317.7+2839_daily_bin1709.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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/255236/ft1_filtered_4FGL_J2317.7+2839_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/255236/ft2_4FGL_J2317.7+2839_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/255236/Model_4FGL_J2317.7+2839_daily_bin1709.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/255236/ft1_filtered_4FGL_J2317.7+2839_daily_bin1709.fits.....................!
real 95.69
user 94.19
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .81929       1.0000          .0000       .10000E+07
     2 'norm      '    1.6485       1.0000          .0000       .10000E+07
     3 'Prefactor '    14.244       1.0000          .0000       .10000E+07
     4 'Prefactor '    .31784E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .17429E-05   1.0000          .0000       .10000E+07
     6 'norm      '    .99505E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    68.168       1.0000          .0000       .10000E+07
     8 'Prefactor '    17.661       1.0000          .0000       .10000E+07
     9 'Prefactor '    228.32       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19179E-06   1.0000          .0000       .10000E+07
    11 'norm      '    4.2592       1.0000          .0000       .10000E+07
    12 'Prefactor '    .93991E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .16709E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    23.020       1.0000          .0000       .10000E+07
    15 'Prefactor '    36.328       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1234       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .83927       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=   8583.284     FROM MIGRAD    STATUS=CONVERGED    128 CALLS      822 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82154        .91398        .14050E-07    .12266E-02
   2  norm          1.6476        1.2972        .26625E-07    .19230E-02
   3  Prefactor     14.330        10.310       -.34394E-07   -.38301E-02
   4  Prefactor     .55511E-10    12.134        .13833E-06** at limit **
   5  Prefactor      .0000        5.6776        .58856E-07** at limit **
   6  norm          .99005E-01    1.1001        .18615E-07** at limit **
   7  Prefactor     70.059        28.295       -.62771E-07    .60710E-01
   8  Prefactor     17.956        10.787       -.80330E-08    .29809E-03
   9  Prefactor     229.03        51.825       -.48189E-07   -.39801E-01
  10  Prefactor      .0000        1.9995       -.10817E-06** at limit **
  11  norm          4.2584        3.3261        .14306E-07    .42805E-03
  12  Prefactor      .0000        4.0355       -.58590E-07** at limit **
  13  norm           .0000        1.1851       -.69255E-07** at limit **
  14  Prefactor     23.547        18.970       -.19894E-07    .74791E-02
  15  Prefactor     35.617        14.625        .14422E-07    .10692    
  16  Normalizat    1.1199        .22695        .74032E-06    .52620E-05
  17  Prefactor     .83958        .11405       -.29922E-06   -.16317E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.821542
  norm       = 1.64756
  Prefactor  = 14.3299
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0.0990046
  Prefactor  = 70.0587
  Prefactor  = 17.9563
  Prefactor  = 229.035
  Prefactor  = 0
  norm       = 4.25838
  Prefactor  = 0
  norm       = 0
  Prefactor  = 23.5471
  Prefactor  = 35.6168
  Normalizat = 1.11993
  Prefactor  = 0.839584
 **********
 **   18 **HESSE 
 **********

 FCN=   8583.284     FROM HESSE     STATUS=OK           263 CALLS     1085 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82154        .92262        .51508E-03   -1.5690    
   2  norm          1.6476        1.2992        .82211E-03   -1.5682    
   3  Prefactor     14.330        10.316        .26513E-03   -1.5632    
   4  Prefactor     .55511E-10    12.104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        5.6806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .99005E-01    .52674        .24658E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     70.059        31.692        .12113E-03   -1.5541    
   8  Prefactor     17.956        10.792        .23805E-03   -1.5623    
   9  Prefactor     229.03        54.173        .66188E-04   -1.5405    
  10  Prefactor      .0000        1.9969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2584        3.3314        .48797E-03   -1.5667    
  12  Prefactor      .0000        4.0342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        1.1809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.547        19.005        .20847E-03   -1.5611    
  15  Prefactor     35.617        30.601        .16593E-03   -1.5589    
  16  Normalizat    1.1199        .19946        .74223E-01   -.89115    
  17  Prefactor     .83958        .98513E-01    .44226E-01   -.98285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.00961e-07
Minuit parameter uncertainties:
  1  0.922616
  2  1.29923
  3  10.3159
  4  5.62108e-05
  5  7.95455e-06
  6  0.456727
  7  31.6917
  8  10.7919
  9  54.173
  10  1.15697e-05
  11  3.33137
  12  9.4932e-06
  13  5.67801e-06
  14  19.0047
  15  30.6008
  16  0.199598
  17  0.0985341
Done.

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

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  2.290e+02  5.417e+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.396e-01  9.853e-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.120e+00  1.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 32.16
Ra Dec: 349.438 28.659
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 2.93e-07 +/- 6.93e-08
Energy Flux (Fixed Index): 2.01e-04 +/- 4.76e-05

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) = 8578.80479275
delta logL = 4.4795171316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8578.79881586
delta logL = 4.48549402638

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.310       1.0000          .0000       .10000E+07
     2 'Index     '    2.6050       1.0000          .0000       10.000    
     3 'Normalizat'    .96879       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89095       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=   8578.799     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      289 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.306        41.092        .51510E-05    .20393E-02
   2  Index         2.6050        .24002        .13745E-03    .26980E-03
   3  Normalizat    .96880        .22813        .34829E-03    .47917E-04
   4  Prefactor     .89095        .11588        .18625E-03   -.16652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.3062
  Index      = 2.60498
  Normalizat = 0.968796
  Prefactor  = 0.890951
 **********
 **   18 **HESSE 
 **********

 FCN=   8578.799     FROM HESSE     STATUS=OK            23 CALLS      312 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.306        40.126        .20604E-06   -1.5553    
   2  Index         2.6050        .23437        .54981E-05   -.49952    
   3  Normalizat    .96880        .22813        .13932E-04   -.94083    
   4  Prefactor     .89095        .11588        .37249E-04   -.96458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09773e-10
Minuit parameter uncertainties:
  1  40.1264
  2  0.234484
  3  0.228363
  4  0.115915
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255236': 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) = 8578.79881585
delta logL = 4.48549403002

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  6.031e+01  4.013e+01  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  2.605e+00  2.345e-01  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.910e-01  1.159e-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:  9.688e-01  2.284e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 42.14
Ra Dec: 349.438 28.659
Photon Index (Free Index): 2.60 +/- 0.23
Photon Flux (Free Index): 4.15e-07 +/- 8.74e-08
Energy Flux (Free Index): 1.08e-04 +/- 2.79e-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/255236/cmap_HighResolution_682300801_682560001_4FGL_J2317.7+2839_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.93e-07', energy_flux2='1.08e-04', photon_flux_error='6.93e-08', dlogl='4.49e+00', energy_flux='2.01e-04', photon_flux2='4.15e-07', job_status='DONE', time_completed='2022-09-17 00:39:32.606376', photon_index_error2='0.23', photon_index2='2.60', ts='32.16', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='2.79e-05', EG='1.12', time_epoch_completed='1663400372.61', return_code='0', job_id='255236', GAL2='0.89', EG2='0.97', return_code2='0', energy_flux_error='4.76e-05', photon_flux_error2='8.74e-08', ts2='42.14', photon_index='2.00' WHERE bin_id='1709' AND source_name='4FGL J2317.7+2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:39:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 255236: <4FGL_J2317.7+2839_daily_bin1709> in cluster <slac> Done

Job <4FGL_J2317.7+2839_daily_bin1709> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 17 00:25:20 2022
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:29:09 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:29:09 2022
Terminated at Sat Sep 17 00:39:33 2022
Results reported at Sat Sep 17 00:39:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2317.7+2839_daily_bin1709 349.438 28.6589 682300801 682560001 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 :                                   561.05 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             347.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   623 sec.
    Turnaround time :                            853 sec.

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

