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


Performing analysis on: 4FGL_J0117.8-2109_daily_bin1582
RA = 19.4543, Dec = -21.1578
tmin = 649382401, tmax = 649641601
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='516459', job_status='RUN', time_executed='2021-08-13 21:41:05.292876', time_epoch_executed='1628916065.29' WHERE source_name='4FGL J0117.8-2109' and cadence='daily' and bin_id='1582'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/516459

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/516459/ft1_4FGL_J0117.8-2109_daily_bin1582.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/516459/ft2_4FGL_J0117.8-2109_daily_bin1582.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/516459/ft1_4FGL_J0117.8-2109_daily_bin1582.fits outfile=/scratch/kocevski/516459/ft1_filteredMKT_4FGL_J0117.8-2109_daily_bin1582.fits ra=19.4543 dec=-21.1578 rad=12.0 tmin=649382401.0 tmax=649641601.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 6.07
user 2.51
sys 3.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/516459/ft1_filtered_4FGL_J0117.8-2109_daily_bin1582.fits" evtable="EVENTS" scfile=/scratch/kocevski/516459/ft2_4FGL_J0117.8-2109_daily_bin1582.fits sctable="SC_DATA" outfile=/scratch/kocevski/516459/ltcube_649382401_649641601_4FGL_J0117.8-2109_daily_bin1582.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/516459/ft2_4FGL_J0117.8-2109_daily_bin1582.fits
.....................!
real 16.98
user 12.84
sys 4.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/516459/ft1_filtered_4FGL_J0117.8-2109_daily_bin1582.fits evtable="EVENTS" scfile=/scratch/kocevski/516459/ft2_4FGL_J0117.8-2109_daily_bin1582.fits sctable="SC_DATA" expcube=/scratch/kocevski/516459/ltcube_649382401_649641601_4FGL_J0117.8-2109_daily_bin1582.fits outfile=/scratch/kocevski/516459/expmap_649382401_649641601_4FGL_J0117.8-2109_daily_bin1582.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/516459/ltcube_649382401_649641601_4FGL_J0117.8-2109_daily_bin1582.fits
.....................!
real 196.33
user 186.39
sys 9.48

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/516459/ft1_filtered_4FGL_J0117.8-2109_daily_bin1582.fits scfile=/scratch/kocevski/516459/ft2_4FGL_J0117.8-2109_daily_bin1582.fits outfile=/scratch/kocevski/516459/cmap_649382401_649641601_4FGL_J0117.8-2109_daily_bin1582.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 3.80
user 0.40
sys 3.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/516459/ft1_filtered_4FGL_J0117.8-2109_daily_bin1582.fits scfile=/scratch/kocevski/516459/ft2_4FGL_J0117.8-2109_daily_bin1582.fits outfile=/scratch/kocevski/516459/cmap_HighResolution_649382401_649641601_4FGL_J0117.8-2109_daily_bin1582.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 3.72
user 0.38
sys 3.31

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/516459/ft1_filtered_4FGL_J0117.8-2109_daily_bin1582.fits evtable="EVENTS" scfile=/scratch/kocevski/516459/ft2_4FGL_J0117.8-2109_daily_bin1582.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/516459/Model_4FGL_J0117.8-2109_daily_bin1582.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/516459/ft1_filtered_4FGL_J0117.8-2109_daily_bin1582.fits.....................!
real 44.53
user 38.80
sys 5.45

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12548       1.0000         .10000E-03   10000.    
     2 'norm      '    40.706       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.149       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.4299       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11372E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.1309       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    37.806       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3641       1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .20503E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    28.206       1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.790       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .59357       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1188       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=   4195.289     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2452 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10740E-03    16.299       -.72003E-06** at limit **
   2  norm          40.708        13.493       -.68512E-05    .34506E-04
   3  Prefactor     .10000E-03    237.76        .10190E-04** at limit **
   4  Prefactor     18.148        18.758       -.65500E-05    .88946E-05
   5  norm          .10000E-03    7.8317       -.12508E-07** at limit **
   6  Prefactor     .10000E-03    11.933        .36616E-07** at limit **
   7  Prefactor     .10000E-03    19.112       -.31096E-06** at limit **
   8  Prefactor     3.4304        3.6451       -.47440E-06   -.17151E-03
   9  Prefactor     .10000E-03    13.413       -.74090E-06** at limit **
  10  norm          6.1216        3.6950       -.24690E-07    .56554E-03
  11  norm          .10000E-03    1.0833        .82260E-07** at limit **
  12  Prefactor     37.798        20.693       -.55338E-05    .25965E-04
  13  Prefactor     1.3633        3.0427       -.24938E-06   -.28995E-03
  14  norm          .10000E-03    15.619       -.66181E-06** at limit **
  15  norm          .10000E-03    .53702       -.22482E-06** at limit **
  16  norm          .10000E-03    1.4721        .14050E-06** at limit **
  17  norm          .10000E-03    1.5173        .73857E-08** at limit **
  18  Prefactor     .10000E-03    16.387        .10041E-05** at limit **
  19  norm          28.206        5.6087       -.13995E-06    .10132E-03
  20  Prefactor     14.789        18.417       -.82631E-05   -.57356E-05
  21  Normalizat    .59336        .19474        .51749E-05    .79357E-04
  22  Prefactor     1.1190        .21837        .13486E-05    .19234E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000107399
  norm       = 40.7077
  Prefactor  = 0.0001
  Prefactor  = 18.1484
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.43037
  Prefactor  = 0.0001
  norm       = 6.12157
  norm       = 0.0001
  Prefactor  = 37.7975
  Prefactor  = 1.36327
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 28.2062
  Prefactor  = 14.7887
  Normalizat = 0.593363
  Prefactor  = 1.11899
 **********
 **   18 **HESSE 
 **********

 FCN=   4195.289     FROM HESSE     STATUS=OK           352 CALLS     2804 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10740E-03    19.492        .83818E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          40.708        13.477        .62828E-04   -1.4431    
   3  Prefactor     .10000E-03    238.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.148        18.761        .94015E-04   -1.4856    
   5  norm          .10000E-03    7.8407        .17704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.278        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.4304        3.6371        .12158E-03   -1.5338    
   9  Prefactor     .10000E-03    72.103        .38624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.1216        3.2169        .78664E-04   -1.5213    
  11  norm          .10000E-03    1.0873        .65803E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     37.798        20.583        .65184E-04   -1.4478    
  13  Prefactor     1.3633        2.9662        .15907E-03   -1.5474    
  14  norm          .10000E-03    15.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .94643        .91865E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6.1296        .14828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.5340        .77833E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    16.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          28.206        5.6082        .65788E-04   -1.4645    
  20  Prefactor     14.789        18.433        .10415E-03   -1.4939    
  21  Normalizat    .59336        .23061        .27644E-03   -1.0827    
  22  Prefactor     1.1190        .26436        .24025E-03   -.88862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17297e-10
