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


Performing analysis on: 4FGL_J0116.0-1136_daily_bin1406
RA = 19.0006, Dec = -11.606
tmin = 603763201, tmax = 604022401
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='510401', job_status='RUN', time_executed='2021-08-13 21:19:26.963518', time_epoch_executed='1628914766.96' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='1406'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/510401

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/510401/ft1_4FGL_J0116.0-1136_daily_bin1406.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/510401/ft2_4FGL_J0116.0-1136_daily_bin1406.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/510401/ft1_4FGL_J0116.0-1136_daily_bin1406.fits outfile=/scratch/kocevski/510401/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1406.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=603763201.0 tmax=604022401.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 14.35
user 3.99
sys 10.12

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/510401/ft1_filtered_4FGL_J0116.0-1136_daily_bin1406.fits" evtable="EVENTS" scfile=/scratch/kocevski/510401/ft2_4FGL_J0116.0-1136_daily_bin1406.fits sctable="SC_DATA" outfile=/scratch/kocevski/510401/ltcube_603763201_604022401_4FGL_J0116.0-1136_daily_bin1406.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/510401/ft2_4FGL_J0116.0-1136_daily_bin1406.fits
.....................!
real 28.36
user 15.86
sys 12.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/510401/ft1_filtered_4FGL_J0116.0-1136_daily_bin1406.fits evtable="EVENTS" scfile=/scratch/kocevski/510401/ft2_4FGL_J0116.0-1136_daily_bin1406.fits sctable="SC_DATA" expcube=/scratch/kocevski/510401/ltcube_603763201_604022401_4FGL_J0116.0-1136_daily_bin1406.fits outfile=/scratch/kocevski/510401/expmap_603763201_604022401_4FGL_J0116.0-1136_daily_bin1406.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/510401/ltcube_603763201_604022401_4FGL_J0116.0-1136_daily_bin1406.fits
.....................!
real 206.79
user 188.45
sys 17.65

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/510401/ft1_filtered_4FGL_J0116.0-1136_daily_bin1406.fits scfile=/scratch/kocevski/510401/ft2_4FGL_J0116.0-1136_daily_bin1406.fits outfile=/scratch/kocevski/510401/cmap_603763201_604022401_4FGL_J0116.0-1136_daily_bin1406.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 10.36
user 0.39
sys 9.94

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/510401/ft1_filtered_4FGL_J0116.0-1136_daily_bin1406.fits scfile=/scratch/kocevski/510401/ft2_4FGL_J0116.0-1136_daily_bin1406.fits outfile=/scratch/kocevski/510401/cmap_HighResolution_603763201_604022401_4FGL_J0116.0-1136_daily_bin1406.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 10.34
user 0.39
sys 9.91

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/510401/ft1_filtered_4FGL_J0116.0-1136_daily_bin1406.fits evtable="EVENTS" scfile=/scratch/kocevski/510401/ft2_4FGL_J0116.0-1136_daily_bin1406.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/510401/Model_4FGL_J0116.0-1136_daily_bin1406.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/510401/ft1_filtered_4FGL_J0116.0-1136_daily_bin1406.fits.....................!
real 64.86
user 50.74
sys 13.96

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .15305E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.495       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    17.185       1.0000         .10000E-03   10000.    
     8 'Prefactor '    89.219       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2193       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10947E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.3150       1.0000         .10000E-03   10000.    
    17 'norm      '    .10469E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .18569E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3730       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .72710       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=   4810.272     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2407 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5413        .15952E-07** at limit **
   2  norm          .10000E-03    2.9633        .21733E-06** at limit **
   3  norm          .10000E-03    2.4796        .13833E-07** at limit **
   4  Prefactor     .10000E-03    44.986       -.33894E-05** at limit **
   5  Prefactor     30.494        24.066        .25414E-06   -.28325E-04
   6  Prefactor     .10000E-03    12.286        .22684E-07** at limit **
   7  norm          17.189        16.677       -.16675E-07   -.15612E-04
   8  Prefactor     89.218        40.301        .34160E-06   -.40472E-04
   9  Prefactor     .10000E-03    17.978        .16009E-05** at limit **
  10  Prefactor     .10000E-03    1.6426        .32620E-08** at limit **
  11  Prefactor     .10000E-03    2.3162        .28333E-07** at limit **
  12  Prefactor     2.2587        14.471        .10070E-04   -.20549E-03
  13  Prefactor     .10000E-03    17.807       -.15568E-05** at limit **
  14  norm          .10100E-03    2.0623       -.39278E-06** at limit **
  15  Prefactor     .10000E-03    5.3286        .13657E-07** at limit **
  16  Prefactor     6.3236        6.9418       -.14172E-05   -.74626E-03
  17  norm          .10000E-03    49.354        .42115E-05** at limit **
  18  norm          .10000E-03    .95565        .18291E-06** at limit **
  19  norm          .10000E-03    2.7581       -.22343E-07** at limit **
  20  Prefactor     .10000E-03    380.82        .45093E-05** at limit **
  21  Normalizat    1.3729        .19693       -.13865E-05   -.56208E-03
  22  Prefactor     .72718        .18066       -.47163E-06   -.44722E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.4937
  Prefactor  = 0.0001
  norm       = 17.1889
  Prefactor  = 89.2175
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.25871
  Prefactor  = 0.0001
  norm       = 0.000100996
  Prefactor  = 0.0001
  Prefactor  = 6.32362
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.37286
  Prefactor  = 0.727176
 **********
 **   18 **HESSE 
 **********

 FCN=   4810.272     FROM HESSE     STATUS=OK           342 CALLS     2749 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5531        .83997E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    7.3108        .23109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.5022        .10662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    44.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     30.494        24.032        .72555E-04   -1.4603    
   6  Prefactor     .10000E-03    12.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.189        16.674        .96614E-04   -1.4879    
   8  Prefactor     89.218        40.251        .42539E-04   -1.3816    
   9  Prefactor     .10000E-03    17.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.6450        .86807E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.3465        .10304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.2587        22.468        .13802E-02   -1.5407    
  13  Prefactor     .10000E-03    17.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10100E-03    8.7776        .30344E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.3643        .15634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.3236        7.0910        .15973E-03   -1.5205    
  17  norm          .10000E-03    49.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.5668        .13086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.7680        .11247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    383.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3729        .22792        .22821E-03   -.81417    
  22  Prefactor     .72718        .20927        .28064E-03   -1.0247    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.98417e-10
