/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 189 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1117.0+2013_daily_bin1218
RA = 169.271, Dec = 20.2294
tmin = 555033601, tmax = 555292801
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='637479', job_status='RUN', time_executed='2021-09-03 14:24:45.477650', time_epoch_executed='1630704285.48' WHERE source_name='4FGL J1117.0+2013' and cadence='daily' and bin_id='1218'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/637479

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/637479/ft1_4FGL_J1117.0+2013_daily_bin1218.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/637479/ft2_4FGL_J1117.0+2013_daily_bin1218.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/637479/ft1_4FGL_J1117.0+2013_daily_bin1218.fits outfile=/scratch/kocevski/637479/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1218.fits ra=169.271 dec=20.2294 rad=12.0 tmin=555033601.0 tmax=555292801.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.78
user 3.49
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/637479/ft2_4FGL_J1117.0+2013_daily_bin1218.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/637479/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1218.fits evtable="EVENTS" outfile="/scratch/kocevski/637479/ft1_filtered_4FGL_J1117.0+2013_daily_bin1218.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.51
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/637479/ft1_filtered_4FGL_J1117.0+2013_daily_bin1218.fits" evtable="EVENTS" scfile=/scratch/kocevski/637479/ft2_4FGL_J1117.0+2013_daily_bin1218.fits sctable="SC_DATA" outfile=/scratch/kocevski/637479/ltcube_555033601_555292801_4FGL_J1117.0+2013_daily_bin1218.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/637479/ft2_4FGL_J1117.0+2013_daily_bin1218.fits
.....................!
real 15.83
user 15.40
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/637479/ft1_filtered_4FGL_J1117.0+2013_daily_bin1218.fits evtable="EVENTS" scfile=/scratch/kocevski/637479/ft2_4FGL_J1117.0+2013_daily_bin1218.fits sctable="SC_DATA" expcube=/scratch/kocevski/637479/ltcube_555033601_555292801_4FGL_J1117.0+2013_daily_bin1218.fits outfile=/scratch/kocevski/637479/expmap_555033601_555292801_4FGL_J1117.0+2013_daily_bin1218.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/637479/ltcube_555033601_555292801_4FGL_J1117.0+2013_daily_bin1218.fits
.....................!
real 192.23
user 186.82
sys 4.09

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/637479/ft1_filtered_4FGL_J1117.0+2013_daily_bin1218.fits scfile=/scratch/kocevski/637479/ft2_4FGL_J1117.0+2013_daily_bin1218.fits outfile=/scratch/kocevski/637479/cmap_555033601_555292801_4FGL_J1117.0+2013_daily_bin1218.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/637479/ft1_filtered_4FGL_J1117.0+2013_daily_bin1218.fits scfile=/scratch/kocevski/637479/ft2_4FGL_J1117.0+2013_daily_bin1218.fits outfile=/scratch/kocevski/637479/cmap_HighResolution_555033601_555292801_4FGL_J1117.0+2013_daily_bin1218.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=169.271 yref=20.2294 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/637479/ft1_filtered_4FGL_J1117.0+2013_daily_bin1218.fits', '/scratch/kocevski/637479/ft2_4FGL_J1117.0+2013_daily_bin1218.fits', expMap='/scratch/kocevski/637479/expmap_555033601_555292801_4FGL_J1117.0+2013_daily_bin1218.fits', expCube='/scratch/kocevski/637479/ltcube_555033601_555292801_4FGL_J1117.0+2013_daily_bin1218.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/637479/Model_4FGL_J1117.0+2013_daily_bin1218.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  1.000e-04  1.000e+04 ( 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/637479/ft1_filtered_4FGL_J1117.0+2013_daily_bin1218.fits
Spacecraft file(s): /scratch/kocevski/637479/ft2_4FGL_J1117.0+2013_daily_bin1218.fits
Exposure map: /scratch/kocevski/637479/expmap_555033601_555292801_4FGL_J1117.0+2013_daily_bin1218.fits
Exposure cube: /scratch/kocevski/637479/ltcube_555033601_555292801_4FGL_J1117.0+2013_daily_bin1218.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/637479/Model_4FGL_J1117.0+2013_daily_bin1218.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) = 4740.86792644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .97632       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.6703       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.619       1.0000         .10000E-03   10000.    
    11 'norm      '    .31476       1.0000         .10000E-03   10000.    
    12 'norm      '    5.5987       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10642E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.744       1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.927       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10604E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .46409       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .48675E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2936       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91557       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4740.858     FROM MIGRAD    STATUS=CONVERGED    895 CALLS     3140 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.7860        .14657E-02** at limit **
   2  Prefactor     .97890        1.8375        .14139E-02   -.64771E-03
   3  Prefactor     .10000E-03    13.667        .18142E-02** at limit **
   4  Prefactor     .10000E-03    6.4287        .16997E-02** at limit **
   5  Prefactor     4.6772        10.954        .18622E-03   -.14927E-03
   6  Prefactor     .10000E-03    7.1261        .17918E-02** at limit **
   7  Prefactor     .10000E-03    35.648        .18142E-02** at limit **
   8  norm          .10000E-03    .67478        .55115E-03** at limit **
   9  Prefactor     .10000E-03    10.357        .16898E-02** at limit **
  10  Prefactor     12.620        9.9522        .11276E-03   -.11816E-03
  11  norm          .16639        25.205        .85556E-01    .51048E-03
  12  norm          5.5977        8.5771        .16978E-03   -.14678E-03
  13  Prefactor     .10000E-03    15.422        .18142E-02** at limit **
  14  Prefactor     .10000E-03    20.077        .18142E-02** at limit **
  15  Prefactor     .10000E-03    68.596        .18142E-02** at limit **
  16  Prefactor     17.745        15.517        .95080E-04    .42089E-04
  17  Prefactor     27.920        22.037        .75810E-04   -.47721E-03
  18  Prefactor     .10019E-03    89.137        .43866E-02** at limit **
  19  Prefactor     .46382        1.2699        .12758E-02    .54063E-03
  20  Prefactor     .10004E-03    11.381        .22801E-02** at limit **
  21  Normalizat    1.2935        .25019        .24131E-03    .48896E-03
  22  Prefactor     .91550        .24992        .28829E-03    .38997E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.978903
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.67716
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.6197
  norm       = 0.166388
  norm       = 5.59774
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 17.7449
  Prefactor  = 27.9202
  Prefactor  = 0.000100193
  Prefactor  = 0.463825
  Prefactor  = 0.000100036
  Normalizat = 1.29353
  Prefactor  = 0.915499
 **********
 **   18 **HESSE 
 **********

 FCN=   4740.858     FROM HESSE     STATUS=OK           334 CALLS     3474 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.7868        .29313E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .97890        1.8351        .56557E-04   -1.5510    
   3  Prefactor     .10000E-03    13.677        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.4293        .33994E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.6772        10.951        .74488E-05   -1.5275    
   6  Prefactor     .10000E-03    7.1270        .35837E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    35.665        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .67479        .11023E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.413        .33797E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.620        9.9516        .45105E-05   -1.4997    
  11  norm          .16639        22.950        .90930E-01   -1.5626    
  12  norm          5.5977        8.5765        .67913E-05   -1.5235    
  13  Prefactor     .10000E-03    15.428        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    20.079        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    68.601        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.745        15.514        .38032E-05   -1.4865    
  17  Prefactor     27.920        22.019        .15162E-04   -1.4651    
  18  Prefactor     .10019E-03    91.153        .87731E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .46382        1.2674        .51034E-04   -1.5572    
  20  Prefactor     .10004E-03    11.433        .45603E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2935        .25021        .48262E-04   -.83760    
  22  Prefactor     .91550        .24999        .57657E-04   -.95602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.63175e-09
