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


Performing analysis on: 4FGL_J1117.0+2013_daily_bin1710
RA = 169.271, Dec = 20.2294
tmin = 682560001, tmax = 682819201
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='101691', job_status='RUN', time_executed='2022-09-16 15:54:03.727799', time_epoch_executed='1663368843.73' WHERE source_name='4FGL J1117.0+2013' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/101691

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/101691/ft1_4FGL_J1117.0+2013_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/101691/ft2_4FGL_J1117.0+2013_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/101691/ft1_4FGL_J1117.0+2013_daily_bin1710.fits outfile=/scratch/kocevski/101691/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1710.fits ra=169.271 dec=20.2294 rad=12.0 tmin=682560001.0 tmax=682819201.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.68
user 3.42
sys 0.22

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

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

Number of photons that the gtmktime cut: 508

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/101691/ft1_filtered_4FGL_J1117.0+2013_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/101691/ft2_4FGL_J1117.0+2013_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/101691/ltcube_682560001_682819201_4FGL_J1117.0+2013_daily_bin1710.fits outfile=/scratch/kocevski/101691/expmap_682560001_682819201_4FGL_J1117.0+2013_daily_bin1710.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/101691/ltcube_682560001_682819201_4FGL_J1117.0+2013_daily_bin1710.fits
.....................!
real 192.57
user 186.74
sys 5.26

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/101691/ft1_filtered_4FGL_J1117.0+2013_daily_bin1710.fits scfile=/scratch/kocevski/101691/ft2_4FGL_J1117.0+2013_daily_bin1710.fits outfile=/scratch/kocevski/101691/cmap_682560001_682819201_4FGL_J1117.0+2013_daily_bin1710.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.57
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/101691/ft1_filtered_4FGL_J1117.0+2013_daily_bin1710.fits scfile=/scratch/kocevski/101691/ft2_4FGL_J1117.0+2013_daily_bin1710.fits outfile=/scratch/kocevski/101691/cmap_HighResolution_682560001_682819201_4FGL_J1117.0+2013_daily_bin1710.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.57
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4797       1.0000          .0000       .10000E+07
     2 'Prefactor '    .69488E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.562       1.0000          .0000       .10000E+07
     4 'Prefactor '    .95816       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18433E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .25174E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    8.7645       1.0000          .0000       .10000E+07
     8 'norm      '    1.7175       1.0000          .0000       .10000E+07
     9 'Prefactor '    .33379E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    10.602       1.0000          .0000       .10000E+07
    11 'norm      '    .17408E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .52052E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.1578       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.2726       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.7013       1.0000          .0000       .10000E+07
    16 'Prefactor '    .31331E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.8017       1.0000          .0000       .10000E+07
    18 'Prefactor '    .73322       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.5320       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .43587       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=   5775.308     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1479 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4496        6.7443       -.55637E-07   -.88016E-02
   2  Prefactor      .0000        1.1341        .75569E-08** at limit **
   3  Prefactor     11.568        6.0994       -.51975E-07   -.49646E-01
   4  Prefactor     1.0608        4.0333       -.31493E-06    .20783E-01
   5  Prefactor     .22204E-09    4.9134       -.45288E-07** at limit **
   6  Prefactor      .0000        3.0551        .21326E-07** at limit **
   7  Prefactor     8.7941        2.2227        .56695E-07   -.23300E-01
   8  norm          1.7195        1.2924        .18545E-07    .16532E-02
   9  Prefactor      .0000        .77608       -.69346E-08** at limit **
  10  Prefactor     10.621        3.8148        .23710E-07   -.84596E-01
  11  norm          .50682E-07    9.3221        .26041E-06** at limit **
  12  Prefactor     .19207E-07    9.2538       -.19338E-06** at limit **
  13  Prefactor     5.9736        28.150       -.92787E-06   -.14187E-01
  14  Prefactor     2.0485        7.2220        .38216E-06   -.19985E-01
  15  Prefactor     3.6553        4.0019        .22277E-06   -.15590E-01
  16  Prefactor     .21094E-08    5.5253       -.20116E-06** at limit **
  17  Prefactor     2.8038        1.8089        .30494E-07    .24314E-02
  18  Prefactor     .72311        1.8960        .36918E-07    .22268E-02
  19  Normalizat    1.5309        .21089       -.20612E-06   -.49669E-04
  20  Prefactor     .43615        .20126        .38965E-06   -.19952E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.44957
  Prefactor  = 0
  Prefactor  = 11.5676
  Prefactor  = 1.06084
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 8.79406
  norm       = 1.71954
  Prefactor  = 0
  Prefactor  = 10.6213
  norm       = 5.06817e-08
  Prefactor  = 1.92069e-08
  Prefactor  = 5.97364
  Prefactor  = 2.04846
  Prefactor  = 3.65531
  Prefactor  = 2.10942e-09
  Prefactor  = 2.80382
  Prefactor  = 0.723112
  Normalizat = 1.5309
  Prefactor  = 0.436154
 **********
 **   18 **HESSE 
 **********

 FCN=   5775.308     FROM HESSE     STATUS=OK           337 CALLS     1816 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4496        6.8666        .39403E-03   -1.5657    
   2  Prefactor      .0000        1.1284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.568        8.0698        .29437E-03   -1.5640    
   4  Prefactor     1.0608        13.553        .42278E-03   -1.5687    
   5  Prefactor     .22204E-09    4.9282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.0673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.7941        11.313        .33834E-03   -1.5649    
   8  norm          1.7195        1.3025        .80144E-03   -1.5682    
   9  Prefactor      .0000        .77841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.621        7.8981        .30747E-03   -1.5643    
  11  norm          .50682E-07    11.670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .19207E-07    10.384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.9736        31.583        .44243E-03   -1.5659    
  14  Prefactor     2.0485        16.358        .68093E-03   -1.5679    
  15  Prefactor     3.6553        37.922        .52469E-03   -1.5670    
  16  Prefactor     .21094E-08    5.5650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.8038        1.8498        .60752E-03   -1.5674    
  18  Prefactor     .72311        5.4302        .58051E-03   -1.5691    
  19  Normalizat    1.5309        .19251        .47238E-01   -.76914    
  20  Prefactor     .43615        .18191        .80901E-01   -1.1500    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60568e-07
