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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin201
RA = 18.2893, Dec = -35.894
tmin = 291427201, tmax = 291686401
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='430068', job_status='RUN', time_executed='2021-08-13 16:52:10.207358', time_epoch_executed='1628898730.21' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='201'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430068

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430068/ft1_4FGL_J0113.1-3553_daily_bin201.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430068/ft2_4FGL_J0113.1-3553_daily_bin201.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430068/ft1_4FGL_J0113.1-3553_daily_bin201.fits outfile=/scratch/kocevski/430068/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin201.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=291427201.0 tmax=291686401.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 4.21
user 3.28
sys 0.88

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430068/ft2_4FGL_J0113.1-3553_daily_bin201.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/430068/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin201.fits evtable="EVENTS" outfile="/scratch/kocevski/430068/ft1_filtered_4FGL_J0113.1-3553_daily_bin201.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 1.16
user 0.32
sys 0.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430068/ft1_filtered_4FGL_J0113.1-3553_daily_bin201.fits" evtable="EVENTS" scfile=/scratch/kocevski/430068/ft2_4FGL_J0113.1-3553_daily_bin201.fits sctable="SC_DATA" outfile=/scratch/kocevski/430068/ltcube_291427201_291686401_4FGL_J0113.1-3553_daily_bin201.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/430068/ft2_4FGL_J0113.1-3553_daily_bin201.fits
.....................!
real 12.71
user 11.62
sys 1.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430068/ft1_filtered_4FGL_J0113.1-3553_daily_bin201.fits evtable="EVENTS" scfile=/scratch/kocevski/430068/ft2_4FGL_J0113.1-3553_daily_bin201.fits sctable="SC_DATA" expcube=/scratch/kocevski/430068/ltcube_291427201_291686401_4FGL_J0113.1-3553_daily_bin201.fits outfile=/scratch/kocevski/430068/expmap_291427201_291686401_4FGL_J0113.1-3553_daily_bin201.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/430068/ltcube_291427201_291686401_4FGL_J0113.1-3553_daily_bin201.fits
.....................!
real 192.16
user 185.92
sys 5.70

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/430068/ft1_filtered_4FGL_J0113.1-3553_daily_bin201.fits scfile=/scratch/kocevski/430068/ft2_4FGL_J0113.1-3553_daily_bin201.fits outfile=/scratch/kocevski/430068/cmap_291427201_291686401_4FGL_J0113.1-3553_daily_bin201.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 1.21
user 0.37
sys 0.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430068/ft1_filtered_4FGL_J0113.1-3553_daily_bin201.fits scfile=/scratch/kocevski/430068/ft2_4FGL_J0113.1-3553_daily_bin201.fits outfile=/scratch/kocevski/430068/cmap_HighResolution_291427201_291686401_4FGL_J0113.1-3553_daily_bin201.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 1.18
user 0.38
sys 0.79

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430068/ft1_filtered_4FGL_J0113.1-3553_daily_bin201.fits evtable="EVENTS" scfile=/scratch/kocevski/430068/ft2_4FGL_J0113.1-3553_daily_bin201.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430068/Model_4FGL_J0113.1-3553_daily_bin201.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/430068/ft1_filtered_4FGL_J0113.1-3553_daily_bin201.fits.....................!
real 44.36
user 42.19
sys 2.03

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.7147       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.2925       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .44067E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.5907       1.0000         .10000E-03   10000.    
     5 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.1524       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.2870       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.336       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2184       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1640       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .67280       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=   5432.789     FROM MIGRAD    STATUS=CONVERGED    360 CALLS     1790 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7178        30.024        .33946E-02   -.51494E-03
   2  Prefactor     7.2918        7.3319        .37132E-02    .51251E-03
   3  Prefactor     .10000E-03    23.846        .10609    ** at limit **
   4  Prefactor     7.5906        7.6748        .36389E-02    .30297E-02
   5  norm          .10000E-03    12.825        .90712E-02** at limit **
   6  norm          2.1524        1.9269        .70208E-02    .70806E-04
   7  Prefactor     .10000E-03    6.6830        .90712E-02** at limit **
   8  Prefactor     .10000E-03    5.0446        .90712E-02** at limit **
   9  Prefactor     .10000E-03    6.1655        .90712E-02** at limit **
  10  Prefactor     .10000E-03    1.4083        .90712E-02** at limit **
  11  norm          2.2870        2.0345        .67863E-02    .15746E-03
  12  Prefactor     .10000E-03    6.6462        .90712E-02** at limit **
  13  Prefactor     13.325        21.511        .27421E-02   -.16507E-03
  14  Prefactor     .10000E-03    1.2281        .90712E-02** at limit **
  15  norm          .10000E-03    1.6561        .54410E-01** at limit **
  16  Prefactor     2.2176        14.872        .69027E-02   -.33199E-03
  17  Normalizat    1.1639        .15714        .35843E-01   -.20393E-04
  18  Prefactor     .67289        .18062        .63983E-01   -.93432E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.71778
  Prefactor  = 7.29183
  Prefactor  = 0.000100001
  Prefactor  = 7.5906
  norm       = 0.0001
  norm       = 2.15242
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.287
  Prefactor  = 0.000100001
  Prefactor  = 13.3253
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.21755
  Normalizat = 1.1639
  Prefactor  = 0.67289
 **********
 **   18 **HESSE 
 **********

 FCN=   5432.789     FROM HESSE     STATUS=OK           246 CALLS     2036 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7178        29.741        .13578E-03   -1.5117    
   2  Prefactor     7.2918        6.5348        .13967E-03   -1.5168    
   3  Prefactor     .10000E-03    132.32        .60011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.5906        7.6561        .72779E-03   -1.5157    
   5  norm          .10000E-03    12.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1524        1.9253        .94205E-04   -1.5415    
   7  Prefactor     .10000E-03    6.8068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.0464        .16169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.1880        .17870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.4363        .85367E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2870        2.0286        .96109E-04   -1.5406    
  12  Prefactor     .10000E-03    6.6587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.325        21.522        .10969E-03   -1.4978    
  14  Prefactor     .10000E-03    1.2351        .79731E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    8.4816        .18212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.2176        14.834        .27611E-03   -1.5410    
  17  Normalizat    1.1639        .18295        .18912E-03   -.87726    
  18  Prefactor     .67289        .21115        .28307E-03   -1.0460    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.37295e-09
