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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin78
RA = 18.2893, Dec = -35.894
tmin = 259545601, tmax = 259804801
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='429900', job_status='RUN', time_executed='2021-08-13 16:53:41.294365', time_epoch_executed='1628898821.29' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='78'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429900

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429900/ft1_4FGL_J0113.1-3553_daily_bin78.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429900/ft2_4FGL_J0113.1-3553_daily_bin78.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429900/ft1_4FGL_J0113.1-3553_daily_bin78.fits outfile=/scratch/kocevski/429900/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin78.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=259545601.0 tmax=259804801.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 10.13
user 1.48
sys 8.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429900/ft1_filtered_4FGL_J0113.1-3553_daily_bin78.fits" evtable="EVENTS" scfile=/scratch/kocevski/429900/ft2_4FGL_J0113.1-3553_daily_bin78.fits sctable="SC_DATA" outfile=/scratch/kocevski/429900/ltcube_259545601_259804801_4FGL_J0113.1-3553_daily_bin78.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/429900/ft2_4FGL_J0113.1-3553_daily_bin78.fits
.....................!
real 24.51
user 14.73
sys 9.65

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429900/ft1_filtered_4FGL_J0113.1-3553_daily_bin78.fits evtable="EVENTS" scfile=/scratch/kocevski/429900/ft2_4FGL_J0113.1-3553_daily_bin78.fits sctable="SC_DATA" expcube=/scratch/kocevski/429900/ltcube_259545601_259804801_4FGL_J0113.1-3553_daily_bin78.fits outfile=/scratch/kocevski/429900/expmap_259545601_259804801_4FGL_J0113.1-3553_daily_bin78.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/429900/ltcube_259545601_259804801_4FGL_J0113.1-3553_daily_bin78.fits
.....................!
real 202.59
user 186.58
sys 15.24

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/429900/ft1_filtered_4FGL_J0113.1-3553_daily_bin78.fits scfile=/scratch/kocevski/429900/ft2_4FGL_J0113.1-3553_daily_bin78.fits outfile=/scratch/kocevski/429900/cmap_259545601_259804801_4FGL_J0113.1-3553_daily_bin78.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.91
user 0.38
sys 8.33

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429900/ft1_filtered_4FGL_J0113.1-3553_daily_bin78.fits scfile=/scratch/kocevski/429900/ft2_4FGL_J0113.1-3553_daily_bin78.fits outfile=/scratch/kocevski/429900/cmap_HighResolution_259545601_259804801_4FGL_J0113.1-3553_daily_bin78.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 9.24
user 0.38
sys 8.31

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/429900/ft1_filtered_4FGL_J0113.1-3553_daily_bin78.fits evtable="EVENTS" scfile=/scratch/kocevski/429900/ft2_4FGL_J0113.1-3553_daily_bin78.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/429900/Model_4FGL_J0113.1-3553_daily_bin78.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/429900/ft1_filtered_4FGL_J0113.1-3553_daily_bin78.fits.....................!
real 56.21
user 40.46
sys 12.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.3983       1.0000         .10000E-03   10000.    
     5 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.5361       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.293       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.8841       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10265E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.6353       1.0000         .10000E-03   10000.    
    15 'norm      '    7.7993       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.446       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0116       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .78203       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=   5002.854     FROM MIGRAD    STATUS=CONVERGED    382 CALLS     1558 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.2084        .90712E-02** at limit **
   2  Prefactor     .10000E-03    6.2883        .90712E-02** at limit **
   3  Prefactor     .10000E-03    38.120        .90712E-02** at limit **
   4  Prefactor     7.3991        7.1646        .36863E-02    .25093E-03
   5  norm          .10000E-03    164.97        .90712E-02** at limit **
   6  norm          2.5362        2.4655        .64115E-02    .98418E-04
   7  Prefactor     11.292        8.2159        .29804E-02    .50591E-03
   8  Prefactor     .10000E-03    8.7235        .90712E-02** at limit **
   9  Prefactor     .10000E-03    19.698        .90712E-02** at limit **
  10  Prefactor     .10000E-03    1.5959        .90712E-02** at limit **
  11  norm          3.8839        2.0458        .51184E-02   -.11095E-03
  12  Prefactor     .10000E-03    7.4794        .90712E-02** at limit **
  13  Prefactor     .10000E-03    30.720        .90712E-02** at limit **
  14  Prefactor     5.6342        4.0352        .42306E-02    .17608E-03
  15  norm          7.7997        4.0523        .35896E-02    .17749E-03
  16  Prefactor     16.445        11.430        .24691E-02   -.74730E-05
  17  Normalizat    1.0115        .16347        .45157E-01    .51226E-04
  18  Prefactor     .78201        .18688        .43483E-01    .39884E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.39907
  norm       = 0.0001
  norm       = 2.53621
  Prefactor  = 11.2918
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.88395
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.63423
  norm       = 7.79968
  Prefactor  = 16.4455
  Normalizat = 1.01154
  Prefactor  = 0.782006
 **********
 **   18 **HESSE 
 **********

 FCN=   5002.854     FROM HESSE     STATUS=OK           244 CALLS     1802 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.2115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.5030        .34595E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    38.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.3991        7.1787        .14745E-03   -1.5164    
   5  norm          .10000E-03    172.10        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.5362        2.4596        .10619E-03   -1.5389    
   7  Prefactor     11.292        8.2105        .11922E-03   -1.5036    
   8  Prefactor     .10000E-03    8.7405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    20.215        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.6377        .17443E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.8839        2.0470        .71418E-04   -1.5314    
  12  Prefactor     .10000E-03    7.5089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    31.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.6342        4.0350        .11498E-03   -1.5233    
  15  norm          7.7997        4.0576        .98117E-04   -1.5149    
  16  Prefactor     16.445        11.430        .98763E-04   -1.4897    
  17  Normalizat    1.0115        .19479        .20329E-03   -.92645    
  18  Prefactor     .78201        .22201        .26443E-03   -1.0040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39856e-10
