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


Performing analysis on: 4FGL_J1117.0+2013_daily_bin1753
RA = 169.271, Dec = 20.2294
tmin = 693705601, tmax = 693964801
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='452606', job_status='RUN', time_executed='2022-12-29 00:48:50.678910', time_epoch_executed='1672303730.68' WHERE source_name='4FGL J1117.0+2013' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/452606

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/452606/ft1_4FGL_J1117.0+2013_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/452606/ft2_4FGL_J1117.0+2013_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/452606/ft1_4FGL_J1117.0+2013_daily_bin1753.fits outfile=/scratch/kocevski/452606/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1753.fits ra=169.271 dec=20.2294 rad=12.0 tmin=693705601.0 tmax=693964801.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.73
user 4.42
sys 0.26

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

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

Number of photons that the gtmktime cut: 576

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/452606/ft1_filtered_4FGL_J1117.0+2013_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/452606/ft2_4FGL_J1117.0+2013_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/452606/ltcube_693705601_693964801_4FGL_J1117.0+2013_daily_bin1753.fits outfile=/scratch/kocevski/452606/expmap_693705601_693964801_4FGL_J1117.0+2013_daily_bin1753.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/452606/ltcube_693705601_693964801_4FGL_J1117.0+2013_daily_bin1753.fits
.....................!
real 191.92
user 186.48
sys 4.84

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/452606/ft1_filtered_4FGL_J1117.0+2013_daily_bin1753.fits scfile=/scratch/kocevski/452606/ft2_4FGL_J1117.0+2013_daily_bin1753.fits outfile=/scratch/kocevski/452606/cmap_693705601_693964801_4FGL_J1117.0+2013_daily_bin1753.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/452606/ft1_filtered_4FGL_J1117.0+2013_daily_bin1753.fits scfile=/scratch/kocevski/452606/ft2_4FGL_J1117.0+2013_daily_bin1753.fits outfile=/scratch/kocevski/452606/cmap_HighResolution_693705601_693964801_4FGL_J1117.0+2013_daily_bin1753.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.58
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4093       1.0000          .0000       .10000E+07
     2 'Prefactor '    .31593E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .65983E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.4113       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.0861       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15282E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    26.325       1.0000          .0000       .10000E+07
     8 'norm      '    1.2865       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6271       1.0000          .0000       .10000E+07
    10 'Prefactor '    .88163E-05   1.0000          .0000       .10000E+07
    11 'norm      '    12.776       1.0000          .0000       .10000E+07
    12 'Prefactor '    .53396E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .56573E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .11383E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    28.632       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.1094       1.0000          .0000       .10000E+07
    17 'Prefactor '    .66116       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.7156       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1957       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96941       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=   6198.543     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1547 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3816        6.4202        .55549E-06   -.22265E-02
   2  Prefactor     .55511E-10    2.9512       -.82105E-07** at limit **
   3  Prefactor     .99365E-08    4.6300       -.11764E-05** at limit **
   4  Prefactor     4.2827        4.3532        .18179E-06    .24539E-01
   5  Prefactor     3.1694        6.6995        .19840E-06   -.67492E-02
   6  Prefactor     .88818E-09    3.9763       -.11100E-06** at limit **
   7  Prefactor     26.581        4.7030        .10368E-06   -.93115E-01
   8  norm          1.2898        1.0727       -.27911E-07    .15432E-02
   9  Prefactor     3.6304        2.4998        .90665E-07   -.21282E-02
  10  Prefactor     .27134E-06    9.9461       -.13636E-05** at limit **
  11  norm          12.490        2.2953       -.91719E-07   -.37275E-01
  12  Prefactor     .10048E-07    5.3503       -.13654E-05** at limit **
  13  Prefactor     .25899E-05    20.241        .17704E-05** at limit **
  14  Prefactor     .77044E-06    11.768        .93254E-06** at limit **
  15  Prefactor     29.929        10.504       -.32979E-08   -.17119    
  16  Prefactor     5.1468        5.8561       -.35999E-07    .21916E-03
  17  Prefactor     .65034        1.1552       -.36663E-07    .30348E-02
  18  Prefactor     3.7126        3.3299        .37134E-06    .11015E-02
  19  Normalizat    1.1937        .21272        .20459E-05   -.55505E-04
  20  Prefactor     .97055        .21852       -.90674E-05   -.43054E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.38158
  Prefactor  = 5.55112e-11
  Prefactor  = 9.9365e-09
  Prefactor  = 4.28275
  Prefactor  = 3.16937
  Prefactor  = 8.88178e-10
  Prefactor  = 26.581
  norm       = 1.28977
  Prefactor  = 3.63039
  Prefactor  = 2.71339e-07
  norm       = 12.4899
  Prefactor  = 1.00475e-08
  Prefactor  = 2.58987e-06
  Prefactor  = 7.70439e-07
  Prefactor  = 29.929
  Prefactor  = 5.14679
  Prefactor  = 0.650336
  Prefactor  = 3.71258
  Normalizat = 1.19368
  Prefactor  = 0.970546
 **********
 **   18 **HESSE 
 **********

 FCN=   6198.543     FROM HESSE     STATUS=OK           341 CALLS     1888 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3816        6.7605        .91242E-03   -1.5684    
   2  Prefactor     .55511E-10    .98689        .29877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .99365E-08    4.6348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.2827        13.966        .47925E-03   -1.5667    
   5  Prefactor     3.1694        10.274        .57707E-03   -1.5672    
   6  Prefactor     .88818E-09    3.9799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     26.581        24.863        .19494E-03   -1.5605    
   8  norm          1.2898        1.0821        .97686E-03   -1.5685    
   9  Prefactor     3.6304        2.5079        .53024E-03   -1.5670    
  10  Prefactor     .27134E-06    10.464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          12.490        13.798        .27999E-03   -1.5637    
  12  Prefactor     .10048E-07    5.3641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .25899E-05    22.724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .77044E-06    12.508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.929        24.700        .18692E-03   -1.5599    
  16  Prefactor     5.1468        5.8645        .44456E-03   -1.5663    
  17  Prefactor     .65034        1.1950        .63919E-03   -1.5692    
  18  Prefactor     3.7126        3.3381        .52364E-03   -1.5669    
  19  Normalizat    1.1937        .19093        .54080E-01   -.86798    
  20  Prefactor     .97055        .18857        .45884E-01   -.93718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56517e-06
