/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 121 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 = 7400
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0113.1-3553_daily_bin1115
RA = 18.2893, Dec = -35.894
tmin = 528336001, tmax = 528595201
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='434448', job_status='RUN', time_executed='2021-08-13 17:08:48.535605', time_epoch_executed='1628899728.54' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='1115'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434448

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434448/ft1_4FGL_J0113.1-3553_daily_bin1115.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434448/ft2_4FGL_J0113.1-3553_daily_bin1115.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434448/ft1_4FGL_J0113.1-3553_daily_bin1115.fits outfile=/scratch/kocevski/434448/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin1115.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=528336001.0 tmax=528595201.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.32
user 3.18
sys 1.04

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434448/ft1_filtered_4FGL_J0113.1-3553_daily_bin1115.fits" evtable="EVENTS" scfile=/scratch/kocevski/434448/ft2_4FGL_J0113.1-3553_daily_bin1115.fits sctable="SC_DATA" outfile=/scratch/kocevski/434448/ltcube_528336001_528595201_4FGL_J0113.1-3553_daily_bin1115.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/434448/ft2_4FGL_J0113.1-3553_daily_bin1115.fits
.....................!
real 13.22
user 11.84
sys 1.24

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434448/ft1_filtered_4FGL_J0113.1-3553_daily_bin1115.fits evtable="EVENTS" scfile=/scratch/kocevski/434448/ft2_4FGL_J0113.1-3553_daily_bin1115.fits sctable="SC_DATA" expcube=/scratch/kocevski/434448/ltcube_528336001_528595201_4FGL_J0113.1-3553_daily_bin1115.fits outfile=/scratch/kocevski/434448/expmap_528336001_528595201_4FGL_J0113.1-3553_daily_bin1115.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/434448/ltcube_528336001_528595201_4FGL_J0113.1-3553_daily_bin1115.fits
.....................!
real 191.77
user 185.31
sys 5.38

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/434448/ft1_filtered_4FGL_J0113.1-3553_daily_bin1115.fits scfile=/scratch/kocevski/434448/ft2_4FGL_J0113.1-3553_daily_bin1115.fits outfile=/scratch/kocevski/434448/cmap_528336001_528595201_4FGL_J0113.1-3553_daily_bin1115.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.34
user 0.38
sys 0.94

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434448/ft1_filtered_4FGL_J0113.1-3553_daily_bin1115.fits scfile=/scratch/kocevski/434448/ft2_4FGL_J0113.1-3553_daily_bin1115.fits outfile=/scratch/kocevski/434448/cmap_HighResolution_528336001_528595201_4FGL_J0113.1-3553_daily_bin1115.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.32
user 0.38
sys 0.93

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434448/ft1_filtered_4FGL_J0113.1-3553_daily_bin1115.fits evtable="EVENTS" scfile=/scratch/kocevski/434448/ft2_4FGL_J0113.1-3553_daily_bin1115.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434448/Model_4FGL_J0113.1-3553_daily_bin1115.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/434448/ft1_filtered_4FGL_J0113.1-3553_daily_bin1115.fits.....................!
real 40.49
user 38.00
sys 2.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    10.706       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.9386       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.6086       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.1232       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.8924       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.2253       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.4769       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .94132E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .89933       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .78872       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=   4638.658     FROM MIGRAD    STATUS=CONVERGED    360 CALLS     1500 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.254       -.35811E-06** at limit **
   2  Prefactor     10.703        5.5041        .48932E-06   -.37413E-03
   3  Prefactor     .10000E-03    22.947       -.87291E-06** at limit **
   4  Prefactor     5.9349        9.8753       -.28359E-06   -.10349E-03
   5  norm          .10000E-03    41.256       -.63522E-06** at limit **
   6  norm          1.6085        1.9285       -.19479E-08   -.60534E-04
   7  Prefactor     .10000E-03    4.3988        .11035E-07** at limit **
   8  Prefactor     .10000E-03    9.1443        .29570E-05** at limit **
   9  Prefactor     .10000E-03    8.8108       -.25553E-05** at limit **
  10  Prefactor     .10000E-03    .82762        .16299E-07** at limit **
  11  norm          1.1201        2.8907       -.30726E-05   -.10962E-02
  12  Prefactor     8.9069        19.199        .96688E-05   -.25493E-03
  13  Prefactor     6.2209        18.661       -.23164E-05    .20753E-04
  14  Prefactor     .10000E-03    1.6022        .37600E-07** at limit **
  15  norm          5.4764        3.1300       -.82527E-07   -.91240E-04
  16  Prefactor     .10021E-03    9.3637        .21770E-05** at limit **
  17  Normalizat    .89954        .15246       -.47668E-06   -.10517E-03
  18  Prefactor     .78852        .17498        .29404E-06   -.11506E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.7034
  Prefactor  = 0.0001
  Prefactor  = 5.93486
  norm       = 0.0001
  norm       = 1.60855
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.12005
  Prefactor  = 8.90695
  Prefactor  = 6.22093
  Prefactor  = 0.0001
  norm       = 5.47638
  Prefactor  = 0.000100206
  Normalizat = 0.899537
  Prefactor  = 0.788517
 **********
 **   18 **HESSE 
 **********

 FCN=   4638.658     FROM HESSE     STATUS=OK           246 CALLS     1746 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.703        5.4843        .11003E-03   -1.5054    
   3  Prefactor     .10000E-03    23.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.9349        9.8857        .16478E-03   -1.5221    
   5  norm          .10000E-03    41.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.6085        1.9163        .10076E-03   -1.5454    
   7  Prefactor     .10000E-03    4.4229        .13949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.0282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.7685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .83268        .60498E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1201        3.0784        .15708E-03   -1.5496    
  12  Prefactor     8.9069        19.681        .13441E-03   -1.5111    
  13  Prefactor     6.2209        18.734        .16089E-03   -1.5209    
  14  Prefactor     .10000E-03    1.6335        .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.4764        3.1328        .87783E-04   -1.5240    
  16  Prefactor     .10021E-03    40.253        .39256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .89954        .18036        .19560E-03   -.96476    
  18  Prefactor     .78852        .20683        .24384E-03   -1.0015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94351e-09