Minuit parameter uncertainties:
  1  8.80421e-06
  2  1.83521
  3  4.60439e-06
  4  5.9222e-05
  5  10.9556
  6  3.95164e-06
  7  0.00025532
  8  1.13366e-06
  9  5.98693e-05
  10  9.95292
  11  3.90862
  12  8.57838
  13  4.19462e-05
  14  0.000108583
  15  0.00108163
  16  15.5178
  17  22.0252
  18  0.00840662
  19  1.26746
  20  0.00127824
  21  0.250444
  22  0.250308
Done.

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

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  1.262e+01  9.953e+00  1.000e-04  1.000e+04 ( 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.155e-01  2.503e-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.294e+00  2.504e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.77
Ra Dec: 169.271 20.229
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 4.24e-08 +/- 3.34e-08
Energy Flux (Fixed Index): 3.27e-05 +/- 2.58e-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) = 4740.35852185
delta logL = 0.499244137751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4740.34341415
delta logL = 0.514351837891

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6307       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6817       1.0000          .0000       10.000    
     3 'Normalizat'    1.2177       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96107       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4740.343     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      283 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6290        10.095        .99782E-04   -.21534E-03
   2  Index         2.6821        .84575        .38032E-02   -.40002E-04
   3  Normalizat    1.2170        .25989        .24748E-03    .41026E-03
   4  Prefactor     .96157        .25621        .28174E-03    .13845E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.62895
  Index      = 2.68205
  Normalizat = 1.21697
  Prefactor  = 0.961574
 **********
 **   18 **HESSE 
 **********

 FCN=   4740.343     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6290        8.1826        .39913E-05   -1.5193    
   2  Index         2.6821        .68565        .15213E-03   -.48204    
   3  Normalizat    1.2170        .25624        .49496E-04   -.86080    
   4  Prefactor     .96157        .25420        .11270E-04   -.94022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.19497e-10