Minuit parameter uncertainties:
  1  6.86659
  2  2.34204e-06
  3  8.06981
  4  7.5837
  5  7.01591e-05
  6  1.69967e-06
  7  11.3127
  8  1.30251
  9  1.87818e-06
  10  7.8981
  11  0.00153802
  12  0.000892749
  13  27.4715
  14  11.5775
  15  23.5473
  16  0.000217215
  17  1.84976
  18  3.96315
  19  0.192605
  20  0.182153
Done.

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

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  1.062e+01  7.898e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.957e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  4.362e-01  1.822e-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.531e+00  1.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.33
Ra Dec: 169.271 20.229
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.65e-08
Energy Flux (Fixed Index): 2.75e-05 +/- 2.05e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5774.21478948
delta logL = 1.09303673908

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5773.91933792
delta logL = 1.38848829831

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4941       1.0000          .0000       .10000E+07
     2 'Index     '    .55784       1.0000          .0000       10.000    
     3 'Normalizat'    1.5456       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .44784       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=   5773.919     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      236 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4773        1.8669        .87633E-03   -.35131E-02
   2  Index         .55368        .47550        .25533       -.14073E-04
   3  Normalizat    1.5459        .18333        .47056E-01   -.52951E-05
   4  Prefactor     .44734        .17915        .80036E-01    .38163E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.47731
  Index      = 0.553678
  Normalizat = 1.54588
  Prefactor  = 0.447338
 **********
 **   18 **HESSE 
 **********

 FCN=   5773.919     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4773        4.3832        .88398E-05   -1.5684    
   2  Index         .55368        .99844        .12056E-01   -1.0957    
   3  Normalizat    1.5459        .20624        .20801E-03   -.76497    
   4  Prefactor     .44734        .20108        .35455E-03   -1.1446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89071e-10
Minuit parameter uncertainties:
  1  4.38318
  2  1.03323
  3  0.206356
  4  0.201397
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/101691': 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) = 5773.91932829
delta logL = 1.38849793193

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  1.477e+00  4.383e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  5.537e-01  1.033e+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:  4.473e-01  2.014e-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.546e+00  2.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.08
Ra Dec: 169.271 20.229
Photon Index (Free Index): 0.55 +/- 1.03
Photon Flux (Free Index): 3.53e-09 +/- 4.26e-09
Energy Flux (Free Index): 1.14e-04 +/- 1.32e-04

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/101691/cmap_HighResolution_682560001_682819201_4FGL_J1117.0+2013_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.14e-04', photon_flux_error='2.65e-08', dlogl='1.39e+00', energy_flux='2.75e-05', photon_flux2='3.53e-09', job_status='DONE', time_completed='2022-09-16 16:02:48.254375', photon_index_error2='1.03', photon_index2='0.55', ts='8.33', fit_tolerance='1e-08', GAL='0.44', photon_index_error='0.00', energy_flux_error2='1.32e-04', EG='1.53', time_epoch_completed='1663369368.25', return_code='0', job_id='101691', GAL2='0.45', EG2='1.55', return_code2='0', energy_flux_error='2.05e-05', photon_flux_error2='4.26e-09', ts2='11.08', photon_index='1.96' WHERE bin_id='1710' AND source_name='4FGL J1117.0+2013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:02:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 101691: <4FGL_J1117.0+2013_daily_bin1710> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_daily_bin1710 169.271 20.2294 682560001 682819201 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 :                                   526.03 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             299.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   612 sec.
    Turnaround time :                            745 sec.

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

