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 67 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2317.7+2839_daily_bin1676
RA = 349.438, Dec = 28.6589
tmin = 673747201, tmax = 674006401
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='68780', job_status='RUN', time_executed='2022-05-12 01:32:01.568719', time_epoch_executed='1652344321.57' WHERE source_name='4FGL J2317.7+2839' and cadence='daily' and bin_id='1676'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/68780

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/68780/ft1_4FGL_J2317.7+2839_daily_bin1676.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/68780/ft2_4FGL_J2317.7+2839_daily_bin1676.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/68780/ft1_4FGL_J2317.7+2839_daily_bin1676.fits outfile=/scratch/kocevski/68780/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1676.fits ra=349.438 dec=28.6589 rad=12.0 tmin=673747201.0 tmax=674006401.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.85
user 3.62
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/68780/ft2_4FGL_J2317.7+2839_daily_bin1676.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/68780/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1676.fits evtable="EVENTS" outfile="/scratch/kocevski/68780/ft1_filtered_4FGL_J2317.7+2839_daily_bin1676.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 746

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/68780/ft1_filtered_4FGL_J2317.7+2839_daily_bin1676.fits" evtable="EVENTS" scfile=/scratch/kocevski/68780/ft2_4FGL_J2317.7+2839_daily_bin1676.fits sctable="SC_DATA" outfile=/scratch/kocevski/68780/ltcube_673747201_674006401_4FGL_J2317.7+2839_daily_bin1676.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/68780/ft2_4FGL_J2317.7+2839_daily_bin1676.fits
.....................!
real 14.57
user 14.15
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/68780/ft1_filtered_4FGL_J2317.7+2839_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/68780/ft2_4FGL_J2317.7+2839_daily_bin1676.fits sctable="SC_DATA" expcube=/scratch/kocevski/68780/ltcube_673747201_674006401_4FGL_J2317.7+2839_daily_bin1676.fits outfile=/scratch/kocevski/68780/expmap_673747201_674006401_4FGL_J2317.7+2839_daily_bin1676.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/68780/ltcube_673747201_674006401_4FGL_J2317.7+2839_daily_bin1676.fits
.....................!
real 192.29
user 185.99
sys 5.42

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/68780/ft1_filtered_4FGL_J2317.7+2839_daily_bin1676.fits scfile=/scratch/kocevski/68780/ft2_4FGL_J2317.7+2839_daily_bin1676.fits outfile=/scratch/kocevski/68780/cmap_673747201_674006401_4FGL_J2317.7+2839_daily_bin1676.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 2.06
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/68780/ft1_filtered_4FGL_J2317.7+2839_daily_bin1676.fits scfile=/scratch/kocevski/68780/ft2_4FGL_J2317.7+2839_daily_bin1676.fits outfile=/scratch/kocevski/68780/cmap_HighResolution_673747201_674006401_4FGL_J2317.7+2839_daily_bin1676.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.64
user 0.39
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/68780/ft1_filtered_4FGL_J2317.7+2839_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/68780/ft2_4FGL_J2317.7+2839_daily_bin1676.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/68780/Model_4FGL_J2317.7+2839_daily_bin1676.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/68780/ft1_filtered_4FGL_J2317.7+2839_daily_bin1676.fits.....................!
real 88.48
user 86.64
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/68780/ft1_filtered_4FGL_J2317.7+2839_daily_bin1676.fits', '/scratch/kocevski/68780/ft2_4FGL_J2317.7+2839_daily_bin1676.fits', expMap='/scratch/kocevski/68780/expmap_673747201_674006401_4FGL_J2317.7+2839_daily_bin1676.fits', expCube='/scratch/kocevski/68780/ltcube_673747201_674006401_4FGL_J2317.7+2839_daily_bin1676.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/68780/Model_4FGL_J2317.7+2839_daily_bin1676.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  1.000e-04  1.000e+04 ( 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/68780/ft1_filtered_4FGL_J2317.7+2839_daily_bin1676.fits
Spacecraft file(s): /scratch/kocevski/68780/ft2_4FGL_J2317.7+2839_daily_bin1676.fits
Exposure map: /scratch/kocevski/68780/expmap_673747201_674006401_4FGL_J2317.7+2839_daily_bin1676.fits
Exposure cube: /scratch/kocevski/68780/ltcube_673747201_674006401_4FGL_J2317.7+2839_daily_bin1676.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/68780/Model_4FGL_J2317.7+2839_daily_bin1676.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) = 7857.31738411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9150       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.587       1.0000         .10000E-03   10000.    
     3 'norm      '    .18128E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    60.846       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.5851       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.0215       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.882       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.0784       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.185       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.6484       1.0000         .10000E-03   10000.    
    13 'norm      '    .10729E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    39.331       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .87310       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0877       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.

 FCN=   7857.303     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     2072 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9152        1.3528        .74027E-07   -.20280E-03
   2  Prefactor     10.585        17.103       -.95571E-06   -.13396E-03
   3  norm          .20294E-01    .77982       -.68091E-08    .33503E-03
   4  Prefactor     60.842        15.789       -.13406E-05   -.10183E-02
   5  Prefactor     .10000E-03    5.4065        .25582E-06** at limit **
   6  Prefactor     6.5852        9.5929        .16985E-05   -.63898E-03
   7  Prefactor     .10000E-03    17.309       -.52585E-07** at limit **
   8  norm          1.0214        1.6076        .18827E-06   -.32350E-03
   9  Prefactor     14.882        24.368        .77570E-07    .11688E-04
  10  Prefactor     8.0783        11.780        .20867E-06    .18852E-04
  11  Prefactor     11.184        19.394       -.23377E-06   -.24602E-04
  12  Prefactor     6.6489        4.9328        .52781E-06   -.98314E-03
  13  norm          .10000E-03    2.8613       -.63951E-06** at limit **
  14  Prefactor     .10000E-03    3.8181        .40625E-07** at limit **
  15  norm          .10000E-03    1.0186        .15016E-07** at limit **
  16  Prefactor     .10000E-03    8.1266        .75326E-06** at limit **
  17  Prefactor     .10000E-03    4.5932       -.11771E-06** at limit **
  18  Prefactor     39.333        32.941        .93938E-06    .12680E-03
  19  Normalizat    .87295        .22547       -.12612E-06    .28711E-04
  20  Prefactor     1.0878        .11366       -.10359E-06    .97192E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.9152
  Prefactor  = 10.5849
  norm       = 0.0202942
  Prefactor  = 60.842
  Prefactor  = 0.0001
  Prefactor  = 6.58518
  Prefactor  = 0.0001
  norm       = 1.02137
  Prefactor  = 14.8824
  Prefactor  = 8.07826
  Prefactor  = 11.1844
  Prefactor  = 6.64892
  norm       = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.3333
  Normalizat = 0.872949
  Prefactor  = 1.08783
 **********
 **   18 **HESSE 
 **********

 FCN=   7857.303     FROM HESSE     STATUS=OK           303 CALLS     2375 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9152        1.3429        .79465E-04   -1.5431    
   2  Prefactor     10.585        17.197        .12314E-03   -1.5057    
   3  norm          .20294E-01    1.0112        .30259E-01   -1.5680    
   4  Prefactor     60.842        17.004        .51438E-04   -1.4146    
   5  Prefactor     .10000E-03    5.4139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.5852        10.527        .78191E-03   -1.5195    
   7  Prefactor     .10000E-03    17.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.0214        1.5989        .13270E-03   -1.5506    
   9  Prefactor     14.882        24.407        .10382E-03   -1.4936    
  10  Prefactor     8.0783        11.754        .14106E-03   -1.5139    
  11  Prefactor     11.184        19.409        .11979E-03   -1.5039    
  12  Prefactor     6.6489        5.2432        .77814E-03   -1.5192    
  13  norm          .10000E-03    7.7705        .28304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.8244        .16914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.3512        .17424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.2096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.5954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     39.333        33.095        .63912E-04   -1.4453    
  19  Normalizat    .87295        .25607        .37740E-03   -.97417    
  20  Prefactor     1.0878        .12974        .17982E-03   -.89856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94994e-09
