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


Performing analysis on: 4FGL_J2317.7+2839_daily_bin1770
RA = 349.438, Dec = 28.6589
tmin = 698112001, tmax = 698371201
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='504261', job_status='RUN', time_executed='2023-02-18 02:06:06.441261', time_epoch_executed='1676714766.44' WHERE source_name='4FGL J2317.7+2839' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/504261

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/504261/ft1_4FGL_J2317.7+2839_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/504261/ft2_4FGL_J2317.7+2839_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/504261/ft1_4FGL_J2317.7+2839_daily_bin1770.fits outfile=/scratch/kocevski/504261/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1770.fits ra=349.438 dec=28.6589 rad=12.0 tmin=698112001.0 tmax=698371201.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 4.35
user 4.11
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/504261/ft2_4FGL_J2317.7+2839_daily_bin1770.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/504261/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/504261/ft1_filtered_4FGL_J2317.7+2839_daily_bin1770.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.48
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 851

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/504261/ft1_filtered_4FGL_J2317.7+2839_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/504261/ft2_4FGL_J2317.7+2839_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/504261/ltcube_698112001_698371201_4FGL_J2317.7+2839_daily_bin1770.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/504261/ft2_4FGL_J2317.7+2839_daily_bin1770.fits
.....................!
real 11.89
user 11.57
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/504261/ft1_filtered_4FGL_J2317.7+2839_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/504261/ft2_4FGL_J2317.7+2839_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/504261/ltcube_698112001_698371201_4FGL_J2317.7+2839_daily_bin1770.fits outfile=/scratch/kocevski/504261/expmap_698112001_698371201_4FGL_J2317.7+2839_daily_bin1770.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/504261/ltcube_698112001_698371201_4FGL_J2317.7+2839_daily_bin1770.fits
.....................!
real 190.57
user 186.31
sys 3.95

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/504261/ft1_filtered_4FGL_J2317.7+2839_daily_bin1770.fits scfile=/scratch/kocevski/504261/ft2_4FGL_J2317.7+2839_daily_bin1770.fits outfile=/scratch/kocevski/504261/cmap_698112001_698371201_4FGL_J2317.7+2839_daily_bin1770.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/504261/ft1_filtered_4FGL_J2317.7+2839_daily_bin1770.fits scfile=/scratch/kocevski/504261/ft2_4FGL_J2317.7+2839_daily_bin1770.fits outfile=/scratch/kocevski/504261/cmap_HighResolution_698112001_698371201_4FGL_J2317.7+2839_daily_bin1770.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/504261/ft1_filtered_4FGL_J2317.7+2839_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/504261/ft2_4FGL_J2317.7+2839_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/504261/Model_4FGL_J2317.7+2839_daily_bin1770.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/504261/ft1_filtered_4FGL_J2317.7+2839_daily_bin1770.fits.....................!
real 101.67
user 100.40
sys 1.09

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4846       1.0000          .0000       .10000E+07
     2 'norm      '    1.7894       1.0000          .0000       .10000E+07
     3 'Prefactor '    11.603       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.2775       1.0000          .0000       .10000E+07
     5 'Prefactor '    10.747       1.0000          .0000       .10000E+07
     6 'norm      '    1.5113       1.0000          .0000       .10000E+07
     7 'Prefactor '    20.369       1.0000          .0000       .10000E+07
     8 'Prefactor '    .25091E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .51332E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .22760E-08   1.0000          .0000       .10000E+07
    11 'norm      '    .94375E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.6997       1.0000          .0000       .10000E+07
    13 'norm      '    4.2501       1.0000          .0000       .10000E+07
    14 'Prefactor '    .30710       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.3202       1.0000          .0000       .10000E+07
    16 'Normalizat'    .85641       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0287       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=   9330.956     FROM MIGRAD    STATUS=CONVERGED     90 CALLS     1161 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4832        1.0140       -.28837E-06   -.27137E-01
   2  norm          1.7912        1.5451        .97559E-08   -.43136E-02
   3  Prefactor     11.509        10.623       -.60103E-06    .49530E-02
   4  Prefactor     3.2620        2.4939        .13831E-05   -.11514E-03
   5  Prefactor     10.867        3.7193        .12461E-05   -.57751E-03
   6  norm          1.5097        1.0559       -.44495E-07   -.28955E-01
   7  Prefactor     20.152        2.7499        .10369E-06   -.81358E-02
   8  Prefactor     .44409E-08    8.0109       -.28644E-05** at limit **
   9  Prefactor     .55511E-10    16.966        .23621E-06** at limit **
  10  Prefactor     .55511E-10    1.8036        .23502E-06** at limit **
  11  norm          .44409E-09    7.5839        .32497E-05** at limit **
  12  Prefactor     8.7021        12.619       -.33108E-05   -.41703E-02
  13  norm          4.2487        2.4148        .33840E-07   -.77778E-03
  14  Prefactor     .21421        14.195       -.13031E-05** at limit **
  15  Prefactor     1.6158        105.48        .27706E-05   -.52622E-02
  16  Normalizat    .85779        .22281        .19227E-04   -.72248E-04
  17  Prefactor     1.0286        .11233       -.31420E-05    .34563E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.48315
  norm       = 1.79115
  Prefactor  = 11.5087
  Prefactor  = 3.26201
  Prefactor  = 10.8673
  norm       = 1.50972
  Prefactor  = 20.152
  Prefactor  = 4.44089e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  norm       = 4.44089e-10
  Prefactor  = 8.70205
  norm       = 4.24874
  Prefactor  = 0.214208
  Prefactor  = 1.61582
  Normalizat = 0.85779
  Prefactor  = 1.02858
 **********
 **   18 **HESSE 
 **********

 FCN=   9330.956     FROM HESSE     STATUS=OK           269 CALLS     1430 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4832        1.0253        .88012E-03   -1.5684    
   2  norm          1.7912        1.5551        .78166E-03   -1.5681    
   3  Prefactor     11.509        10.698        .29385E-03   -1.5640    
   4  Prefactor     3.2620        14.662        .55907E-03   -1.5672    
   5  Prefactor     10.867        13.620        .30537E-03   -1.5642    
   6  norm          1.5097        1.0587        .86967E-03   -1.5683    
   7  Prefactor     20.152        21.320        .22164E-03   -1.5618    
   8  Prefactor     .44409E-08    8.1957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    17.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    1.8005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .44409E-09    7.6329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.7021        13.060        .33960E-03   -1.5649    
  13  norm          4.2487        2.4160        .48851E-03   -1.5667    
  14  Prefactor     .21421        11.599        .12065E-01   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6158        109.25        .67315E-03   -1.5683    
  16  Normalizat    .85779        .19536        .82441E-01   -.97960    
  17  Prefactor     1.0286        .97188E-01    .41359E-01   -.91783    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.73812e-08
