aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 123 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 = 7702
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0116.0-1136_daily_bin1672
RA = 19.0006, Dec = -11.606
tmin = 672710401, tmax = 672969601
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='153926', job_status='RUN', time_executed='2022-04-30 00:11:33.172377', time_epoch_executed='1651302693.17' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='1672'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153926

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153926/ft1_4FGL_J0116.0-1136_daily_bin1672.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153926/ft2_4FGL_J0116.0-1136_daily_bin1672.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153926/ft1_4FGL_J0116.0-1136_daily_bin1672.fits outfile=/scratch/kocevski/153926/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1672.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=672710401.0 tmax=672969601.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 3.11
user 2.88
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/153926/ft2_4FGL_J0116.0-1136_daily_bin1672.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/153926/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1672.fits evtable="EVENTS" outfile="/scratch/kocevski/153926/ft1_filtered_4FGL_J0116.0-1136_daily_bin1672.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 0.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 455

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/153926/ft1_filtered_4FGL_J0116.0-1136_daily_bin1672.fits" evtable="EVENTS" scfile=/scratch/kocevski/153926/ft2_4FGL_J0116.0-1136_daily_bin1672.fits sctable="SC_DATA" outfile=/scratch/kocevski/153926/ltcube_672710401_672969601_4FGL_J0116.0-1136_daily_bin1672.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/153926/ft2_4FGL_J0116.0-1136_daily_bin1672.fits
.....................!
real 14.64
user 14.23
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153926/ft1_filtered_4FGL_J0116.0-1136_daily_bin1672.fits evtable="EVENTS" scfile=/scratch/kocevski/153926/ft2_4FGL_J0116.0-1136_daily_bin1672.fits sctable="SC_DATA" expcube=/scratch/kocevski/153926/ltcube_672710401_672969601_4FGL_J0116.0-1136_daily_bin1672.fits outfile=/scratch/kocevski/153926/expmap_672710401_672969601_4FGL_J0116.0-1136_daily_bin1672.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/153926/ltcube_672710401_672969601_4FGL_J0116.0-1136_daily_bin1672.fits
.....................!
real 191.61
user 185.81
sys 5.47

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/153926/ft1_filtered_4FGL_J0116.0-1136_daily_bin1672.fits scfile=/scratch/kocevski/153926/ft2_4FGL_J0116.0-1136_daily_bin1672.fits outfile=/scratch/kocevski/153926/cmap_672710401_672969601_4FGL_J0116.0-1136_daily_bin1672.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 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153926/ft1_filtered_4FGL_J0116.0-1136_daily_bin1672.fits scfile=/scratch/kocevski/153926/ft2_4FGL_J0116.0-1136_daily_bin1672.fits outfile=/scratch/kocevski/153926/cmap_HighResolution_672710401_672969601_4FGL_J0116.0-1136_daily_bin1672.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 0.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/153926/ft1_filtered_4FGL_J0116.0-1136_daily_bin1672.fits evtable="EVENTS" scfile=/scratch/kocevski/153926/ft2_4FGL_J0116.0-1136_daily_bin1672.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/153926/Model_4FGL_J0116.0-1136_daily_bin1672.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/153926/ft1_filtered_4FGL_J0116.0-1136_daily_bin1672.fits.....................!
real 55.65
user 54.29
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.3812       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.533       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10419E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .35275       1.0000         .10000E-03   10000.    
    10 'Prefactor '    40.763       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.8662       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .60026       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.9598       1.0000         .10000E-03   10000.    
    17 'norm      '    52.957       1.0000         .10000E-03   10000.    
    18 'norm      '    1.5742       1.0000         .10000E-03   10000.    
    19 'norm      '    10.349       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11021E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    2.0258       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .28997       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=   5126.120     FROM MIGRAD    STATUS=CONVERGED    870 CALLS     2850 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.3749        .81756E-03** at limit **
   2  norm          .10000E-03    1.8390        .94459E-03** at limit **
   3  norm          7.3801        6.2297        .14763E-03   -.11552E-05
   4  Prefactor     .10000E-03    26.106        .18142E-02** at limit **
   5  Prefactor     13.534        21.103        .10888E-03    .22657E-04
   6  Prefactor     .10000E-03    141.43        .18142E-02** at limit **
   7  norm          .10000E-03    11.027        .18142E-02** at limit **
   8  Prefactor     .10000E-03    9.8996        .18142E-02** at limit **
   9  Prefactor     .20961        115.39        .18085        .38212E-04
  10  Prefactor     40.776        24.131        .62784E-04    .98325E-04
  11  Prefactor     .10000E-03    1.9109        .96349E-03** at limit **
  12  Prefactor     4.8681        8.0018        .18235E-03    .14277E-04
  13  Prefactor     .10000E-03    27.174        .18142E-02** at limit **
  14  norm          .59936        1.6288        .14712E-02    .40568E-02
  15  Prefactor     .10000E-03    11.948        .18142E-02** at limit **
  16  Prefactor     2.9603        6.1258        .23117E-03   -.13229E-03
  17  norm          52.960        48.696        .55115E-04    .11345E-04
  18  norm          1.5740        1.5520        .84834E-04   -.93137E-04
  19  norm          10.348        9.8032        .12455E-03   -.25193E-04
  20  Prefactor     .10000E-03    432.76        .18142E-02** at limit **
  21  Normalizat    2.0259        .26464        .22150E-03    .48144E-04
  22  Prefactor     .28987        .22832        .47492E-03    .42514E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.38013
  Prefactor  = 0.0001
  Prefactor  = 13.5339
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.209612
  Prefactor  = 40.7759
  Prefactor  = 0.0001
  Prefactor  = 4.86808
  Prefactor  = 0.0001
  norm       = 0.599365
  Prefactor  = 0.0001
  Prefactor  = 2.96029
  norm       = 52.9603
  norm       = 1.57404
  norm       = 10.3481
  Prefactor  = 0.0001
  Normalizat = 2.02593
  Prefactor  = 0.289866
 **********
 **   18 **HESSE 
 **********

 FCN=   5126.120     FROM HESSE     STATUS=OK           332 CALLS     3182 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3749        .16351E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.8392        .18892E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.3801        6.2296        .59050E-05   -1.5165    
   4  Prefactor     .10000E-03    26.106        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.534        21.106        .43553E-05   -1.4972    
   6  Prefactor     .10000E-03    141.49        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    11.033        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.8997        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20961        126.27        .17173       -1.5616    
  10  Prefactor     40.776        24.201        .25113E-05   -1.4430    
  11  Prefactor     .10000E-03    1.9110        .19270E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.8681        7.9879        .72940E-05   -1.5267    
  13  Prefactor     .10000E-03    27.174        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .59936        1.6222        .29423E-03   -1.5553    
  15  Prefactor     .10000E-03    11.952        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.9603        6.1181        .92470E-05   -1.5364    
  17  norm          52.960        48.729        .22046E-05   -1.4251    
  18  norm          1.5740        1.5520        .33934E-05   -1.5457    
  19  norm          10.348        9.8040        .49820E-05   -1.5064    
  20  Prefactor     .10000E-03    432.85        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    2.0259        .26464        .88600E-05   -.63902    
  22  Prefactor     .28987        .22835        .18997E-04   -1.2286    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10823e-10