Minuit parameter uncertainties:
  1  6.11234
  2  1.26734e-05
  3  0.000429758
  4  13.9658
  5  10.2738
  6  0.000117324
  7  24.8629
  8  1.0821
  9  2.50795
  10  0.00337009
  11  13.7983
  12  0.000463832
  13  0.0153431
  14  0.00620852
  15  24.7005
  16  5.86452
  17  1.19504
  18  3.3381
  19  0.191038
  20  0.188699
Done.

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

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  2.713e-07  3.370e-03  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.705e-01  1.887e-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.194e+00  1.910e-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.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/452606/likelihoodResults_693705601_693964801_4FGL_J1117.0+2013_daily_bin1753.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) = 6198.59399385
delta logL = -0.0512771953436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6197.3798009
delta logL = 1.16291575278

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34558E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.6445       1.0000          .0000       10.000    
     3 'Normalizat'    1.0714       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0532       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=   6197.380     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      265 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34040E-01    .35474        .16219E-03** at limit **
   2  Index         4.6503        1.8839        .88122E-01    .19503E-03
   3  Normalizat    1.0713        .46718E-01    .56651E-01    .35906E-05
   4  Prefactor     1.0532        .49712E-01    .60834E-01    .73359E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0340402
  Index      = 4.65028
  Normalizat = 1.07133
  Prefactor  = 1.05323
 **********
 **   18 **HESSE 
 **********

 FCN=   6197.380     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      298 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34040E-01    .82908        .99268E-06   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6503        3.3331        .32265E-02   -.70002E-01
   3  Normalizat    1.0713        .18342        .25051E-03   -.90678    
   4  Prefactor     1.0532        .19072        .26903E-03   -.90976    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.72719e-07
Minuit parameter uncertainties:
  1  0.33599
  2  3.65039
  3  0.183526
  4  0.190845
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/452606': 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) = 6197.37979693
delta logL = 1.16291972004

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  3.404e-02  3.360e-01  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  4.650e+00  3.650e+00  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.053e+00  1.908e-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.071e+00  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.64
Ra Dec: 169.271 20.229
Photon Index (Free Index): 4.65 +/- 3.65
Photon Flux (Free Index): 8.53e-08 +/- 6.10e-08
Energy Flux (Free Index): 1.17e-05 +/- 9.88e-06

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/452606/cmap_HighResolution_693705601_693964801_4FGL_J1117.0+2013_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.62e-03', comment='SUCCESS', energy_flux2='1.17e-05', dlogl='1.16e+00', photon_flux2='8.53e-08', job_status='DONE', time_completed='2022-12-29 00:58:46.792817', photon_index_error2='3.65', photon_index2='4.65', ts='-0.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='6.19e-08', energy_flux_error2='9.88e-06', EG='1.19', time_epoch_completed='1672304326.79', return_code='0', job_id='452606', GAL2='1.05', EG2='1.07', return_code2='102', photon_flux_error2='6.10e-08', ts2='2.64', photon_index='1.96' WHERE bin_id='1753' AND source_name='4FGL J1117.0+2013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 00:58:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 452606: <4FGL_J1117.0+2013_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1117.0+2013_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 00:45:17 2022
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 00:48:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 00:48:30 2022
Terminated at Thu Dec 29 00:58:47 2022
Results reported at Thu Dec 29 00:58:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_daily_bin1753 169.271 20.2294 693705601 693964801 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 :                                   598.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   617 sec.
    Turnaround time :                            810 sec.

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

