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


Performing analysis on: 4FGL_J0226.3-1845_daily_bin245
RA = 36.5838, Dec = -18.763
tmin = 302832001, tmax = 303091201
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='388395', job_status='RUN', time_executed='2021-08-15 21:50:08.898087', time_epoch_executed='1629089408.9' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='245'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/388395

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/388395/ft1_4FGL_J0226.3-1845_daily_bin245.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/388395/ft2_4FGL_J0226.3-1845_daily_bin245.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/388395/ft1_4FGL_J0226.3-1845_daily_bin245.fits outfile=/scratch/kocevski/388395/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin245.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=302832001.0 tmax=303091201.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 11.85
user 3.28
sys 8.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/388395/ft2_4FGL_J0226.3-1845_daily_bin245.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/388395/ft2_4FGL_J0226.3-1845_daily_bin245.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/388395/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin245.fits evtable="EVENTS" outfile="/scratch/kocevski/388395/ft1_filtered_4FGL_J0226.3-1845_daily_bin245.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 8.94
user 0.34
sys 8.40

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/388395/ft1_filtered_4FGL_J0226.3-1845_daily_bin245.fits" evtable="EVENTS" scfile=/scratch/kocevski/388395/ft2_4FGL_J0226.3-1845_daily_bin245.fits sctable="SC_DATA" outfile=/scratch/kocevski/388395/ltcube_302832001_303091201_4FGL_J0226.3-1845_daily_bin245.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/388395/ft2_4FGL_J0226.3-1845_daily_bin245.fits
.....................!
real 24.33
user 14.40
sys 9.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/388395/ft1_filtered_4FGL_J0226.3-1845_daily_bin245.fits evtable="EVENTS" scfile=/scratch/kocevski/388395/ft2_4FGL_J0226.3-1845_daily_bin245.fits sctable="SC_DATA" expcube=/scratch/kocevski/388395/ltcube_302832001_303091201_4FGL_J0226.3-1845_daily_bin245.fits outfile=/scratch/kocevski/388395/expmap_302832001_303091201_4FGL_J0226.3-1845_daily_bin245.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/388395/ltcube_302832001_303091201_4FGL_J0226.3-1845_daily_bin245.fits
.....................!
real 202.65
user 186.08
sys 15.24

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J0226.3-1845 @ 36.5838 -18.763

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/388395/ft1_filtered_4FGL_J0226.3-1845_daily_bin245.fits scfile=/scratch/kocevski/388395/ft2_4FGL_J0226.3-1845_daily_bin245.fits outfile=/scratch/kocevski/388395/cmap_302832001_303091201_4FGL_J0226.3-1845_daily_bin245.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=36.5838 yref=-18.763 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 8.70
user 0.36
sys 8.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/388395/ft1_filtered_4FGL_J0226.3-1845_daily_bin245.fits scfile=/scratch/kocevski/388395/ft2_4FGL_J0226.3-1845_daily_bin245.fits outfile=/scratch/kocevski/388395/cmap_HighResolution_302832001_303091201_4FGL_J0226.3-1845_daily_bin245.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=36.5838 yref=-18.763 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 8.48
user 0.38
sys 8.04

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/388395/ft1_filtered_4FGL_J0226.3-1845_daily_bin245.fits evtable="EVENTS" scfile=/scratch/kocevski/388395/ft2_4FGL_J0226.3-1845_daily_bin245.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/388395/Model_4FGL_J0226.3-1845_daily_bin245.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/388395/ft1_filtered_4FGL_J0226.3-1845_daily_bin245.fits.....................!
real 57.12
user 44.72
sys 12.00

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/388395/ft1_filtered_4FGL_J0226.3-1845_daily_bin245.fits', '/scratch/kocevski/388395/ft2_4FGL_J0226.3-1845_daily_bin245.fits', expMap='/scratch/kocevski/388395/expmap_302832001_303091201_4FGL_J0226.3-1845_daily_bin245.fits', expCube='/scratch/kocevski/388395/ltcube_302832001_303091201_4FGL_J0226.3-1845_daily_bin245.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/388395/Model_4FGL_J0226.3-1845_daily_bin245.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0226.3-1845'

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  6.797e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.572e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/388395/ft1_filtered_4FGL_J0226.3-1845_daily_bin245.fits
Spacecraft file(s): /scratch/kocevski/388395/ft2_4FGL_J0226.3-1845_daily_bin245.fits
Exposure map: /scratch/kocevski/388395/expmap_302832001_303091201_4FGL_J0226.3-1845_daily_bin245.fits
Exposure cube: /scratch/kocevski/388395/ltcube_302832001_303091201_4FGL_J0226.3-1845_daily_bin245.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/388395/Model_4FGL_J0226.3-1845_daily_bin245.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) = 4235.417956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.992       1.0000         .10000E-03   10000.    
     2 'norm      '    2.6302       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.397       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.7870       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.938       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.9957       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10687E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.833       1.0000         .10000E-03   10000.    
     9 'norm      '    1.8315       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.7615       1.0000         .10000E-03   10000.    
    11 'Prefactor '    116.01       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.9333       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.5739       1.0000         .10000E-03   10000.    
    17 'Prefactor '    180.65       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    10.129       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .40835E-02   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1281       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .52099       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4235.406     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2375 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.993        39.614        .10992E-05   -.70013E-05
   2  norm          2.6303        2.6668        .41856E-06   -.20943E-03
   3  Prefactor     11.398        6.5307        .55486E-06   -.16140E-03
   4  Prefactor     2.7870        7.7587       -.58149E-08    .31725E-04
   5  Prefactor     17.939        15.973        .57266E-06   -.53001E-04
   6  Prefactor     10.001        8.1764        .42854E-06   -.46634E-04
   7  Prefactor     .10000E-03    4.6563        .33919E-06** at limit **
   8  Prefactor     15.835        24.305        .16251E-05   -.43116E-04
   9  norm          1.9457        171.15        .11652E-04   -.49646E-04
  10  Prefactor     1.7615        6.6619        .96154E-07    .22143E-03
  11  Prefactor     116.00        68.336        .29772E-05   -.24509E-03
  12  Prefactor     .10000E-03    22.851       -.60664E-07** at limit **
  13  Prefactor     .10000E-03    8.8418        .67029E-07** at limit **
  14  Prefactor     .10000E-03    16.346        .90357E-07** at limit **
  15  norm          1.9339        2.1070        .44795E-06    .63692E-04
  16  Prefactor     9.5726        11.782       -.53346E-06   -.47928E-04
  17  Prefactor     180.19        110.64       -.31483E-05   -.18384E-04
  18  Prefactor     .10000E-03    5.7990        .28562E-07** at limit **
  19  norm          10.129        4.3409        .14751E-06   -.10956E-03
  20  Prefactor     .10000E-03    50.347       -.37177E-04** at limit **
  21  Normalizat    1.1282        .20081       -.18859E-05   -.43530E-03
  22  Prefactor     .52082        .19649       -.65099E-05   -.23875E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.993
  norm       = 2.63028
  Prefactor  = 11.3979
  Prefactor  = 2.78703
  Prefactor  = 17.9391
  Prefactor  = 10.001
  Prefactor  = 0.000100001
  Prefactor  = 15.8351
  norm       = 1.94565
  Prefactor  = 1.76152
  Prefactor  = 115.999
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.93395
  Prefactor  = 9.57261
  Prefactor  = 180.186
  Prefactor  = 0.0001
  norm       = 10.129
  Prefactor  = 0.0001
  Normalizat = 1.12823
  Prefactor  = 0.520822
 **********
 **   18 **HESSE 
 **********

 FCN=   4235.406     FROM HESSE     STATUS=OK           350 CALLS     2725 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.993        39.634        .75722E-04   -1.4649    
   2  norm          2.6303        2.6574        .10047E-03   -1.5384    
   3  Prefactor     11.398        6.5355        .11742E-03   -1.5033    
   4  Prefactor     2.7870        7.7212        .24373E-03   -1.5374    
   5  Prefactor     17.939        15.968        .94565E-04   -1.4861    
   6  Prefactor     10.001        8.1824        .12674E-03   -1.5075    
   7  Prefactor     .10000E-03    4.6500        .13680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.835        24.306        .10066E-03   -1.4912    
   9  norm          1.9457        171.04        .30837E-03   -1.5429    
  10  Prefactor     1.7615        6.6097        .30292E-03   -1.5443    
  11  Prefactor     116.00        67.700        .18678E-03   -1.3550    
  12  Prefactor     .10000E-03    22.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.8438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.9339        2.0933        .93088E-04   -1.5430    
  16  Prefactor     9.5726        11.779        .12951E-03   -1.5089    
  17  Prefactor     180.19        110.83        .15017E-03   -1.3015    
  18  Prefactor     .10000E-03    5.7995        .15307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          10.129        4.3388        .85362E-04   -1.5071    
  20  Prefactor     .10000E-03    49.836        .42124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1282        .22741        .21580E-03   -.88851    
  22  Prefactor     .52082        .21828        .30778E-03   -1.1103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.97024e-10
