/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 198 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 = 7479
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0113.1-3553_daily_bin69
RA = 18.2893, Dec = -35.894
tmin = 257212801, tmax = 257472001
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='429891', job_status='RUN', time_executed='2021-08-13 16:54:41.230081', time_epoch_executed='1628898881.23' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='69'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429891

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429891/ft1_4FGL_J0113.1-3553_daily_bin69.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429891/ft2_4FGL_J0113.1-3553_daily_bin69.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429891/ft1_4FGL_J0113.1-3553_daily_bin69.fits outfile=/scratch/kocevski/429891/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin69.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=257212801.0 tmax=257472001.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 2.41
user 2.15
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/429891/ft2_4FGL_J0113.1-3553_daily_bin69.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/429891/ft2_4FGL_J0113.1-3553_daily_bin69.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/429891/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin69.fits evtable="EVENTS" outfile="/scratch/kocevski/429891/ft1_filtered_4FGL_J0113.1-3553_daily_bin69.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.49
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429891/ft1_filtered_4FGL_J0113.1-3553_daily_bin69.fits" evtable="EVENTS" scfile=/scratch/kocevski/429891/ft2_4FGL_J0113.1-3553_daily_bin69.fits sctable="SC_DATA" outfile=/scratch/kocevski/429891/ltcube_257212801_257472001_4FGL_J0113.1-3553_daily_bin69.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/429891/ft2_4FGL_J0113.1-3553_daily_bin69.fits
.....................!
real 12.90
user 12.50
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429891/ft1_filtered_4FGL_J0113.1-3553_daily_bin69.fits evtable="EVENTS" scfile=/scratch/kocevski/429891/ft2_4FGL_J0113.1-3553_daily_bin69.fits sctable="SC_DATA" expcube=/scratch/kocevski/429891/ltcube_257212801_257472001_4FGL_J0113.1-3553_daily_bin69.fits outfile=/scratch/kocevski/429891/expmap_257212801_257472001_4FGL_J0113.1-3553_daily_bin69.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/429891/ltcube_257212801_257472001_4FGL_J0113.1-3553_daily_bin69.fits
.....................!
real 191.48
user 185.07
sys 5.48

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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J0113.1-3553 @ 18.2893 -35.894

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/429891/ft1_filtered_4FGL_J0113.1-3553_daily_bin69.fits scfile=/scratch/kocevski/429891/ft2_4FGL_J0113.1-3553_daily_bin69.fits outfile=/scratch/kocevski/429891/cmap_257212801_257472001_4FGL_J0113.1-3553_daily_bin69.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=18.2893 yref=-35.894 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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429891/ft1_filtered_4FGL_J0113.1-3553_daily_bin69.fits scfile=/scratch/kocevski/429891/ft2_4FGL_J0113.1-3553_daily_bin69.fits outfile=/scratch/kocevski/429891/cmap_HighResolution_257212801_257472001_4FGL_J0113.1-3553_daily_bin69.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=18.2893 yref=-35.894 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/429891/ft1_filtered_4FGL_J0113.1-3553_daily_bin69.fits evtable="EVENTS" scfile=/scratch/kocevski/429891/ft2_4FGL_J0113.1-3553_daily_bin69.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/429891/Model_4FGL_J0113.1-3553_daily_bin69.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/429891/ft1_filtered_4FGL_J0113.1-3553_daily_bin69.fits.....................!
real 40.55
user 39.31
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/429891/ft1_filtered_4FGL_J0113.1-3553_daily_bin69.fits', '/scratch/kocevski/429891/ft2_4FGL_J0113.1-3553_daily_bin69.fits', expMap='/scratch/kocevski/429891/expmap_257212801_257472001_4FGL_J0113.1-3553_daily_bin69.fits', expCube='/scratch/kocevski/429891/ltcube_257212801_257472001_4FGL_J0113.1-3553_daily_bin69.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/429891/Model_4FGL_J0113.1-3553_daily_bin69.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0113.1-3553'

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.217e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
233        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/429891/ft1_filtered_4FGL_J0113.1-3553_daily_bin69.fits
Spacecraft file(s): /scratch/kocevski/429891/ft2_4FGL_J0113.1-3553_daily_bin69.fits
Exposure map: /scratch/kocevski/429891/expmap_257212801_257472001_4FGL_J0113.1-3553_daily_bin69.fits
Exposure cube: /scratch/kocevski/429891/ltcube_257212801_257472001_4FGL_J0113.1-3553_daily_bin69.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/429891/Model_4FGL_J0113.1-3553_daily_bin69.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) = 4697.14271545

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18267E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.2203       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14858E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0408       1.0000         .10000E-03   10000.    
     5 'norm      '    19.037       1.0000         .10000E-03   10000.    
     6 'norm      '    2.1580       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10309E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.5150       1.0000         .10000E-03   10000.    
    11 'norm      '    2.0563       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14829E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .24583       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .27333E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    13.695       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.6291       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0650       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .64234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4696.279     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     1571 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.438        .90712E-02** at limit **
   2  Prefactor     8.2156        6.0121        .34958E-02    .37273E-03
   3  Prefactor     .10000E-03    13.285        .90712E-02** at limit **
   4  Prefactor     2.0286        7.3459        .72368E-02   -.51439E-03
   5  norm          19.053        30.234        .22949E-02    .16026E-04
   6  norm          2.1581        2.3449        .70106E-02    .17775E-03
   7  Prefactor     .10000E-03    9.4725        .90712E-02** at limit **
   8  Prefactor     .10000E-03    6.3611        .90712E-02** at limit **
   9  Prefactor     .10000E-03    8.4430        .90712E-02** at limit **
  10  Prefactor     1.5177        3.2641        .86834E-02    .67172E-03
  11  norm          2.0562        2.1202        .72055E-02    .25518E-03
  12  Prefactor     .10000E-03    15.420        .90712E-02** at limit **
  13  Prefactor     .12266        28.251        .11475        .74594E-04
  14  Prefactor     .10000E-03    2.3248        .53213E-01** at limit **
  15  norm          13.698        4.1697        .27059E-02   -.45819E-04
  16  Prefactor     5.6295        9.1750        .42329E-02    .24152E-02
  17  Normalizat    1.0650        .16716        .39649E-01   -.27090E-04
  18  Prefactor     .64249        .18215        .62794E-01    .12007E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.21558
  Prefactor  = 0.0001
  Prefactor  = 2.02856
  norm       = 19.053
  norm       = 2.15807
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.51772
  norm       = 2.05617
  Prefactor  = 0.0001
  Prefactor  = 0.122656
  Prefactor  = 0.0001
  norm       = 13.6977
  Prefactor  = 5.6295
  Normalizat = 1.06496
  Prefactor  = 0.642488
 **********
 **   18 **HESSE 
 **********

 FCN=   4696.279     FROM HESSE     STATUS=OK           258 CALLS     1829 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.2156        6.0240        .13720E-03   -1.5135    
   3  Prefactor     .10000E-03    13.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.0286        7.3385        .28947E-03   -1.5423    
   5  norm          19.053        30.258        .91797E-04   -1.4835    
   6  norm          2.1581        2.3340        .10609E-03   -1.5414    
   7  Prefactor     .10000E-03    9.9246        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.3639        .16881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.5262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.5177        3.2402        .17184E-03   -1.5462    
  11  norm          2.0562        2.1075        .97688E-04   -1.5421    
  12  Prefactor     .10000E-03    15.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .12266        40.043        .91705E-01   -1.5638    
  14  Prefactor     .10000E-03    7.5416        .19500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          13.698        4.1768        .74298E-04   -1.4968    
  16  Prefactor     5.6295        9.1737        .84659E-03   -1.5233    
  17  Normalizat    1.0650        .20031        .19355E-03   -.90885    
  18  Prefactor     .64249        .21554        .27781E-03   -1.0583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83914e-09
