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


Performing analysis on: 4FGL_J0117.8-2109_daily_bin1547
RA = 19.4543, Dec = -21.1578
tmin = 640310401, tmax = 640569601
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='516424', job_status='RUN', time_executed='2021-08-13 21:41:48.289799', time_epoch_executed='1628916108.29' WHERE source_name='4FGL J0117.8-2109' and cadence='daily' and bin_id='1547'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/516424

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/516424/ft1_4FGL_J0117.8-2109_daily_bin1547.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/516424/ft2_4FGL_J0117.8-2109_daily_bin1547.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/516424/ft1_4FGL_J0117.8-2109_daily_bin1547.fits outfile=/scratch/kocevski/516424/ft1_filteredMKT_4FGL_J0117.8-2109_daily_bin1547.fits ra=19.4543 dec=-21.1578 rad=12.0 tmin=640310401.0 tmax=640569601.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 10.39
user 4.74
sys 5.53

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/516424/ft2_4FGL_J0117.8-2109_daily_bin1547.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/516424/ft2_4FGL_J0117.8-2109_daily_bin1547.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/516424/ft1_filteredMKT_4FGL_J0117.8-2109_daily_bin1547.fits evtable="EVENTS" outfile="/scratch/kocevski/516424/ft1_filtered_4FGL_J0117.8-2109_daily_bin1547.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 5.83
user 0.35
sys 5.43

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/516424/ft1_filtered_4FGL_J0117.8-2109_daily_bin1547.fits" evtable="EVENTS" scfile=/scratch/kocevski/516424/ft2_4FGL_J0117.8-2109_daily_bin1547.fits sctable="SC_DATA" outfile=/scratch/kocevski/516424/ltcube_640310401_640569601_4FGL_J0117.8-2109_daily_bin1547.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/516424/ft2_4FGL_J0117.8-2109_daily_bin1547.fits
.....................!
real 18.47
user 12.19
sys 6.19

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/516424/ft1_filtered_4FGL_J0117.8-2109_daily_bin1547.fits evtable="EVENTS" scfile=/scratch/kocevski/516424/ft2_4FGL_J0117.8-2109_daily_bin1547.fits sctable="SC_DATA" expcube=/scratch/kocevski/516424/ltcube_640310401_640569601_4FGL_J0117.8-2109_daily_bin1547.fits outfile=/scratch/kocevski/516424/expmap_640310401_640569601_4FGL_J0117.8-2109_daily_bin1547.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/516424/ltcube_640310401_640569601_4FGL_J0117.8-2109_daily_bin1547.fits
.....................!
real 200.10
user 187.37
sys 11.87

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 174 point sources and 0 extended sources

