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


Performing analysis on: 4FGL_J0116.0-1136_daily_bin1009
RA = 19.0006, Dec = -11.606
tmin = 500860801, tmax = 501120001
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='508794', job_status='RUN', time_executed='2021-08-13 21:13:48.466102', time_epoch_executed='1628914428.47' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='1009'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/508794

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/508794/ft1_4FGL_J0116.0-1136_daily_bin1009.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/508794/ft2_4FGL_J0116.0-1136_daily_bin1009.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/508794/ft1_4FGL_J0116.0-1136_daily_bin1009.fits outfile=/scratch/kocevski/508794/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1009.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=500860801.0 tmax=501120001.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 5.43
user 4.30
sys 1.09

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/508794/ft2_4FGL_J0116.0-1136_daily_bin1009.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/508794/ft2_4FGL_J0116.0-1136_daily_bin1009.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/508794/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1009.fits evtable="EVENTS" outfile="/scratch/kocevski/508794/ft1_filtered_4FGL_J0116.0-1136_daily_bin1009.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 1.37
user 0.34
sys 1.01

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/508794/ft1_filtered_4FGL_J0116.0-1136_daily_bin1009.fits" evtable="EVENTS" scfile=/scratch/kocevski/508794/ft2_4FGL_J0116.0-1136_daily_bin1009.fits sctable="SC_DATA" outfile=/scratch/kocevski/508794/ltcube_500860801_501120001_4FGL_J0116.0-1136_daily_bin1009.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/508794/ft2_4FGL_J0116.0-1136_daily_bin1009.fits
.....................!
real 13.63
user 12.26
sys 1.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/508794/ft1_filtered_4FGL_J0116.0-1136_daily_bin1009.fits evtable="EVENTS" scfile=/scratch/kocevski/508794/ft2_4FGL_J0116.0-1136_daily_bin1009.fits sctable="SC_DATA" expcube=/scratch/kocevski/508794/ltcube_500860801_501120001_4FGL_J0116.0-1136_daily_bin1009.fits outfile=/scratch/kocevski/508794/expmap_500860801_501120001_4FGL_J0116.0-1136_daily_bin1009.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/508794/ltcube_500860801_501120001_4FGL_J0116.0-1136_daily_bin1009.fits
.....................!
real 192.97
user 186.09
sys 6.42

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

