/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 190 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 = 7417
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0116.0-1136_daily_bin275
RA = 19.0006, Dec = -11.606
tmin = 310608001, tmax = 310867201
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='505699', job_status='RUN', time_executed='2021-08-13 21:05:05.489983', time_epoch_executed='1628913905.49' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='275'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/505699

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/505699/ft1_4FGL_J0116.0-1136_daily_bin275.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/505699/ft2_4FGL_J0116.0-1136_daily_bin275.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/505699/ft1_4FGL_J0116.0-1136_daily_bin275.fits outfile=/scratch/kocevski/505699/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin275.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=310608001.0 tmax=310867201.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 8.04
user 3.38
sys 4.61

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/505699/ft1_filtered_4FGL_J0116.0-1136_daily_bin275.fits" evtable="EVENTS" scfile=/scratch/kocevski/505699/ft2_4FGL_J0116.0-1136_daily_bin275.fits sctable="SC_DATA" outfile=/scratch/kocevski/505699/ltcube_310608001_310867201_4FGL_J0116.0-1136_daily_bin275.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/505699/ft2_4FGL_J0116.0-1136_daily_bin275.fits
.....................!
real 18.21
user 12.82
sys 5.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/505699/ft1_filtered_4FGL_J0116.0-1136_daily_bin275.fits evtable="EVENTS" scfile=/scratch/kocevski/505699/ft2_4FGL_J0116.0-1136_daily_bin275.fits sctable="SC_DATA" expcube=/scratch/kocevski/505699/ltcube_310608001_310867201_4FGL_J0116.0-1136_daily_bin275.fits outfile=/scratch/kocevski/505699/expmap_310608001_310867201_4FGL_J0116.0-1136_daily_bin275.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/505699/ltcube_310608001_310867201_4FGL_J0116.0-1136_daily_bin275.fits
.....................!
real 198.17
user 188.11
sys 9.59

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/505699/ft1_filtered_4FGL_J0116.0-1136_daily_bin275.fits scfile=/scratch/kocevski/505699/ft2_4FGL_J0116.0-1136_daily_bin275.fits outfile=/scratch/kocevski/505699/cmap_310608001_310867201_4FGL_J0116.0-1136_daily_bin275.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 4.89
user 0.39
sys 4.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/505699/ft1_filtered_4FGL_J0116.0-1136_daily_bin275.fits scfile=/scratch/kocevski/505699/ft2_4FGL_J0116.0-1136_daily_bin275.fits outfile=/scratch/kocevski/505699/cmap_HighResolution_310608001_310867201_4FGL_J0116.0-1136_daily_bin275.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 5.19
user 0.41
sys 4.49

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/505699/ft1_filtered_4FGL_J0116.0-1136_daily_bin275.fits evtable="EVENTS" scfile=/scratch/kocevski/505699/ft2_4FGL_J0116.0-1136_daily_bin275.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/505699/Model_4FGL_J0116.0-1136_daily_bin275.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/505699/ft1_filtered_4FGL_J0116.0-1136_daily_bin275.fits.....................!
real 52.82
user 45.74
sys 6.91

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10896E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    92.031       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10362E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.165       1.0000         .10000E-03   10000.    
    13 'Prefactor '    50.908       1.0000         .10000E-03   10000.    
    14 'norm      '    1.6012       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10246E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .22510E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    10.761       1.0000         .10000E-03   10000.    
    18 'norm      '    3.3797       1.0000         .10000E-03   10000.    
    19 'norm      '    .52107       1.0000         .10000E-03   10000.    
    20 'Prefactor '    85.781       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1583       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .76290       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=   4395.754     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     2399 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9730       -.25652E-06** at limit **
   2  norm          .10000E-03    1.2288       -.14836E-06** at limit **
   3  norm          .10000E-03    2.7079       -.63076E-07** at limit **
   4  Prefactor     .10000E-03    28.047       -.47196E-05** at limit **
   5  Prefactor     .10000E-03    9.6124        .65807E-05** at limit **
   6  Prefactor     .10000E-03    22.632        .87932E-06** at limit **
   7  norm          .10000E-03    4.1768        .44829E-06** at limit **
   8  Prefactor     .10000E-03    16.179        .18233E-05** at limit **
   9  Prefactor     92.028        52.029       -.27444E-05    .25908E-04
  10  Prefactor     .10000E-03    3.6673       -.52235E-07** at limit **
  11  Prefactor     .10000E-03    2.7445        .21583E-06** at limit **
  12  Prefactor     14.126        18.879        .16196E-04    .79362E-03
  13  Prefactor     50.906        54.636       -.22146E-05    .45422E-04
  14  norm          1.6043        3.6075       -.51553E-05    .56856E-03
  15  Prefactor     .10000E-03    10.216       -.55764E-05** at limit **
  16  Prefactor     .10000E-03    4.6496       -.28360E-05** at limit **
  17  norm          10.754        25.671       -.10127E-05    .22927E-04
  18  norm          3.3791        2.0576       -.28152E-06    .59528E-03
  19  norm          .51777        .27460        .88342E-07   -.16204E-02
  20  Prefactor     85.756        98.336       -.24772E-04    .80022E-05
  21  Normalizat    1.1583        .20944       -.32535E-06    .47749E-03
  22  Prefactor     .76291        .18873        .12784E-05    .25519E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 92.0279
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.1258
  Prefactor  = 50.906
  norm       = 1.60431
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 10.7544
  norm       = 3.37912
  norm       = 0.517771
  Prefactor  = 85.7562
  Normalizat = 1.15828
  Prefactor  = 0.76291
 **********
 **   18 **HESSE 
 **********

 FCN=   4395.754     FROM HESSE     STATUS=OK           342 CALLS     2741 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.1877        .17849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.2326        .71767E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.7227        .10649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    28.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.5907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    22.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.1767        .13233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     92.028        52.019        .41890E-04   -1.3786    
  10  Prefactor     .10000E-03    3.6946        .12394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.7899        .10711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.126        19.264        .10642E-03   -1.4956    
  13  Prefactor     50.906        54.615        .56208E-04   -1.4280    
  14  norm          1.6043        3.4958        .14013E-03   -1.5455    
  15  Prefactor     .10000E-03    10.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.9279        .43665E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.754        25.814        .12213E-03   -1.5052    
  18  norm          3.3791        2.0590        .69943E-04   -1.5340    
  19  norm          .51777        9.6249        .19279E-02   -1.5564    
  20  Prefactor     85.756        98.073        .21688E-03   -1.3853    
  21  Normalizat    1.1583        .24620        .23456E-03   -.87902    
  22  Prefactor     .76291        .21966        .26188E-03   -1.0111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12418e-08
