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 31 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_J1117.0+2013_daily_bin1716
RA = 169.271, Dec = 20.2294
tmin = 684115201, tmax = 684374401
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='101700', job_status='RUN', time_executed='2022-09-16 15:53:22.496245', time_epoch_executed='1663368802.5' WHERE source_name='4FGL J1117.0+2013' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/101700

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/101700/ft1_4FGL_J1117.0+2013_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/101700/ft2_4FGL_J1117.0+2013_daily_bin1716.fits


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

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

Done.
real 4.12
user 3.85
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/101700/ft2_4FGL_J1117.0+2013_daily_bin1716.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/101700/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/101700/ft1_filtered_4FGL_J1117.0+2013_daily_bin1716.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.33
sys 0.16

Number of photons that the gtmktime cut: 526

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/101700/ft1_filtered_4FGL_J1117.0+2013_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/101700/ft2_4FGL_J1117.0+2013_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/101700/ltcube_684115201_684374401_4FGL_J1117.0+2013_daily_bin1716.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/101700/ft2_4FGL_J1117.0+2013_daily_bin1716.fits
.....................!
real 14.33
user 13.88
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/101700/ft1_filtered_4FGL_J1117.0+2013_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/101700/ft2_4FGL_J1117.0+2013_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/101700/ltcube_684115201_684374401_4FGL_J1117.0+2013_daily_bin1716.fits outfile=/scratch/kocevski/101700/expmap_684115201_684374401_4FGL_J1117.0+2013_daily_bin1716.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/101700/ltcube_684115201_684374401_4FGL_J1117.0+2013_daily_bin1716.fits
.....................!
real 192.45
user 186.37
sys 5.02

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/101700/ft1_filtered_4FGL_J1117.0+2013_daily_bin1716.fits scfile=/scratch/kocevski/101700/ft2_4FGL_J1117.0+2013_daily_bin1716.fits outfile=/scratch/kocevski/101700/cmap_684115201_684374401_4FGL_J1117.0+2013_daily_bin1716.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/101700/ft1_filtered_4FGL_J1117.0+2013_daily_bin1716.fits scfile=/scratch/kocevski/101700/ft2_4FGL_J1117.0+2013_daily_bin1716.fits outfile=/scratch/kocevski/101700/cmap_HighResolution_684115201_684374401_4FGL_J1117.0+2013_daily_bin1716.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/101700/ft1_filtered_4FGL_J1117.0+2013_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/101700/ft2_4FGL_J1117.0+2013_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/101700/Model_4FGL_J1117.0+2013_daily_bin1716.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/101700/ft1_filtered_4FGL_J1117.0+2013_daily_bin1716.fits.....................!
real 57.45
user 55.61
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/101700/ft1_filtered_4FGL_J1117.0+2013_daily_bin1716.fits', '/scratch/kocevski/101700/ft2_4FGL_J1117.0+2013_daily_bin1716.fits', expMap='/scratch/kocevski/101700/expmap_684115201_684374401_4FGL_J1117.0+2013_daily_bin1716.fits', expCube='/scratch/kocevski/101700/ltcube_684115201_684374401_4FGL_J1117.0+2013_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/101700/Model_4FGL_J1117.0+2013_daily_bin1716.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/101700/ft1_filtered_4FGL_J1117.0+2013_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/101700/ft2_4FGL_J1117.0+2013_daily_bin1716.fits
Exposure map: /scratch/kocevski/101700/expmap_684115201_684374401_4FGL_J1117.0+2013_daily_bin1716.fits
Exposure cube: /scratch/kocevski/101700/ltcube_684115201_684374401_4FGL_J1117.0+2013_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/101700/Model_4FGL_J1117.0+2013_daily_bin1716.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) = 5685.47335045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1764       1.0000          .0000       .10000E+07
     2 'Prefactor '    .36270       1.0000          .0000       .10000E+07
     3 'Prefactor '    18.692       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.1531       1.0000          .0000       .10000E+07
     5 'Prefactor '    .39891E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .95529       1.0000          .0000       .10000E+07
     7 'Prefactor '    .34423E-01   1.0000          .0000       .10000E+07
     8 'norm      '    2.3723       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2739       1.0000          .0000       .10000E+07
    10 'Prefactor '    9.5628       1.0000          .0000       .10000E+07
    11 'norm      '    17.380       1.0000          .0000       .10000E+07
    12 'Prefactor '    .51761E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12752E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .80252E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    53.690       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89476E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .12641E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    6.4053       1.0000          .0000       .10000E+07
    19 'Normalizat'    .93128       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5685.452     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1460 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2504        7.7488       -.88632E-07   -.40696E-01
   2  Prefactor     .36372        1.9070       -.76618E-07    .21339E-02
   3  Prefactor     18.694        2.2810        .25137E-07   -.68723E-02
   4  Prefactor     8.1507        3.5979        .87629E-07   -.90288E-01
   5  Prefactor     .11195E-05    5.2383       -.25160E-06** at limit **
   6  Prefactor     .91306        3.1353       -.88846E-08   -.11295E-02
   7  Prefactor     .16326E-06    1.6881        .78433E-07** at limit **
   8  norm          2.3720        1.5054       -.98257E-07   -.49051E-02
   9  Prefactor     3.2750        2.9353       -.16474E-06   -.28702E-02
  10  Prefactor     9.5516        7.1846       -.14300E-06   -.26279E-01
  11  norm          17.322        1.3355       -.16568E-07    .47088E-01
  12  Prefactor     .49405E-08    5.8665       -.35808E-06** at limit **
  13  Prefactor     .84172E-06    5.2327       -.32658E-06** at limit **
  14  Prefactor     .16431E-07    3.5332       -.10994E-06** at limit **
  15  Prefactor     53.069        23.930       -.10201E-07    .34652E-01
  16  Prefactor     .25535E-08    3.1952       -.43593E-06** at limit **
  17  Prefactor      .0000        1.4953        .40029E-07** at limit **
  18  Prefactor     6.3864        4.6237        .21022E-06   -.29511E-02
  19  Normalizat    .93230        .23749       -.20586E-05   -.86532E-04
  20  Prefactor     1.2595        .24325       -.31552E-06   -.79122E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.2504
  Prefactor  = 0.36372
  Prefactor  = 18.6938
  Prefactor  = 8.1507
  Prefactor  = 1.11955e-06
  Prefactor  = 0.91306
  Prefactor  = 1.63258e-07
  norm       = 2.37197
  Prefactor  = 3.27501
  Prefactor  = 9.55162
  norm       = 17.3225
  Prefactor  = 4.94049e-09
  Prefactor  = 8.41716e-07
  Prefactor  = 1.64313e-08
  Prefactor  = 53.0692
  Prefactor  = 2.55351e-09
  Prefactor  = 0
  Prefactor  = 6.38635
  Normalizat = 0.932296
  Prefactor  = 1.25947
 **********
 **   18 **HESSE 
 **********

 FCN=   5685.452     FROM HESSE     STATUS=OK           343 CALLS     1803 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2504        8.1394        .44161E-03   -1.5662    
   2  Prefactor     .36372        2.0334        .93942E-03   -1.5696    
   3  Prefactor     18.694        9.2684        .23138E-03   -1.5621    
   4  Prefactor     8.1507        10.385        .35088E-03   -1.5651    
   5  Prefactor     .11195E-05    10.224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .91306        26.745        .42175E-03   -1.5689    
   7  Prefactor     .16326E-06    9.4241        .12228E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.3720        1.5122        .66493E-03   -1.5677    
   9  Prefactor     3.2750        3.1238        .55940E-03   -1.5672    
  10  Prefactor     9.5516        7.2761        .32382E-03   -1.5646    
  11  norm          17.322        13.241        .23997E-03   -1.5625    
  12  Prefactor     .49405E-08    5.8956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .84172E-06    10.089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16431E-07    3.6503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     53.069        25.217        .13648E-03   -1.5562    
  16  Prefactor     .25535E-08    3.2207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.4600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.3864        4.6427        .39634E-03   -1.5657    
  19  Normalizat    .93230        .20875        .45300E-01   -.95334    
  20  Prefactor     1.2595        .20774        .58899E-01   -.84520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.84506e-07
