/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 8 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7415
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0113.1-3553_daily_bin1086
RA = 18.2893, Dec = -35.894
tmin = 520819201, tmax = 521078401
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='434407', job_status='RUN', time_executed='2021-08-13 17:07:14.596991', time_epoch_executed='1628899634.6' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='1086'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434407

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434407/ft1_4FGL_J0113.1-3553_daily_bin1086.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434407/ft2_4FGL_J0113.1-3553_daily_bin1086.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434407/ft1_4FGL_J0113.1-3553_daily_bin1086.fits outfile=/scratch/kocevski/434407/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin1086.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=520819201.0 tmax=521078401.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 6.48
user 3.26
sys 3.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/434407/ft2_4FGL_J0113.1-3553_daily_bin1086.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/434407/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin1086.fits evtable="EVENTS" outfile="/scratch/kocevski/434407/ft1_filtered_4FGL_J0113.1-3553_daily_bin1086.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 3.47
user 0.33
sys 3.11

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434407/ft1_filtered_4FGL_J0113.1-3553_daily_bin1086.fits" evtable="EVENTS" scfile=/scratch/kocevski/434407/ft2_4FGL_J0113.1-3553_daily_bin1086.fits sctable="SC_DATA" outfile=/scratch/kocevski/434407/ltcube_520819201_521078401_4FGL_J0113.1-3553_daily_bin1086.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/434407/ft2_4FGL_J0113.1-3553_daily_bin1086.fits
.....................!
real 16.91
user 13.04
sys 3.75

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434407/ft1_filtered_4FGL_J0113.1-3553_daily_bin1086.fits evtable="EVENTS" scfile=/scratch/kocevski/434407/ft2_4FGL_J0113.1-3553_daily_bin1086.fits sctable="SC_DATA" expcube=/scratch/kocevski/434407/ltcube_520819201_521078401_4FGL_J0113.1-3553_daily_bin1086.fits outfile=/scratch/kocevski/434407/expmap_520819201_521078401_4FGL_J0113.1-3553_daily_bin1086.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/434407/ltcube_520819201_521078401_4FGL_J0113.1-3553_daily_bin1086.fits
.....................!
real 195.87
user 187.10
sys 8.31

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/434407/ft1_filtered_4FGL_J0113.1-3553_daily_bin1086.fits scfile=/scratch/kocevski/434407/ft2_4FGL_J0113.1-3553_daily_bin1086.fits outfile=/scratch/kocevski/434407/cmap_520819201_521078401_4FGL_J0113.1-3553_daily_bin1086.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 3.48
user 0.38
sys 3.05

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434407/ft1_filtered_4FGL_J0113.1-3553_daily_bin1086.fits scfile=/scratch/kocevski/434407/ft2_4FGL_J0113.1-3553_daily_bin1086.fits outfile=/scratch/kocevski/434407/cmap_HighResolution_520819201_521078401_4FGL_J0113.1-3553_daily_bin1086.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 3.57
user 0.39
sys 3.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434407/ft1_filtered_4FGL_J0113.1-3553_daily_bin1086.fits evtable="EVENTS" scfile=/scratch/kocevski/434407/ft2_4FGL_J0113.1-3553_daily_bin1086.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434407/Model_4FGL_J0113.1-3553_daily_bin1086.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/434407/ft1_filtered_4FGL_J0113.1-3553_daily_bin1086.fits.....................!
real 51.54
user 46.02
sys 4.81

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7557       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .37617E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.675       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2498       1.0000         .10000E-03   10000.    
     5 'norm      '    17.671       1.0000         .10000E-03   10000.    
     6 'norm      '    2.1812       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5519       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16675E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9541       1.0000         .10000E-03   10000.    
    11 'norm      '    1.6337       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.6972       1.0000         .10000E-03   10000.    
    15 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .83939       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0263       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=   6108.195     FROM MIGRAD    STATUS=CONVERGED    361 CALLS     1775 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7405        21.264        .62574E-05    .19148E-03
   2  Prefactor     .10002E-03    3.0033       -.29572E-05** at limit **
   3  Prefactor     20.674        21.813        .17484E-05    .84298E-03
   4  Prefactor     3.2482        6.1813        .37433E-05    .49941E-03
   5  norm          17.654        25.882        .20167E-05   -.11088E-03
   6  norm          2.1809        1.8120        .80451E-08   -.18245E-05
   7  Prefactor     .10000E-03    3.0711        .41968E-07** at limit **
   8  Prefactor     2.5504        12.450        .31814E-06   -.56720E-05
   9  Prefactor     .10005E-03    7.5988        .41612E-05** at limit **
  10  Prefactor     2.9541        2.3361       -.30042E-08   -.25245E-05
  11  norm          1.6363        2.1191        .18214E-06   -.39154E-03
  12  Prefactor     .10000E-03    17.450        .26376E-06** at limit **
  13  Prefactor     .10000E-03    8.4759        .73877E-07** at limit **
  14  Prefactor     1.6950        3.7814        .44717E-06   -.97308E-05
  15  norm          .10000E-03    1.3843        .26093E-06** at limit **
  16  Prefactor     .10000E-03    5.6366        .95177E-09** at limit **
  17  Normalizat    .83930        .14538        .20410E-07    .36748E-03
  18  Prefactor     1.0266        .17024       -.97987E-06    .25074E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.74045
  Prefactor  = 0.000100018
  Prefactor  = 20.6738
  Prefactor  = 3.24824
  norm       = 17.6541
  norm       = 2.18094
  Prefactor  = 0.0001
  Prefactor  = 2.55037
  Prefactor  = 0.000100046
  Prefactor  = 2.95413
  norm       = 1.63633
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.69505
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.839298
  Prefactor  = 1.02656
 **********
 **   18 **HESSE 
 **********

 FCN=   6108.195     FROM HESSE     STATUS=OK           248 CALLS     2023 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7405        21.756        .18450E-03   -1.5272    
   2  Prefactor     .10002E-03    11.277        .22195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.674        21.365        .88088E-04   -1.4798    
   4  Prefactor     3.2482        6.4074        .11233E-02   -1.5347    
   5  norm          17.654        25.856        .95277E-04   -1.4867    
   6  norm          2.1809        1.8145        .93280E-04   -1.5413    
   7  Prefactor     .10000E-03    3.0893        .13373E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.5504        12.439        .25559E-03   -1.5389    
   9  Prefactor     .10005E-03    19.679        .34897E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.9541        2.3320        .10244E-03   -1.5364    
  11  norm          1.6363        2.0771        .12305E-03   -1.5452    
  12  Prefactor     .10000E-03    17.691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.4912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.6950        3.7707        .21070E-03   -1.5448    
  15  norm          .10000E-03    2.7528        .17786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.6623        .18119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .83930        .17176        .21365E-03   -.98627    
  18  Prefactor     1.0266        .20148        .23492E-03   -.91849    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.72993e-09