Minuit parameter uncertainties:
  1  0.000229507
  2  7.71034e-07
  3  6.1285e-07
  4  1.93424e-05
  5  5.62111e-06
  6  8.07748e-06
  7  3.56519e-06
  8  1.33254e-05
  9  52.045
  10  1.50497e-05
  11  7.40667e-06
  12  19.272
  13  54.6683
  14  3.49623
  15  9.48169e-05
  16  0.000255604
  17  25.8411
  18  2.05907
  19  4.46514
  20  98.2589
  21  0.246441
  22  0.219915
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  7.407e-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.629e-01  2.199e-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.158e+00  2.464e-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: 8.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/505699/likelihoodResults_310608001_310867201_4FGL_J0116.0-1136_daily_bin275.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) = 4395.75589929
delta logL = -0.00170446278662

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4395.75419459
delta logL = 2.32349520957e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3867       1.0000          .0000       10.000    
     3 'Normalizat'    1.1582       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76298       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=   4395.744     FROM MIGRAD    STATUS=CONVERGED    152 CALLS      303 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85438E-01    14.736        .16849E-01   -.16049E-02
   2  Index         3.8609        2.7835        .50000        .60645E-05
   3  Normalizat    1.1497        .30843E-01    .23456E-03   -.66401E-05
   4  Prefactor     .76723        .28144E-01    .26188E-03    .37334E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0854382
  Index      = 3.86089
  Normalizat = 1.14967
  Prefactor  = 0.767231
 **********
 **   18 **HESSE 
 **********

 FCN=   4395.744     FROM HESSE     STATUS=OK            31 CALLS      334 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .85438E-01    1.3723        .88181E-03   -1.5766    
   2  Index         3.8609        3.0657        .69878E-02   -.22984    
   3  Normalizat    1.1497        .23915        .93825E-05   -.88173    
   4  Prefactor     .76723        .21801        .10475E-04   -1.0095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69603e-11
Minuit parameter uncertainties:
  1  0.684454
  2  3.31631
  3  0.239373
  4  0.218256
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/505699': 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) = 4395.74364423
delta logL = 0.0105505949032

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  8.544e-02  6.845e-01  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  3.861e+00  3.316e+00  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.672e-01  2.183e-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.150e+00  2.394e-01  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/505699/cmap_HighResolution_310608001_310867201_4FGL_J0116.0-1136_daily_bin275.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.28e-03', job_status='DONE', photon_flux_upper_limit='8.15e-08', time_completed='2021-08-13 21:15:31.763179', job_id='505699', GAL2='0.77', fit_tolerance='1e-08', EG2='1.15', EG='1.16', time_epoch_completed='1628914531.76', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='1.06e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='275' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:15:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 505699: <4FGL_J0116.0-1136_daily_bin275> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin275> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 21:00:24 2021
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 21:00:29 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:00:29 2021
Terminated at Fri Aug 13 21:15:34 2021
Results reported at Fri Aug 13 21:15:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin275 19.0006 -11.606 310608001 310867201 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 :                                   689.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             235.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            910 sec.

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

