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


Performing analysis on: 4FGL_J1117.0+2013_daily_bin1747
RA = 169.271, Dec = 20.2294
tmin = 692150401, tmax = 692409601
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='796873', job_status='RUN', time_executed='2022-12-11 00:41:21.182517', time_epoch_executed='1670748081.18' WHERE source_name='4FGL J1117.0+2013' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/796873

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/796873/ft1_4FGL_J1117.0+2013_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/796873/ft2_4FGL_J1117.0+2013_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/796873/ft1_4FGL_J1117.0+2013_daily_bin1747.fits outfile=/scratch/kocevski/796873/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1747.fits ra=169.271 dec=20.2294 rad=12.0 tmin=692150401.0 tmax=692409601.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.97
user 3.75
sys 0.20

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

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

Number of photons that the gtmktime cut: 645

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/796873/ft1_filtered_4FGL_J1117.0+2013_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/796873/ft2_4FGL_J1117.0+2013_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/796873/ltcube_692150401_692409601_4FGL_J1117.0+2013_daily_bin1747.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/796873/ft2_4FGL_J1117.0+2013_daily_bin1747.fits
.....................!
real 11.78
user 11.42
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/796873/ft1_filtered_4FGL_J1117.0+2013_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/796873/ft2_4FGL_J1117.0+2013_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/796873/ltcube_692150401_692409601_4FGL_J1117.0+2013_daily_bin1747.fits outfile=/scratch/kocevski/796873/expmap_692150401_692409601_4FGL_J1117.0+2013_daily_bin1747.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/796873/ltcube_692150401_692409601_4FGL_J1117.0+2013_daily_bin1747.fits
.....................!
real 190.73
user 185.48
sys 4.93

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/796873/ft1_filtered_4FGL_J1117.0+2013_daily_bin1747.fits scfile=/scratch/kocevski/796873/ft2_4FGL_J1117.0+2013_daily_bin1747.fits outfile=/scratch/kocevski/796873/cmap_692150401_692409601_4FGL_J1117.0+2013_daily_bin1747.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/796873/ft1_filtered_4FGL_J1117.0+2013_daily_bin1747.fits scfile=/scratch/kocevski/796873/ft2_4FGL_J1117.0+2013_daily_bin1747.fits outfile=/scratch/kocevski/796873/cmap_HighResolution_692150401_692409601_4FGL_J1117.0+2013_daily_bin1747.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4869       1.0000          .0000       .10000E+07
     2 'Prefactor '    .57602       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.650       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.786       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8384       1.0000          .0000       .10000E+07
     6 'Prefactor '    .63557E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    20.652       1.0000          .0000       .10000E+07
     8 'norm      '    .11702E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.3178       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16655E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .51996E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .81590E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    10.034       1.0000          .0000       .10000E+07
    14 'Prefactor '    .24450E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    66.701       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16343E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25979E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .33009E-05   1.0000          .0000       .10000E+07
    19 'Normalizat'    .99905       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1899       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=   7180.524     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     1675 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4542        8.8452        .12376E-06    .22150E-03
   2  Prefactor     .57833        1.3490        .21622E-07    .13953E-03
   3  Prefactor     13.796        8.5766        .61734E-07    .66942E-03
   4  Prefactor     10.751        9.2406       -.13072E-07   -.32218E-02
   5  Prefactor     6.8343        7.9387        .33701E-07    .39793E-02
   6  Prefactor     .45830E-06    8.4854        .12077E-06** at limit **
   7  Prefactor     20.591        2.7079        .96027E-09   -.29341E-01
   8  norm          .84755E-02    30.552       -.47638E-06** at limit **
   9  Prefactor     5.3244        3.3398        .41554E-08    .51766E-03
  10  Prefactor     .63283E-08    8.4236       -.46162E-07** at limit **
  11  norm          .82767E-07    5.7003        .57870E-07** at limit **
  12  Prefactor     .94369E-09    3.0033        .48298E-07** at limit **
  13  Prefactor     9.8421        4.8869        .24395E-07   -.22252E-01
  14  Prefactor     .13600E-07    17.475       -.35190E-07** at limit **
  15  Prefactor     67.590        12.830       -.32058E-07   -.62692E-01
  16  Prefactor     .21094E-08    5.0712       -.35324E-07** at limit **
  17  Prefactor     .12212E-08    1.9598       -.52982E-07** at limit **
  18  Prefactor     .20410E-05    6.3106        .47032E-07** at limit **
  19  Normalizat    .99791        .21732        .63706E-06    .80258E-05
  20  Prefactor     1.1905        .21640       -.36156E-06    .13705E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.45424
  Prefactor  = 0.578328
  Prefactor  = 13.7958
  Prefactor  = 10.7514
  Prefactor  = 6.83426
  Prefactor  = 4.583e-07
  Prefactor  = 20.5912
  norm       = 0.00847547
  Prefactor  = 5.32441
  Prefactor  = 6.32827e-09
  norm       = 8.27671e-08
  Prefactor  = 9.4369e-10
  Prefactor  = 9.84206
  Prefactor  = 1.36002e-08
  Prefactor  = 67.5902
  Prefactor  = 2.10942e-09
  Prefactor  = 1.22125e-09
  Prefactor  = 2.04103e-06
  Normalizat = 0.997907
  Prefactor  = 1.19054
 **********
 **   18 **HESSE 
 **********

 FCN=   7180.524     FROM HESSE     STATUS=OK           343 CALLS     2018 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4542        8.9950        .87919E-03   -1.5684    
   2  Prefactor     .57833        1.3794        .71404E-03   -1.5693    
   3  Prefactor     13.796        8.6238        .27085E-03   -1.5634    
   4  Prefactor     10.751        10.430        .30482E-03   -1.5642    
   5  Prefactor     6.8343        7.9688        .38344E-03   -1.5656    
   6  Prefactor     .45830E-06    17.185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.591        15.988        .22012E-03   -1.5617    
   8  norm          .84755E-02    .97767        .26697E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.3244        3.3372        .43559E-03   -1.5662    
  10  Prefactor     .63283E-08    8.4110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .82767E-07    18.853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .94369E-09    3.0115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.8421        21.215        .31609E-03   -1.5645    
  14  Prefactor     .13600E-07    20.970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     67.590        28.203        .12245E-03   -1.5544    
  16  Prefactor     .21094E-08    5.1149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .12212E-08    1.9391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .20410E-05    1.7828        .61705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .99791        .18866        .46155E-01   -.93101    
  20  Prefactor     1.1905        .18265        .59275E-01   -.86623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16593e-07
