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


Performing analysis on: 4FGL_J0226.3-1845_daily_bin1373
RA = 36.5838, Dec = -18.763
tmin = 595209601, tmax = 595468801
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='393179', job_status='RUN', time_executed='2021-08-15 22:06:54.451309', time_epoch_executed='1629090414.45' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='1373'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/393179

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/393179/ft1_4FGL_J0226.3-1845_daily_bin1373.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/393179/ft2_4FGL_J0226.3-1845_daily_bin1373.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/393179/ft1_4FGL_J0226.3-1845_daily_bin1373.fits outfile=/scratch/kocevski/393179/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin1373.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=595209601.0 tmax=595468801.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.35
user 2.64
sys 3.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/393179/ft1_filtered_4FGL_J0226.3-1845_daily_bin1373.fits" evtable="EVENTS" scfile=/scratch/kocevski/393179/ft2_4FGL_J0226.3-1845_daily_bin1373.fits sctable="SC_DATA" outfile=/scratch/kocevski/393179/ltcube_595209601_595468801_4FGL_J0226.3-1845_daily_bin1373.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/393179/ft2_4FGL_J0226.3-1845_daily_bin1373.fits
.....................!
real 19.35
user 14.99
sys 3.89

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/393179/ft1_filtered_4FGL_J0226.3-1845_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/393179/ft2_4FGL_J0226.3-1845_daily_bin1373.fits sctable="SC_DATA" expcube=/scratch/kocevski/393179/ltcube_595209601_595468801_4FGL_J0226.3-1845_daily_bin1373.fits outfile=/scratch/kocevski/393179/expmap_595209601_595468801_4FGL_J0226.3-1845_daily_bin1373.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/393179/ltcube_595209601_595468801_4FGL_J0226.3-1845_daily_bin1373.fits
.....................!
real 199.11
user 186.49
sys 9.82

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/393179/ft1_filtered_4FGL_J0226.3-1845_daily_bin1373.fits scfile=/scratch/kocevski/393179/ft2_4FGL_J0226.3-1845_daily_bin1373.fits outfile=/scratch/kocevski/393179/cmap_595209601_595468801_4FGL_J0226.3-1845_daily_bin1373.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 3.47
user 0.36
sys 2.94

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/393179/ft1_filtered_4FGL_J0226.3-1845_daily_bin1373.fits scfile=/scratch/kocevski/393179/ft2_4FGL_J0226.3-1845_daily_bin1373.fits outfile=/scratch/kocevski/393179/cmap_HighResolution_595209601_595468801_4FGL_J0226.3-1845_daily_bin1373.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 3.73
user 0.39
sys 3.29

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/393179/ft1_filtered_4FGL_J0226.3-1845_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/393179/ft2_4FGL_J0226.3-1845_daily_bin1373.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/393179/Model_4FGL_J0226.3-1845_daily_bin1373.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/393179/ft1_filtered_4FGL_J0226.3-1845_daily_bin1373.fits.....................!
real 36.70
user 30.35
sys 5.37

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    7.8511       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.942       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.2239       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.495       1.0000         .10000E-03   10000.    
    11 'Prefactor '    96.915       1.0000         .10000E-03   10000.    
    12 'Prefactor '    109.64       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10419E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    77.974       1.0000         .10000E-03   10000.    
    15 'norm      '    5.5301       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    12.314       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .60967       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1066       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=   2639.607     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2338 TOTAL
                     EDM=   .46E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.905        .12877E-04** at limit **
   2  norm          7.8512        5.2871       -.76304E-07   -.90196E-04
   3  Prefactor     .10000E-03    2.7056       -.75440E-08** at limit **
   4  Prefactor     24.943        25.355       -.20787E-05   -.13400E-04
   5  Prefactor     .10000E-03    12.397        .35498E-05** at limit **
   6  Prefactor     6.2244        11.911       -.11139E-06   -.74692E-04
   7  Prefactor     .10000E-03    7.4001        .18417E-07** at limit **
   8  Prefactor     .10000E-03    46.287        .86371E-05** at limit **
   9  norm          .10000E-03    45.648        .16006E-05** at limit **
  10  Prefactor     19.497        11.917        .10028E-07    .11908E-03
  11  Prefactor     96.909        89.304       -.44597E-05    .42171E-05
  12  Prefactor     109.63        88.852       -.80351E-05    .18728E-04
  13  Prefactor     .10000E-03    38.592       -.22004E-04** at limit **
  14  Prefactor     77.967        57.078       -.30639E-05    .63295E-04
  15  norm          5.5300        3.9326       -.18390E-06    .12337E-04
  16  Prefactor     .10000E-03    8.2909        .20506E-09** at limit **
  17  Prefactor     .10000E-03    327.75       -.66823E-05** at limit **
  18  Prefactor     .10000E-03    12.073       -.27506E-05** at limit **
  19  norm          12.314        6.6744        .20898E-06    .12022E-04
  20  Prefactor     .10000E-03    14.127       -.99068E-06** at limit **
  21  Normalizat    .60962        .30030        .45741E-05    .56964E-05
  22  Prefactor     1.1066        .28291       -.38245E-06    .79104E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 7.85121
  Prefactor  = 0.0001
  Prefactor  = 24.9431
  Prefactor  = 0.0001
  Prefactor  = 6.22435
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.4969
  Prefactor  = 96.909
  Prefactor  = 109.63
  Prefactor  = 0.0001
  Prefactor  = 77.9668
  norm       = 5.52996
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.3144
  Prefactor  = 0.0001
  Normalizat = 0.609623
  Prefactor  = 1.10663
 **********
 **   18 **HESSE 
 **********

 FCN=   2639.607     FROM HESSE     STATUS=OK           334 CALLS     2672 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.8512        5.2948        .89283E-04   -1.5147    
   3  Prefactor     .10000E-03    2.7082        .82537E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.943        25.357        .80210E-04   -1.4709    
   5  Prefactor     .10000E-03    12.400        .17671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.2244        11.829        .16091E-03   -1.5209    
   7  Prefactor     .10000E-03    7.4062        .13649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    46.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    45.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.497        11.932        .90712E-04   -1.4825    
  11  Prefactor     96.909        89.244        .40831E-04   -1.3736    
  12  Prefactor     109.63        88.930        .38412E-04   -1.3610    
  13  Prefactor     .10000E-03    38.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     77.967        57.049        .45477E-04   -1.3940    
  15  norm          5.5300        3.9290        .79004E-04   -1.5238    
  16  Prefactor     .10000E-03    8.3001        .14450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    328.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.079        .17436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          12.314        6.6705        .91739E-04   -1.5006    
  20  Prefactor     .10000E-03    14.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .60962        .35022        .31206E-03   -1.0758    
  22  Prefactor     1.1066        .33231        .25063E-03   -.89255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09828e-10
