/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 71 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 = 7483
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0113.1-3553_daily_bin365
RA = 18.2893, Dec = -35.894
tmin = 333936001, tmax = 334195201
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='430335', job_status='RUN', time_executed='2021-08-13 16:56:30.714590', time_epoch_executed='1628898990.71' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='365'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430335

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430335/ft1_4FGL_J0113.1-3553_daily_bin365.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430335/ft2_4FGL_J0113.1-3553_daily_bin365.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430335/ft1_4FGL_J0113.1-3553_daily_bin365.fits outfile=/scratch/kocevski/430335/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin365.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=333936001.0 tmax=334195201.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 12.46
user 3.32
sys 9.07

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430335/ft1_filtered_4FGL_J0113.1-3553_daily_bin365.fits" evtable="EVENTS" scfile=/scratch/kocevski/430335/ft2_4FGL_J0113.1-3553_daily_bin365.fits sctable="SC_DATA" outfile=/scratch/kocevski/430335/ltcube_333936001_334195201_4FGL_J0113.1-3553_daily_bin365.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/430335/ft2_4FGL_J0113.1-3553_daily_bin365.fits
.....................!
real 25.36
user 14.87
sys 10.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430335/ft1_filtered_4FGL_J0113.1-3553_daily_bin365.fits evtable="EVENTS" scfile=/scratch/kocevski/430335/ft2_4FGL_J0113.1-3553_daily_bin365.fits sctable="SC_DATA" expcube=/scratch/kocevski/430335/ltcube_333936001_334195201_4FGL_J0113.1-3553_daily_bin365.fits outfile=/scratch/kocevski/430335/expmap_333936001_334195201_4FGL_J0113.1-3553_daily_bin365.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/430335/ltcube_333936001_334195201_4FGL_J0113.1-3553_daily_bin365.fits
.....................!
real 204.04
user 186.98
sys 16.45

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/430335/ft1_filtered_4FGL_J0113.1-3553_daily_bin365.fits scfile=/scratch/kocevski/430335/ft2_4FGL_J0113.1-3553_daily_bin365.fits outfile=/scratch/kocevski/430335/cmap_333936001_334195201_4FGL_J0113.1-3553_daily_bin365.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 9.42
user 0.36
sys 8.90

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430335/ft1_filtered_4FGL_J0113.1-3553_daily_bin365.fits scfile=/scratch/kocevski/430335/ft2_4FGL_J0113.1-3553_daily_bin365.fits outfile=/scratch/kocevski/430335/cmap_HighResolution_333936001_334195201_4FGL_J0113.1-3553_daily_bin365.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 10.19
user 0.39
sys 9.56

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430335/ft1_filtered_4FGL_J0113.1-3553_daily_bin365.fits evtable="EVENTS" scfile=/scratch/kocevski/430335/ft2_4FGL_J0113.1-3553_daily_bin365.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430335/Model_4FGL_J0113.1-3553_daily_bin365.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/430335/ft1_filtered_4FGL_J0113.1-3553_daily_bin365.fits.....................!
real 53.37
user 38.40
sys 12.62

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.9906       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.945       1.0000         .10000E-03   10000.    
     5 'norm      '    27.600       1.0000         .10000E-03   10000.    
     6 'norm      '    2.1276       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12741E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10329E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.243       1.0000         .10000E-03   10000.    
    13 'Prefactor '    48.184       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.3382       1.0000         .10000E-03   10000.    
    15 'norm      '    7.7619       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0416       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0567       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=   4608.159     FROM MIGRAD    STATUS=CONVERGED    365 CALLS     1725 TOTAL
                     EDM=   .97E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.983       -.74456E-06** at limit **
   2  Prefactor     9.9894        6.8598        .78133E-06   -.71903E-05
   3  Prefactor     .10000E-03    15.973        .60883E-06** at limit **
   4  Prefactor     23.950        13.095       -.69097E-06    .14855E-04
   5  norm          27.556        34.696       -.34295E-04   -.76723E-05
   6  norm          2.1270        2.6686       -.12799E-06   -.63491E-04
   7  Prefactor     .10000E-03    6.6768       -.12345E-06** at limit **
   8  Prefactor     .10000E-03    105.65        .10442E-04** at limit **
   9  Prefactor     .10000E-03    7.2808        .85243E-07** at limit **
  10  Prefactor     .10000E-03    1.4145       -.41215E-07** at limit **
  11  norm          .10000E-03    1.7191       -.13166E-06** at limit **
  12  Prefactor     33.240        20.933       -.40892E-06    .27593E-04
  13  Prefactor     48.192        46.191        .61657E-05    .55722E-05
  14  Prefactor     8.3400        6.4314       -.12140E-05   -.19040E-03
  15  norm          7.7623        4.2753       -.20449E-06   -.35949E-04
  16  Prefactor     .10000E-03    8.9566       -.21195E-06** at limit **
  17  Normalizat    1.0410        .20868        .36497E-05   -.10914E-03
  18  Prefactor     1.0574        .22993       -.22073E-06    .67941E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.98936
  Prefactor  = 0.0001
  Prefactor  = 23.9502
  norm       = 27.5561
  norm       = 2.127
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 33.2396
  Prefactor  = 48.1917
  Prefactor  = 8.33997
  norm       = 7.76227
  Prefactor  = 0.0001
  Normalizat = 1.04096
  Prefactor  = 1.05743
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.159     FROM HESSE     STATUS=OK           248 CALLS     1973 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.9894        6.8549        .12677E-03   -1.5076    
   3  Prefactor     .10000E-03    16.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.950        13.123        .81859E-04   -1.4729    
   5  norm          27.556        34.717        .76256E-04   -1.4658    
   6  norm          2.1270        2.6614        .12050E-03   -1.5416    
   7  Prefactor     .10000E-03    6.7115        .17130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    108.50        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.2988        .17888E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.4189        .78826E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.8215        .17114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     33.240        20.714        .69500E-04   -1.4554    
  13  Prefactor     48.192        46.318        .57767E-04   -1.4318    
  14  Prefactor     8.3400        6.4281        .13663E-03   -1.5130    
  15  norm          7.7623        4.2755        .10057E-03   -1.5151    
  16  Prefactor     .10000E-03    8.9879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0410        .24879        .24284E-03   -.91671    
  18  Prefactor     1.0574        .27342        .27525E-03   -.90839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66626e-10