Minuit parameter uncertainties:
  1  1.02532
  2  1.55513
  3  10.6977
  4  13.8315
  5  13.6201
  6  1.0587
  7  21.3204
  8  0.000381679
  9  4.5456e-05
  10  2.36014e-05
  11  0.000113903
  12  13.0598
  13  2.41597
  14  3.15252
  15  26.5733
  16  0.195516
  17  0.0972046
Done.

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

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  5.551e-11  4.546e-05  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.029e+00  9.720e-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:  8.578e-01  1.955e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 349.438 28.659
Photon Flux Upper Limit: 5.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/504261/likelihoodResults_698112001_698371201_4FGL_J2317.7+2839_daily_bin1770.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) = 9330.98452105
delta logL = -0.0287227417211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9330.2755727
delta logL = 0.68022560292

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .71925E-04   1.0000          .0000       .10000E+07
     2 'Index     '    6.2432       1.0000          .0000       10.000    
     3 'Normalizat'    .77075       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0565       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9330.956     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      424 TOTAL
                     EDM=   .35E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        13.420        .42118E-03** at limit **
   2  Index         1.6871        .77441        .27104E-05     .0000    
   3  Normalizat    .85779        1.1663        .94935E-05   -.56131E-04
   4  Prefactor     1.0286        1.1701        .49103E-05    .93665E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.68706
  Normalizat = 0.857794
  Prefactor  = 1.02858
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9330.956     FROM HESSE     STATUS=FAILED         9 CALLS      433 TOTAL
                     EDM=   .35E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        13.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .28047        1.4782        .27104E-05   -182.94    
   3  Normalizat    .85779        1.1663        .94935E-05   -7.2628    
   4  Prefactor     1.0286        1.1701        .49103E-05    4.0594    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.50276e-12
Minuit parameter uncertainties:
  1  1.56117e-05
  2  0.780036
  3  1.20345
  4  1.20116
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/504261': 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): 101
logL (Free Index) = 9330.95579831
delta logL = 1.56433088705e-10

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  0.000e+00  1.561e-05  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  1.687e+00  7.800e-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:  1.029e+00  1.201e+00  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:  8.578e-01  1.203e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 349.438 28.659

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/504261/cmap_HighResolution_698112001_698371201_4FGL_J2317.7+2839_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.27e-03', job_status='DONE', photon_flux_upper_limit='5.70e-08', time_completed='2023-02-18 02:16:42.137342', job_id='504261', GAL2='1.03', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1676715402.14', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.56e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1770' AND source_name='4FGL J2317.7+2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 02:16:42 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 504261: <4FGL_J2317.7+2839_daily_bin1770> in cluster <slac> Done

Job <4FGL_J2317.7+2839_daily_bin1770> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Feb 18 02:05:16 2023
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 02:05:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 02:05:17 2023
Terminated at Sat Feb 18 02:16:42 2023
Results reported at Sat Feb 18 02:16:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2317.7+2839_daily_bin1770 349.438 28.6589 698112001 698371201 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 :                                   637.10 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             337.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            686 sec.

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

