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


Performing analysis on: 4FGL_J2317.7+2839_daily_bin1751
RA = 349.438, Dec = 28.6589
tmin = 693187201, tmax = 693446401
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='89070', job_status='RUN', time_executed='2022-12-23 01:25:55.693264', time_epoch_executed='1671787555.69' WHERE source_name='4FGL J2317.7+2839' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/89070

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/89070/ft1_4FGL_J2317.7+2839_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/89070/ft2_4FGL_J2317.7+2839_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/89070/ft1_4FGL_J2317.7+2839_daily_bin1751.fits outfile=/scratch/kocevski/89070/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1751.fits ra=349.438 dec=28.6589 rad=12.0 tmin=693187201.0 tmax=693446401.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.61
user 3.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/89070/ft2_4FGL_J2317.7+2839_daily_bin1751.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/89070/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/89070/ft1_filtered_4FGL_J2317.7+2839_daily_bin1751.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.16

Number of photons that the gtmktime cut: 834

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/89070/ft1_filtered_4FGL_J2317.7+2839_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/89070/ft2_4FGL_J2317.7+2839_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/89070/ltcube_693187201_693446401_4FGL_J2317.7+2839_daily_bin1751.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/89070/ft2_4FGL_J2317.7+2839_daily_bin1751.fits
.....................!
real 11.94
user 11.60
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/89070/ft1_filtered_4FGL_J2317.7+2839_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/89070/ft2_4FGL_J2317.7+2839_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/89070/ltcube_693187201_693446401_4FGL_J2317.7+2839_daily_bin1751.fits outfile=/scratch/kocevski/89070/expmap_693187201_693446401_4FGL_J2317.7+2839_daily_bin1751.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/89070/ltcube_693187201_693446401_4FGL_J2317.7+2839_daily_bin1751.fits
.....................!
real 191.27
user 185.52
sys 5.35

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/89070/ft1_filtered_4FGL_J2317.7+2839_daily_bin1751.fits scfile=/scratch/kocevski/89070/ft2_4FGL_J2317.7+2839_daily_bin1751.fits outfile=/scratch/kocevski/89070/cmap_693187201_693446401_4FGL_J2317.7+2839_daily_bin1751.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/89070/ft1_filtered_4FGL_J2317.7+2839_daily_bin1751.fits scfile=/scratch/kocevski/89070/ft2_4FGL_J2317.7+2839_daily_bin1751.fits outfile=/scratch/kocevski/89070/cmap_HighResolution_693187201_693446401_4FGL_J2317.7+2839_daily_bin1751.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/89070/ft1_filtered_4FGL_J2317.7+2839_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/89070/ft2_4FGL_J2317.7+2839_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/89070/Model_4FGL_J2317.7+2839_daily_bin1751.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/89070/ft1_filtered_4FGL_J2317.7+2839_daily_bin1751.fits.....................!
real 99.97
user 98.63
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5208       1.0000          .0000       .10000E+07
     2 'norm      '    .15449E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.1869       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12707E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    25.450       1.0000          .0000       .10000E+07
     6 'norm      '    .31290E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    37.032       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34067E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .21433E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .21083E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .38059E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .26672E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .54790E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .73918E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .18448E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2936       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97704       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=   8956.649     FROM MIGRAD    STATUS=CONVERGED     97 CALLS     1265 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5204        1.1392       -.23915E-07   -.16456E-02
   2  norm          .55511E-10    1.0020        .17258E-06** at limit **
   3  Prefactor     7.2038        8.4519        .14465E-06    .87794E-02
   4  Prefactor     .49960E-09    5.5776        .29721E-06** at limit **
   5  Prefactor     25.544        2.2036        .53581E-07   -.66224E-01
   6  norm           .0000        3.0411       -.46061E-07** at limit **
   7  Prefactor     37.094        1.2880        .18960E-07   -.53347E-01
   8  Prefactor     .55511E-10    2.6821       -.51487E-08** at limit **
   9  Prefactor     .93092E-07    5.9860        .92163E-07** at limit **
  10  Prefactor     .22371E-05    3.7625       -.27165E-07** at limit **
  11  norm          .60669E-05    1.8030        .13567E-06** at limit **
  12  Prefactor     .86431E-06    5.1106       -.21657E-06** at limit **
  13  norm           .0000        .48594       -.13964E-06** at limit **
  14  Prefactor     .52791E-07    17.668       -.10608E-05** at limit **
  15  Prefactor     .52980E-06    7.1835        .21399E-06** at limit **
  16  Normalizat    1.2934        .23949        .75383E-05    .17465E-04
  17  Prefactor     .97703        .12123       -.45153E-05   -.10581E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.5204
  norm       = 5.55112e-11
  Prefactor  = 7.20384
  Prefactor  = 4.996e-10
  Prefactor  = 25.5439
  norm       = 0
  Prefactor  = 37.0937
  Prefactor  = 5.55112e-11
  Prefactor  = 9.30922e-08
  Prefactor  = 2.2371e-06
  norm       = 6.06687e-06
  Prefactor  = 8.64309e-07
  norm       = 0
  Prefactor  = 5.27911e-08
  Prefactor  = 5.29798e-07
  Normalizat = 1.29343
  Prefactor  = 0.977025
 **********
 **   18 **HESSE 
 **********

 FCN=   8956.649     FROM HESSE     STATUS=OK           263 CALLS     1528 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5204        1.1532        .86604E-03   -1.5683    
   2  norm          .55511E-10    .99204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.2038        8.4641        .37393E-03   -1.5654    
   4  Prefactor     .49960E-09    5.6283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.544        24.849        .19826E-03   -1.5607    
   6  norm           .0000        .71107        .28389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     37.094        30.121        .16435E-03   -1.5586    
   8  Prefactor     .55511E-10    2.6962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .93092E-07    14.125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22371E-05    9.2569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .60669E-05    2.5613        .57397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .86431E-06    8.2211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .48827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .52791E-07    18.284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .52980E-06    13.634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2934        .20654        .74702E-01   -.83763    
  17  Prefactor     .97703        .10271        .45980E-01   -.93499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.93471e-07