Minuit parameter uncertainties:
  1  1.34292
  2  17.2054
  3  0.285806
  4  17.0053
  5  2.11379e-05
  6  10.5303
  7  1.11216e-05
  8  1.59901
  9  24.423
  10  11.7574
  11  19.4198
  12  5.24358
  13  0.000296144
  14  3.79126e-06
  15  4.56494e-06
  16  7.65348e-05
  17  9.89422e-06
  18  33.1107
  19  0.256427
  20  0.12978
Done.

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

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  1.118e+01  1.942e+01  1.000e-04  1.000e+04 ( 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.088e+00  1.298e-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:  8.729e-01  2.564e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/68780/likelihoodResults_673747201_674006401_4FGL_J2317.7+2839_daily_bin1676.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) = 7857.30077169
delta logL = 0.00217456302744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7857.29879436
delta logL = 0.00415188995157

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6446       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0951       1.0000          .0000       10.000    
     3 'Normalizat'    .87143       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0877       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7857.299     FROM MIGRAD    STATUS=FAILED       105 CALLS      285 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6220        31.058        .12904E-03    .18502E-04
   2  Index         2.0947        1.2966        .11217E-01    .61016E-03
   3  Normalizat    .87128        .24364        .37773E-03    .11064E-03
   4  Prefactor     1.0883        .12891        .17979E-03    .25341E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7857.299     FROM SIMPLEX   STATUS=UNCHANGED     73 CALLS      358 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6220        31.058        .13934E-03   -1.5087    
   2  Index         2.0947        1.2966        .10113E-02   -.62003    
   3  Normalizat    .87128        .24364        .39153E-03   -.97477    
   4  Prefactor     1.0883        .12891        .16308E-03   -.89841    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7857.299     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      396 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6219        24.988        .51615E-05   -.96914E-05
   2  Index         2.0947        1.0498        .22434E-02    .39020E-05
   3  Normalizat    .87128        .24315        .15109E-04   -.10534E-05
   4  Prefactor     1.0883        .12878        .35957E-04   -.15809E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.62188
  Index      = 2.09469
  Normalizat = 0.871282
  Prefactor  = 1.0883
 **********
 **   18 **HESSE 
 **********

 FCN=   7857.299     FROM HESSE     STATUS=OK            25 CALLS      421 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6219        24.113        .10323E-05   -1.5087    
   2  Index         2.0947        1.0137        .89736E-04   -.62003    
   3  Normalizat    .87128        .24306        .30219E-05   -.97477    
   4  Prefactor     1.0883        .12875        .71914E-05   -.89841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02249e-12
