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


Performing analysis on: 4FGL_J0117.8-2109_daily_bin1113
RA = 19.4543, Dec = -21.1578
tmin = 527817601, tmax = 528076801
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='514823', job_status='RUN', time_executed='2021-08-13 21:37:36.686204', time_epoch_executed='1628915856.69' WHERE source_name='4FGL J0117.8-2109' and cadence='daily' and bin_id='1113'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/514823

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/514823/ft1_4FGL_J0117.8-2109_daily_bin1113.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/514823/ft2_4FGL_J0117.8-2109_daily_bin1113.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/514823/ft1_4FGL_J0117.8-2109_daily_bin1113.fits outfile=/scratch/kocevski/514823/ft1_filteredMKT_4FGL_J0117.8-2109_daily_bin1113.fits ra=19.4543 dec=-21.1578 rad=12.0 tmin=527817601.0 tmax=528076801.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 9.00
user 3.29
sys 5.65

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/514823/ft1_filtered_4FGL_J0117.8-2109_daily_bin1113.fits" evtable="EVENTS" scfile=/scratch/kocevski/514823/ft2_4FGL_J0117.8-2109_daily_bin1113.fits sctable="SC_DATA" outfile=/scratch/kocevski/514823/ltcube_527817601_528076801_4FGL_J0117.8-2109_daily_bin1113.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/514823/ft2_4FGL_J0117.8-2109_daily_bin1113.fits
.....................!
real 19.10
user 12.67
sys 6.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/514823/ft1_filtered_4FGL_J0117.8-2109_daily_bin1113.fits evtable="EVENTS" scfile=/scratch/kocevski/514823/ft2_4FGL_J0117.8-2109_daily_bin1113.fits sctable="SC_DATA" expcube=/scratch/kocevski/514823/ltcube_527817601_528076801_4FGL_J0117.8-2109_daily_bin1113.fits outfile=/scratch/kocevski/514823/expmap_527817601_528076801_4FGL_J0117.8-2109_daily_bin1113.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/514823/ltcube_527817601_528076801_4FGL_J0117.8-2109_daily_bin1113.fits
.....................!
real 198.29
user 185.46
sys 12.16

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/514823/ft1_filtered_4FGL_J0117.8-2109_daily_bin1113.fits scfile=/scratch/kocevski/514823/ft2_4FGL_J0117.8-2109_daily_bin1113.fits outfile=/scratch/kocevski/514823/cmap_527817601_528076801_4FGL_J0117.8-2109_daily_bin1113.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.81
user 0.39
sys 5.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/514823/ft1_filtered_4FGL_J0117.8-2109_daily_bin1113.fits scfile=/scratch/kocevski/514823/ft2_4FGL_J0117.8-2109_daily_bin1113.fits outfile=/scratch/kocevski/514823/cmap_HighResolution_527817601_528076801_4FGL_J0117.8-2109_daily_bin1113.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.87
user 0.39
sys 5.45

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/514823/ft1_filtered_4FGL_J0117.8-2109_daily_bin1113.fits evtable="EVENTS" scfile=/scratch/kocevski/514823/ft2_4FGL_J0117.8-2109_daily_bin1113.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/514823/Model_4FGL_J0117.8-2109_daily_bin1113.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/514823/ft1_filtered_4FGL_J0117.8-2109_daily_bin1113.fits.....................!
real 42.33
user 33.84
sys 8.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/514823/ft1_filtered_4FGL_J0117.8-2109_daily_bin1113.fits', '/scratch/kocevski/514823/ft2_4FGL_J0117.8-2109_daily_bin1113.fits', expMap='/scratch/kocevski/514823/expmap_527817601_528076801_4FGL_J0117.8-2109_daily_bin1113.fits', expCube='/scratch/kocevski/514823/ltcube_527817601_528076801_4FGL_J0117.8-2109_daily_bin1113.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/514823/Model_4FGL_J0117.8-2109_daily_bin1113.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/514823/ft1_filtered_4FGL_J0117.8-2109_daily_bin1113.fits
Spacecraft file(s): /scratch/kocevski/514823/ft2_4FGL_J0117.8-2109_daily_bin1113.fits
Exposure map: /scratch/kocevski/514823/expmap_527817601_528076801_4FGL_J0117.8-2109_daily_bin1113.fits
Exposure cube: /scratch/kocevski/514823/ltcube_527817601_528076801_4FGL_J0117.8-2109_daily_bin1113.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/514823/Model_4FGL_J0117.8-2109_daily_bin1113.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) = 3423.81158804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.347       1.0000         .10000E-03   10000.    
     2 'norm      '    4.7267       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.5091       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .23688E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .23801E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.5490       1.0000         .10000E-03   10000.    
    11 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.804       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.0122       1.0000         .10000E-03   10000.    
    14 'norm      '    33.977       1.0000         .10000E-03   10000.    
    15 'norm      '    3.2033       1.0000         .10000E-03   10000.    
    16 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .11945E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .15041E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77445       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82968       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=   3423.810     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2394 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.346        13.907       -.41786E-07   -.59566E-05
   2  norm          4.7265        3.9067        .38543E-06    .32134E-03
   3  Prefactor     .10000E-03    60.578        .41645E-05** at limit **
   4  Prefactor     .10000E-03    28.508       -.24721E-05** at limit **
   5  norm          7.5088        7.8662       -.25560E-07   -.35396E-04
   6  Prefactor     .10000E-03    5.9296        .12219E-05** at limit **
   7  Prefactor     .10007E-03    14.774        .32924E-05** at limit **
   8  Prefactor     .10001E-03    8.8531        .38457E-05** at limit **
   9  Prefactor     .10000E-03    9.1966        .13390E-05** at limit **
  10  norm          1.5491        2.5501       -.64167E-07   -.18604E-03
  11  norm          .10000E-03    1.2812        .68303E-07** at limit **
  12  Prefactor     14.802        16.400       -.27440E-06   -.12842E-03
  13  Prefactor     6.0117        5.3824        .15217E-06    .89149E-03
  14  norm          33.972        35.208        .18684E-05    .12065E-03
  15  norm          3.2031        1.8682        .12660E-07    .42764E-04
  16  norm          .10000E-03    1.6627        .24074E-06** at limit **
  17  norm          .10000E-03    2.3571       -.13087E-06** at limit **
  18  Prefactor     .10000E-03    15.901        .40724E-05** at limit **
  19  norm          .10000E-03    3.5541        .12686E-05** at limit **
  20  Prefactor     .10000E-03    5.4964       -.26682E-07** at limit **
  21  Normalizat    .77455        .18384        .14107E-07   -.10740E-03
  22  Prefactor     .82967        .20232        .28276E-06   -.10579E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.3464
  norm       = 4.72654
  Prefactor  = 0.000100003
  Prefactor  = 0.000100001
  norm       = 7.50879
  Prefactor  = 0.0001
  Prefactor  = 0.000100069
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  norm       = 1.54913
  norm       = 0.0001
  Prefactor  = 14.8024
  Prefactor  = 6.01171
  norm       = 33.9723
  norm       = 3.20307
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.774552
  Prefactor  = 0.829666
 **********
 **   18 **HESSE 
 **********

 FCN=   3423.810     FROM HESSE     STATUS=OK           348 CALLS     2742 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.346        13.909        .10574E-03   -1.4950    
   2  norm          4.7265        3.9198        .10288E-03   -1.5273    
   3  Prefactor     .10000E-03    61.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    28.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.5088        7.8688        .14635E-03   -1.5160    
   6  Prefactor     .10000E-03    6.0518        .13930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10007E-03    65.905        .36019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    13.249        .20013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.3007        .17347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5491        2.5207        .10892E-03   -1.5459    
  11  norm          .10000E-03    1.2987        .64566E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.802        16.211        .10410E-03   -1.4938    
  13  Prefactor     6.0117        5.7845        .61852E-03   -1.5218    
  14  norm          33.972        35.270        .68747E-04   -1.4542    
  15  norm          3.2031        1.8611        .57512E-04   -1.5350    
  16  norm          .10000E-03    2.6308        .14411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    9.7419        .16909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    16.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.4730        .19538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.4998        .13398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .77455        .21136        .21362E-03   -1.0102    
  22  Prefactor     .82967        .23732        .23417E-03   -.98644    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03274e-09