Minuit parameter uncertainties:
  1  1.15324
  2  1.0888e-05
  3  8.46407
  4  0.000104418
  5  24.8487
  6  4.03927e-06
  7  30.1209
  8  1.87533e-05
  9  0.00229369
  10  0.0091014
  11  0.00788398
  12  0.00533133
  13  3.12765e-06
  14  0.00196449
  15  0.0053751
  16  0.206668
  17  0.102728
Done.

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

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  9.309e-08  2.294e-03  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:  9.770e-01  1.027e-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.293e+00  2.067e-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: 6.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/89070/likelihoodResults_693187201_693446401_4FGL_J2317.7+2839_daily_bin1751.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) = 8956.68346103
delta logL = -0.0340155795948

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8956.62443355
delta logL = 0.0250118987951

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19158       1.0000          .0000       .10000E+07
     2 'Index     '    3.4353       1.0000          .0000       10.000    
     3 'Normalizat'    1.2760       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98099       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=   8956.624     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      245 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19096        7.5307        .21722E-02** at limit **
   2  Index         3.4360        3.3431        .77594E-01    .31307E-03
   3  Normalizat    1.2760        .23064E-01    .75130E-01    .48823E-03
   4  Prefactor     .98100        .11689E-01    .46029E-01    .96080E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.19096
  Index      = 3.43605
  Normalizat = 1.27601
  Prefactor  = 0.981001
 **********
 **   18 **HESSE 
 **********

 FCN=   8956.624     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .39E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19096        137.57        .11983E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.4360        6.6037        .17051E-01   -.31813    
   3  Normalizat    1.2760        .10910        .33249E-03   -.84285    
   4  Prefactor     .98100        .55207E-01    .18824E-03   -.93366    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.93631e-06
Minuit parameter uncertainties:
  1  10.2511
  2  14.9995
  3  0.10912
  4  0.0552101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/89070': 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) = 8956.62443348
delta logL = 0.0250119748689

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  1.910e-01  1.025e+01  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  3.436e+00  1.500e+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:  9.810e-01  5.521e-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.276e+00  1.091e-01  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/89070/cmap_HighResolution_693187201_693446401_4FGL_J2317.7+2839_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.15e-03', job_status='DONE', photon_flux_upper_limit='6.87e-08', time_completed='2022-12-23 01:36:15.079986', job_id='89070', GAL2='0.98', fit_tolerance='1e-08', EG2='1.28', EG='1.29', time_epoch_completed='1671788175.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.50e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1751' AND source_name='4FGL J2317.7+2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:36:15 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 89070: <4FGL_J2317.7+2839_daily_bin1751> in cluster <slac> Done

Job <4FGL_J2317.7+2839_daily_bin1751> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Dec 23 01:25:20 2022
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:25:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:25:21 2022
Terminated at Fri Dec 23 01:36:15 2022
Results reported at Fri Dec 23 01:36:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2317.7+2839_daily_bin1751 349.438 28.6589 693187201 693446401 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 :                                   621.33 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             337.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            655 sec.

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