Minuit parameter uncertainties:
  1  29.7913
  2  6.53545
  3  0.000711268
  4  7.6571
  5  4.1325e-05
  6  1.92538
  7  0.000153512
  8  4.35515e-06
  9  4.64235e-05
  10  7.34476e-06
  11  2.02863
  12  0.000153151
  13  21.5341
  14  8.63126e-07
  15  3.50467e-05
  16  11.4748
  17  0.183048
  18  0.211397
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  7.345e-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:  6.729e-01  2.114e-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.164e+00  1.830e-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: 4.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430068/likelihoodResults_291427201_291686401_4FGL_J0113.1-3553_daily_bin201.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) = 5432.79248386
delta logL = -0.00330412023141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5432.78917983
delta logL = -9.13614712772e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4116       1.0000          .0000       10.000    
     3 'Normalizat'    1.1640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67288       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=   5432.789     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      234 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6300        .85540E-03** at limit **
   2  Index         2.4196        6.2083        .50000       -.48521E-04
   3  Normalizat    1.1639        .17849        .18912E-03   -.38893E-04
   4  Prefactor     .67289        .20905        .28307E-03    .21366E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.41964
  Normalizat = 1.1639
  Prefactor  = 0.672891
 **********
 **   18 **HESSE 
 **********

 FCN=   5432.789     FROM HESSE     STATUS=OK            29 CALLS      263 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.4503        .17108E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4196        6.2090        .50000       -.54226    
   3  Normalizat    1.1639        .17864        .37824E-04   -.87726    
   4  Prefactor     .67289        .20924        .11323E-04   -1.0460    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.11325e-09
Minuit parameter uncertainties:
  1  0.000141447
  2  4.29331
  3  0.178738
  4  0.209479
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430068': 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) = 5432.78917956
delta logL = 1.7805632524e-07

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  1.414e-04  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.420e+00  4.293e+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.729e-01  2.095e-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.164e+00  1.787e-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/430068/cmap_HighResolution_291427201_291686401_4FGL_J0113.1-3553_daily_bin201.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.83e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2021-08-13 17:01:31.659972', job_id='430068', GAL2='0.67', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1628899291.66', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='1.78e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='201' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:01:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 430068: <4FGL_J0113.1-3553_daily_bin201> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin201 18.2893 -35.894 291427201 291686401 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 :                                   567.59 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   579 sec.
    Turnaround time :                            622 sec.

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

