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


Performing analysis on: 4FGL_J0116.0-1136_daily_bin730
RA = 19.0006, Dec = -11.606
tmin = 428544001, tmax = 428803201
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='507390', job_status='RUN', time_executed='2021-08-13 21:07:39.659671', time_epoch_executed='1628914059.66' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/507390

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/507390/ft1_4FGL_J0116.0-1136_daily_bin730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/507390/ft2_4FGL_J0116.0-1136_daily_bin730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/507390/ft1_4FGL_J0116.0-1136_daily_bin730.fits outfile=/scratch/kocevski/507390/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin730.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=428544001.0 tmax=428803201.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 11.34
user 5.86
sys 4.41

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/507390/ft2_4FGL_J0116.0-1136_daily_bin730.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/507390/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin730.fits evtable="EVENTS" outfile="/scratch/kocevski/507390/ft1_filtered_4FGL_J0116.0-1136_daily_bin730.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 4.76
user 0.32
sys 4.34

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/507390/ft1_filtered_4FGL_J0116.0-1136_daily_bin730.fits" evtable="EVENTS" scfile=/scratch/kocevski/507390/ft2_4FGL_J0116.0-1136_daily_bin730.fits sctable="SC_DATA" outfile=/scratch/kocevski/507390/ltcube_428544001_428803201_4FGL_J0116.0-1136_daily_bin730.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/507390/ft2_4FGL_J0116.0-1136_daily_bin730.fits
.....................!
real 18.70
user 13.45
sys 4.98

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/507390/ft1_filtered_4FGL_J0116.0-1136_daily_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/507390/ft2_4FGL_J0116.0-1136_daily_bin730.fits sctable="SC_DATA" expcube=/scratch/kocevski/507390/ltcube_428544001_428803201_4FGL_J0116.0-1136_daily_bin730.fits outfile=/scratch/kocevski/507390/expmap_428544001_428803201_4FGL_J0116.0-1136_daily_bin730.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/507390/ltcube_428544001_428803201_4FGL_J0116.0-1136_daily_bin730.fits
.....................!
real 198.05
user 185.72
sys 10.67

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/507390/ft1_filtered_4FGL_J0116.0-1136_daily_bin730.fits scfile=/scratch/kocevski/507390/ft2_4FGL_J0116.0-1136_daily_bin730.fits outfile=/scratch/kocevski/507390/cmap_428544001_428803201_4FGL_J0116.0-1136_daily_bin730.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.67
user 0.37
sys 4.27

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/507390/ft1_filtered_4FGL_J0116.0-1136_daily_bin730.fits scfile=/scratch/kocevski/507390/ft2_4FGL_J0116.0-1136_daily_bin730.fits outfile=/scratch/kocevski/507390/cmap_HighResolution_428544001_428803201_4FGL_J0116.0-1136_daily_bin730.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 4.74
user 0.37
sys 4.29

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/507390/ft1_filtered_4FGL_J0116.0-1136_daily_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/507390/ft2_4FGL_J0116.0-1136_daily_bin730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/507390/Model_4FGL_J0116.0-1136_daily_bin730.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/507390/ft1_filtered_4FGL_J0116.0-1136_daily_bin730.fits.....................!
real 50.30
user 43.26
sys 6.67

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.283       1.0000         .10000E-03   10000.    
     2 'norm      '    4.7303       1.0000         .10000E-03   10000.    
     3 'norm      '    7.0786       1.0000         .10000E-03   10000.    
     4 'Prefactor '    32.621       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10271E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    40.105       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10230E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.252       1.0000         .10000E-03   10000.    
    14 'norm      '    1.1800       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.7484       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10088E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .16987E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0745       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .76465       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=   4112.062     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2330 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.283        4.9559        .10588E-07    .81054E-04
   2  norm          4.7291        4.0022        .88402E-06    .28940E-03
   3  norm          7.0776        6.7554       -.10797E-06   -.27080E-04
   4  Prefactor     32.626        68.986        .68529E-05    .94228E-05
   5  Prefactor     .10000E-03    45.653       -.25347E-04** at limit **
   6  Prefactor     .10000E-03    16.616       -.58697E-05** at limit **
   7  norm          .10000E-03    5.2900        .91606E-06** at limit **
   8  Prefactor     .10000E-03    18.077        .22982E-05** at limit **
   9  Prefactor     40.101        46.422       -.37770E-05    .20609E-04
  10  Prefactor     .10000E-03    2.6367        .31325E-07** at limit **
  11  Prefactor     .10000E-03    2.2118        .83206E-06** at limit **
  12  Prefactor     .10000E-03    4.7957       -.75759E-06** at limit **
  13  Prefactor     37.199        46.678       -.68437E-04    .32525E-04
  14  norm          1.1806        1.7716       -.46892E-06   -.79079E-03
  15  Prefactor     7.7504        7.4135        .25630E-05    .18581E-03
  16  Prefactor     .10000E-03    1.6616       -.15854E-06** at limit **
  17  norm          .10000E-03    9.0763        .68464E-05** at limit **
  18  norm          .10000E-03    .42253       -.56202E-07** at limit **
  19  norm          .10002E-03    3.9270       -.24831E-05** at limit **
  20  Prefactor     .10000E-03    40.137        .27652E-04** at limit **
  21  Normalizat    1.0743        .18309        .55930E-05    .24565E-03
  22  Prefactor     .76483        .18402        .30061E-05    .36883E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2827
  norm       = 4.72913
  norm       = 7.07762
  Prefactor  = 32.6258
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.1012
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 37.1991
  norm       = 1.18056
  Prefactor  = 7.75039
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100018
  Prefactor  = 0.0001
  Normalizat = 1.07428
  Prefactor  = 0.764835
 **********
 **   18 **HESSE 
 **********

 FCN=   4112.062     FROM HESSE     STATUS=OK           338 CALLS     2668 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.283        4.9522        .94024E-04   -1.5067    
   2  norm          4.7291        4.0024        .11418E-03   -1.5273    
   3  norm          7.0776        6.7478        .15078E-03   -1.5176    
   4  Prefactor     32.626        69.012        .70157E-04   -1.4565    
   5  Prefactor     .10000E-03    46.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.2929        .14404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    18.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     40.101        46.406        .63295E-04   -1.4441    
  10  Prefactor     .10000E-03    2.6428        .10167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.2504        .93145E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.8099        .13693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     37.199        46.732        .65665E-04   -1.4487    
  14  norm          1.1806        1.5927        .10096E-02   -1.5491    
  15  Prefactor     7.7504        7.4151        .14406E-03   -1.5151    
  16  Prefactor     .10000E-03    1.6871        .80674E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    9.1012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .43625        .81308E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10002E-03    8.1223        .24553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    40.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0743        .20590        .21443E-03   -.90582    
  22  Prefactor     .76483        .20703        .25197E-03   -1.0104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34152e-09