Setting source of interest to:
4FGL J0117.8-2109 @ 19.4543 -21.1578

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/516424/ft1_filtered_4FGL_J0117.8-2109_daily_bin1547.fits scfile=/scratch/kocevski/516424/ft2_4FGL_J0117.8-2109_daily_bin1547.fits outfile=/scratch/kocevski/516424/cmap_640310401_640569601_4FGL_J0117.8-2109_daily_bin1547.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=19.4543 yref=-21.1578 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 5.30
user 0.38
sys 4.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/516424/ft1_filtered_4FGL_J0117.8-2109_daily_bin1547.fits scfile=/scratch/kocevski/516424/ft2_4FGL_J0117.8-2109_daily_bin1547.fits outfile=/scratch/kocevski/516424/cmap_HighResolution_640310401_640569601_4FGL_J0117.8-2109_daily_bin1547.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=19.4543 yref=-21.1578 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 5.78
user 0.39
sys 5.35

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/516424/ft1_filtered_4FGL_J0117.8-2109_daily_bin1547.fits evtable="EVENTS" scfile=/scratch/kocevski/516424/ft2_4FGL_J0117.8-2109_daily_bin1547.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/516424/Model_4FGL_J0117.8-2109_daily_bin1547.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/516424/ft1_filtered_4FGL_J0117.8-2109_daily_bin1547.fits.....................!
real 47.52
user 39.12
sys 8.02

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/516424/ft1_filtered_4FGL_J0117.8-2109_daily_bin1547.fits', '/scratch/kocevski/516424/ft2_4FGL_J0117.8-2109_daily_bin1547.fits', expMap='/scratch/kocevski/516424/expmap_640310401_640569601_4FGL_J0117.8-2109_daily_bin1547.fits', expCube='/scratch/kocevski/516424/ltcube_640310401_640569601_4FGL_J0117.8-2109_daily_bin1547.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/516424/Model_4FGL_J0117.8-2109_daily_bin1547.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0117.8-2109'

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  4.691e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/516424/ft1_filtered_4FGL_J0117.8-2109_daily_bin1547.fits
Spacecraft file(s): /scratch/kocevski/516424/ft2_4FGL_J0117.8-2109_daily_bin1547.fits
Exposure map: /scratch/kocevski/516424/expmap_640310401_640569601_4FGL_J0117.8-2109_daily_bin1547.fits
Exposure cube: /scratch/kocevski/516424/ltcube_640310401_640569601_4FGL_J0117.8-2109_daily_bin1547.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/516424/Model_4FGL_J0117.8-2109_daily_bin1547.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) = 4129.47714159

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    62.747       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7512       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .27476E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.294       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.0555       1.0000         .10000E-03   10000.    
    12 'Prefactor '    38.400       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    28.080       1.0000         .10000E-03   10000.    
    15 'norm      '    3.7830       1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.208       1.0000         .10000E-03   10000.    
    19 'norm      '    .95215       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96993       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .89391       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4129.436     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2369 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.5342       -.29010E-06** at limit **
   2  norm          62.745        12.714        .52324E-08    .36225E-04
   3  Prefactor     .10000E-03    54.495       -.28638E-06** at limit **
   4  Prefactor     .10000E-03    6.8595        .22122E-06** at limit **
   5  norm          .10000E-03    7.4783        .16359E-06** at limit **
   6  Prefactor     1.7517        7.4677        .12384E-04   -.11968E-03
   7  Prefactor     .10000E-03    8.7853       -.40865E-06** at limit **
   8  Prefactor     .10001E-03    2.8878        .11884E-05** at limit **
   9  Prefactor     20.294        13.501       -.15355E-06   -.28852E-04
  10  norm          .10000E-03    1.3269       -.54383E-07** at limit **
  11  norm          1.0505        2.3431        .10476E-05    .17216E-02
  12  Prefactor     38.413        24.035       -.98387E-06    .24548E-04
  13  Prefactor     .10000E-03    4.0127        .80996E-07** at limit **
  14  norm          28.113        43.375       -.30544E-05    .78653E-04
  15  norm          3.7830        2.1517        .18435E-06   -.97023E-04
  16  norm          .10000E-03    1.2174       -.51179E-07** at limit **
  17  norm          .10000E-03    2.5308       -.35109E-06** at limit **
  18  Prefactor     32.183        39.088        .25117E-05   -.13901E-03
  19  norm          .95138        3.9497        .56863E-06   -.78360E-04
  20  Prefactor     .10000E-03    10.375       -.65901E-07** at limit **
  21  Normalizat    .96996        .21906       -.32408E-05   -.20544E-03
  22  Prefactor     .89403        .23403        .96276E-06   -.12468E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 62.7446
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.75171
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 20.2942
  norm       = 0.0001
  norm       = 1.0505
  Prefactor  = 38.4126
  Prefactor  = 0.0001
  norm       = 28.1127
  norm       = 3.78297
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 32.1832
  norm       = 0.951376
  Prefactor  = 0.0001
  Normalizat = 0.969956
  Prefactor  = 0.894033
 **********
 **   18 **HESSE 
 **********

 FCN=   4129.436     FROM HESSE     STATUS=OK           338 CALLS     2707 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.5516        .16044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          62.745        12.733        .50658E-04   -1.4122    
   3  Prefactor     .10000E-03    54.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.8615        .16438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    7.4941        .17163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.7517        7.3701        .15841E-02   -1.5443    
   7  Prefactor     .10000E-03    8.8137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    23.532        .20753E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.294        13.470        .88910E-04   -1.4807    
  10  norm          .10000E-03    1.3340        .72066E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.0505        1.9954        .13915E-02   -1.5503    
  12  Prefactor     38.413        23.696        .64680E-04   -1.4468    
  13  Prefactor     .10000E-03    4.0567        .12552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          28.113        43.310        .75603E-04   -1.4647    
  15  norm          3.7830        2.1589        .66897E-04   -1.5319    
  16  norm          .10000E-03    1.2324        .69160E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.5994        .19954E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     32.183        39.080        .35302E-03   -1.4573    
  19  norm          .95138        3.9742        .24332E-03   -1.5513    
  20  Prefactor     .10000E-03    10.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .96996        .26014        .23931E-03   -.94044    
  22  Prefactor     .89403        .27768        .27797E-03   -.96350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87687e-09