Minuit parameter uncertainties:
  1  7.23352
  2  1.37935
  3  8.62386
  4  10.4305
  5  7.96885
  6  0.0056126
  7  15.9879
  8  0.182058
  9  3.33725
  10  0.00046241
  11  0.0024986
  12  0.00010507
  13  21.2155
  14  0.00106762
  15  28.2028
  16  0.000206759
  17  9.65953e-05
  18  0.00381509
  19  0.188787
  20  0.182749
Done.

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

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  6.328e-09  4.624e-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:  1.191e+00  1.827e-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.979e-01  1.888e-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: 4.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/796873/likelihoodResults_692150401_692409601_4FGL_J1117.0+2013_daily_bin1747.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): 102
logL (Free Index) = 7180.59229406
delta logL = -0.068255182282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 7180.27003533
delta logL = 0.254003547955

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18335E-06   1.0000          .0000       .10000E+07
     2 'Index     '    8.6825       1.0000          .0000       10.000    
     3 'Normalizat'    .95171       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2254       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.

 FCN=   7180.524     FROM MIGRAD    STATUS=CONVERGED    144 CALLS      647 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .82699E-02    .42118E-03** at limit **
   2  Index         .45902        7.9453        .50000        .63665E-09
   3  Normalizat    .99790        .57442E-03    .45559E-01    .29924E-03
   4  Prefactor     1.1906        .60776E-03    .59274E-01    .19382E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 0.459017
  Normalizat = 0.9979
  Prefactor  = 1.19055
 **********
 **   18 **HESSE 
 **********

 FCN=   7180.524     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      676 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .61309E-01    .56766E-04   -20.420    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .45902        5.3098        .50000       -.16928E+06
   3  Normalizat    .99790        .15630E-02    .26905E-03    29.205    
   4  Prefactor     1.1906        .16533E-02    .26213E-03   -19.716    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.21909e-11
Minuit parameter uncertainties:
  1  4.74881e-06
  2  28004.9
  3  0.00156297
  4  0.00165333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/796873': 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) = 7180.52403888
delta logL = -2.90128809866e-10

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  1.110e-10  4.749e-06  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  4.590e-01  2.800e+04  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.191e+00  1.653e-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:  9.979e-01  1.563e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/796873/cmap_HighResolution_692150401_692409601_4FGL_J1117.0+2013_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.57e-03', job_status='DONE', photon_flux_upper_limit='4.78e-08', time_completed='2022-12-11 00:52:30.275437', job_id='796873', GAL2='1.19', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1670748750.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='-2.90e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1747' AND source_name='4FGL J1117.0+2013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 00:52:30 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 796873: <4FGL_J1117.0+2013_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1117.0+2013_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 00:40:16 2022
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:40:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:40:17 2022
Terminated at Sun Dec 11 00:52:30 2022
Results reported at Sun Dec 11 00:52:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_daily_bin1747 169.271 20.2294 692150401 692409601 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 :                                   670.37 sec.
    Max Memory :                                 1240 MB
    Average Memory :                             328.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            734 sec.

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

