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 81 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7600
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1117.0+2013_daily_bin1709
RA = 169.271, Dec = 20.2294
tmin = 682300801, tmax = 682560001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='101689', job_status='RUN', time_executed='2022-09-16 15:53:37.657352', time_epoch_executed='1663368817.66' WHERE source_name='4FGL J1117.0+2013' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/101689

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/101689/ft1_4FGL_J1117.0+2013_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/101689/ft2_4FGL_J1117.0+2013_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/101689/ft1_4FGL_J1117.0+2013_daily_bin1709.fits outfile=/scratch/kocevski/101689/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1709.fits ra=169.271 dec=20.2294 rad=12.0 tmin=682300801.0 tmax=682560001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.80
user 3.53
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/101689/ft2_4FGL_J1117.0+2013_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/101689/ft2_4FGL_J1117.0+2013_daily_bin1709.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/101689/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/101689/ft1_filtered_4FGL_J1117.0+2013_daily_bin1709.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 530

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/101689/ft1_filtered_4FGL_J1117.0+2013_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/101689/ft2_4FGL_J1117.0+2013_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/101689/ltcube_682300801_682560001_4FGL_J1117.0+2013_daily_bin1709.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/101689/ft2_4FGL_J1117.0+2013_daily_bin1709.fits
.....................!
real 16.11
user 15.62
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/101689/ft1_filtered_4FGL_J1117.0+2013_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/101689/ft2_4FGL_J1117.0+2013_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/101689/ltcube_682300801_682560001_4FGL_J1117.0+2013_daily_bin1709.fits outfile=/scratch/kocevski/101689/expmap_682300801_682560001_4FGL_J1117.0+2013_daily_bin1709.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/101689/ltcube_682300801_682560001_4FGL_J1117.0+2013_daily_bin1709.fits
.....................!
real 191.90
user 186.39
sys 4.30

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