Minuit parameter uncertainties:
  1  24.1372
  2  1.02454
  3  0.243365
  4  0.128786
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/68780': 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) = 7857.29876139
delta logL = 0.00418486162016

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  9.622e+00  2.414e+01  1.000e-04  1.000e+04 ( 1.000e-14)
413        Index:  2.095e+00  1.025e+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.088e+00  1.288e-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:  8.713e-01  2.434e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.45
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/68780/cmap_HighResolution_673747201_674006401_4FGL_J2317.7+2839_daily_bin1676.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.09e-03', job_status='DONE', photon_flux_upper_limit='8.12e-08', time_completed='2022-05-12 01:44:00.389830', job_id='68780', GAL2='1.09', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1652345040.39', return_code2='0', ts='0.45', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='4.18e-03', ts2='0.46', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1676' AND source_name='4FGL J2317.7+2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 12 01:44:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0012>
Subject: Job 68780: <4FGL_J2317.7+2839_daily_bin1676> in cluster <slac> Done

Job <4FGL_J2317.7+2839_daily_bin1676> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu May 12 01:30:27 2022
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu May 12 01:30:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu May 12 01:30:42 2022
Terminated at Thu May 12 01:44:01 2022
Results reported at Thu May 12 01:44:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2317.7+2839_daily_bin1676 349.438 28.6589 673747201 674006401 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 :                                   718.25 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             332.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            814 sec.

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

