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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin19
RA = 18.2893, Dec = -35.894
tmin = 244252801, tmax = 244512001
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='429831', job_status='RUN', time_executed='2021-08-13 16:54:09.044916', time_epoch_executed='1628898849.04' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='19'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429831

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429831/ft1_4FGL_J0113.1-3553_daily_bin19.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429831/ft2_4FGL_J0113.1-3553_daily_bin19.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429831/ft1_4FGL_J0113.1-3553_daily_bin19.fits outfile=/scratch/kocevski/429831/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin19.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=244252801.0 tmax=244512001.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 7.38
user 2.22
sys 4.99

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/429831/ft2_4FGL_J0113.1-3553_daily_bin19.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/429831/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin19.fits evtable="EVENTS" outfile="/scratch/kocevski/429831/ft1_filtered_4FGL_J0113.1-3553_daily_bin19.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.47
user 0.34
sys 5.00

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429831/ft1_filtered_4FGL_J0113.1-3553_daily_bin19.fits" evtable="EVENTS" scfile=/scratch/kocevski/429831/ft2_4FGL_J0113.1-3553_daily_bin19.fits sctable="SC_DATA" outfile=/scratch/kocevski/429831/ltcube_244252801_244512001_4FGL_J0113.1-3553_daily_bin19.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/429831/ft2_4FGL_J0113.1-3553_daily_bin19.fits
.....................!
real 18.42
user 12.64
sys 5.73

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429831/ft1_filtered_4FGL_J0113.1-3553_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/429831/ft2_4FGL_J0113.1-3553_daily_bin19.fits sctable="SC_DATA" expcube=/scratch/kocevski/429831/ltcube_244252801_244512001_4FGL_J0113.1-3553_daily_bin19.fits outfile=/scratch/kocevski/429831/expmap_244252801_244512001_4FGL_J0113.1-3553_daily_bin19.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/429831/ltcube_244252801_244512001_4FGL_J0113.1-3553_daily_bin19.fits
.....................!
real 197.49
user 185.93
sys 11.18

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/429831/ft1_filtered_4FGL_J0113.1-3553_daily_bin19.fits scfile=/scratch/kocevski/429831/ft2_4FGL_J0113.1-3553_daily_bin19.fits outfile=/scratch/kocevski/429831/cmap_244252801_244512001_4FGL_J0113.1-3553_daily_bin19.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 5.12
user 0.37
sys 4.68

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429831/ft1_filtered_4FGL_J0113.1-3553_daily_bin19.fits scfile=/scratch/kocevski/429831/ft2_4FGL_J0113.1-3553_daily_bin19.fits outfile=/scratch/kocevski/429831/cmap_HighResolution_244252801_244512001_4FGL_J0113.1-3553_daily_bin19.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 5.12
user 0.37
sys 4.71

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/429831/ft1_filtered_4FGL_J0113.1-3553_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/429831/ft2_4FGL_J0113.1-3553_daily_bin19.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/429831/Model_4FGL_J0113.1-3553_daily_bin19.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/429831/ft1_filtered_4FGL_J0113.1-3553_daily_bin19.fits.....................!
real 48.50
user 40.93
sys 7.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/429831/ft1_filtered_4FGL_J0113.1-3553_daily_bin19.fits', '/scratch/kocevski/429831/ft2_4FGL_J0113.1-3553_daily_bin19.fits', expMap='/scratch/kocevski/429831/expmap_244252801_244512001_4FGL_J0113.1-3553_daily_bin19.fits', expCube='/scratch/kocevski/429831/ltcube_244252801_244512001_4FGL_J0113.1-3553_daily_bin19.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/429831/Model_4FGL_J0113.1-3553_daily_bin19.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/429831/ft1_filtered_4FGL_J0113.1-3553_daily_bin19.fits
Spacecraft file(s): /scratch/kocevski/429831/ft2_4FGL_J0113.1-3553_daily_bin19.fits
Exposure map: /scratch/kocevski/429831/expmap_244252801_244512001_4FGL_J0113.1-3553_daily_bin19.fits
Exposure cube: /scratch/kocevski/429831/ltcube_244252801_244512001_4FGL_J0113.1-3553_daily_bin19.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/429831/Model_4FGL_J0113.1-3553_daily_bin19.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) = 5251.03230538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .34461E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.256       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.8132       1.0000         .10000E-03   10000.    
     5 'norm      '    20.684       1.0000         .10000E-03   10000.    
     6 'norm      '    5.8074       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .44178       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.171       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.6073       1.0000         .10000E-03   10000.    
    11 'norm      '    3.4420       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8482       1.0000         .10000E-03   10000.    
    15 'norm      '    3.2993       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.5526       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .93356       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .65471       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5250.915     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1551 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.985       -.48858E-06** at limit **
   2  Prefactor     .10214E-03    2.9516        .11591E-05** at limit **
   3  Prefactor     15.289        21.544        .20160E-05    .16250E-03
   4  Prefactor     6.8134        8.8713        .33448E-05   -.45610E-03
   5  norm          20.671        28.559       -.51633E-05   -.41637E-03
   6  norm          5.8073        2.7956       -.12169E-06   -.30802E-03
   7  Prefactor     .44364        7.6816        .29418E-05   -.24540E-03
   8  Prefactor     .10000E-03    8.6380       -.20058E-05** at limit **
   9  Prefactor     14.169        11.749       -.16146E-06   -.70529E-04
  10  Prefactor     3.6073        2.8449        .10993E-06    .63132E-04
  11  norm          3.4419        2.1535        .67127E-07   -.20000E-03
  12  Prefactor     .10000E-03    8.7257        .22480E-05** at limit **
  13  Prefactor     .10000E-03    16.722        .51098E-06** at limit **
  14  Prefactor     2.8480        3.1608        .22601E-06   -.50138E-04
  15  norm          3.2992        2.1793        .60066E-07   -.49910E-04
  16  Prefactor     7.5522        10.101        .38967E-06    .12751E-05
  17  Normalizat    .93355        .15149       -.11406E-05   -.25663E-03
  18  Prefactor     .65476        .16672       -.17893E-06   -.22735E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000102137
  Prefactor  = 15.2893
  Prefactor  = 6.81341
  norm       = 20.6708
  norm       = 5.80726
  Prefactor  = 0.443638
  Prefactor  = 0.000100001
  Prefactor  = 14.1687
  Prefactor  = 3.60733
  norm       = 3.44185
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.84802
  norm       = 3.29922
  Prefactor  = 7.5522
  Normalizat = 0.933546
  Prefactor  = 0.654758
 **********
 **   18 **HESSE 
 **********

 FCN=   5250.915     FROM HESSE     STATUS=OK           252 CALLS     1803 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10214E-03    57.004        .21661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.289        21.284        .10254E-03   -1.4926    
   4  Prefactor     6.8134        9.2561        .76857E-03   -1.5186    
   5  norm          20.671        29.332        .88069E-04   -1.4798    
   6  norm          5.8073        2.7983        .81675E-04   -1.5226    
   7  Prefactor     .44364        8.1940        .39020E-03   -1.5575    
   8  Prefactor     .10000E-03    8.7306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.169        11.679        .10640E-03   -1.4955    
  10  Prefactor     3.6073        2.8454        .10397E-03   -1.5328    
  11  norm          3.4419        2.1481        .80807E-04   -1.5337    
  12  Prefactor     .10000E-03    8.9229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.8480        3.1597        .12887E-03   -1.5370    
  15  norm          3.2992        2.1789        .84211E-04   -1.5345    
  16  Prefactor     7.5522        10.101        .14593E-03   -1.5158    
  17  Normalizat    .93355        .18254        .19232E-03   -.95291    
  18  Prefactor     .65476        .19913        .26099E-03   -1.0533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73783e-08