Minuit parameter uncertainties:
  1  20.3227
  2  0.000899797
  3  21.3729
  4  6.40877
  5  25.8724
  6  1.81454
  7  2.84211e-06
  8  11.2682
  9  0.00191047
  10  2.33207
  11  2.07717
  12  7.89868e-05
  13  1.93101e-05
  14  3.77121
  15  4.13683e-06
  16  1.3116e-05
  17  0.171872
  18  0.201625
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  2.954e+00  2.332e+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:  1.027e+00  2.016e-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:  8.393e-01  1.719e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.23
Ra Dec: 18.289 -35.894
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 2.73e-08 +/- 2.16e-08
Energy Flux (Fixed Index): 8.91e-06 +/- 7.03e-06

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

Saving results to:
/scratch/kocevski/434407/likelihoodResults_520819201_521078401_4FGL_J0113.1-3553_daily_bin1086.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) = 6108.06739335
delta logL = 0.127503492185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6108.06269901
delta logL = 0.132197830846

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3105       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0351       1.0000          .0000       10.000    
     3 'Normalizat'    .84982       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0188       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6108.063     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      261 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3105        2.6945        .11239E-03   -.61955E-03
   2  Index         2.0353        .67640        .93624E-02   -.63420E-04
   3  Normalizat    .84981        .16551        .21246E-03    .37136E-04
   4  Prefactor     1.0188        .19928        .23568E-03    .39459E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.31051
  Index      = 2.03526
  Normalizat = 0.849814
  Prefactor  = 1.01884
 **********
 **   18 **HESSE 
 **********

 FCN=   6108.063     FROM HESSE     STATUS=OK            23 CALLS      284 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3105        2.6971        .44958E-05   -1.5344    
   2  Index         2.0353        .67698        .37450E-03   -.63471    
   3  Normalizat    .84981        .16567        .84984E-05   -.98247    
   4  Prefactor     1.0188        .19948        .94272E-05   -.92104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10542e-10
Minuit parameter uncertainties:
  1  2.69717
  2  0.68021
  3  0.165764
  4  0.199624
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434407': 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) = 6108.06269899
delta logL = 0.13219785139

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  3.311e+00  2.697e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.035e+00  6.802e-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:  1.019e+00  1.996e-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:  8.498e-01  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.49
Ra Dec: 18.289 -35.894
Photon Index (Free Index): 2.04 +/- 0.68
Photon Flux (Free Index): 1.97e-08 +/- 2.19e-08
Energy Flux (Free Index): 1.25e-05 +/- 1.46e-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/434407/cmap_HighResolution_520819201_521078401_4FGL_J0113.1-3553_daily_bin1086.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.11e-03', comment='SUCCESS', photon_flux='2.73e-08', energy_flux2='1.25e-05', photon_flux_error='2.16e-08', dlogl='1.32e-01', energy_flux='8.91e-06', photon_flux2='1.97e-08', job_status='DONE', time_completed='2021-08-13 17:17:53.948099', photon_index_error2='0.68', photon_index2='2.04', ts='3.23', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='7.91e-08', energy_flux_error2='1.46e-05', EG='0.84', time_epoch_completed='1628900273.95', return_code='0', job_id='434407', GAL2='1.02', EG2='0.85', return_code2='0', energy_flux_error='7.03e-06', photon_flux_error2='2.19e-08', ts2='3.49', photon_index='2.40' WHERE bin_id='1086' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:17:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 434407: <4FGL_J0113.1-3553_daily_bin1086> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin1086> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Aug 13 17:05:30 2021
Job was executed on host(s) <bullet0195>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 17:06:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 17:06:13 2021
Terminated at Fri Aug 13 17:17:55 2021
Results reported at Fri Aug 13 17:17:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin1086 18.2893 -35.894 520819201 521078401 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 :                                   671.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             306.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            745 sec.

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

