/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 26 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 = 7436
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0226.3-1845_daily_bin235
RA = 36.5838, Dec = -18.763
tmin = 300240001, tmax = 300499201
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='388380', job_status='RUN', time_executed='2021-08-15 21:47:43.173140', time_epoch_executed='1629089263.17' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/388380

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/388380/ft1_4FGL_J0226.3-1845_daily_bin235.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/388380/ft2_4FGL_J0226.3-1845_daily_bin235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/388380/ft1_4FGL_J0226.3-1845_daily_bin235.fits outfile=/scratch/kocevski/388380/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin235.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=300240001.0 tmax=300499201.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 8.31
user 3.23
sys 5.02

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/388380/ft2_4FGL_J0226.3-1845_daily_bin235.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/388380/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin235.fits evtable="EVENTS" outfile="/scratch/kocevski/388380/ft1_filtered_4FGL_J0226.3-1845_daily_bin235.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 5.58
user 0.34
sys 5.21

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/388380/ft1_filtered_4FGL_J0226.3-1845_daily_bin235.fits" evtable="EVENTS" scfile=/scratch/kocevski/388380/ft2_4FGL_J0226.3-1845_daily_bin235.fits sctable="SC_DATA" outfile=/scratch/kocevski/388380/ltcube_300240001_300499201_4FGL_J0226.3-1845_daily_bin235.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/388380/ft2_4FGL_J0226.3-1845_daily_bin235.fits
.....................!
real 18.01
user 11.98
sys 5.98

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/388380/ft1_filtered_4FGL_J0226.3-1845_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/388380/ft2_4FGL_J0226.3-1845_daily_bin235.fits sctable="SC_DATA" expcube=/scratch/kocevski/388380/ltcube_300240001_300499201_4FGL_J0226.3-1845_daily_bin235.fits outfile=/scratch/kocevski/388380/expmap_300240001_300499201_4FGL_J0226.3-1845_daily_bin235.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/388380/ltcube_300240001_300499201_4FGL_J0226.3-1845_daily_bin235.fits
.....................!
real 199.59
user 187.84
sys 11.27

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/388380/ft1_filtered_4FGL_J0226.3-1845_daily_bin235.fits scfile=/scratch/kocevski/388380/ft2_4FGL_J0226.3-1845_daily_bin235.fits outfile=/scratch/kocevski/388380/cmap_300240001_300499201_4FGL_J0226.3-1845_daily_bin235.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 5.29
user 0.37
sys 4.89

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/388380/ft1_filtered_4FGL_J0226.3-1845_daily_bin235.fits scfile=/scratch/kocevski/388380/ft2_4FGL_J0226.3-1845_daily_bin235.fits outfile=/scratch/kocevski/388380/cmap_HighResolution_300240001_300499201_4FGL_J0226.3-1845_daily_bin235.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 5.52
user 0.41
sys 5.07

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/388380/ft1_filtered_4FGL_J0226.3-1845_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/388380/ft2_4FGL_J0226.3-1845_daily_bin235.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/388380/Model_4FGL_J0226.3-1845_daily_bin235.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/388380/ft1_filtered_4FGL_J0226.3-1845_daily_bin235.fits.....................!
real 62.34
user 54.29
sys 7.68

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    69.922       1.0000         .10000E-03   10000.    
     2 'norm      '    4.2861       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .97535       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4663       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    21.233       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2893       1.0000         .10000E-03   10000.    
    11 'Prefactor '    42.300       1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.068       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.9654       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16460E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.2405       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.7349       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2140       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .60021       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=   5808.671     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2412 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     69.914        42.752        .42154E-07   -.37343E-04
   2  norm          4.2857        2.2098        .21905E-06    .20144E-03
   3  Prefactor     .97602        3.3425        .35053E-06    .28603E-04
   4  Prefactor     .10000E-03    9.9554        .25425E-07** at limit **
   5  Prefactor     .10000E-03    3.9098        .11545E-07** at limit **
   6  Prefactor     .10000E-03    1.7910        .18700E-06** at limit **
   7  Prefactor     3.5042        15.464       -.96416E-05   -.27873E-03
   8  Prefactor     .10000E-03    6.4739        .12548E-07** at limit **
   9  norm          21.004        82.787        .20107E-04   -.11414E-03
  10  Prefactor     2.2887        5.4335        .24900E-05   -.10368E-03
  11  Prefactor     42.327        46.626       -.11371E-05    .22788E-04
  12  Prefactor     32.067        37.498       -.64067E-07    .91973E-06
  13  Prefactor     6.9492        26.052        .31877E-06    .13300E-04
  14  Prefactor     .10000E-03    142.75       -.28212E-06** at limit **
  15  norm          .10000E-03    .75758       -.11471E-07** at limit **
  16  Prefactor     4.2413        8.1044        .10567E-05   -.24945E-04
  17  Prefactor     .10000E-03    22.473       -.16210E-07** at limit **
  18  Prefactor     .10000E-03    6.6710       -.27702E-07** at limit **
  19  norm          5.7346        3.0093        .29954E-07    .25014E-04
  20  Prefactor     .10000E-03    3.7131       -.22794E-08** at limit **
  21  Normalizat    1.2140        .16791       -.14544E-05    .17762E-03
  22  Prefactor     .60006        .16875        .20996E-05    .56279E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 69.9141
  norm       = 4.28568
  Prefactor  = 0.976025
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.50425
  Prefactor  = 0.0001
  norm       = 21.0037
  Prefactor  = 2.28872
  Prefactor  = 42.3275
  Prefactor  = 32.0674
  Prefactor  = 6.94924
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.24125
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.73461
  Prefactor  = 0.0001
  Normalizat = 1.21402
  Prefactor  = 0.600055
 **********
 **   18 **HESSE 
 **********

 FCN=   5808.671     FROM HESSE     STATUS=OK           342 CALLS     2754 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     69.914        42.761        .48005E-04   -1.4034    
   2  norm          4.2857        2.2113        .76078E-04   -1.5294    
   3  Prefactor     .97602        3.3432        .24294E-03   -1.5510    
   4  Prefactor     .10000E-03    10.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.9157        .14717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.8012        .99558E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5042        15.748        .21721E-03   -1.5334    
   8  Prefactor     .10000E-03    6.4768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          21.004        83.352        .86924E-04   -1.4791    
  10  Prefactor     2.2887        5.4524        .12701E-02   -1.5405    
  11  Prefactor     42.327        46.654        .61637E-04   -1.4406    
  12  Prefactor     32.067        37.490        .70758E-04   -1.4575    
  13  Prefactor     6.9492        26.154        .15201E-03   -1.5181    
  14  Prefactor     .10000E-03    148.02        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.1594        .12828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.2413        8.1097        .97836E-03   -1.5296    
  17  Prefactor     .10000E-03    22.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.6752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.7346        3.0077        .92808E-04   -1.5229    
  20  Prefactor     .10000E-03    3.7157        .14343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2140        .19107        .19669E-03   -.86171    
  22  Prefactor     .60006        .19179        .28767E-03   -1.0758    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28871e-10
