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


Performing analysis on: 4FGL_J1917.7-6930_daily_bin1732
RA = 289.442, Dec = -69.5061
tmin = 688262401, tmax = 688521601
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='647347', job_status='RUN', time_executed='2022-10-27 00:35:34.881390', time_epoch_executed='1666856134.88' WHERE source_name='4FGL J1917.7-6930' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647347

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647347/ft1_4FGL_J1917.7-6930_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647347/ft2_4FGL_J1917.7-6930_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647347/ft1_4FGL_J1917.7-6930_daily_bin1732.fits outfile=/scratch/kocevski/647347/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1732.fits ra=289.442 dec=-69.5061 rad=12.0 tmin=688262401.0 tmax=688521601.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.51
user 3.29
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/647347/ft2_4FGL_J1917.7-6930_daily_bin1732.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/647347/ft2_4FGL_J1917.7-6930_daily_bin1732.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/647347/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1732.fits evtable="EVENTS" outfile="/scratch/kocevski/647347/ft1_filtered_4FGL_J1917.7-6930_daily_bin1732.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.32
sys 0.17

Number of photons that the gtmktime cut: 942

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647347/ft1_filtered_4FGL_J1917.7-6930_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647347/ft2_4FGL_J1917.7-6930_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647347/ltcube_688262401_688521601_4FGL_J1917.7-6930_daily_bin1732.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/647347/ft2_4FGL_J1917.7-6930_daily_bin1732.fits
.....................!
real 12.30
user 11.93
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647347/ft1_filtered_4FGL_J1917.7-6930_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647347/ft2_4FGL_J1917.7-6930_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647347/ltcube_688262401_688521601_4FGL_J1917.7-6930_daily_bin1732.fits outfile=/scratch/kocevski/647347/expmap_688262401_688521601_4FGL_J1917.7-6930_daily_bin1732.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/647347/ltcube_688262401_688521601_4FGL_J1917.7-6930_daily_bin1732.fits
.....................!
real 191.85
user 185.65
sys 5.66

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 203 point sources and 0 extended sources