Minuit parameter uncertainties:
  1  39.6716
  2  2.65748
  3  6.53596
  4  7.72393
  5  15.9719
  6  8.18329
  7  0.000104657
  8  24.3208
  9  36.592
  10  6.61248
  11  67.745
  12  9.79285e-05
  13  6.25262e-05
  14  0.000121935
  15  2.09341
  16  11.7814
  17  110.954
  18  1.6277e-05
  19  4.3389
  20  0.000315377
  21  0.227606
  22  0.218628
Done.

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

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.160e+02  6.775e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.572e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  5.208e-01  2.186e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  1.128e+00  2.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.15
Ra Dec: 36.584 -18.763
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 1.05e-07 +/- 6.11e-08
Energy Flux (Fixed Index): 2.82e-05 +/- 1.65e-05

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): 0
logL (Free Index) = 4235.34063646
delta logL = 0.0658157257349

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4235.33627423
delta logL = 0.0701779647543

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    96.709       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7989       1.0000          .0000       10.000    
     3 'Normalizat'    1.1114       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53457       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+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=   4235.336     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      290 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     96.746        83.231        .40874E-04    .33655E-04
   2  Index         2.7993        .67345        .51522E-02    .14488E-04
   3  Normalizat    1.1110        .22072        .21719E-03   -.47737E-04
   4  Prefactor     .53473        .21730        .30405E-03    .40794E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 96.7459
  Index      = 2.79934
  Normalizat = 1.11097
  Prefactor  = 0.534733
 **********
 **   18 **HESSE 
 **********

 FCN=   4235.336     FROM HESSE     STATUS=OK            25 CALLS      315 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     96.746        78.730        .81747E-05   -1.3738    
   2  Index         2.7993        .63653        .20609E-03   -.45575    
   3  Normalizat    1.1110        .22051        .86877E-05   -.89401    
   4  Prefactor     .53473        .21700        .12162E-04   -1.1041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.39762e-11
