aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 29 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 = 7444
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0226.3-1845_daily_bin1696
RA = 36.5838, Dec = -18.763
tmin = 678931201, tmax = 679190401
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='785163', job_status='RUN', time_executed='2022-07-11 00:05:41.871689', time_epoch_executed='1657523141.87' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785163

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785163/ft1_4FGL_J0226.3-1845_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785163/ft2_4FGL_J0226.3-1845_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785163/ft1_4FGL_J0226.3-1845_daily_bin1696.fits outfile=/scratch/kocevski/785163/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin1696.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=678931201.0 tmax=679190401.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 5.75
user 3.36
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/785163/ft2_4FGL_J0226.3-1845_daily_bin1696.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/785163/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin1696.fits evtable="EVENTS" outfile="/scratch/kocevski/785163/ft1_filtered_4FGL_J0226.3-1845_daily_bin1696.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 2.15
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 576

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/785163/ft1_filtered_4FGL_J0226.3-1845_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/785163/ft2_4FGL_J0226.3-1845_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/785163/ltcube_678931201_679190401_4FGL_J0226.3-1845_daily_bin1696.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/785163/ft2_4FGL_J0226.3-1845_daily_bin1696.fits
.....................!
real 14.33
user 11.48
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785163/ft1_filtered_4FGL_J0226.3-1845_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/785163/ft2_4FGL_J0226.3-1845_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/785163/ltcube_678931201_679190401_4FGL_J0226.3-1845_daily_bin1696.fits outfile=/scratch/kocevski/785163/expmap_678931201_679190401_4FGL_J0226.3-1845_daily_bin1696.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/785163/ltcube_678931201_679190401_4FGL_J0226.3-1845_daily_bin1696.fits
.....................!
real 198.70
user 188.51
sys 4.30

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/785163/ft1_filtered_4FGL_J0226.3-1845_daily_bin1696.fits scfile=/scratch/kocevski/785163/ft2_4FGL_J0226.3-1845_daily_bin1696.fits outfile=/scratch/kocevski/785163/cmap_678931201_679190401_4FGL_J0226.3-1845_daily_bin1696.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 0.86
user 0.35
sys 0.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785163/ft1_filtered_4FGL_J0226.3-1845_daily_bin1696.fits scfile=/scratch/kocevski/785163/ft2_4FGL_J0226.3-1845_daily_bin1696.fits outfile=/scratch/kocevski/785163/cmap_HighResolution_678931201_679190401_4FGL_J0226.3-1845_daily_bin1696.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 0.93
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/785163/ft1_filtered_4FGL_J0226.3-1845_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/785163/ft2_4FGL_J0226.3-1845_daily_bin1696.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/785163/Model_4FGL_J0226.3-1845_daily_bin1696.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/785163/ft1_filtered_4FGL_J0226.3-1845_daily_bin1696.fits.....................!
real 76.97
user 58.55
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/785163/ft1_filtered_4FGL_J0226.3-1845_daily_bin1696.fits', '/scratch/kocevski/785163/ft2_4FGL_J0226.3-1845_daily_bin1696.fits', expMap='/scratch/kocevski/785163/expmap_678931201_679190401_4FGL_J0226.3-1845_daily_bin1696.fits', expCube='/scratch/kocevski/785163/ltcube_678931201_679190401_4FGL_J0226.3-1845_daily_bin1696.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/785163/Model_4FGL_J0226.3-1845_daily_bin1696.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/785163/ft1_filtered_4FGL_J0226.3-1845_daily_bin1696.fits
Spacecraft file(s): /scratch/kocevski/785163/ft2_4FGL_J0226.3-1845_daily_bin1696.fits
Exposure map: /scratch/kocevski/785163/expmap_678931201_679190401_4FGL_J0226.3-1845_daily_bin1696.fits
Exposure cube: /scratch/kocevski/785163/ltcube_678931201_679190401_4FGL_J0226.3-1845_daily_bin1696.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/785163/Model_4FGL_J0226.3-1845_daily_bin1696.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) = 6342.18287127

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    5.5970       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .72496E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.497       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .60043       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5072       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    38.842       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    70.841       1.0000         .10000E-03   10000.    
    12 'Prefactor '    236.75       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .69927       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10742E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    37.613       1.0000         .10000E-03   10000.    
    19 'norm      '    .36761       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .47267E-02   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97546       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91727       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=   6342.168     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2481 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.308        .28750E-05** at limit **
   2  norm          5.5972        2.3207        .18315E-07   -.41060E-04
   3  Prefactor     .10008E-03    1.6178       -.35161E-06** at limit **
   4  Prefactor     13.500        10.537        .47196E-07    .55628E-04
   5  Prefactor     .10000E-03    4.4717        .64014E-07** at limit **
   6  Prefactor     .61343        2.9315       -.62483E-06   -.24514E-03
   7  Prefactor     6.5063        7.0360       -.28059E-05   -.96114E-04
   8  Prefactor     .10000E-03    6.3056        .37223E-07** at limit **
   9  norm          38.855        43.134        .16051E-04    .18352E-04
  10  Prefactor     .10000E-03    1.9403       -.34948E-07** at limit **
  11  Prefactor     70.844        45.904        .84122E-05    .39098E-04
  12  Prefactor     236.76        75.150        .10754E-04    .11612E-04
  13  Prefactor     .10000E-03    17.769       -.66830E-05** at limit **
  14  Prefactor     .10000E-03    16.851        .81541E-05** at limit **
  15  norm          .69975        1.3843       -.23691E-06   -.14042E-02
  16  Prefactor     .10000E-03    13.063       -.39126E-05** at limit **
  17  Prefactor     .10000E-03    52.705       -.10931E-06** at limit **
  18  Prefactor     37.611        25.215        .13371E-04    .63263E-04
  19  norm          .36753        1.2752       -.12135E-05   -.17237E-02
  20  Prefactor     .21293        6.0548       -.78830E-07   -.11046E-03
  21  Normalizat    .97608        .16008       -.36665E-05    .53657E-03
  22  Prefactor     .91629        .16137        .25963E-06    .13152E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.5972
  Prefactor  = 0.000100083
  Prefactor  = 13.4999
  Prefactor  = 0.0001
  Prefactor  = 0.613426
  Prefactor  = 6.50629
  Prefactor  = 0.0001
  norm       = 38.8545
  Prefactor  = 0.0001
  Prefactor  = 70.8443
  Prefactor  = 236.762
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.699755
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 37.6109
  norm       = 0.367529
  Prefactor  = 0.212932
  Normalizat = 0.97608
  Prefactor  = 0.916295
 **********
 **   18 **HESSE 
 **********

 FCN=   6342.168     FROM HESSE     STATUS=OK           352 CALLS     2833 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.5972        2.3247        .73786E-04   -1.5235    
   3  Prefactor     .10008E-03    13.700        .19453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.500        10.504        .10903E-03   -1.4973    
   5  Prefactor     .10000E-03    4.4824        .16446E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61343        10.635        .24845E-02   -1.5551    
   7  Prefactor     6.5063        7.0320        .15733E-03   -1.5198    
   8  Prefactor     .10000E-03    6.3098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          38.855        42.987        .64312E-04   -1.4460    
  10  Prefactor     .10000E-03    1.9474        .10829E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     70.844        45.825        .47695E-04   -1.4023    
  12  Prefactor     236.76        74.965        .13155E-03   -1.2618    
  13  Prefactor     .10000E-03    17.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .69975        1.2450        .12367E-02   -1.5541    
  16  Prefactor     .10000E-03    13.469        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    52.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     37.611        25.168        .65350E-04   -1.4481    
  19  norm          .36753        1.4372        .16160E-02   -1.5587    
  20  Prefactor     .21293        62.686        .37978E-02   -1.5616    
  21  Normalizat    .97608        .18343        .22746E-03   -.93836    
  22  Prefactor     .91629        .18848        .25003E-03   -.95574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.63466e-09