Minuit parameter uncertainties:
  1  4.95242
  2  4.00266
  3  6.74851
  4  69.1818
  5  5.54279e-05
  6  2.07684e-05
  7  1.36867e-05
  8  6.11831e-05
  9  46.4478
  10  9.99882e-06
  11  0.000106725
  12  1.66018e-05
  13  46.7784
  14  1.59272
  15  7.416
  16  8.94081e-06
  17  0.000110983
  18  5.66962e-06
  19  0.000772548
  20  6.22e-06
  21  0.206053
  22  0.207236
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  1.067e-04  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.648e-01  2.072e-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.074e+00  2.061e-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.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/507390/likelihoodResults_428544001_428803201_4FGL_J0116.0-1136_daily_bin730.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) = 4112.06425906
delta logL = -0.00211257288629

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4112.06214661
delta logL = -1.27054590848e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3462       1.0000          .0000       10.000    
     3 'Normalizat'    1.0743       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76484       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=   4112.062     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      243 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.897        .94101E-02** at limit **
   2  Index         2.0511        5.3218        .50000       -.16814E-05
   3  Normalizat    1.0743        .99349E-02    .21443E-03   -.89299E-03
   4  Prefactor     .76483        .10063E-01    .25197E-03   -.75912E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.05114
  Normalizat = 1.07428
  Prefactor  = 0.76483
 **********
 **   18 **HESSE 
 **********

 FCN=   4112.062     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      270 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    129.32        .98542E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0511        8.9439        .50000       -.63078    
   3  Normalizat    1.0743        .35975E-01    .42886E-04   -.90582    
   4  Prefactor     .76483        .36440E-01    .50395E-04   -1.0104    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.60357e-08
Minuit parameter uncertainties:
  1  0.000138917
  2  549.894
  3  0.0359762
  4  0.0364415
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/507390': 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) = 4112.06214419
delta logL = 2.30123168876e-06

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  1.389e-04  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  2.051e+00  5.499e+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.648e-01  3.644e-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.074e+00  3.598e-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/507390/cmap_HighResolution_428544001_428803201_4FGL_J0116.0-1136_daily_bin730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.61e-03', job_status='DONE', photon_flux_upper_limit='7.28e-08', time_completed='2021-08-13 21:18:05.990544', job_id='507390', GAL2='0.76', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1628914685.99', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.30e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='730' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:18:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 507390: <4FGL_J0116.0-1136_daily_bin730> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin730 19.0006 -11.606 428544001 428803201 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 :                                   683.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             301.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   706 sec.
    Turnaround time :                            754 sec.

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