Minuit parameter uncertainties:
  1  7.58001e-06
  2  5.29516
  3  1.52156e-06
  4  25.368
  5  5.06332e-06
  6  11.8333
  7  4.22768e-06
  8  4.10883e-05
  9  2.81904e-05
  10  11.9332
  11  89.3684
  12  89.0381
  13  9.61127e-05
  14  57.0887
  15  3.92917
  16  4.60398e-06
  17  0.000269442
  18  6.91234e-06
  19  6.67088
  20  5.09353e-06
  21  0.351505
  22  0.332931
Done.

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

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  9.691e+01  8.937e+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:  1.107e+00  3.329e-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:  6.096e-01  3.515e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.94
Ra Dec: 36.584 -18.763
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 8.76e-08 +/- 8.07e-08
Energy Flux (Fixed Index): 2.36e-05 +/- 2.17e-05

TS (Fixed Index): 1.94
Ra Dec: 36.584 -18.763
Photon Flux Upper Limit: 2.65e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.07e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/393179/likelihoodResults_595209601_595468801_4FGL_J0226.3-1845_daily_bin1373.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): 0
logL (Free Index) = 2639.60186643
delta logL = 0.00472939826477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2639.6001973
delta logL = 0.00639853170696

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    101.46       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4658       1.0000          .0000       10.000    
     3 'Normalizat'    .61864       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0999       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=   2639.600     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      275 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     101.46        99.716        .39916E-04   -.95955E-04
   2  Index         2.4659        .93100        .81157E-02   -.65104E-04
   3  Normalizat    .61837        .31928        .31000E-03    .34106E-04
   4  Prefactor     1.1002        .33205        .25125E-03    .64506E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 101.458
  Index      = 2.46589
  Normalizat = 0.618372
  Prefactor  = 1.10016
 **********
 **   18 **HESSE 
 **********

 FCN=   2639.600     FROM HESSE     STATUS=OK            23 CALLS      298 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     101.46        98.163        .79831E-05   -1.3690    
   2  Index         2.4659        .91497        .32463E-03   -.53149    
   3  Normalizat    .61837        .31908        .12400E-04   -1.0721    
   4  Prefactor     1.1002        .33192        .50250E-04   -.89461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35121e-10
Minuit parameter uncertainties:
  1  98.3208
  2  0.921988
  3  0.320038
  4  0.332544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/393179': 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) = 2639.60019695
delta logL = 0.00639887673105

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.015e+02  9.832e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.466e+00  9.220e-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:  1.100e+00  3.325e-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:  6.184e-01  3.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.93
Ra Dec: 36.584 -18.763
Photon Index (Free Index): 2.47 +/- 0.92
Photon Flux (Free Index): 8.01e-08 +/- 9.91e-08
Energy Flux (Free Index): 2.42e-05 +/- 2.30e-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/393179/cmap_HighResolution_595209601_595468801_4FGL_J0226.3-1845_daily_bin1373.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.07e-02', comment='SUCCESS', photon_flux='8.76e-08', energy_flux2='2.42e-05', photon_flux_error='8.07e-08', dlogl='6.40e-03', energy_flux='2.36e-05', photon_flux2='8.01e-08', job_status='DONE', time_completed='2021-08-15 22:15:24.993989', photon_index_error2='0.92', photon_index2='2.47', ts='1.94', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='2.65e-07', energy_flux_error2='2.30e-05', EG='0.61', time_epoch_completed='1629090924.99', return_code='0', job_id='393179', GAL2='1.10', EG2='0.62', return_code2='0', energy_flux_error='2.17e-05', photon_flux_error2='9.91e-08', ts2='1.93', photon_index='2.57' WHERE bin_id='1373' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 22:15:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 393179: <4FGL_J0226.3-1845_daily_bin1373> in cluster <slac> Done

Job <4FGL_J0226.3-1845_daily_bin1373> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Aug 15 22:01:01 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 22:02:11 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 22:02:11 2021
Terminated at Sun Aug 15 22:15:25 2021
Results reported at Sun Aug 15 22:15:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin1373 36.5838 -18.763 595209601 595468801 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 :                                   546.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             209.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            864 sec.

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