Minuit parameter uncertainties:
  1  1.44179e-05
  2  7.59302e-06
  3  6.6253e-05
  4  7.17952
  5  0.000382141
  6  2.45966
  7  8.21132
  8  2.34836e-06
  9  5.07092e-06
  10  2.46049e-06
  11  2.04704
  12  2.45898e-06
  13  2.91361e-05
  14  4.03524
  15  4.05776
  16  11.4311
  17  0.19493
  18  0.222267
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  2.460e-06  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:  7.820e-01  2.223e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.012e+00  1.949e-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.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/429900/likelihoodResults_259545601_259804801_4FGL_J0113.1-3553_daily_bin78.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) = 5002.85734548
delta logL = -0.00290640027379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5002.85444059
delta logL = -1.50996129378e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10765E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3752       1.0000          .0000       10.000    
     3 'Normalizat'    1.0115       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78214       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=   5002.854     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      224 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.0587        .37390E-01** at limit **
   2  Index         1.7591        9.0477        .50000       -.98780E-06
   3  Normalizat    1.0115        .43844E-02    .45194E-01   -.27535E-03
   4  Prefactor     .78201        .51033E-02    .43484E-01    .39528E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.75911
  Normalizat = 1.01154
  Prefactor  = 0.78201
 **********
 **   18 **HESSE 
 **********

 FCN=   5002.854     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      257 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    95.238        .17863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7591        8.2326        .50000       -.70519    
   3  Normalizat    1.0115        .24090E-01    .20329E-03   -.92645    
   4  Prefactor     .78201        .28037E-01    .26443E-03   -1.0039    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.88575e-09
Minuit parameter uncertainties:
  1  0.000233813
  2  329.567
  3  0.0240898
  4  0.0280371
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429900': 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): 102
logL (Free Index) = 5002.85442661
delta logL = 1.24677017084e-05

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  2.338e-04  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  1.759e+00  3.296e+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:  7.820e-01  2.804e-02  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.012e+00  2.409e-02  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/429900/cmap_HighResolution_259545601_259804801_4FGL_J0113.1-3553_daily_bin78.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.05e-03', job_status='DONE', photon_flux_upper_limit='5.23e-08', time_completed='2021-08-13 17:04:24.029327', job_id='429900', GAL2='0.78', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1628899464.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='1.25e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='78' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:04:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 429900: <4FGL_J0113.1-3553_daily_bin78> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin78 18.2893 -35.894 259545601 259804801 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 :                                   762.47 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             264.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            813 sec.

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