Minuit parameter uncertainties:
  1  1.08184e-05
  2  6.85544
  3  7.83175e-05
  4  13.1248
  5  34.7422
  6  2.66155
  7  1.83057e-05
  8  0.000557865
  9  1.33941e-05
  10  4.2181e-06
  11  2.3331e-05
  12  20.7186
  13  46.353
  14  6.42862
  15  4.27569
  16  3.16224e-05
  17  0.24907
  18  0.273777
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  4.218e-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:  1.057e+00  2.738e-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.041e+00  2.491e-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.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430335/likelihoodResults_333936001_334195201_4FGL_J0113.1-3553_daily_bin365.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) = 4608.16238551
delta logL = -0.00328047607945

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4608.15910501
delta logL = 2.57796273218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3969       1.0000          .0000       10.000    
     3 'Normalizat'    1.0410       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0574       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=   4608.159     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      249 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    167.76        .78987E-03** at limit **
   2  Index         2.1041        5.0551        .50000       -.85311E-07
   3  Normalizat    1.0410        .62363E-01    .24284E-03   -.71628E-04
   4  Prefactor     1.0574        .71466E-01    .27525E-03   -.51215E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.1041
  Normalizat = 1.04096
  Prefactor  = 1.05743
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.159     FROM HESSE     STATUS=OK            29 CALLS      278 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.7585        .15797E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1041        8.8322        .50000       -.61772    
   3  Normalizat    1.0410        .23756        .97136E-05   -.91670    
   4  Prefactor     1.0574        .27219        .11010E-04   -.90839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61703e-11
Minuit parameter uncertainties:
  1  2.26146e-06
  2  117.886
  3  0.237806
  4  0.272548
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430335': 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) = 4608.15910344
delta logL = 1.59235150932e-06

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  2.261e-06  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.104e+00  1.179e+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.057e+00  2.725e-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.041e+00  2.378e-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/430335/cmap_HighResolution_333936001_334195201_4FGL_J0113.1-3553_daily_bin365.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.15e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2021-08-13 17:07:21.432402', job_id='430335', GAL2='1.06', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1628899641.43', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.59e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='365' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:07:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 430335: <4FGL_J0113.1-3553_daily_bin365> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin365> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 13 16:51:30 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:52:45 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:52:45 2021
Terminated at Fri Aug 13 17:07:23 2021
Results reported at Fri Aug 13 17:07:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin365 18.2893 -35.894 333936001 334195201 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 :                                   782.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            953 sec.

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