Minuit parameter uncertainties:
  1  2.10236e-06
  2  7.32365e-06
  3  6.23011
  4  1.7562e-05
  5  21.1173
  6  0.000666985
  7  2.13737e-05
  8  2.34527e-06
  9  10.3088
  10  24.2073
  11  6.97912e-06
  12  7.98969
  13  2.46251e-05
  14  1.6223
  15  2.11313e-05
  16  6.11944
  17  48.7655
  18  1.552
  19  9.80551
  20  0.000102797
  21  0.264833
  22  0.229057
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  6.979e-06  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:  2.899e-01  2.291e-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:  2.026e+00  2.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 19.001 -11.606
Photon Flux Upper Limit: 7.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/153926/likelihoodResults_672710401_672969601_4FGL_J0116.0-1136_daily_bin1672.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) = 5126.12234166
delta logL = -0.00237506861413

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5126.11996663
delta logL = -3.39050529874e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3607       1.0000          .0000       10.000    
     3 'Normalizat'    2.0260       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .28987       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=   5126.120     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      243 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    87.265        .96359E-03** at limit **
   2  Index         2.3505        8.8201        .50000        .51658E-05
   3  Normalizat    2.0259        .40428E-01    .22150E-03    .67237E-05
   4  Prefactor     .28987        .36164E-01    .47490E-03    .65833E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100021
  Index      = 2.35046
  Normalizat = 2.02593
  Prefactor  = 0.289866
 **********
 **   18 **HESSE 
 **********

 FCN=   5126.120     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    313.63        .19272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3505        5.8763        .50000       -.55849    
   3  Normalizat    2.0259        .98794E-01    .88600E-05   -.63902    
   4  Prefactor     .28987        .88282E-01    .18996E-04   -1.2286    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.34669e-09
Minuit parameter uncertainties:
  1  0.005113
  2  1098.73
  3  0.0988038
  4  0.0883224
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153926': 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) = 5126.11996658
delta logL = 1.08620952233e-08

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  5.113e-03  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  2.350e+00  1.099e+03  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:  2.899e-01  8.832e-02  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:  2.026e+00  9.880e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 19.001 -11.606

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/153926/cmap_HighResolution_672710401_672969601_4FGL_J0116.0-1136_daily_bin1672.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.11e-03', job_status='DONE', photon_flux_upper_limit='7.92e-08', time_completed='2022-04-30 00:21:56.640456', job_id='153926', GAL2='0.29', fit_tolerance='1e-08', EG2='2.03', EG='2.03', time_epoch_completed='1651303316.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.29', dlogl='1.09e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1672' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr 30 00:21:56 PDT 2022

------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 153888: <4FGL_J0116.0-1136_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin1672> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:43 2022
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:08:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:08:47 2022
Terminated at Sat Apr 30 00:21:01 2022
Results reported at Sat Apr 30 00:21:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin1672 19.0006 -11.606 672710401 672969601 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 :                                   629.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            918 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 153926: <4FGL_J0116.0-1136_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin1672> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:46 2022
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:09:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:09:19 2022
Terminated at Sat Apr 30 00:21:57 2022
Results reported at Sat Apr 30 00:21:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin1672 19.0006 -11.606 672710401 672969601 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 :                                   626.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            971 sec.

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

