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


Performing analysis on: 4FGL_J1117.0+2013_daily_bin1708
RA = 169.271, Dec = 20.2294
tmin = 682041601, tmax = 682300801
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='101688', job_status='RUN', time_executed='2022-09-16 15:52:43.121911', time_epoch_executed='1663368763.12' WHERE source_name='4FGL J1117.0+2013' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/101688

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/101688/ft1_4FGL_J1117.0+2013_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/101688/ft2_4FGL_J1117.0+2013_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/101688/ft1_4FGL_J1117.0+2013_daily_bin1708.fits outfile=/scratch/kocevski/101688/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1708.fits ra=169.271 dec=20.2294 rad=12.0 tmin=682041601.0 tmax=682300801.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.00
user 3.72
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/101688/ft2_4FGL_J1117.0+2013_daily_bin1708.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/101688/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/101688/ft1_filtered_4FGL_J1117.0+2013_daily_bin1708.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 539

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/101688/ft1_filtered_4FGL_J1117.0+2013_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/101688/ft2_4FGL_J1117.0+2013_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/101688/ltcube_682041601_682300801_4FGL_J1117.0+2013_daily_bin1708.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/101688/ft2_4FGL_J1117.0+2013_daily_bin1708.fits
.....................!
real 14.58
user 14.15
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/101688/ft1_filtered_4FGL_J1117.0+2013_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/101688/ft2_4FGL_J1117.0+2013_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/101688/ltcube_682041601_682300801_4FGL_J1117.0+2013_daily_bin1708.fits outfile=/scratch/kocevski/101688/expmap_682041601_682300801_4FGL_J1117.0+2013_daily_bin1708.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/101688/ltcube_682041601_682300801_4FGL_J1117.0+2013_daily_bin1708.fits
.....................!
real 193.22
user 187.70
sys 4.50

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/101688/ft1_filtered_4FGL_J1117.0+2013_daily_bin1708.fits scfile=/scratch/kocevski/101688/ft2_4FGL_J1117.0+2013_daily_bin1708.fits outfile=/scratch/kocevski/101688/cmap_682041601_682300801_4FGL_J1117.0+2013_daily_bin1708.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/101688/ft1_filtered_4FGL_J1117.0+2013_daily_bin1708.fits scfile=/scratch/kocevski/101688/ft2_4FGL_J1117.0+2013_daily_bin1708.fits outfile=/scratch/kocevski/101688/cmap_HighResolution_682041601_682300801_4FGL_J1117.0+2013_daily_bin1708.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1813       1.0000          .0000       .10000E+07
     2 'Prefactor '    .56223       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.289       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.0433       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11831E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .83132E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .12073E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .65682E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .23392E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .86129E-03   1.0000          .0000       .10000E+07
    11 'norm      '    9.5169       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20140       1.0000          .0000       .10000E+07
    13 'Prefactor '    .57173E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    18.116       1.0000          .0000       .10000E+07
    15 'Prefactor '    41.531       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16768E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .26605       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.8524       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.4590       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .80097       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=   6040.988     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     2488 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2240        4.9737       -.16246E-06   -.46670E-03
   2  Prefactor     .55407        2.0701       -.50828E-06    .20571E-03
   3  Prefactor     25.301        1.1394       -.32026E-08    .27911E-01
   4  Prefactor     4.1224        9.2507        .24823E-06   -.58256E-02
   5  Prefactor     .18874E-08    5.6975       -.10291E-05** at limit **
   6  Prefactor     .55511E-09    3.8842        .67410E-06** at limit **
   7  Prefactor     .72170E-06    14.686        .53932E-06** at limit **
   8  norm          .65359E-01    4.6040       -.13298E-06** at limit **
   9  Prefactor      .0000        1.0902        .37250E-07** at limit **
  10  Prefactor     .23370E-07    6.8212       -.47602E-06** at limit **
  11  norm          9.5045        1.8808       -.78220E-07   -.27443E-01
  12  Prefactor     .56164E-04    47.544       -.21671E-05** at limit **
  13  Prefactor     .55511E-10    33.826        .13169E-05** at limit **
  14  Prefactor     18.239        3.0890        .11450E-06   -.38595E-02
  15  Prefactor     41.456        26.037       -.68827E-06    .15076    
  16  Prefactor     .60357E-06    20.074        .42879E-06** at limit **
  17  Prefactor     .26299        4.6341        .71099E-08   -.14195E-02
  18  Prefactor     1.8869        4.4588        .26046E-07   -.52690E-03
  19  Normalizat    1.4589        .24186        .22284E-06    .96644E-04
  20  Prefactor     .80147        .23379        .17604E-04    .90811E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.22403
  Prefactor  = 0.554067
  Prefactor  = 25.301
  Prefactor  = 4.12245
  Prefactor  = 1.88738e-09
  Prefactor  = 5.55112e-10
  Prefactor  = 7.217e-07
  norm       = 0.065359
  Prefactor  = 0
  Prefactor  = 2.33702e-08
  norm       = 9.50449
  Prefactor  = 5.61639e-05
  Prefactor  = 5.55112e-11
  Prefactor  = 18.2387
  Prefactor  = 41.4564
  Prefactor  = 6.03573e-07
  Prefactor  = 0.26299
  Prefactor  = 1.88693
  Normalizat = 1.4589
  Prefactor  = 0.801474
 **********
 **   18 **HESSE 
 **********

 FCN=   6040.988     FROM HESSE     STATUS=OK           353 CALLS     2841 TOTAL
                     EDM=   .93E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2240        4.9854        .44140E-03   -1.5662    
   2  Prefactor     .55407        2.0956        .72681E-03   -1.5693    
   3  Prefactor     25.301        10.276        .19890E-03   -1.5607    
   4  Prefactor     4.1224        9.3830        .50122E-03   -1.5667    
   5  Prefactor     .18874E-08    5.6983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-09    3.8748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .72170E-06    15.204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .65359E-01    1.1149        .24640E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.0927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .23370E-07    6.8309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.5045        10.515        .32461E-03   -1.5646    
  12  Prefactor     .56164E-04    9.9983        .88910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    33.119        .15265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.239        19.810        .23504E-03   -1.5623    
  15  Prefactor     41.456        37.601        .15519E-03   -1.5579    
  16  Prefactor     .60357E-06    20.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .26299        1.5691        .45898E-02   -1.5698    
  18  Prefactor     1.8869        4.5196        .76564E-03   -1.5680    
  19  Normalizat    1.4589        .20938        .54091E-01   -.78940    
  20  Prefactor     .80147        .19728        .70380E-01   -.99674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.31253e-07
