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


Performing analysis on: 4FGL_J1117.0+2013_daily_bin1765
RA = 169.271, Dec = 20.2294
tmin = 696816001, tmax = 697075201
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='632675', job_status='RUN', time_executed='2023-02-03 00:52:41.541054', time_epoch_executed='1675414361.54' WHERE source_name='4FGL J1117.0+2013' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/632675

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/632675/ft1_4FGL_J1117.0+2013_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/632675/ft2_4FGL_J1117.0+2013_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/632675/ft1_4FGL_J1117.0+2013_daily_bin1765.fits outfile=/scratch/kocevski/632675/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1765.fits ra=169.271 dec=20.2294 rad=12.0 tmin=696816001.0 tmax=697075201.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.67
user 3.43
sys 0.21

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

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

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

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

Number of photons that the gtmktime cut: 552

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/632675/ft1_filtered_4FGL_J1117.0+2013_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/632675/ft2_4FGL_J1117.0+2013_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/632675/ltcube_696816001_697075201_4FGL_J1117.0+2013_daily_bin1765.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/632675/ft2_4FGL_J1117.0+2013_daily_bin1765.fits
.....................!
real 14.85
user 14.41
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/632675/ft1_filtered_4FGL_J1117.0+2013_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/632675/ft2_4FGL_J1117.0+2013_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/632675/ltcube_696816001_697075201_4FGL_J1117.0+2013_daily_bin1765.fits outfile=/scratch/kocevski/632675/expmap_696816001_697075201_4FGL_J1117.0+2013_daily_bin1765.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/632675/ltcube_696816001_697075201_4FGL_J1117.0+2013_daily_bin1765.fits
.....................!
real 191.94
user 186.17
sys 5.28

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/632675/ft1_filtered_4FGL_J1117.0+2013_daily_bin1765.fits scfile=/scratch/kocevski/632675/ft2_4FGL_J1117.0+2013_daily_bin1765.fits outfile=/scratch/kocevski/632675/cmap_696816001_697075201_4FGL_J1117.0+2013_daily_bin1765.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=169.271 yref=20.2294 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/632675/ft1_filtered_4FGL_J1117.0+2013_daily_bin1765.fits scfile=/scratch/kocevski/632675/ft2_4FGL_J1117.0+2013_daily_bin1765.fits outfile=/scratch/kocevski/632675/cmap_HighResolution_696816001_697075201_4FGL_J1117.0+2013_daily_bin1765.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/632675/ft1_filtered_4FGL_J1117.0+2013_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/632675/ft2_4FGL_J1117.0+2013_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/632675/Model_4FGL_J1117.0+2013_daily_bin1765.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/632675/ft1_filtered_4FGL_J1117.0+2013_daily_bin1765.fits.....................!
real 59.19
user 57.73
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2707       1.0000          .0000       .10000E+07
     2 'Prefactor '    .26423E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    41.947       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.3048       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14868E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    18.405       1.0000          .0000       .10000E+07
     7 'Prefactor '    11.576       1.0000          .0000       .10000E+07
     8 'norm      '    .37192E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15649E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .88713E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .32524E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .24881E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    17.835       1.0000          .0000       .10000E+07
    15 'Prefactor '    76.066       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.2023       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17153E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    6.6306       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0056       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98637       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=   6253.930     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     2627 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2678        6.0163        .18589E-06   -.90638E-04
   2  Prefactor      .0000        .86034       -.92009E-07** at limit **
   3  Prefactor     41.949        10.688        .35611E-06    .16524E-01
   4  Prefactor     5.3165        8.4755       -.76897E-06    .56874E-02
   5  Prefactor     .27756E-09    45.333        .13118E-05** at limit **
   6  Prefactor     18.404        9.2599       -.15433E-06   -.66320E-01
   7  Prefactor     11.562        5.3307       -.53487E-07   -.27669E-01
   8  norm           .0000        .90815        .10230E-06** at limit **
   9  Prefactor     .22204E-09    2.0586       -.13379E-06** at limit **
  10  Prefactor     .70871E-06    6.0997       -.15882E-06** at limit **
  11  norm          .50349E-07    20.790        .15649E-05** at limit **
  12  Prefactor     .15832E-06    4.2591       -.30586E-06** at limit **
  13  Prefactor     .79825E-07    4.0234       -.24798E-06** at limit **
  14  Prefactor     17.834        6.0568        .73963E-07    .13359E-01
  15  Prefactor     76.074        1.6712       -.90715E-08    .43760E-01
  16  Prefactor     1.1996        22.343       -.29229E-06    .13030E-02
  17  Prefactor      .0000        1.0422       -.74401E-07** at limit **
  18  Prefactor     6.6305        4.8273       -.42015E-07   -.11885E-02
  19  Normalizat    1.0056        .22032        .84084E-06    .84212E-04
  20  Prefactor     .98635        .21937       -.69363E-05    .64921E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.26782
  Prefactor  = 0
  Prefactor  = 41.9495
  Prefactor  = 5.31654
  Prefactor  = 2.77556e-10
  Prefactor  = 18.4045
  Prefactor  = 11.5622
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 7.08711e-07
  norm       = 5.03486e-08
  Prefactor  = 1.58318e-07
  Prefactor  = 7.9825e-08
  Prefactor  = 17.8341
  Prefactor  = 76.0742
  Prefactor  = 1.19957
  Prefactor  = 0
  Prefactor  = 6.63053
  Normalizat = 1.00558
  Prefactor  = 0.986348
 **********
 **   18 **HESSE 
 **********

 FCN=   6253.930     FROM HESSE     STATUS=OK           333 CALLS     2960 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2678        6.0431        .55968E-03   -1.5672    
   2  Prefactor      .0000        .86081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     41.949        10.781        .15442E-03   -1.5578    
   4  Prefactor     5.3165        9.6045        .43613E-03   -1.5662    
   5  Prefactor     .27756E-09    44.417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.404        12.657        .23318E-03   -1.5622    
   7  Prefactor     11.562        15.949        .29420E-03   -1.5640    
   8  norm           .0000        .89072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-09    2.0543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .70871E-06    13.554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .50349E-07    21.028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .15832E-06    10.865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .79825E-07    10.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.834        13.568        .23689E-03   -1.5624    
  15  Prefactor     76.074        32.282        .11467E-03   -1.5534    
  16  Prefactor     1.1996        22.798        .10343E-02   -1.5686    
  17  Prefactor      .0000        1.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.6305        4.8607        .38947E-03   -1.5656    
  19  Normalizat    1.0056        .19540        .46236E-01   -.92844    
  20  Prefactor     .98635        .18937        .46096E-01   -.93186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78544e-07