Setting source of interest to:
4FGL J0116.0-1136 @ 19.0006 -11.606

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/508794/ft1_filtered_4FGL_J0116.0-1136_daily_bin1009.fits scfile=/scratch/kocevski/508794/ft2_4FGL_J0116.0-1136_daily_bin1009.fits outfile=/scratch/kocevski/508794/cmap_500860801_501120001_4FGL_J0116.0-1136_daily_bin1009.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.0006 yref=-11.606 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 1.41
user 0.37
sys 1.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/508794/ft1_filtered_4FGL_J0116.0-1136_daily_bin1009.fits scfile=/scratch/kocevski/508794/ft2_4FGL_J0116.0-1136_daily_bin1009.fits outfile=/scratch/kocevski/508794/cmap_HighResolution_500860801_501120001_4FGL_J0116.0-1136_daily_bin1009.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.0006 yref=-11.606 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 1.41
user 0.38
sys 1.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/508794/ft1_filtered_4FGL_J0116.0-1136_daily_bin1009.fits evtable="EVENTS" scfile=/scratch/kocevski/508794/ft2_4FGL_J0116.0-1136_daily_bin1009.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/508794/Model_4FGL_J0116.0-1136_daily_bin1009.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/508794/ft1_filtered_4FGL_J0116.0-1136_daily_bin1009.fits......................!
real 42.20
user 39.77
sys 2.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/508794/ft1_filtered_4FGL_J0116.0-1136_daily_bin1009.fits', '/scratch/kocevski/508794/ft2_4FGL_J0116.0-1136_daily_bin1009.fits', expMap='/scratch/kocevski/508794/expmap_500860801_501120001_4FGL_J0116.0-1136_daily_bin1009.fits', expCube='/scratch/kocevski/508794/ltcube_500860801_501120001_4FGL_J0116.0-1136_daily_bin1009.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/508794/Model_4FGL_J0116.0-1136_daily_bin1009.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0116.0-1136'

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  2.100e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/508794/ft1_filtered_4FGL_J0116.0-1136_daily_bin1009.fits
Spacecraft file(s): /scratch/kocevski/508794/ft2_4FGL_J0116.0-1136_daily_bin1009.fits
Exposure map: /scratch/kocevski/508794/expmap_500860801_501120001_4FGL_J0116.0-1136_daily_bin1009.fits
Exposure cube: /scratch/kocevski/508794/ltcube_500860801_501120001_4FGL_J0116.0-1136_daily_bin1009.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/508794/Model_4FGL_J0116.0-1136_daily_bin1009.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) = 3885.20514945

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0825       1.0000         .10000E-03   10000.    
     2 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    47.265       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .66017E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    46.367       1.0000         .10000E-03   10000.    
     7 'norm      '    7.5442       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.3940       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11027E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .92561E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.6446       1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .70842       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2059       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3885.182     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2524 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0838        5.3802       -.40817E-07   -.27841E-03
   2  norm          .10000E-03    2.1618       -.42642E-08** at limit **
   3  norm          .10000E-03    3.7241        .13275E-07** at limit **
   4  Prefactor     47.304        131.05        .36673E-04   -.11422E-03
   5  Prefactor     .15161        26.015       -.41362E-06   -.57727E-05
   6  Prefactor     46.348        39.558        .93387E-06   -.24279E-04
   7  norm          7.5660        15.984       -.63356E-05   -.68781E-03
   8  Prefactor     .10000E-03    21.686        .35700E-08** at limit **
   9  Prefactor     .10000E-03    147.60        .95217E-07** at limit **
  10  Prefactor     .10000E-03    5.1748        .36134E-07** at limit **
  11  Prefactor     6.3940        4.9407        .43305E-07   -.10142E-03
  12  Prefactor     .10000E-03    9.4947       -.10779E-06** at limit **
  13  Prefactor     .10000E-03    12.380        .87362E-09** at limit **
  14  norm          .10000E-03    1.6611       -.63468E-08** at limit **
  15  Prefactor     .10000E-03    4.2077        .21946E-07** at limit **
  16  Prefactor     .10000E-03    1.5108       -.15837E-08** at limit **
  17  norm          .10000E-03    18.728        .54370E-07** at limit **
  18  norm          1.6449        1.5111        .42832E-07   -.19899E-03
  19  norm          .10000E-03    5.8496        .37857E-07** at limit **
  20  Prefactor     .10000E-03    106.72        .12374E-06** at limit **
  21  Normalizat    .70832        .20576       -.21471E-05    .59030E-04
  22  Prefactor     1.2058        .19821        .62251E-06   -.26880E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.08379
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 47.3036
  Prefactor  = 0.151608
  Prefactor  = 46.3479
  norm       = 7.56597
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.39401
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.64494
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.70832
  Prefactor  = 1.20584
 **********
 **   18 **HESSE 
 **********

 FCN=   3885.182     FROM HESSE     STATUS=OK           344 CALLS     2868 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0838        5.3671        .15557E-03   -1.5304    
   2  norm          .10000E-03    2.1743        .89459E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.7368        .11738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     47.304        130.34        .58324E-04   -1.4331    
   5  Prefactor     .15161        35.843        .87852E-01   -1.5630    
   6  Prefactor     46.348        39.555        .58883E-04   -1.4345    
   7  norm          7.5660        17.941        .73004E-03   -1.5158    
   8  Prefactor     .10000E-03    21.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    151.69        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.2250        .13845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.3940        4.9372        .11609E-03   -1.5202    
  12  Prefactor     .10000E-03    31.548        .34444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    13.445        .14458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2211        .12486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.5130        .74797E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    18.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.6449        1.5056        .69265E-04   -1.5451    
  19  norm          .10000E-03    5.9671        .14714E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    106.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .70832        .22935        .27164E-03   -1.0357    
  22  Prefactor     1.2058        .22378        .21545E-03   -.86152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16383e-09