Minuit parameter uncertainties:
  1  7.62248e-06
  2  2.32474
  3  0.00213396
  4  10.5052
  5  1.0357e-05
  6  5.10894
  7  7.03284
  8  5.91869e-06
  9  43.0217
  10  5.01186e-07
  11  45.8477
  12  74.9953
  13  3.24086e-05
  14  0.000221579
  15  1.24508
  16  0.000189628
  17  0.000119878
  18  25.1746
  19  1.43732
  20  7.31296
  21  0.183552
  22  0.188615
Done.

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

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  7.084e+01  4.585e+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:  9.163e-01  1.886e-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:  9.761e-01  1.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.08
Ra Dec: 36.584 -18.763
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 6.40e-08 +/- 4.14e-08
Energy Flux (Fixed Index): 1.72e-05 +/- 1.12e-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) = 6341.99039376
delta logL = 0.177959486125

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6341.97881065
delta logL = 0.189542594838

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    49.349       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9956       1.0000          .0000       10.000    
     3 'Normalizat'    .95493       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93236       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=   6341.979     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      287 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     49.314        56.543        .57084E-04   -.14140E-04
   2  Index         2.9962        .85423        .57635E-02    .21124E-04
   3  Normalizat    .95485        .17956        .22958E-03    .29308E-03
   4  Prefactor     .93294        .18919        .24806E-03   -.19427E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 49.3136
  Index      = 2.99623
  Normalizat = 0.954851
  Prefactor  = 0.932939
 **********
 **   18 **HESSE 
 **********

 FCN=   6341.979     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     49.314        50.105        .22834E-05   -1.4302    
   2  Index         2.9962        .75667        .23054E-03   -.41234    
   3  Normalizat    .95485        .17917        .45917E-04   -.94559    
   4  Prefactor     .93294        .18879        .99226E-05   -.94999    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.65478e-10