Minuit parameter uncertainties:
  1  4.98541
  2  2.09565
  3  10.2759
  4  9.383
  5  0.000208803
  6  9.42658e-05
  7  0.00662504
  8  0.539886
  9  2.77142e-06
  10  0.00079912
  11  10.5155
  12  0.0473938
  13  0.000102453
  14  19.8105
  15  37.6016
  16  0.00702702
  17  1.28478
  18  4.51957
  19  0.209501
  20  0.197449
Done.

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

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  2.337e-08  7.991e-04  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:  8.015e-01  1.974e-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.459e+00  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/101688/likelihoodResults_682041601_682300801_4FGL_J1117.0+2013_daily_bin1708.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) = 6041.06120542
delta logL = -0.0728905442566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6040.98831532
delta logL = -4.40416442871e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25813E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .90624       1.0000          .0000       10.000    
     3 'Normalizat'    1.4588       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80166       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=   6040.988     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      187 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10103E-07    6.3335       -.41597E-05** at limit **
   2  Index         1.7547        1.8832       -.10197E-03   -.22132E-08
   3  Normalizat    1.4589        .22924       -.50291E-05    .63156E-03
   4  Prefactor     .80148        .22999        .22340E-04    .49381E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.0103e-08
  Index      = 1.75467
  Normalizat = 1.45891
  Prefactor  = 0.801475
 **********
 **   18 **HESSE 
 **********

 FCN=   6040.988     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      224 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10103E-07    .36165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7547        6.4985        .45085       -.70636    
   3  Normalizat    1.4589        .11842E-02    .54091E-01   -.78940    
   4  Prefactor     .80148        .11901E-02    .70380E-01   -.99674    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.02054e-11
Minuit parameter uncertainties:
  1  0.000120913
  2  2005.02
  3  0.00118417
  4  0.00119013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/101688': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6040.98831488
delta logL = 7.02129909769e-10

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  1.010e-08  1.209e-04  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.755e+00  2.005e+03  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:  8.015e-01  1.190e-03  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.459e+00  1.184e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 169.271 20.229

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/101688/cmap_HighResolution_682041601_682300801_4FGL_J1117.0+2013_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.84e-03', job_status='DONE', photon_flux_upper_limit='6.48e-08', time_completed='2022-09-16 16:03:57.789781', job_id='101688', GAL2='0.80', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1663369437.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='7.02e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1708' AND source_name='4FGL J1117.0+2013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:03:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 101688: <4FGL_J1117.0+2013_daily_bin1708> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_daily_bin1708 169.271 20.2294 682041601 682300801 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 :                                   675.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             357.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            814 sec.

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