Minuit parameter uncertainties:
  1  1.97756e-06
  2  3.5575e-05
  3  2.26618e-06
  4  0.000194842
  5  24.0394
  6  2.77737e-06
  7  16.6782
  8  40.2637
  9  4.7902e-05
  10  9.74753e-07
  11  4.95504e-06
  12  14.2544
  13  6.04066e-05
  14  0.00591332
  15  5.78737e-06
  16  7.09194
  17  0.000332502
  18  1.46858e-05
  19  4.47979e-07
  20  0.000696386
  21  0.228084
  22  0.209496
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  4.955e-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:  7.272e-01  2.095e-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.373e+00  2.281e-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.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/510401/likelihoodResults_603763201_604022401_4FGL_J0116.0-1136_daily_bin1406.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) = 4810.27400734
delta logL = -0.0020194911649

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4810.27198793
delta logL = -7.63684511185e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3616       1.0000          .0000       10.000    
     3 'Normalizat'    1.3729       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72720       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=   4810.272     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.2432        .90712E-02** at limit **
   2  Index         2.3612        6.1517        .50000        .14749E-05
   3  Normalizat    1.3729        .85034E-02    .51618E-01   -.11564E-04
   4  Prefactor     .72718        .79190E-02    .63440E-01    .12344E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.3612
  Normalizat = 1.37286
  Prefactor  = 0.727177
 **********
 **   18 **HESSE 
 **********

 FCN=   4810.272     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      239 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    78.286        .10304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3612        5.0968        .50000       -.55596    
   3  Normalizat    1.3729        .30947E-01    .22821E-03   -.81417    
   4  Prefactor     .72718        .28786E-01    .28064E-03   -1.0247    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.13016e-08
Minuit parameter uncertainties:
  1  6.88637e-05
  2  462.447
  3  0.0309473
  4  0.0287867
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/510401': 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) = 4810.27198785
delta logL = 4.90217644256e-10

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  6.886e-05  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  2.361e+00  4.624e+02  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.272e-01  2.879e-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:  1.373e+00  3.095e-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/510401/cmap_HighResolution_603763201_604022401_4FGL_J0116.0-1136_daily_bin1406.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.15e-03', job_status='DONE', photon_flux_upper_limit='7.98e-08', time_completed='2021-08-13 21:31:48.983493', job_id='510401', GAL2='0.73', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1628915508.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='4.90e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1406' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:31:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 510401: <4FGL_J0116.0-1136_daily_bin1406> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin1406> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 21:15:31 2021
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 21:16:32 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:16:32 2021
Terminated at Fri Aug 13 21:31:51 2021
Results reported at Fri Aug 13 21:31:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin1406 19.0006 -11.606 603763201 604022401 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 :                                   892.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            980 sec.

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

