/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 9 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 = 7414
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0113.1-3553_daily_bin182
RA = 18.2893, Dec = -35.894
tmin = 286502401, tmax = 286761601
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='430039', job_status='RUN', time_executed='2021-08-13 16:53:03.625796', time_epoch_executed='1628898783.63' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='182'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430039

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430039/ft1_4FGL_J0113.1-3553_daily_bin182.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430039/ft2_4FGL_J0113.1-3553_daily_bin182.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430039/ft1_4FGL_J0113.1-3553_daily_bin182.fits outfile=/scratch/kocevski/430039/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin182.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=286502401.0 tmax=286761601.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 8.79
user 4.26
sys 4.47

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430039/ft2_4FGL_J0113.1-3553_daily_bin182.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/430039/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin182.fits evtable="EVENTS" outfile="/scratch/kocevski/430039/ft1_filtered_4FGL_J0113.1-3553_daily_bin182.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 4.47
user 0.33
sys 4.09

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430039/ft1_filtered_4FGL_J0113.1-3553_daily_bin182.fits" evtable="EVENTS" scfile=/scratch/kocevski/430039/ft2_4FGL_J0113.1-3553_daily_bin182.fits sctable="SC_DATA" outfile=/scratch/kocevski/430039/ltcube_286502401_286761601_4FGL_J0113.1-3553_daily_bin182.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/430039/ft2_4FGL_J0113.1-3553_daily_bin182.fits
.....................!
real 16.91
user 12.06
sys 4.74

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430039/ft1_filtered_4FGL_J0113.1-3553_daily_bin182.fits evtable="EVENTS" scfile=/scratch/kocevski/430039/ft2_4FGL_J0113.1-3553_daily_bin182.fits sctable="SC_DATA" expcube=/scratch/kocevski/430039/ltcube_286502401_286761601_4FGL_J0113.1-3553_daily_bin182.fits outfile=/scratch/kocevski/430039/expmap_286502401_286761601_4FGL_J0113.1-3553_daily_bin182.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/430039/ltcube_286502401_286761601_4FGL_J0113.1-3553_daily_bin182.fits
.....................!
real 195.84
user 185.03
sys 10.33

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/430039/ft1_filtered_4FGL_J0113.1-3553_daily_bin182.fits scfile=/scratch/kocevski/430039/ft2_4FGL_J0113.1-3553_daily_bin182.fits outfile=/scratch/kocevski/430039/cmap_286502401_286761601_4FGL_J0113.1-3553_daily_bin182.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 4.32
user 0.38
sys 3.91

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430039/ft1_filtered_4FGL_J0113.1-3553_daily_bin182.fits scfile=/scratch/kocevski/430039/ft2_4FGL_J0113.1-3553_daily_bin182.fits outfile=/scratch/kocevski/430039/cmap_HighResolution_286502401_286761601_4FGL_J0113.1-3553_daily_bin182.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 4.40
user 0.38
sys 4.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430039/ft1_filtered_4FGL_J0113.1-3553_daily_bin182.fits evtable="EVENTS" scfile=/scratch/kocevski/430039/ft2_4FGL_J0113.1-3553_daily_bin182.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430039/Model_4FGL_J0113.1-3553_daily_bin182.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/430039/ft1_filtered_4FGL_J0113.1-3553_daily_bin182.fits.....................!
real 48.84
user 42.49
sys 6.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12737E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.6238       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.212       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    16.238       1.0000         .10000E-03   10000.    
     6 'norm      '    .71511E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2526       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9332       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.1472       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.5635       1.0000         .10000E-03   10000.    
    15 'norm      '    9.6919       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.9269       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .56522       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2595       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=   5674.050     FROM MIGRAD    STATUS=CONVERGED    361 CALLS     1517 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.193        .40525E-05** at limit **
   2  Prefactor     5.6236        3.8966        .50651E-07   -.47002E-04
   3  Prefactor     10.211        17.902        .17981E-06   -.15767E-04
   4  Prefactor     .10000E-03    2.1748        .81290E-09** at limit **
   5  norm          16.233        20.736       -.38175E-05   -.20021E-03
   6  norm          .10146E-03    1.6973       -.67463E-06** at limit **
   7  Prefactor     .10000E-03    1.8145       -.23722E-07** at limit **
   8  Prefactor     4.2495        13.010        .66920E-06    .87744E-05
   9  Prefactor     4.9325        3.7459        .35202E-06   -.95767E-03
  10  Prefactor     .10000E-03    1.3031       -.11747E-07** at limit **
  11  norm          4.1472        2.0698       -.21597E-07    .31191E-04
  12  Prefactor     .10000E-03    5.4625       -.39987E-08** at limit **
  13  Prefactor     .10000E-03    22.308       -.11287E-06** at limit **
  14  Prefactor     1.5636        2.1198       -.28378E-07   -.10328E-03
  15  norm          9.6916        3.6212       -.10130E-06   -.82847E-04
  16  Prefactor     5.9268        6.1802       -.38773E-06   -.77973E-04
  17  Normalizat    .56528        .14507        .45872E-06    .12973E-03
  18  Prefactor     1.2595        .17787        .36662E-07    .16143E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.62362
  Prefactor  = 10.211
  Prefactor  = 0.0001
  norm       = 16.2327
  norm       = 0.000101459
  Prefactor  = 0.0001
  Prefactor  = 4.24953
  Prefactor  = 4.9325
  Prefactor  = 0.0001
  norm       = 4.14718
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.5636
  norm       = 9.69157
  Prefactor  = 5.92678
  Normalizat = 0.565281
  Prefactor  = 1.25949
 **********
 **   18 **HESSE 
 **********

 FCN=   5674.050     FROM HESSE     STATUS=OK           254 CALLS     1771 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    41.330        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.6236        3.8872        .11462E-03   -1.5234    
   3  Prefactor     10.211        17.861        .12539E-03   -1.5069    
   4  Prefactor     .10000E-03    2.1814        .10847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          16.233        20.956        .99392E-04   -1.4902    
   6  norm          .10146E-03    3.6099        .32505E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.8184        .99098E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.2495        13.013        .19539E-03   -1.5296    
   9  Prefactor     4.9325        7.9594        .90540E-03   -1.5264    
  10  Prefactor     .10000E-03    1.3156        .83911E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.1472        2.0757        .74400E-04   -1.5301    
  12  Prefactor     .10000E-03    5.4789        .17193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.987        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.5636        2.0969        .12371E-03   -1.5458    
  15  norm          9.6916        3.6242        .84153E-04   -1.5085    
  16  Prefactor     5.9268        6.1832        .16495E-03   -1.5221    
  17  Normalizat    .56528        .17223        .24842E-03   -1.0948    
  18  Prefactor     1.2595        .21301        .21370E-03   -.84520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51218e-09