Minuit parameter uncertainties:
  1  8.13946
  2  1.71999
  3  9.26837
  4  10.3846
  5  0.00676656
  6  9.88332
  7  0.00248077
  8  1.51216
  9  3.12376
  10  7.27608
  11  13.2415
  12  0.000341388
  13  0.00582828
  14  0.000489699
  15  25.2171
  16  0.000181531
  17  8.1155e-06
  18  4.64269
  19  0.208932
  20  0.207876
Done.

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

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  9.552e+00  7.276e+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:  1.259e+00  2.079e-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:  9.323e-01  2.089e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.91
Ra Dec: 169.271 20.229
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 3.21e-08 +/- 2.44e-08
Energy Flux (Fixed Index): 2.47e-05 +/- 1.88e-05

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) = 5685.44253347
delta logL = 0.00980650145175

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5685.43866388
delta logL = 0.0136760982905

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.262       1.0000          .0000       .10000E+07
     2 'Index     '    1.8558       1.0000          .0000       10.000    
     3 'Normalizat'    .93727       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2563       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=   5685.439     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      251 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.263        8.8862        .12501E-04    .20552E-03
   2  Index         1.8557        .61046        .84114E-02    .21503E-03
   3  Normalizat    .93730        .22285        .27453E-03   -.98145E-05
   4  Prefactor     1.2563        .24012        .26073E-03   -.16613E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2631
  Index      = 1.85569
  Normalizat = 0.937299
  Prefactor  = 1.25626
 **********
 **   18 **HESSE 
 **********

 FCN=   5685.439     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.263        8.7187        .50005E-06   -1.5644    
   2  Index         1.8557        .59876        .16823E-02   -.68009    
   3  Normalizat    .93730        .22287        .10981E-04   -.95162    
   4  Prefactor     1.2563        .24024        .10429E-04   -.84617    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34101e-12
