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


Performing analysis on: 4FGL_J0116.0-1136_daily_bin699
RA = 19.0006, Dec = -11.606
tmin = 420508801, tmax = 420768001
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='507341', job_status='RUN', time_executed='2021-08-13 21:08:59.964602', time_epoch_executed='1628914139.96' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/507341

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/507341/ft1_4FGL_J0116.0-1136_daily_bin699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/507341/ft2_4FGL_J0116.0-1136_daily_bin699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/507341/ft1_4FGL_J0116.0-1136_daily_bin699.fits outfile=/scratch/kocevski/507341/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin699.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=420508801.0 tmax=420768001.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 4.38
user 3.19
sys 1.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/507341/ft2_4FGL_J0116.0-1136_daily_bin699.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/507341/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin699.fits evtable="EVENTS" outfile="/scratch/kocevski/507341/ft1_filtered_4FGL_J0116.0-1136_daily_bin699.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.48
user 0.35
sys 1.09

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/507341/ft1_filtered_4FGL_J0116.0-1136_daily_bin699.fits" evtable="EVENTS" scfile=/scratch/kocevski/507341/ft2_4FGL_J0116.0-1136_daily_bin699.fits sctable="SC_DATA" outfile=/scratch/kocevski/507341/ltcube_420508801_420768001_4FGL_J0116.0-1136_daily_bin699.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/507341/ft2_4FGL_J0116.0-1136_daily_bin699.fits
.....................!
real 14.13
user 12.64
sys 1.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/507341/ft1_filtered_4FGL_J0116.0-1136_daily_bin699.fits evtable="EVENTS" scfile=/scratch/kocevski/507341/ft2_4FGL_J0116.0-1136_daily_bin699.fits sctable="SC_DATA" expcube=/scratch/kocevski/507341/ltcube_420508801_420768001_4FGL_J0116.0-1136_daily_bin699.fits outfile=/scratch/kocevski/507341/expmap_420508801_420768001_4FGL_J0116.0-1136_daily_bin699.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/507341/ltcube_420508801_420768001_4FGL_J0116.0-1136_daily_bin699.fits
.....................!
real 191.79
user 185.49
sys 5.73

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/507341/ft1_filtered_4FGL_J0116.0-1136_daily_bin699.fits scfile=/scratch/kocevski/507341/ft2_4FGL_J0116.0-1136_daily_bin699.fits outfile=/scratch/kocevski/507341/cmap_420508801_420768001_4FGL_J0116.0-1136_daily_bin699.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.48
user 0.37
sys 1.08

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/507341/ft1_filtered_4FGL_J0116.0-1136_daily_bin699.fits scfile=/scratch/kocevski/507341/ft2_4FGL_J0116.0-1136_daily_bin699.fits outfile=/scratch/kocevski/507341/cmap_HighResolution_420508801_420768001_4FGL_J0116.0-1136_daily_bin699.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.48
user 0.40
sys 1.07

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/507341/ft1_filtered_4FGL_J0116.0-1136_daily_bin699.fits evtable="EVENTS" scfile=/scratch/kocevski/507341/ft2_4FGL_J0116.0-1136_daily_bin699.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/507341/Model_4FGL_J0116.0-1136_daily_bin699.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/507341/ft1_filtered_4FGL_J0116.0-1136_daily_bin699.fits.....................!
real 53.60
user 51.07
sys 2.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/507341/ft1_filtered_4FGL_J0116.0-1136_daily_bin699.fits', '/scratch/kocevski/507341/ft2_4FGL_J0116.0-1136_daily_bin699.fits', expMap='/scratch/kocevski/507341/expmap_420508801_420768001_4FGL_J0116.0-1136_daily_bin699.fits', expCube='/scratch/kocevski/507341/ltcube_420508801_420768001_4FGL_J0116.0-1136_daily_bin699.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/507341/Model_4FGL_J0116.0-1136_daily_bin699.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/507341/ft1_filtered_4FGL_J0116.0-1136_daily_bin699.fits
Spacecraft file(s): /scratch/kocevski/507341/ft2_4FGL_J0116.0-1136_daily_bin699.fits
Exposure map: /scratch/kocevski/507341/expmap_420508801_420768001_4FGL_J0116.0-1136_daily_bin699.fits
Exposure cube: /scratch/kocevski/507341/ltcube_420508801_420768001_4FGL_J0116.0-1136_daily_bin699.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/507341/Model_4FGL_J0116.0-1136_daily_bin699.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) = 5074.5340133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5336       1.0000         .10000E-03   10000.    
     2 'norm      '    9.8543       1.0000         .10000E-03   10000.    
     3 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .34186       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.4333       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.568       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.1630       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0019       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .36443E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.506       1.0000         .10000E-03   10000.    
    14 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.740       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .34132E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0235       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .79540       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5074.523     FROM MIGRAD    STATUS=CONVERGED    859 CALLS     2765 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5333        3.8841        .95081E-04   -.11718E-04
   2  norm          9.8543        3.8493        .84817E-04   -.67019E-05
   3  norm          .10000E-03    2.6855        .11275E-02** at limit **
   4  Prefactor     .10000E-03    28.234        .18142E-02** at limit **
   5  Prefactor     .10000E-03    5.5618        .16402E-02** at limit **
   6  Prefactor     .10000E-03    9.2399        .18142E-02** at limit **
   7  norm          .40147        54.853        .37201E-02    .21900E-03
   8  Prefactor     6.4330        23.247        .15824E-03   -.45263E-05
   9  Prefactor     17.670        53.346        .95556E-04    .35692E-06
  10  Prefactor     8.1609        9.4014        .14032E-03   -.50555E-04
  11  Prefactor     4.0023        3.8621        .65096E-03   -.29760E-04
  12  Prefactor     .10001E-03    84.350        .35752E-02** at limit **
  13  Prefactor     31.511        35.928        .71384E-04   -.43000E-05
  14  norm          .10000E-03    1.8990        .18785E-03** at limit **
  15  Prefactor     10.739        10.799        .12226E-03   -.86481E-05
  16  Prefactor     .10000E-03    4.3130        .28459E-03** at limit **
  17  norm          .10000E-03    13.663        .18142E-02** at limit **
  18  norm          .32539E-01    7.2781        .10842E-02   -.23243E-03
  19  norm          .10000E-03    2.2799        .10486E-02** at limit **
  20  Prefactor     .10000E-03    41.987        .18142E-02** at limit **
  21  Normalizat    1.0235        .18737        .22814E-03   -.80378E-04
  22  Prefactor     .79539        .18326        .24730E-03   -.11888E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.53331
  norm       = 9.85431
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.401466
  Prefactor  = 6.43302
  Prefactor  = 17.6703
  Prefactor  = 8.16094
  Prefactor  = 4.00228
  Prefactor  = 0.000100011
  Prefactor  = 31.5107
  norm       = 0.0001
  Prefactor  = 10.7394
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0325391
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.02353
  Prefactor  = 0.795385
 **********
 **   18 **HESSE 
 **********

 FCN=   5074.523     FROM HESSE     STATUS=OK           326 CALLS     3091 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5333        3.8833        .38032E-05   -1.5159    
   2  norm          9.8543        3.8490        .33927E-05   -1.5080    
   3  norm          .10000E-03    2.6863        .22551E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    28.234        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.5620        .32804E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.2400        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .40147        55.530        .14880E-03   -1.5581    
   8  Prefactor     6.4330        23.240        .63295E-05   -1.5201    
   9  Prefactor     17.670        53.284        .38222E-05   -1.4867    
  10  Prefactor     8.1609        9.3976        .56130E-05   -1.5137    
  11  Prefactor     4.0023        3.8607        .26038E-04   -1.5308    
  12  Prefactor     .10001E-03    85.926        .71503E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     31.511        35.915        .28554E-05   -1.4585    
  14  norm          .10000E-03    1.8991        .37569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.739        10.797        .48903E-05   -1.5052    
  16  Prefactor     .10000E-03    4.3131        .56919E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    13.665        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .32539E-01    7.3179        .43367E-04   -1.5672    
  19  norm          .10000E-03    2.2800        .20972E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    41.987        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0235        .18686        .91257E-05   -.92246    
  22  Prefactor     .79539        .18337        .98919E-05   -.99899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16694e-09