Setting source of interest to:
4FGL J1117.0+2013 @ 169.271 20.2294

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/101689/ft1_filtered_4FGL_J1117.0+2013_daily_bin1709.fits scfile=/scratch/kocevski/101689/ft2_4FGL_J1117.0+2013_daily_bin1709.fits outfile=/scratch/kocevski/101689/cmap_682300801_682560001_4FGL_J1117.0+2013_daily_bin1709.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=169.271 yref=20.2294 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.42
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/101689/ft1_filtered_4FGL_J1117.0+2013_daily_bin1709.fits scfile=/scratch/kocevski/101689/ft2_4FGL_J1117.0+2013_daily_bin1709.fits outfile=/scratch/kocevski/101689/cmap_HighResolution_682300801_682560001_4FGL_J1117.0+2013_daily_bin1709.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=169.271 yref=20.2294 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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/101689/ft1_filtered_4FGL_J1117.0+2013_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/101689/ft2_4FGL_J1117.0+2013_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/101689/Model_4FGL_J1117.0+2013_daily_bin1709.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/101689/ft1_filtered_4FGL_J1117.0+2013_daily_bin1709.fits.....................!
real 57.92
user 56.48
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/101689/ft1_filtered_4FGL_J1117.0+2013_daily_bin1709.fits', '/scratch/kocevski/101689/ft2_4FGL_J1117.0+2013_daily_bin1709.fits', expMap='/scratch/kocevski/101689/expmap_682300801_682560001_4FGL_J1117.0+2013_daily_bin1709.fits', expCube='/scratch/kocevski/101689/ltcube_682300801_682560001_4FGL_J1117.0+2013_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/101689/Model_4FGL_J1117.0+2013_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1117.0+2013'

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  3.413e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.957e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/101689/ft1_filtered_4FGL_J1117.0+2013_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/101689/ft2_4FGL_J1117.0+2013_daily_bin1709.fits
Exposure map: /scratch/kocevski/101689/expmap_682300801_682560001_4FGL_J1117.0+2013_daily_bin1709.fits
Exposure cube: /scratch/kocevski/101689/ltcube_682300801_682560001_4FGL_J1117.0+2013_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/101689/Model_4FGL_J1117.0+2013_daily_bin1709.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.112       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10842E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    17.231       1.0000          .0000       .10000E+07
     4 'Prefactor '    23.654       1.0000          .0000       .10000E+07
     5 'Prefactor '    .41989E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    15.794       1.0000          .0000       .10000E+07
     7 'Prefactor '    .99062E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .89601       1.0000          .0000       .10000E+07
     9 'Prefactor '    .85288E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.0217       1.0000          .0000       .10000E+07
    11 'norm      '    6.3624       1.0000          .0000       .10000E+07
    12 'Prefactor '    .71210E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    15.576       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.1973       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.7564       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.9229       1.0000          .0000       .10000E+07
    17 'Prefactor '    .19873E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .49564E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1102       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92670       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6079.978     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     1908 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.187        10.977       -.19506E-06    .29325E-03
   2  Prefactor      .0000        1.3560        .38524E-08** at limit **
   3  Prefactor     17.227        9.5771       -.39745E-06    .39440E-03
   4  Prefactor     23.671        11.740       -.25161E-06    .65886E-03
   5  Prefactor      .0000        6.8225        .25482E-08** at limit **
   6  Prefactor     15.872        12.538       -.36327E-07    .32598E-03
   7  Prefactor      .0000        5.8202       -.10995E-06** at limit **
   8  norm          .89961        1.2234       -.21021E-07   -.70509E-02
   9  Prefactor      .0000        .87651       -.54730E-09** at limit **
  10  Prefactor     6.0289        6.9014       -.87329E-07   -.12647E-02
  11  norm          6.3575        10.156        .10266E-06   -.60877E-03
  12  Prefactor      .0000        4.4860        .37217E-07** at limit **
  13  Prefactor     15.970        41.446       -.10915E-06    .12565E-02
  14  Prefactor     5.9797        36.271       -.18312E-05   -.24629E-03
  15  Prefactor     3.9635        31.607       -.27540E-06   -.18526E-03
  16  Prefactor     3.9495        9.0408       -.77862E-06   -.18890E-02
  17  Prefactor      .0000        .68236       -.96155E-09** at limit **
  18  Prefactor      .0000        4.0287        .32188E-07** at limit **
  19  Normalizat    1.1092        .19549        .57078E-05   -.69082E-04
  20  Prefactor     .92686        .18304        .82579E-06    .24198E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1873
  Prefactor  = 0
  Prefactor  = 17.2269
  Prefactor  = 23.6714
  Prefactor  = 0
  Prefactor  = 15.8717
  Prefactor  = 0
  norm       = 0.899611
  Prefactor  = 0
  Prefactor  = 6.02895
  norm       = 6.35753
  Prefactor  = 0
  Prefactor  = 15.9703
  Prefactor  = 5.97966
  Prefactor  = 3.96349
  Prefactor  = 3.94954
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.10916
  Prefactor  = 0.926864
 **********
 **   18 **HESSE 
 **********

 FCN=   6079.978     FROM HESSE     STATUS=OK           295 CALLS     2203 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.187        10.991        .91530E-05   -1.5620    
   2  Prefactor      .0000        1.3592        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.227        9.5571        .96403E-05   -1.5625    
   4  Prefactor     23.671        11.748        .82264E-05   -1.5611    
   5  Prefactor      .0000        6.8261        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.872        12.551        .10070E-04   -1.5628    
   7  Prefactor      .0000        5.8209        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .89961        1.2157        .95507E-05   -1.5689    
   9  Prefactor      .0000        .87708        .71283E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.0289        6.9058        .16357E-04   -1.5659    
  11  norm          6.3575        10.154        .15908E-04   -1.5658    
  12  Prefactor      .0000        4.4882        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.970        39.402        .10141E-04   -1.5628    
  14  Prefactor     5.9797        33.547        .16121E-04   -1.5659    
  15  Prefactor     3.9635        31.659        .20827E-04   -1.5668    
  16  Prefactor     3.9495        9.1285        .20365E-04   -1.5668    
  17  Prefactor      .0000        .68437        .62856E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        4.0648        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1092        .22739        .25221E-03   -.89458    
  20  Prefactor     .92686        .21335        .27626E-03   -.95209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.67225e-10