Minuit parameter uncertainties:
  1  1.48907e-05
  2  12.734
  3  9.67044e-06
  4  2.63164e-05
  5  3.37596e-05
  6  7.18747
  7  5.24064e-05
  8  0.000841308
  9  13.4718
  10  4.68731e-06
  11  1.99548
  12  23.702
  13  8.34081e-06
  14  43.3584
  15  2.15898
  16  2.47717e-06
  17  2.88983e-05
  18  39.1115
  19  3.88917
  20  0.000107985
  21  0.260476
  22  0.278119
Done.

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

Extracting fit parameters...

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  2.029e+01  1.347e+01  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  8.940e-01  2.781e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  9.700e-01  2.605e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.48
Ra Dec: 19.454 -21.158
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 7.27e-08 +/- 4.82e-08
Energy Flux (Fixed Index): 2.46e-05 +/- 1.63e-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) = 4128.94872775
delta logL = 0.48708774825

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4128.82422954
delta logL = 0.611585958957

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.216       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8181       1.0000          .0000       10.000    
     3 'Normalizat'    1.0110       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85914       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+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=   4128.824     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      303 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.221        21.876        .69527E-04    .81757E-06
   2  Index         1.8182        .45354        .61859E-02    .67034E-04
   3  Normalizat    1.0114        .24622        .23485E-03    .48408E-05
   4  Prefactor     .85856        .27519        .28297E-03   -.26517E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.2208
  Index      = 1.81817
  Normalizat = 1.01144
  Prefactor  = 0.858562
 **********
 **   18 **HESSE 
 **********

 FCN=   4128.824     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .48E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.221        21.799        .27811E-05   -1.4555    
   2  Index         1.8182        .45176        .12372E-02   -.68978    
   3  Normalizat    1.0114        .24644        .93941E-05   -.92648    
   4  Prefactor     .85856        .27547        .11319E-04   -.97604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75955e-13
Minuit parameter uncertainties:
  1  21.8038
  2  0.452797
  3  0.246719
  4  0.275915
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/516424': 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) = 4128.82422728
delta logL = 0.611588217877

Extracting fit parameters...

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  3.322e+01  2.180e+01  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  1.818e+00  4.528e-01  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  8.586e-01  2.759e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  1.011e+00  2.467e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.71
Ra Dec: 19.454 -21.158
Photon Index (Free Index): 1.82 +/- 0.45
Photon Flux (Free Index): 4.65e-08 +/- 3.90e-08
Energy Flux (Free Index): 5.27e-05 +/- 5.45e-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/516424/cmap_HighResolution_640310401_640569601_4FGL_J0117.8-2109_daily_bin1547.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.27e-08', energy_flux2='5.27e-05', photon_flux_error='4.82e-08', dlogl='6.12e-01', energy_flux='2.46e-05', photon_flux2='4.65e-08', job_status='DONE', time_completed='2021-08-13 21:51:28.183493', photon_index_error2='0.45', photon_index2='1.82', ts='4.48', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='5.45e-05', EG='0.97', time_epoch_completed='1628916688.18', return_code='0', job_id='516424', GAL2='0.86', EG2='1.01', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='3.90e-08', ts2='5.71', photon_index='2.38' WHERE bin_id='1547' AND source_name='4FGL J0117.8-2109' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:51:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 516424: <4FGL_J0117.8-2109_daily_bin1547> in cluster <slac> Done

Job <4FGL_J0117.8-2109_daily_bin1547> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 21:35:56 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 21:39:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 21:39:28 2021
Terminated at Fri Aug 13 21:51:29 2021
Results reported at Fri Aug 13 21:51:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0117.8-2109_daily_bin1547 19.4543 -21.1578 640310401 640569601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0117.8-2109 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   657.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   721 sec.
    Turnaround time :                            933 sec.

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