Minuit parameter uncertainties:
  1  3.88339
  2  3.84909
  3  1.03109e-06
  4  4.18769e-06
  5  3.24025e-06
  6  1.03937e-06
  7  9.45097
  8  23.2729
  9  53.4276
  10  9.39934
  11  3.86092
  12  0.00196583
  13  35.9398
  14  1.548e-07
  15  10.7992
  16  1.83839e-06
  17  1.40513e-05
  18  0.974565
  19  2.84804e-06
  20  2.6299e-05
  21  0.186977
  22  0.183515
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  4.002e+00  3.861e+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:  7.954e-01  1.835e-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:  1.024e+00  1.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.58
Ra Dec: 19.001 -11.606
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 3.71e-08 +/- 3.58e-08
Energy Flux (Fixed Index): 1.28e-05 +/- 1.24e-05

TS (Fixed Index): 1.58
Ra Dec: 19.001 -11.606
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/507341/likelihoodResults_420508801_420768001_4FGL_J0116.0-1136_daily_bin699.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) = 5073.10816333
delta logL = 1.41437131997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5072.29075828
delta logL = 2.23177637276

Fit tolerance = 1e-08

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

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

 FCN=   5072.291     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      242 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13704        .18055        .59252E-02   -.83249E-03
   2  Index         .38570        .41852        .22398       -.84169E-05
   3  Normalizat    1.0407        .16331        .41254E-01    .52474E-05
   4  Prefactor     .79965        .15899        .43715E-01    .11747E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.137039
  Index      = 0.385696
  Normalizat = 1.04068
  Prefactor  = 0.799645
 **********
 **   18 **HESSE 
 **********

 FCN=   5072.291     FROM HESSE     STATUS=OK            35 CALLS      277 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13704        .43289        .24027E-03   -1.5634    
   2  Index         .38570        .82106        .10789E-01   -1.1754    
   3  Normalizat    1.0407        .18289        .22636E-03   -.91680    
   4  Prefactor     .79965        .17800        .24691E-03   -.99741    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92071e-09