Minuit parameter uncertainties:
  1  0.000122568
  2  0.0220947
  3  21.2948
  4  9.25806
  5  29.3526
  6  2.79841
  7  3.81341
  8  0.000185265
  9  11.6806
  10  2.84555
  11  2.14818
  12  0.000213655
  13  7.66061e-05
  14  3.15991
  15  2.17898
  16  10.1035
  17  0.182659
  18  0.199343
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  3.607e+00  2.846e+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.548e-01  1.993e-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:  9.335e-01  1.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.88
Ra Dec: 18.289 -35.894
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 3.34e-08 +/- 2.63e-08
Energy Flux (Fixed Index): 1.09e-05 +/- 8.58e-06

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

Saving results to:
/scratch/kocevski/429831/likelihoodResults_244252801_244512001_4FGL_J0113.1-3553_daily_bin19.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) = 5250.88585604
delta logL = 0.029094399385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5250.88218403
delta logL = 0.0327664089727

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8340       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2411       1.0000          .0000       10.000    
     3 'Normalizat'    .93870       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65135       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=   5250.882     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      242 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8346        3.1782        .55405E-03   -.12638E-03
   2  Index         2.2411        .63311        .88457E-02   -.48234E-05
   3  Normalizat    .93900        .17193        .19183E-03   -.15268E-03
   4  Prefactor     .65114        .19759        .26167E-03    .40710E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.83456
  Index      = 2.24106
  Normalizat = 0.939
  Prefactor  = 0.651136
 **********
 **   18 **HESSE 
 **********

 FCN=   5250.882     FROM HESSE     STATUS=OK            25 CALLS      267 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8346        3.1511        .22162E-04   -1.5316    
   2  Index         2.2411        .62752        .35383E-03   -.58451    
   3  Normalizat    .93900        .17206        .38366E-04   -.95103    
   4  Prefactor     .65114        .19774        .10467E-04   -1.0547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44733e-10