Minuit parameter uncertainties:
  1  13.9124
  2  3.91997
  3  0.000920177
  4  0.000383091
  5  7.86991
  6  6.5713e-05
  7  0.00425659
  8  0.0007491
  9  0.000109311
  10  2.52083
  11  1.03345e-07
  12  16.2159
  13  5.78503
  14  35.2918
  15  1.86112
  16  5.32335e-06
  17  5.45447e-05
  18  0.000471617
  19  0.000155261
  20  2.03566e-06
  21  0.211589
  22  0.237616
Done.

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

Extracting fit parameters...

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  1.093e-04  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.297e-01  2.376e-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:  7.746e-01  2.116e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 19.454 -21.158
Photon Flux Upper Limit: 8.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/514823/likelihoodResults_527817601_528076801_4FGL_J0117.8-2109_daily_bin1113.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) = 3423.81073893
delta logL = -0.000512445828463

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3423.81022663
delta logL = -1.54049303092e-07

Fit tolerance = 1e-08

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

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

 FCN=   3423.810     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      200 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.6265        .90712E-02** at limit **
   2  Index         2.3933        7.9434        .50000       -.79093E-05
   3  Normalizat    .77455        .37553E-02    .43276E-01    .30397E-04
   4  Prefactor     .82967        .42756E-02    .44103E-01    .23200E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.39332
  Normalizat = 0.774552
  Prefactor  = 0.829666
 **********
 **   18 **HESSE 
 **********

 FCN=   3423.810     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      233 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    71.151        .17393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3933        6.1583        .50000       -.54842    
   3  Normalizat    .77455        .12333E-01    .21362E-03   -1.0102    
   4  Prefactor     .82967        .14042E-01    .23417E-03   -.98644    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.09386e-07
Minuit parameter uncertainties:
  1  6.79684e-05
  2  244.893
  3  0.0123329
  4  0.0140423
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/514823': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3423.81022645
delta logL = 3.23134372593e-08

Extracting fit parameters...

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  6.797e-05  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.393e+00  2.449e+02  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.297e-01  1.404e-02  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:  7.746e-01  1.233e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 19.454 -21.158

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/514823/cmap_HighResolution_527817601_528076801_4FGL_J0117.8-2109_daily_bin1113.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.86e-03', job_status='DONE', photon_flux_upper_limit='8.89e-08', time_completed='2021-08-13 21:46:58.901828', job_id='514823', GAL2='0.83', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1628916418.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.23e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1113' AND source_name='4FGL J0117.8-2109' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:46:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 514823: <4FGL_J0117.8-2109_daily_bin1113> in cluster <slac> Done

Job <4FGL_J0117.8-2109_daily_bin1113> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 13 21:30:51 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 21:34:35 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:34:35 2021
Terminated at Fri Aug 13 21:47:00 2021
Results reported at Fri Aug 13 21:47:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0117.8-2109_daily_bin1113 19.4543 -21.1578 527817601 528076801 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 :                                   644.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            969 sec.

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