Minuit parameter uncertainties:
  1  10.9909
  2  5.43734e-06
  3  9.55709
  4  11.7476
  5  2.27884e-05
  6  12.5512
  7  9.00868e-06
  8  1.2157
  9  6.10548e-07
  10  6.90582
  11  10.1539
  12  4.10883e-06
  13  39.4027
  14  28.3267
  15  22.4036
  16  9.12851
  17  5.33719e-07
  18  8.11926e-06
  19  0.227592
  20  0.213546
Done.

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

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  6.029e+00  6.906e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.957e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  9.269e-01  2.135e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.109e+00  2.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.09
Ra Dec: 169.271 20.229
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 2.02e-08 +/- 2.32e-08
Energy Flux (Fixed Index): 1.56e-05 +/- 1.79e-05

TS (Fixed Index): 1.09
Ra Dec: 169.271 20.229
Photon Flux Upper Limit: 7.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/101689/likelihoodResults_682300801_682560001_4FGL_J1117.0+2013_daily_bin1709.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) = 6079.95965256
delta logL = 0.0184950960356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6079.9555572
delta logL = 0.0225904537119

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1172       1.0000          .0000       10.000    
     3 'Normalizat'    1.1033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93010       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+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=   6079.956     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      253 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4044        7.5154        .17280E-04    .78483E-02
   2  Index         2.1175        .81431        .88379E-02    .16660E-03
   3  Normalizat    1.1033        .21096        .25281E-03   -.32106E-03
   4  Prefactor     .93011        .21250        .27584E-03   -.34294E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.40439
  Index      = 2.11754
  Normalizat = 1.10331
  Prefactor  = 0.930112
 **********
 **   18 **HESSE 
 **********

 FCN=   6079.956     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4044        7.1151        .69119E-06   -1.5661    
   2  Index         2.1175        .77079        .35352E-03   -.61443    
   3  Normalizat    1.1033        .21077        .50562E-04   -.89645    
   4  Prefactor     .93011        .21244        .55167E-04   -.95097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.3978e-10
Minuit parameter uncertainties:
  1  7.11508
  2  0.775437
  3  0.210927
  4  0.212625
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/101689': 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) = 6079.95555713
delta logL = 0.0225905295765

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  5.404e+00  7.115e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.118e+00  7.754e-01  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  9.301e-01  2.126e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.103e+00  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.13
Ra Dec: 169.271 20.229
Photon Index (Free Index): 2.12 +/- 0.78
Photon Flux (Free Index): 2.50e-08 +/- 3.53e-08
Energy Flux (Free Index): 1.32e-05 +/- 1.76e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/101689/cmap_HighResolution_682300801_682560001_4FGL_J1117.0+2013_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', comment='SUCCESS', photon_flux='2.02e-08', energy_flux2='1.32e-05', photon_flux_error='2.32e-08', dlogl='2.26e-02', energy_flux='1.56e-05', photon_flux2='2.50e-08', job_status='DONE', time_completed='2022-09-16 16:03:40.310427', photon_index_error2='0.78', photon_index2='2.12', ts='1.09', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='7.63e-08', energy_flux_error2='1.76e-05', EG='1.11', time_epoch_completed='1663369420.31', return_code='0', job_id='101689', GAL2='0.93', EG2='1.10', return_code2='0', energy_flux_error='1.79e-05', photon_flux_error2='3.53e-08', ts2='1.13', photon_index='1.96' WHERE bin_id='1709' AND source_name='4FGL J1117.0+2013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:03:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 101689: <4FGL_J1117.0+2013_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1117.0+2013_daily_bin1709> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 15:50:24 2022
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:52:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:52:07 2022
Terminated at Fri Sep 16 16:03:41 2022
Results reported at Fri Sep 16 16:03:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_daily_bin1709 169.271 20.2294 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1117.0+2013 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   603.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   693 sec.
    Turnaround time :                            797 sec.

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