Minuit parameter uncertainties:
  1  5.36778
  2  9.93964e-08
  3  2.14905e-06
  4  131.14
  5  4.66348
  6  39.5778
  7  17.9541
  8  1.46852e-05
  9  0.000213529
  10  7.7443e-06
  11  4.9375
  12  8.53344e-05
  13  3.68297e-06
  14  5.08307e-06
  15  3.53028e-06
  16  3.67201e-07
  17  1.49639e-05
  18  1.50567
  19  1.06703e-05
  20  7.36596e-05
  21  0.229661
  22  0.223961
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  6.394e+00  4.937e+00  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  1.206e+00  2.240e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  7.083e-01  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.85
Ra Dec: 19.001 -11.606
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 5.93e-08 +/- 4.58e-08
Energy Flux (Fixed Index): 2.05e-05 +/- 1.58e-05

TS (Fixed Index): 2.85
Ra Dec: 19.001 -11.606
Photon Flux Upper Limit: 1.61e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.24e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/508794/likelihoodResults_500860801_501120001_4FGL_J0116.0-1136_daily_bin1009.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): 0
logL (Free Index) = 3884.89390102
delta logL = 0.288137154466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3884.87312954
delta logL = 0.308908631428

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4418       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9100       1.0000          .0000       10.000    
     3 'Normalizat'    .73154       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1907       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3884.873     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      201 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 18.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4414        5.1141       -.15551E-05    .14827E-02
   2  Index         1.9099        .40117        .58796E-05    .40072E-03
   3  Normalizat    .73156        .19630       -.37382E-06   -.86811E-04
   4  Prefactor     1.1908        .19833        .43725E-06   -.84388E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.44136
  Index      = 1.90987
  Normalizat = 0.731565
  Prefactor  = 1.19077
 **********
 **   18 **HESSE 
 **********

 FCN=   3884.873     FROM HESSE     STATUS=OK            29 CALLS      230 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4414        5.6551        .12417E-03   -1.5162    
   2  Index         1.9099        .52391        .70787E-02   -.66623    
   3  Normalizat    .73156        .21860        .26734E-03   -1.0266    
   4  Prefactor     1.1908        .22095        .21649E-03   -.86616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.23263e-09
Minuit parameter uncertainties:
  1  5.65548
  2  0.525477
  3  0.218859
  4  0.221122
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/508794': 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) = 3884.87312919
delta logL = 0.308908982126

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  7.441e+00  5.655e+00  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  1.910e+00  5.255e-01  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  7.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  1.191e+00  2.211e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  7.316e-01  2.189e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.47
Ra Dec: 19.001 -11.606
Photon Index (Free Index): 1.91 +/- 0.53
Photon Flux (Free Index): 4.08e-08 +/- 3.90e-08
Energy Flux (Free Index): 3.57e-05 +/- 4.05e-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/508794/cmap_HighResolution_500860801_501120001_4FGL_J0116.0-1136_daily_bin1009.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', comment='SUCCESS', photon_flux='5.93e-08', energy_flux2='3.57e-05', photon_flux_error='4.58e-08', dlogl='3.09e-01', energy_flux='2.05e-05', photon_flux2='4.08e-08', job_status='DONE', time_completed='2021-08-13 21:22:57.525082', photon_index_error2='0.53', photon_index2='1.91', ts='2.85', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='1.61e-07', energy_flux_error2='4.05e-05', EG='0.71', time_epoch_completed='1628914977.53', return_code='0', job_id='508794', GAL2='1.19', EG2='0.73', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='3.90e-08', ts2='3.47', photon_index='2.36' WHERE bin_id='1009' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:22:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 508794: <4FGL_J0116.0-1136_daily_bin1009> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin1009> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 13 21:10:24 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 21:10: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:10:54 2021
Terminated at Fri Aug 13 21:22:58 2021
Results reported at Fri Aug 13 21:22:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin1009 19.0006 -11.606 500860801 501120001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0116.0-1136 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   560.35 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             303.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   723 sec.
    Turnaround time :                            754 sec.

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

