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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin1406
RA = 18.2893, Dec = -35.894
tmin = 603763201, tmax = 604022401
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='436881', job_status='RUN', time_executed='2021-08-13 17:15:26.470481', time_epoch_executed='1628900126.47' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='1406'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436881

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436881/ft1_4FGL_J0113.1-3553_daily_bin1406.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436881/ft2_4FGL_J0113.1-3553_daily_bin1406.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436881/ft1_4FGL_J0113.1-3553_daily_bin1406.fits outfile=/scratch/kocevski/436881/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin1406.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=603763201.0 tmax=604022401.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 6.89
user 3.96
sys 2.86

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/436881/ft1_filtered_4FGL_J0113.1-3553_daily_bin1406.fits" evtable="EVENTS" scfile=/scratch/kocevski/436881/ft2_4FGL_J0113.1-3553_daily_bin1406.fits sctable="SC_DATA" outfile=/scratch/kocevski/436881/ltcube_603763201_604022401_4FGL_J0113.1-3553_daily_bin1406.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/436881/ft2_4FGL_J0113.1-3553_daily_bin1406.fits
.....................!
real 16.40
user 13.02
sys 3.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436881/ft1_filtered_4FGL_J0113.1-3553_daily_bin1406.fits evtable="EVENTS" scfile=/scratch/kocevski/436881/ft2_4FGL_J0113.1-3553_daily_bin1406.fits sctable="SC_DATA" expcube=/scratch/kocevski/436881/ltcube_603763201_604022401_4FGL_J0113.1-3553_daily_bin1406.fits outfile=/scratch/kocevski/436881/expmap_603763201_604022401_4FGL_J0113.1-3553_daily_bin1406.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/436881/ltcube_603763201_604022401_4FGL_J0113.1-3553_daily_bin1406.fits
.....................!
real 195.03
user 185.35
sys 8.77

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/436881/ft1_filtered_4FGL_J0113.1-3553_daily_bin1406.fits scfile=/scratch/kocevski/436881/ft2_4FGL_J0113.1-3553_daily_bin1406.fits outfile=/scratch/kocevski/436881/cmap_603763201_604022401_4FGL_J0113.1-3553_daily_bin1406.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 3.16
user 0.36
sys 2.73

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436881/ft1_filtered_4FGL_J0113.1-3553_daily_bin1406.fits scfile=/scratch/kocevski/436881/ft2_4FGL_J0113.1-3553_daily_bin1406.fits outfile=/scratch/kocevski/436881/cmap_HighResolution_603763201_604022401_4FGL_J0113.1-3553_daily_bin1406.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 3.10
user 0.38
sys 2.69

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/436881/ft1_filtered_4FGL_J0113.1-3553_daily_bin1406.fits evtable="EVENTS" scfile=/scratch/kocevski/436881/ft2_4FGL_J0113.1-3553_daily_bin1406.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436881/Model_4FGL_J0113.1-3553_daily_bin1406.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/436881/ft1_filtered_4FGL_J0113.1-3553_daily_bin1406.fits.....................!
real 41.96
user 37.00
sys 4.63

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9718       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.359       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.7992       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .19893E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.0048       1.0000         .10000E-03   10000.    
    12 'Prefactor '    31.572       1.0000         .10000E-03   10000.    
    13 'Prefactor '    55.525       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.6207       1.0000         .10000E-03   10000.    
    15 'norm      '    .92112E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2296       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0062       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=   4298.807     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1759 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.070        .98681E-06** at limit **
   2  Prefactor     3.9719        4.1026       -.80399E-07   -.94656E-05
   3  Prefactor     .10000E-03    41.207       -.29708E-05** at limit **
   4  Prefactor     .10000E-03    5.4141       -.37450E-07** at limit **
   5  norm          .10000E-03    24.938       -.75986E-05** at limit **
   6  norm          .10000E-03    2.2215       -.13559E-06** at limit **
   7  Prefactor     10.357        14.237        .15085E-05   -.17450E-04
   8  Prefactor     .10000E-03    11.734       -.64781E-06** at limit **
   9  Prefactor     9.7928        22.672       -.58001E-05   -.31041E-04
  10  Prefactor     .10021E-03    2.4517        .96327E-06** at limit **
  11  norm          2.0038        2.5851        .28737E-06   -.95783E-04
  12  Prefactor     31.572        22.238       -.17458E-06    .93943E-05
  13  Prefactor     55.517        39.937       -.71812E-05   -.40024E-04
  14  Prefactor     2.6231        5.6308        .41676E-06   -.43779E-03
  15  norm          .10203        2.2634       -.22640E-06   -.10588E-03
  16  Prefactor     .10000E-03    5.0225       -.76855E-07** at limit **
  17  Normalizat    1.2295        .21199        .16351E-05   -.14465E-03
  18  Prefactor     1.0063        .23436       -.41547E-06   -.17954E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.97195
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 10.3571
  Prefactor  = 0.0001
  Prefactor  = 9.79284
  Prefactor  = 0.000100214
  norm       = 2.00381
  Prefactor  = 31.5716
  Prefactor  = 55.5172
  Prefactor  = 2.62312
  norm       = 0.102033
  Prefactor  = 0.0001
  Normalizat = 1.22947
  Prefactor  = 1.00627
 **********
 **   18 **HESSE 
 **********

 FCN=   4298.807     FROM HESSE     STATUS=OK           248 CALLS     2007 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.9719        4.0985        .13118E-03   -1.5309    
   3  Prefactor     .10000E-03    41.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.4508        .14897E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    25.005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.2483        .95421E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.357        14.192        .12449E-03   -1.5064    
   8  Prefactor     .10000E-03    11.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.7928        22.654        .12801E-03   -1.5082    
  10  Prefactor     .10021E-03    28.164        .19443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.0038        2.5618        .11278E-03   -1.5425    
  12  Prefactor     31.572        22.215        .71311E-04   -1.4584    
  13  Prefactor     55.517        39.442        .53832E-04   -1.4216    
  14  Prefactor     2.6231        5.5948        .20942E-03   -1.5384    
  15  norm          .10203        26.745        .18969E-02   -1.5644    
  16  Prefactor     .10000E-03    5.0264        .14351E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2295        .25840        .22728E-03   -.85697    
  18  Prefactor     1.0063        .28499        .28363E-03   -.92521    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.49971e-09