Minuit parameter uncertainties:
  1  3.15121
  2  0.629917
  3  0.172157
  4  0.197949
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429831': 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) = 5250.88218197
delta logL = 0.0327684649174

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  3.835e+00  3.151e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.241e+00  6.299e-01  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.511e-01  1.979e-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:  9.390e-01  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.94
Ra Dec: 18.289 -35.894
Photon Index (Free Index): 2.24 +/- 0.63
Photon Flux (Free Index): 2.89e-08 +/- 2.98e-08
Energy Flux (Free Index): 1.20e-05 +/- 1.12e-05

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/429831/cmap_HighResolution_244252801_244512001_4FGL_J0113.1-3553_daily_bin19.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.32e-03', comment='SUCCESS', photon_flux='3.34e-08', energy_flux2='1.20e-05', photon_flux_error='2.63e-08', dlogl='3.28e-02', energy_flux='1.09e-05', photon_flux2='2.89e-08', job_status='DONE', time_completed='2021-08-13 17:03:59.390916', photon_index_error2='0.63', photon_index2='2.24', ts='3.88', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', photon_flux_upper_limit='9.47e-08', energy_flux_error2='1.12e-05', EG='0.93', time_epoch_completed='1628899439.39', return_code='0', job_id='429831', GAL2='0.65', EG2='0.94', return_code2='0', energy_flux_error='8.58e-06', photon_flux_error2='2.98e-08', ts2='3.94', photon_index='2.40' WHERE bin_id='19' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:03:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 429831: <4FGL_J0113.1-3553_daily_bin19> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin19> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 13 16:50:48 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:50:58 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:50:58 2021
Terminated at Fri Aug 13 17:04:00 2021
Results reported at Fri Aug 13 17:04:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin19 18.2893 -35.894 244252801 244512001 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 :                                   663.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             232.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            792 sec.

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

