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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin1
RA = 18.2893, Dec = -35.894
tmin = 239587201, tmax = 239846401
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='429804', job_status='RUN', time_executed='2021-08-13 16:53:54.956796', time_epoch_executed='1628898834.96' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='1'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429804

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429804/ft1_4FGL_J0113.1-3553_daily_bin1.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429804/ft2_4FGL_J0113.1-3553_daily_bin1.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429804/ft1_4FGL_J0113.1-3553_daily_bin1.fits outfile=/scratch/kocevski/429804/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin1.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=239587201.0 tmax=239846401.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 9.41
user 1.15
sys 8.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/429804/ft2_4FGL_J0113.1-3553_daily_bin1.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/429804/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin1.fits evtable="EVENTS" outfile="/scratch/kocevski/429804/ft1_filtered_4FGL_J0113.1-3553_daily_bin1.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 9.73
user 0.36
sys 8.43

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429804/ft1_filtered_4FGL_J0113.1-3553_daily_bin1.fits" evtable="EVENTS" scfile=/scratch/kocevski/429804/ft2_4FGL_J0113.1-3553_daily_bin1.fits sctable="SC_DATA" outfile=/scratch/kocevski/429804/ltcube_239587201_239846401_4FGL_J0113.1-3553_daily_bin1.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/429804/ft2_4FGL_J0113.1-3553_daily_bin1.fits
.....................!
real 25.67
user 15.46
sys 9.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429804/ft1_filtered_4FGL_J0113.1-3553_daily_bin1.fits evtable="EVENTS" scfile=/scratch/kocevski/429804/ft2_4FGL_J0113.1-3553_daily_bin1.fits sctable="SC_DATA" expcube=/scratch/kocevski/429804/ltcube_239587201_239846401_4FGL_J0113.1-3553_daily_bin1.fits outfile=/scratch/kocevski/429804/expmap_239587201_239846401_4FGL_J0113.1-3553_daily_bin1.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/429804/ltcube_239587201_239846401_4FGL_J0113.1-3553_daily_bin1.fits
.....................!
real 203.61
user 185.12
sys 16.14

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/429804/ft1_filtered_4FGL_J0113.1-3553_daily_bin1.fits scfile=/scratch/kocevski/429804/ft2_4FGL_J0113.1-3553_daily_bin1.fits outfile=/scratch/kocevski/429804/cmap_239587201_239846401_4FGL_J0113.1-3553_daily_bin1.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 8.60
user 0.38
sys 8.06

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429804/ft1_filtered_4FGL_J0113.1-3553_daily_bin1.fits scfile=/scratch/kocevski/429804/ft2_4FGL_J0113.1-3553_daily_bin1.fits outfile=/scratch/kocevski/429804/cmap_HighResolution_239587201_239846401_4FGL_J0113.1-3553_daily_bin1.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 8.60
user 0.37
sys 8.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/429804/ft1_filtered_4FGL_J0113.1-3553_daily_bin1.fits evtable="EVENTS" scfile=/scratch/kocevski/429804/ft2_4FGL_J0113.1-3553_daily_bin1.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/429804/Model_4FGL_J0113.1-3553_daily_bin1.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/429804/ft1_filtered_4FGL_J0113.1-3553_daily_bin1.fits.....................!
real 53.07
user 38.67
sys 11.91

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15156E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .28709E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .28329E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12746E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    52.010       1.0000         .10000E-03   10000.    
     6 'norm      '    3.8831       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.3211       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .96912E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.6388       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10559E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.2640       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12328E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .95890E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.4727       1.0000         .10000E-03   10000.    
    15 'norm      '    6.6094       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13986E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .91069       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .59442       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=   4994.301     FROM MIGRAD    STATUS=CONVERGED    411 CALLS     1812 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.086       -.88471E-07** at limit **
   2  Prefactor     .10001E-03    2.5578        .38152E-06** at limit **
   3  Prefactor     .10000E-03    15.561        .87698E-06** at limit **
   4  Prefactor     .10000E-03    6.4268        .11893E-06** at limit **
   5  norm          51.975        33.861       -.40883E-05   -.39956E-03
   6  norm          3.8854        2.5412       -.21982E-07   -.59182E-06
   7  Prefactor     5.3518        4.6887        .95434E-06   -.12908E-02
   8  Prefactor     .10001E-03    16.128        .13825E-06** at limit **
   9  Prefactor     8.6535        10.068       -.75795E-06   -.95681E-04
  10  Prefactor     .10000E-03    2.4442       -.15500E-07** at limit **
  11  norm          6.2631        2.5490        .33251E-08    .12445E-04
  12  Prefactor     .10000E-03    4.7126       -.65623E-08** at limit **
  13  Prefactor     .10000E-03    9.6489       -.13140E-07** at limit **
  14  Prefactor     6.4835        3.4902       -.44776E-07   -.22718E-04
  15  norm          6.5978        2.8447       -.35984E-07    .11882E-05
  16  Prefactor     .10000E-03    2.3598        .16840E-08** at limit **
  17  Normalizat    .91085        .14615        .85148E-06   -.18027E-03
  18  Prefactor     .59421        .15998       -.40471E-06   -.18518E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 51.9749
  norm       = 3.8854
  Prefactor  = 5.35175
  Prefactor  = 0.000100011
  Prefactor  = 8.65353
  Prefactor  = 0.0001
  norm       = 6.26307
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.4835
  norm       = 6.59785
  Prefactor  = 0.0001
  Normalizat = 0.910851
  Prefactor  = 0.594213
 **********
 **   18 **HESSE 
 **********

 FCN=   4994.301     FROM HESSE     STATUS=OK           256 CALLS     2068 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    5.4248        .37964E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.715        .21414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.846        .33968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          51.975        35.645        .55612E-04   -1.4265    
   6  norm          3.8854        2.5409        .88361E-04   -1.5314    
   7  Prefactor     5.3518        6.8939        .87115E-03   -1.5245    
   8  Prefactor     .10001E-03    90.724        .54615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.6535        10.101        .13638E-03   -1.5120    
  10  Prefactor     .10000E-03    4.7299        .21107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.2631        2.5472        .68954E-04   -1.5207    
  12  Prefactor     .10000E-03    4.7208        .14981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.6732        .20790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.4835        3.4918        .92647E-04   -1.5199    
  15  norm          6.5978        2.8473        .75431E-04   -1.5194    
  16  Prefactor     .10000E-03    2.3620        .10602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .91085        .17289        .18679E-03   -.96080    
  18  Prefactor     .59421        .19249        .26092E-03   -1.0783    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95738e-09