Minuit parameter uncertainties:
  1  42.7795
  2  2.21131
  3  3.34384
  4  8.32344e-06
  5  7.01934e-07
  6  1.36099e-07
  7  14.8636
  8  6.6853e-06
  9  83.8192
  10  5.45357
  11  46.694
  12  37.5179
  13  26.1971
  14  0.000426369
  15  2.11956e-06
  16  8.11177
  17  5.91004e-06
  18  6.69326e-06
  19  3.00775
  20  6.93635e-07
  21  0.191178
  22  0.192003
Done.

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

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  4.233e+01  4.669e+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:  6.001e-01  1.920e-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.214e+00  1.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.21
Ra Dec: 36.584 -18.763
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 3.82e-08 +/- 4.21e-08
Energy Flux (Fixed Index): 1.03e-05 +/- 1.14e-05

TS (Fixed Index): 1.21
Ra Dec: 36.584 -18.763
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/388380/likelihoodResults_300240001_300499201_4FGL_J0226.3-1845_daily_bin235.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) = 5808.66990247
delta logL = 0.000797452930783

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5808.66951046
delta logL = 0.00118946050134

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.659       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5327       1.0000          .0000       10.000    
     3 'Normalizat'    1.2153       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .59891       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.

 FCN=   5808.670     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      227 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.659        1166.0        .15169E-02   -.27829E-04
   2  Index         2.5327        6.2431        .23422        .67266E-04
   3  Normalizat    1.2153        .54138E-01    .34525E-01   -.14156E-05
   4  Prefactor     .59892        .55502E-01    .65065E-01    .26221E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.6586
  Index      = 2.53265
  Normalizat = 1.21533
  Prefactor  = 0.598919
 **********
 **   18 **HESSE 
 **********

 FCN=   5808.670     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.659        52.999        .60674E-04   -1.4386    
   2  Index         2.5327        .82669        .81736E-02   -.51607    
   3  Normalizat    1.2153        .18007        .19660E-03   -.86131    
   4  Prefactor     .59892        .18983        .28791E-03   -1.0763    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14002e-11
Minuit parameter uncertainties:
  1  53.0559
  2  0.831747
  3  0.180163
  4  0.190029
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/388380': 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) = 5808.66951046
delta logL = 0.0011894608142

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  4.366e+01  5.306e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.533e+00  8.317e-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.989e-01  1.900e-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.215e+00  1.802e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 36.584 -18.763
Photon Index (Free Index): 2.53 +/- 0.83
Photon Flux (Free Index): 3.75e-08 +/- 4.04e-08
Energy Flux (Free Index): 1.05e-05 +/- 1.18e-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/388380/cmap_HighResolution_300240001_300499201_4FGL_J0226.3-1845_daily_bin235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.19e-03', comment='SUCCESS', photon_flux='3.82e-08', energy_flux2='1.05e-05', photon_flux_error='4.21e-08', dlogl='1.19e-03', energy_flux='1.03e-05', photon_flux2='3.75e-08', job_status='DONE', time_completed='2021-08-15 21:59:23.307329', photon_index_error2='0.83', photon_index2='2.53', ts='1.21', fit_tolerance='1e-08', GAL='0.60', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='1.18e-05', EG='1.21', time_epoch_completed='1629089963.31', return_code='0', job_id='388380', GAL2='0.60', EG2='1.22', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='4.04e-08', ts2='1.22', photon_index='2.57' WHERE bin_id='235' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:59:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 388380: <4FGL_J0226.3-1845_daily_bin235> in cluster <slac> Done

Job <4FGL_J0226.3-1845_daily_bin235> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 15 21:45:25 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:45:35 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:35 2021
Terminated at Sun Aug 15 21:59:25 2021
Results reported at Sun Aug 15 21:59:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin235 36.5838 -18.763 300240001 300499201 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 :                                   776.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             243.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            840 sec.

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