Minuit parameter uncertainties:
  1  50.1474
  2  0.760151
  3  0.179285
  4  0.188921
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785163': 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) = 6341.97879549
delta logL = 0.189557758457

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  4.931e+01  5.015e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.996e+00  7.602e-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:  9.329e-01  1.889e-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:  9.549e-01  1.793e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.52
Ra Dec: 36.584 -18.763
Photon Index (Free Index): 3.00 +/- 0.76
Photon Flux (Free Index): 7.95e-08 +/- 5.01e-08
Energy Flux (Free Index): 1.59e-05 +/- 9.44e-06

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/785163/cmap_HighResolution_678931201_679190401_4FGL_J0226.3-1845_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.40e-08', energy_flux2='1.59e-05', photon_flux_error='4.14e-08', dlogl='1.90e-01', energy_flux='1.72e-05', photon_flux2='7.95e-08', job_status='DONE', time_completed='2022-07-11 00:16:41.597597', photon_index_error2='0.76', photon_index2='3.00', ts='4.08', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='9.44e-06', EG='0.98', time_epoch_completed='1657523801.6', return_code='0', job_id='785163', GAL2='0.93', EG2='0.95', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='5.01e-08', ts2='4.52', photon_index='2.57' WHERE bin_id='1696' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:16:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 785163: <4FGL_J0226.3-1845_daily_bin1696> in cluster <slac> Done

Job <4FGL_J0226.3-1845_daily_bin1696> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Jul 11 00:04:54 2022
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:04:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:04:55 2022
Terminated at Mon Jul 11 00:16:42 2022
Results reported at Mon Jul 11 00:16:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin1696 36.5838 -18.763 678931201 679190401 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 :                                   593.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             355.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   706 sec.
    Turnaround time :                            708 sec.

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