Minuit parameter uncertainties:
  1  1.30353e-06
  2  4.09874
  3  2.12104e-05
  4  7.00369e-06
  5  6.85636e-06
  6  3.06602e-06
  7  14.1964
  8  8.84328e-07
  9  22.6737
  10  0.00490717
  11  2.5619
  12  22.2212
  13  39.4604
  14  5.59588
  15  3.30376
  16  3.0226e-06
  17  0.258666
  18  0.28542
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.002e-04  4.907e-03  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.006e+00  2.854e-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.229e+00  2.587e-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: 9.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/436881/likelihoodResults_603763201_604022401_4FGL_J0113.1-3553_daily_bin1406.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) = 4298.80682491
delta logL = -0.000169138173987

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4298.69142698
delta logL = 0.115228794461

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4501       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4924       1.0000          .0000       10.000    
     3 'Normalizat'    1.2348       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99236       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=   4298.691     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      422 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4501        3.9847        .89447E-02    .15590E-02
   2  Index         1.4924        .71335        .29896       -.10599E-03
   3  Normalizat    1.2348        .20739        .51302E-01    .14977E-04
   4  Prefactor     .99236        .23881        .46172E-01    .71775E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.45013
  Index      = 1.49241
  Normalizat = 1.23484
  Prefactor  = 0.99236
 **********
 **   18 **HESSE 
 **********

 FCN=   4298.691     FROM HESSE     STATUS=OK            33 CALLS      455 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4501        3.5614        .17993E-03   -1.5467    
   2  Index         1.4924        .93902        .11032E-01   -.77752    
   3  Normalizat    1.2348        .24681        .22682E-03   -.85533    
   4  Prefactor     .99236        .28377        .28511E-03   -.92985    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.30737e-10
Minuit parameter uncertainties:
  1  3.56187
  2  0.950242
  3  0.247046
  4  0.284201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436881': 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) = 4298.69142697
delta logL = 0.115228805909

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.450e+00  3.562e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  1.492e+00  9.502e-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:  9.924e-01  2.842e-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.235e+00  2.470e-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/436881/cmap_HighResolution_603763201_604022401_4FGL_J0113.1-3553_daily_bin1406.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.03e-03', job_status='DONE', photon_flux_upper_limit='9.10e-08', time_completed='2021-08-13 17:24:56.082336', job_id='436881', GAL2='0.99', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1628900696.08', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.15e-01', ts2='0.23', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1406' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:24:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 436881: <4FGL_J0113.1-3553_daily_bin1406> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin1406> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Aug 13 17:10:27 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 17:11:37 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:11:37 2021
Terminated at Fri Aug 13 17:24:57 2021
Results reported at Fri Aug 13 17:24:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin1406 18.2893 -35.894 603763201 604022401 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 :                                   591.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            870 sec.

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