Minuit parameter uncertainties:
  1  0.432895
  2  0.848225
  3  0.183
  4  0.178132
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/507341': 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) = 5072.29075307
delta logL = 2.23178157988

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.370e-01  4.329e-01  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  3.857e-01  8.482e-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:  7.996e-01  1.781e-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:  1.041e+00  1.830e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.03
Ra Dec: 19.001 -11.606
Photon Index (Free Index): 0.39 +/- 0.85
Photon Flux (Free Index): 3.38e-09 +/- 3.48e-09
Energy Flux (Free Index): 1.30e-04 +/- 1.54e-04

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/507341/cmap_HighResolution_420508801_420768001_4FGL_J0116.0-1136_daily_bin699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.01e-03', comment='SUCCESS', photon_flux='3.71e-08', energy_flux2='1.30e-04', photon_flux_error='3.58e-08', dlogl='2.23e+00', energy_flux='1.28e-05', photon_flux2='3.38e-09', job_status='DONE', time_completed='2021-08-13 21:19:27.027813', photon_index_error2='0.85', photon_index2='0.39', ts='1.58', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='1.54e-04', EG='1.02', time_epoch_completed='1628914767.03', return_code='0', job_id='507341', GAL2='0.80', EG2='1.04', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='3.48e-09', ts2='6.03', photon_index='2.36' WHERE bin_id='699' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:19:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 507341: <4FGL_J0116.0-1136_daily_bin699> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin699> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 13 21:05:30 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 21:06:03 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:06:03 2021
Terminated at Fri Aug 13 21:19:27 2021
Results reported at Fri Aug 13 21:19:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin699 19.0006 -11.606 420508801 420768001 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 :                                   642.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            837 sec.

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