Minuit parameter uncertainties:
  1  8.18398
  2  0.688416
  3  0.256506
  4  0.25452
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/637479': 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) = 4740.34340866
delta logL = 0.51435732269

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  6.629e+00  8.184e+00  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  2.682e+00  6.884e-01  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.616e-01  2.545e-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.217e+00  2.565e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.85
Ra Dec: 169.271 20.229
Photon Index (Free Index): 2.68 +/- 0.69
Photon Flux (Free Index): 1.08e-07 +/- 8.73e-08
Energy Flux (Free Index): 2.63e-05 +/- 1.58e-05

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/637479/cmap_HighResolution_555033601_555292801_4FGL_J1117.0+2013_daily_bin1218.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.24e-08', energy_flux2='2.63e-05', photon_flux_error='3.34e-08', dlogl='5.14e-01', energy_flux='3.27e-05', photon_flux2='1.08e-07', job_status='DONE', time_completed='2021-09-03 14:36:18.830205', photon_index_error2='0.69', photon_index2='2.68', ts='4.77', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.58e-05', EG='1.29', time_epoch_completed='1630704978.83', return_code='0', job_id='637479', GAL2='0.96', EG2='1.22', return_code2='0', energy_flux_error='2.58e-05', photon_flux_error2='8.73e-08', ts2='5.85', photon_index='1.96' WHERE bin_id='1218' AND source_name='4FGL J1117.0+2013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 14:36:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 637479: <4FGL_J1117.0+2013_daily_bin1218> in cluster <slac> Done

Job <4FGL_J1117.0+2013_daily_bin1218> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep  3 14:21:21 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 14:21:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 14:21:28 2021
Terminated at Fri Sep  3 14:36:19 2021
Results reported at Fri Sep  3 14:36:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_daily_bin1218 169.271 20.2294 555033601 555292801 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 :                                   589.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             237.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            898 sec.

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