Minuit parameter uncertainties:
  1  8.71867
  2  0.601155
  3  0.223087
  4  0.240455
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/101700': 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) = 5685.43866386
delta logL = 0.0136761193235

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  1.026e+01  8.719e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.856e+00  6.012e-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:  1.256e+00  2.405e-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:  9.373e-01  2.231e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.92
Ra Dec: 169.271 20.229
Photon Index (Free Index): 1.86 +/- 0.60
Photon Flux (Free Index): 2.86e-08 +/- 3.00e-08
Energy Flux (Free Index): 2.90e-05 +/- 3.67e-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/101700/cmap_HighResolution_684115201_684374401_4FGL_J1117.0+2013_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.21e-08', energy_flux2='2.90e-05', photon_flux_error='2.44e-08', dlogl='1.37e-02', energy_flux='2.47e-05', photon_flux2='2.86e-08', job_status='DONE', time_completed='2022-09-16 16:02:14.590919', photon_index_error2='0.60', photon_index2='1.86', ts='5.91', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', energy_flux_error2='3.67e-05', EG='0.93', time_epoch_completed='1663369334.59', return_code='0', job_id='101700', GAL2='1.26', EG2='0.94', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='3.00e-08', ts2='5.92', photon_index='1.96' WHERE bin_id='1716' AND source_name='4FGL J1117.0+2013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:02:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 101700: <4FGL_J1117.0+2013_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1117.0+2013_daily_bin1716> 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) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:52:42 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:42 2022
Terminated at Fri Sep 16 16:02:15 2022
Results reported at Fri Sep 16 16:02:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_daily_bin1716 169.271 20.2294 684115201 684374401 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 :                                   532.20 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             321.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   572 sec.
    Turnaround time :                            711 sec.

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