Setting source of interest to:
4FGL J1917.7-6930 @ 289.442 -69.5061

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/647347/ft1_filtered_4FGL_J1917.7-6930_daily_bin1732.fits scfile=/scratch/kocevski/647347/ft2_4FGL_J1917.7-6930_daily_bin1732.fits outfile=/scratch/kocevski/647347/cmap_688262401_688521601_4FGL_J1917.7-6930_daily_bin1732.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=289.442 yref=-69.5061 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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647347/ft1_filtered_4FGL_J1917.7-6930_daily_bin1732.fits scfile=/scratch/kocevski/647347/ft2_4FGL_J1917.7-6930_daily_bin1732.fits outfile=/scratch/kocevski/647347/cmap_HighResolution_688262401_688521601_4FGL_J1917.7-6930_daily_bin1732.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=289.442 yref=-69.5061 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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/647347/ft1_filtered_4FGL_J1917.7-6930_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647347/ft2_4FGL_J1917.7-6930_daily_bin1732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647347/Model_4FGL_J1917.7-6930_daily_bin1732.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/647347/ft1_filtered_4FGL_J1917.7-6930_daily_bin1732.fits.....................!
real 89.57
user 88.12
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/647347/ft1_filtered_4FGL_J1917.7-6930_daily_bin1732.fits', '/scratch/kocevski/647347/ft2_4FGL_J1917.7-6930_daily_bin1732.fits', expMap='/scratch/kocevski/647347/expmap_688262401_688521601_4FGL_J1917.7-6930_daily_bin1732.fits', expCube='/scratch/kocevski/647347/ltcube_688262401_688521601_4FGL_J1917.7-6930_daily_bin1732.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/647347/Model_4FGL_J1917.7-6930_daily_bin1732.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1917.7-6930'

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  2.026e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
424        Index:  2.308e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
425        Scale:  1.347e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/647347/ft1_filtered_4FGL_J1917.7-6930_daily_bin1732.fits
Spacecraft file(s): /scratch/kocevski/647347/ft2_4FGL_J1917.7-6930_daily_bin1732.fits
Exposure map: /scratch/kocevski/647347/expmap_688262401_688521601_4FGL_J1917.7-6930_daily_bin1732.fits
Exposure cube: /scratch/kocevski/647347/ltcube_688262401_688521601_4FGL_J1917.7-6930_daily_bin1732.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/647347/Model_4FGL_J1917.7-6930_daily_bin1732.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) = 9663.25654396

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.018       1.0000          .0000       .10000E+07
     2 'norm      '    .30791E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13440E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    13.375       1.0000          .0000       .10000E+07
     5 'Prefactor '    15.525       1.0000          .0000       .10000E+07
     6 'norm      '    .88263E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .15870E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .12890E-05   1.0000          .0000       .10000E+07
     9 'norm      '    7.0357       1.0000          .0000       .10000E+07
    10 'Prefactor '    10.539       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.3972       1.0000          .0000       .10000E+07
    12 'norm      '    1.1177       1.0000          .0000       .10000E+07
    13 'norm      '    25.109       1.0000          .0000       .10000E+07
    14 'Prefactor '    8.9144       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.0960       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0180       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9663.243     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1094 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.016        6.7428       -.12171E-07    .34790E-04
   2  norm          .15932E-07    22.234       -.65532E-06** at limit **
   3  Prefactor     .18874E-08    28.607       -.41673E-05** at limit **
   4  Prefactor     13.228        15.761       -.17375E-06    .20039E-02
   5  Prefactor     20.036        117.33       -.29409E-05   -.79258E-03
   6  norm          .12768E-08    12.529        .63324E-06** at limit **
   7  Prefactor     .94587E-04    3.9812        .33251E-06** at limit **
   8  norm           .0000        3.8963        .38734E-06** at limit **
   9  norm          6.9303        5.7225        .30777E-07    .29707E-05
  10  Prefactor     10.584        10.677        .88599E-07    .64174E-03
  11  Prefactor     1.5184        38.105       -.25306E-06   -.48314E-04
  12  norm          1.1182        1.2031        .17807E-06    .87118E-03
  13  norm          27.145        44.880       -.99396E-06    .77191E-03
  14  Prefactor     8.4950        15.494       -.26688E-06    .86854E-02
  15  Normalizat    1.0975        .27027       -.19621E-04    .14822E-04
  16  Prefactor     1.0172        .10512        .63181E-05    .41415E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.0158
  norm       = 1.59317e-08
  Prefactor  = 1.88738e-09
  Prefactor  = 13.2283
  Prefactor  = 20.0364
  norm       = 1.27676e-09
  Prefactor  = 9.45867e-05
  norm       = 0
  norm       = 6.93029
  Prefactor  = 10.5844
  Prefactor  = 1.51836
  norm       = 1.11821
  norm       = 27.1446
  Prefactor  = 8.49501
  Normalizat = 1.09752
  Prefactor  = 1.01721
 **********
 **   18 **HESSE 
 **********

 FCN=   9663.243     FROM HESSE     STATUS=OK           235 CALLS     1329 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.016        6.7346        .24998E-03   -1.5628    
   2  norm          .15932E-07    22.268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .18874E-08    28.549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.228        15.733        .27363E-03   -1.5635    
   5  Prefactor     20.036        115.07        .25393E-03   -1.5618    
   6  norm          .12768E-08    12.547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .94587E-04    290.83        .17325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.9002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.9303        5.7305        .37797E-03   -1.5655    
  10  Prefactor     10.584        10.663        .30839E-03   -1.5643    
  11  Prefactor     1.5184        37.752        .91803E-03   -1.5683    
  12  norm          1.1182        1.2014        .11122E-03   -1.5687    
  13  norm          27.145        44.928        .19961E-03   -1.5604    
  14  Prefactor     8.4950        15.401        .33546E-03   -1.5650    
  15  Normalizat    1.0975        .22856        .89017E-01   -.89831    
  16  Prefactor     1.0172        .88182E-01    .42344E-01   -.92158    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.59893e-07