Minuit parameter uncertainties:
  1  78.8147
  2  0.638677
  3  0.220688
  4  0.21734
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/388395': 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) = 4235.33627103
delta logL = 0.0701811610861

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  9.675e+01  7.881e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.799e+00  6.387e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  5.347e-01  2.173e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  1.111e+00  2.207e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.25
Ra Dec: 36.584 -18.763
Photon Index (Free Index): 2.80 +/- 0.64
Photon Flux (Free Index): 1.18e-07 +/- 7.26e-08
Energy Flux (Free Index): 2.65e-05 +/- 1.51e-05

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/388395/cmap_HighResolution_302832001_303091201_4FGL_J0226.3-1845_daily_bin245.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.05e-07', energy_flux2='2.65e-05', photon_flux_error='6.11e-08', dlogl='7.02e-02', energy_flux='2.82e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2021-08-15 22:00:31.915016', photon_index_error2='0.64', photon_index2='2.80', ts='5.15', fit_tolerance='1e-08', GAL='0.52', photon_index_error='0.00', energy_flux_error2='1.51e-05', EG='1.13', time_epoch_completed='1629090031.92', return_code='0', job_id='388395', GAL2='0.53', EG2='1.11', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='7.26e-08', ts2='5.25', photon_index='2.57' WHERE bin_id='245' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 22:00:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 388395: <4FGL_J0226.3-1845_daily_bin245> in cluster <slac> Done

Job <4FGL_J0226.3-1845_daily_bin245> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 15 21:45:26 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:45:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 21:45:41 2021
Terminated at Sun Aug 15 22:00:34 2021
Results reported at Sun Aug 15 22:00:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin245 36.5838 -18.763 302832001 303091201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0226.3-1845 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   744.20 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             223.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            908 sec.

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