Minuit parameter uncertainties:
  1  0.0240258
  2  13.4777
  3  0.000282907
  4  18.7667
  5  4.6332e-06
  6  2.31045e-05
  7  3.80214e-05
  8  3.63738
  9  0.000341464
  10  3.21699
  11  8.14052e-06
  12  20.5873
  13  2.96653
  14  3.55268e-05
  15  2.09634e-05
  16  3.54058e-05
  17  4.32846e-07
  18  2.14208e-05
  19  5.60828
  20  18.4402
  21  0.230982
  22  0.26467
Done.

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

Extracting fit parameters...

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  3.415e-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:  1.119e+00  2.647e-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:  5.934e-01  2.310e-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: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/516459/likelihoodResults_649382401_649641601_4FGL_J0117.8-2109_daily_bin1582.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) = 4195.28861351
delta logL = -6.5680537773e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4195.28861349
delta logL = -6.56574766253e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96337E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3762       1.0000          .0000       10.000    
     3 'Normalizat'    .59335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1190       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=   4195.275     FROM MIGRAD    STATUS=CONVERGED    156 CALLS      318 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .87889        17.461        .33390E-03   -.43241E-05
   2  Index         2.9476        2.5241        .11276E-01    .12626E-03
   3  Normalizat    .58408        .23027        .27841E-03   -.75952E-05
   4  Prefactor     1.1238        .26347        .23973E-03   -.13752E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.878889
  Index      = 2.94764
  Normalizat = 0.584082
  Prefactor  = 1.12375
 **********
 **   18 **HESSE 
 **********

 FCN=   4195.275     FROM HESSE     STATUS=OK            25 CALLS      343 TOTAL
                     EDM=   .65E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .87889        12.075        .13356E-04   -1.5520    
   2  Index         2.9476        2.1392        .22553E-02   -.42297    
   3  Normalizat    .58408        .23047        .11136E-04   -1.0866    
   4  Prefactor     1.1238        .26377        .95893E-05   -.88711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.4571e-13
Minuit parameter uncertainties:
  1  6.51671
  2  2.22668
  3  0.230851
  4  0.264075
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/516459': 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) = 4195.27457033
delta logL = 0.0139774972422

Extracting fit parameters...

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  8.789e-01  6.517e+00  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.948e+00  2.227e+00  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:  1.124e+00  2.641e-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:  5.841e-01  2.309e-01  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/516459/cmap_HighResolution_649382401_649641601_4FGL_J0117.8-2109_daily_bin1582.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.52e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-08-13 21:50:47.494654', job_id='516459', GAL2='1.12', fit_tolerance='1e-08', EG2='0.58', EG='0.59', time_epoch_completed='1628916647.49', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.40e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1582' AND source_name='4FGL J0117.8-2109' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:50:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0179>
Subject: Job 516459: <4FGL_J0117.8-2109_daily_bin1582> in cluster <slac> Done

Job <4FGL_J0117.8-2109_daily_bin1582> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 21:35:59 2021
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 21:39:54 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:54 2021
Terminated at Fri Aug 13 21:50:48 2021
Results reported at Fri Aug 13 21:50:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0117.8-2109_daily_bin1582 19.4543 -21.1578 649382401 649641601 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 :                                   629.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            889 sec.

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