Minuit parameter uncertainties:
  1  6.73462
  2  0.00119025
  3  0.00046317
  4  15.7331
  5  96.0375
  6  0.000254004
  7  0.331732
  8  1.91437e-06
  9  5.73051
  10  10.6629
  11  15.1421
  12  1.20142
  13  44.9289
  14  15.4012
  15  0.228764
  16  0.0881941
Done.

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

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  1.058e+01  1.066e+01  0.000e+00  1.000e+06 ( 1.000e-13)
424        Index:  2.308e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
425        Scale:  1.347e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  1.017e+00  8.819e-02  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  1.098e+00  2.288e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.60
Ra Dec: 289.442 -69.506
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 3.28e-08 +/- 3.30e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.23e-05

TS (Fixed Index): 1.60
Ra Dec: 289.442 -69.506
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/647347/likelihoodResults_688262401_688521601_4FGL_J1917.7-6930_daily_bin1732.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) = 9663.14916352
delta logL = 0.0934118539735

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9663.14175358
delta logL = 0.100821793219

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8564       1.0000          .0000       .10000E+07
     2 'Index     '    2.6881       1.0000          .0000       10.000    
     3 'Normalizat'    1.0818       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0208       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+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=   9663.142     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      287 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8574        13.687        .15317E-04    .62673E-02
   2  Index         2.6888        1.0980        .68456E-02    .24794E-03
   3  Normalizat    1.0817        .26669        .39675E-03    .19233E-03
   4  Prefactor     1.0208        .10363        .15905E-03    .44619E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.85737
  Index      = 2.68885
  Normalizat = 1.0817
  Prefactor  = 1.02081
 **********
 **   18 **HESSE 
 **********

 FCN=   9663.142     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8574        11.146        .61269E-06   -1.5656    
   2  Index         2.6888        .89646        .27382E-03   -.48051    
   3  Normalizat    1.0817        .26611        .15870E-04   -.90341    
   4  Prefactor     1.0208        .10351        .31810E-04   -.92039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.19646e-10
Minuit parameter uncertainties:
  1  11.1457
  2  0.902682
  3  0.266435
  4  0.103533
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647347': 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) = 9663.14175241
delta logL = 0.100822968128

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  6.857e+00  1.115e+01  0.000e+00  1.000e+06 ( 1.000e-13)
424        Index:  2.689e+00  9.027e-01  0.000e+00  1.000e+01 (-1.000e+00)
425        Scale:  1.347e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  1.021e+00  1.035e-01  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  1.082e+00  2.664e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.81
Ra Dec: 289.442 -69.506
Photon Index (Free Index): 2.69 +/- 0.90
Photon Flux (Free Index): 4.43e-08 +/- 4.63e-08
Energy Flux (Free Index): 1.08e-05 +/- 1.03e-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/647347/cmap_HighResolution_688262401_688521601_4FGL_J1917.7-6930_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.54e-03', comment='SUCCESS', photon_flux='3.28e-08', energy_flux2='1.08e-05', photon_flux_error='3.30e-08', dlogl='1.01e-01', energy_flux='1.22e-05', photon_flux2='4.43e-08', job_status='DONE', time_completed='2022-10-27 00:47:09.799848', photon_index_error2='0.90', photon_index2='2.69', ts='1.60', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.11e-07', energy_flux_error2='1.03e-05', EG='1.10', time_epoch_completed='1666856829.8', return_code='0', job_id='647347', GAL2='1.02', EG2='1.08', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='4.63e-08', ts2='1.81', photon_index='2.31' WHERE bin_id='1732' AND source_name='4FGL J1917.7-6930' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:47:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 647347: <4FGL_J1917.7-6930_daily_bin1732> in cluster <slac> Done

Job <4FGL_J1917.7-6930_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:19 2022
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:20 2022
Terminated at Thu Oct 27 00:47:10 2022
Results reported at Thu Oct 27 00:47:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1917.7-6930_daily_bin1732 289.442 -69.5061 688262401 688521601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1917.7-6930 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   696.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             370.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            711 sec.

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