Minuit parameter uncertainties:
  1  1.39985e-05
  2  5.48455
  3  2.22295e-05
  4  9.88839
  5  7.91618e-05
  6  1.91634
  7  2.91061e-06
  8  0.000189102
  9  0.000173353
  10  4.10859e-07
  11  3.07884
  12  19.6956
  13  18.7516
  14  2.90762e-06
  15  3.13293
  16  0.00576925
  17  0.180479
  18  0.207036
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
601   Normalization:  8.995e-01  1.805e-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: 3.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434448/likelihoodResults_528336001_528595201_4FGL_J0113.1-3553_daily_bin1115.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) = 4638.66360207
delta logL = -0.00558687029388

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4638.65801461
delta logL = 5.92307515035e-07

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 'Index     '    2.3884       1.0000          .0000       10.000    
     3 'Normalizat'    .89954       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78852       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=   4638.658     FROM MIGRAD    STATUS=FAILED       106 CALLS      256 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    93.835        .66038E-03** at limit **
   2  Index         1.9207        5.8613        .50000       -.43092E-05
   3  Normalizat    .89954        .41375E-01    .19560E-03    .99215E-04
   4  Prefactor     .78852        .48854E-01    .24384E-03    .92081E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4638.658     FROM SIMPLEX   STATUS=UNCHANGED    201 CALLS      457 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    93.835        .18232E-03** at limit **
   2  Index         1.9207        5.8613        .47737E-06   -.43092E-05
   3  Normalizat    .89954        .41375E-01    .89171E-08    .99215E-04
   4  Prefactor     .78852        .48854E-01    .32105E-08    .92081E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4638.658     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      489 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5848        .13208E-03** at limit **
   2  Index         1.9206        8.3743        .50000       -.10559E-06
   3  Normalizat    .89954        .17384        .78239E-05    .99099E-04
   4  Prefactor     .78852        .20519        .97536E-05    .91848E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.92055
  Normalizat = 0.899537
  Prefactor  = 0.788518
 **********
 **   18 **HESSE 
 **********

 FCN=   4638.658     FROM HESSE     STATUS=OK            29 CALLS      518 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.0188        .26415E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9206        6.8235        .50000       -.66351    
   3  Normalizat    .89954        .17424        .15648E-05   -.96476    
   4  Prefactor     .78852        .20562        .19507E-05   -1.0015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50195e-11
Minuit parameter uncertainties:
  1  1.81789e-06
  2  59.7106
  3  0.174351
  4  0.205818
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434448': 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) = 4638.6580057
delta logL = 9.50195226324e-06

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  1.818e-06  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  1.921e+00  5.971e+01  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.885e-01  2.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  8.995e-01  1.744e-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/434448/cmap_HighResolution_528336001_528595201_4FGL_J0113.1-3553_daily_bin1115.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.06e-03', job_status='DONE', photon_flux_upper_limit='3.95e-08', time_completed='2021-08-13 17:17:32.032929', job_id='434448', GAL2='0.79', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1628900252.03', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='9.50e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1115' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:17:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 434448: <4FGL_J0113.1-3553_daily_bin1115> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin1115> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Aug 13 17:05:33 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 17:06:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 17:06:24 2021
Terminated at Fri Aug 13 17:17:33 2021
Results reported at Fri Aug 13 17:17:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin1115 18.2893 -35.894 528336001 528595201 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 :                                   530.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   39 MB
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            720 sec.

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