Minuit parameter uncertainties:
  1  0.000240393
  2  3.88742
  3  17.8705
  4  5.19178e-07
  5  20.9657
  6  0.00459076
  7  6.89567e-07
  8  13.0215
  9  7.96112
  10  3.05657e-07
  11  2.07572
  12  7.75925e-07
  13  1.48427e-05
  14  2.09699
  15  3.62423
  16  6.18391
  17  0.172397
  18  0.213161
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  3.057e-07  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.259e+00  2.132e-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:  5.653e-01  1.724e-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: 5.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430039/likelihoodResults_286502401_286761601_4FGL_J0113.1-3553_daily_bin182.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) = 5674.05380306
delta logL = -0.00360200277009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5674.05020126
delta logL = -1.93535925064e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4060       1.0000          .0000       10.000    
     3 'Normalizat'    .56529       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2595       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5674.050     FROM MIGRAD    STATUS=FAILED        85 CALLS      236 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10010E-03    148.16        .83921E-03** at limit **
   2  Index         2.4371        8.5820        .50000       -.11574E-04
   3  Normalizat    .56528        .43247E-01    .24842E-03    .27732E-04
   4  Prefactor     1.2595        .53818E-01    .21370E-03    .49603E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5674.050     FROM SIMPLEX   STATUS=UNCHANGED    160 CALLS      396 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10010E-03    148.16        .19638E-03** at limit **
   2  Index         2.4371        8.5820        .35421E-04   -.11574E-04
   3  Normalizat    .56528        .43247E-01    .88283E-06    .27732E-04
   4  Prefactor     1.2595        .53818E-01    .43213E-06    .49603E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5674.050     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      437 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.2636        .16784E-03** at limit **
   2  Index         2.5573        7.0401        .50000       -.15267E-05
   3  Normalizat    .56528        .16992        .99370E-05   -.15971E-03
   4  Prefactor     1.2595        .21185        .42740E-04   -.18641E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.55732
  Normalizat = 0.56528
  Prefactor  = 1.25948
 **********
 **   18 **HESSE 
 **********

 FCN=   5674.050     FROM HESSE     STATUS=OK            27 CALLS      464 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3673        .33568E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5573        5.6124        .50000       -.51041    
   3  Normalizat    .56528        .16968        .19874E-05   -1.0948    
   4  Prefactor     1.2595        .21170        .85479E-05   -.84520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44204e-09
Minuit parameter uncertainties:
  1  5.02077e-06
  2  108.494
  3  0.169837
  4  0.211847
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430039': 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) = 5674.0502008
delta logL = 2.58301952272e-07

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  5.021e-06  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.557e+00  1.085e+02  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.259e+00  2.118e-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:  5.653e-01  1.698e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/430039/cmap_HighResolution_286502401_286761601_4FGL_J0113.1-3553_daily_bin182.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.01e-03', job_status='DONE', photon_flux_upper_limit='5.19e-08', time_completed='2021-08-13 17:03:16.437215', job_id='430039', GAL2='1.26', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1628899396.44', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='2.58e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='182' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:03:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 430039: <4FGL_J0113.1-3553_daily_bin182> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin182 18.2893 -35.894 286502401 286761601 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 :                                   670.55 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             287.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            730 sec.

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