Minuit parameter uncertainties:
  1  6.04309
  2  1.50623e-06
  3  10.7807
  4  9.60457
  5  0.000230578
  6  12.6567
  7  15.949
  8  1.1529e-06
  9  4.34355e-05
  10  0.00619854
  11  0.00205795
  12  0.00262324
  13  0.0018232
  14  13.5685
  15  32.2816
  16  10.459
  17  5.91431e-07
  18  4.86074
  19  0.195542
  20  0.189497
Done.

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

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  7.087e-07  6.199e-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.863e-01  1.895e-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.006e+00  1.955e-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.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/632675/likelihoodResults_696816001_697075201_4FGL_J1117.0+2013_daily_bin1765.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) = 6253.98244892
delta logL = -0.0521736735882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6253.91373779
delta logL = 0.0165374550334

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31040       1.0000          .0000       .10000E+07
     2 'Index     '    2.8070       1.0000          .0000       10.000    
     3 'Normalizat'    .99850       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98901       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=   6253.914     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      231 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31174        2.9918        .31582E-02    .12947E-01
   2  Index         2.8056        .22425        .49798        .15663E-05
   3  Normalizat    .99842        .68722E-02    .46148E-01    .12757E-04
   4  Prefactor     .98901        .70703E-02    .46130E-01    .11164E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.311744
  Index      = 2.80558
  Normalizat = 0.99842
  Prefactor  = 0.989013
 **********
 **   18 **HESSE 
 **********

 FCN=   6253.914     FROM HESSE     STATUS=OK            35 CALLS      266 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31174        8.5466        .17720E-03   -1.5697    
   2  Index         2.8056        3.3370        .25578E-02   -.45436    
   3  Normalizat    .99842        .21718        .26347E-03   -.93083    
   4  Prefactor     .98901        .21969        .27084E-03   -.93097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40396e-10
Minuit parameter uncertainties:
  1  3.26457
  2  3.76114
  3  0.217377
  4  0.219887
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/632675': 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) = 6253.91373728
delta logL = 0.0165379603441

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  3.117e-01  3.265e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.806e+00  3.761e+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:  9.890e-01  2.199e-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.984e-01  2.174e-01  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/632675/cmap_HighResolution_696816001_697075201_4FGL_J1117.0+2013_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.71e-03', job_status='DONE', photon_flux_upper_limit='4.97e-08', time_completed='2023-02-03 01:03:45.303671', job_id='632675', GAL2='0.99', fit_tolerance='1e-08', EG2='1.00', EG='1.01', time_epoch_completed='1675415025.3', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.65e-02', ts2='0.04', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1765' AND source_name='4FGL J1117.0+2013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:03:45 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 632675: <4FGL_J1117.0+2013_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1117.0+2013_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:50:17 2023
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:50:59 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:50:59 2023
Terminated at Fri Feb  3 01:03:46 2023
Results reported at Fri Feb  3 01:03:46 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_daily_bin1765 169.271 20.2294 696816001 697075201 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 :                                   666.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            809 sec.

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