Minuit parameter uncertainties:
  1  6.37913e-06
  2  0.000470645
  3  0.000117418
  4  0.000118529
  5  35.6592
  6  2.54092
  7  6.89491
  8  0.00195994
  9  10.1035
  10  2.46128e-05
  11  2.54722
  12  1.19434e-06
  13  4.94721e-06
  14  3.49192
  15  2.84737
  16  7.6209e-07
  17  0.173
  18  0.192707
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  2.461e-05  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:  5.942e-01  1.927e-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.109e-01  1.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/429804/likelihoodResults_239587201_239846401_4FGL_J0113.1-3553_daily_bin1.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) = 4994.30181392
delta logL = -0.00100717701571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4994.30080369
delta logL = 3.05071171169e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10385E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4897       1.0000          .0000       10.000    
     3 'Normalizat'    .91078       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .59430       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=   4993.680     FROM MIGRAD    STATUS=CONVERGED    190 CALLS      365 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .58707E-03    .44079E-01    .45965E-03** at limit **
   2  Index         7.5067        8.2870        .19521       -.14177E-03
   3  Normalizat    .85863        .16582        .45039E-01    .11227E-03
   4  Prefactor     .63510        .11412        .40976E-01    .34421E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000587068
  Index      = 7.50668
  Normalizat = 0.858633
  Prefactor  = 0.635101
 **********
 **   18 **HESSE 
 **********

 FCN=   4993.680     FROM HESSE     STATUS=OK            35 CALLS      400 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .58707E-03    .10269E-01    .20278E-04   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.5067        3.4389        .70048E-02    .52514    
   3  Normalizat    .85863        .17321        .19175E-03   -.97929    
   4  Prefactor     .63510        .19624        .25290E-03   -1.0613    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1096e-09
Minuit parameter uncertainties:
  1  0.00447285
  2  3.97512
  3  0.173326
  4  0.196453
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429804': 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) = 4993.67962185
delta logL = 0.621184895393

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  5.871e-04  4.473e-03  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  7.507e+00  3.975e+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.351e-01  1.965e-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.586e-01  1.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.33
Ra Dec: 18.289 -35.894
Photon Index (Free Index): 7.51 +/- 3.98
Photon Flux (Free Index): 3.65e-08 +/- 5.38e-07
Energy Flux (Free Index): 4.29e-06 +/- 6.31e-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/429804/cmap_HighResolution_239587201_239846401_4FGL_J0113.1-3553_daily_bin1.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.20e-03', comment='SUCCESS', energy_flux2='4.29e-06', dlogl='6.21e-01', photon_flux2='3.65e-08', job_status='DONE', time_completed='2021-08-13 17:04:52.446763', photon_index_error2='3.98', photon_index2='7.51', ts='-0.00', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', photon_flux_upper_limit='6.73e-08', energy_flux_error2='6.31e-05', EG='0.91', time_epoch_completed='1628899492.45', return_code='0', job_id='429804', GAL2='0.64', EG2='0.86', return_code2='0', photon_flux_error2='5.38e-07', ts2='1.33', photon_index='2.40' WHERE bin_id='1' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:04:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 429804: <4FGL_J0113.1-3553_daily_bin1> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin1 18.2893 -35.894 239587201 239846401 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 :                                   771.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             305.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            849 sec.

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