Minuit parameter uncertainties:
  1  3.24401e-05
  2  6.02441
  3  2.92657e-05
  4  7.34171
  5  30.2821
  6  2.33407
  7  4.52374e-05
  8  2.7172e-06
  9  2.83637e-06
  10  3.24056
  11  2.10757
  12  3.68577e-05
  13  4.43357
  14  1.04319e-05
  15  4.17687
  16  9.17603
  17  0.200457
  18  0.215823
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.518e+00  3.241e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
233        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  6.425e-01  2.158e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.065e+00  2.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.26
Ra Dec: 18.289 -35.894
Photon Flux Upper Limit: 8.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/429891/likelihoodResults_257212801_257472001_4FGL_J0113.1-3553_daily_bin69.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4696.19106926
delta logL = 0.0878331616059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4696.17761566
delta logL = 0.101286755432

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0814       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0822       1.0000          .0000       10.000    
     3 'Normalizat'    1.0489       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4696.178     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      251 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0791        2.9820        .10649E-03   -.64696E-04
   2  Index         3.0831        1.7784        .43850E-02   -.27249E-05
   3  Normalizat    1.0490        .19234        .19486E-03   -.10677E-04
   4  Prefactor     .65344        .21546        .27564E-03   -.71766E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07914
  Index      = 3.08312
  Normalizat = 1.04897
  Prefactor  = 0.653439
 **********
 **   18 **HESSE 
 **********

 FCN=   4696.178     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0791        2.6915        .42596E-05   -1.5500    
   2  Index         3.0831        1.6114        .17540E-03   -.39345    
   3  Normalizat    1.0490        .19235        .77943E-05   -.91408    
   4  Prefactor     .65344        .21538        .11026E-04   -1.0538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19961e-12
Minuit parameter uncertainties:
  1  2.69185
  2  1.64603
  3  0.192483
  4  0.215658
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429891': 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) = 4696.17761528
delta logL = 0.101287145352

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.079e+00  2.692e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  3.083e+00  1.646e+00  0.000e+00  1.000e+01 (-1.000e+00)
233        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  6.534e-01  2.157e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.049e+00  1.925e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.26
Ra Dec: 18.289 -35.894

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/429891/cmap_HighResolution_257212801_257472001_4FGL_J0113.1-3553_daily_bin69.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.71e-08', time_completed='2021-08-13 17:03:04.643712', job_id='429891', GAL2='0.65', fit_tolerance='1e-08', EG2='1.05', EG='1.06', time_epoch_completed='1628899384.64', return_code2='0', ts='0.26', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='1.01e-01', ts2='0.47', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='69' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:03:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0129>
Subject: Job 429891: <4FGL_J0113.1-3553_daily_bin69> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin69> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 13 16:50:53 2021
Job was executed on host(s) <bullet0129>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:51:11 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 16:51:11 2021
Terminated at Fri Aug 13 17:03:05 2021
Results reported at Fri Aug 13 17:03:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin69 18.2893 -35.894 257212801 257472001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0113.1-3553 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   501.43 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             272.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            732 sec.

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

