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


Performing analysis on: 4FGL_J0226.3-1845_daily_bin579
RA = 36.5838, Dec = -18.763
tmin = 389404801, tmax = 389664001
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='388835', job_status='RUN', time_executed='2021-08-15 21:52:56.646974', time_epoch_executed='1629089576.65' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='579'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/388835

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/388835/ft1_4FGL_J0226.3-1845_daily_bin579.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/388835/ft2_4FGL_J0226.3-1845_daily_bin579.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/388835/ft1_4FGL_J0226.3-1845_daily_bin579.fits outfile=/scratch/kocevski/388835/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin579.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=389404801.0 tmax=389664001.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 4.07
user 3.81
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/388835/ft1_filtered_4FGL_J0226.3-1845_daily_bin579.fits" evtable="EVENTS" scfile=/scratch/kocevski/388835/ft2_4FGL_J0226.3-1845_daily_bin579.fits sctable="SC_DATA" outfile=/scratch/kocevski/388835/ltcube_389404801_389664001_4FGL_J0226.3-1845_daily_bin579.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/388835/ft2_4FGL_J0226.3-1845_daily_bin579.fits
.....................!
real 13.79
user 13.42
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/388835/ft1_filtered_4FGL_J0226.3-1845_daily_bin579.fits evtable="EVENTS" scfile=/scratch/kocevski/388835/ft2_4FGL_J0226.3-1845_daily_bin579.fits sctable="SC_DATA" expcube=/scratch/kocevski/388835/ltcube_389404801_389664001_4FGL_J0226.3-1845_daily_bin579.fits outfile=/scratch/kocevski/388835/expmap_389404801_389664001_4FGL_J0226.3-1845_daily_bin579.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/388835/ltcube_389404801_389664001_4FGL_J0226.3-1845_daily_bin579.fits
.....................!
real 189.99
user 185.70
sys 3.68

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/388835/ft1_filtered_4FGL_J0226.3-1845_daily_bin579.fits scfile=/scratch/kocevski/388835/ft2_4FGL_J0226.3-1845_daily_bin579.fits outfile=/scratch/kocevski/388835/cmap_389404801_389664001_4FGL_J0226.3-1845_daily_bin579.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/388835/ft1_filtered_4FGL_J0226.3-1845_daily_bin579.fits scfile=/scratch/kocevski/388835/ft2_4FGL_J0226.3-1845_daily_bin579.fits outfile=/scratch/kocevski/388835/cmap_HighResolution_389404801_389664001_4FGL_J0226.3-1845_daily_bin579.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.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/388835/ft1_filtered_4FGL_J0226.3-1845_daily_bin579.fits evtable="EVENTS" scfile=/scratch/kocevski/388835/ft2_4FGL_J0226.3-1845_daily_bin579.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/388835/Model_4FGL_J0226.3-1845_daily_bin579.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/388835/ft1_filtered_4FGL_J0226.3-1845_daily_bin579.fits.....................!
real 40.70
user 39.19
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.188       1.0000         .10000E-03   10000.    
     2 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11225E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    40.724       1.0000         .10000E-03   10000.    
     9 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12117E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.960       1.0000         .10000E-03   10000.    
    15 'norm      '    4.6193       1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.730       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10983E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .12671E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3732       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .49713       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=   3546.921     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2367 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.192        36.706        .11981E-05   -.95854E-06
   2  norm          .10000E-03    1.8568        .22213E-06** at limit **
   3  Prefactor     .10000E-03    4.9262       -.37134E-05** at limit **
   4  Prefactor     .10000E-03    4.6369       -.86552E-06** at limit **
   5  Prefactor     .10000E-03    5.8428       -.67572E-06** at limit **
   6  Prefactor     .10000E-03    5.1402        .19681E-05** at limit **
   7  Prefactor     .10000E-03    10.383        .95376E-06** at limit **
   8  Prefactor     40.724        30.234        .37014E-07    .33717E-04
   9  norm          .10000E-03    58.999       -.40380E-04** at limit **
  10  Prefactor     .10000E-03    3.4378        .11369E-06** at limit **
  11  Prefactor     .10000E-03    39.182        .12891E-04** at limit **
  12  Prefactor     .10000E-03    200.78       -.91268E-04** at limit **
  13  Prefactor     .10000E-03    13.825       -.17224E-06** at limit **
  14  Prefactor     22.964        46.063        .47497E-05    .88432E-04
  15  norm          4.6204        2.8695       -.51610E-06   -.27440E-02
  16  Prefactor     14.731        13.799       -.26409E-06   -.13565E-03
  17  Prefactor     .10000E-03    80.382        .99801E-04** at limit **
  18  Prefactor     .10000E-03    59.880       -.31158E-04** at limit **
  19  norm          .10000E-03    2.6536        .44318E-06** at limit **
  20  Prefactor     .10000E-03    8.5818       -.46477E-06** at limit **
  21  Normalizat    1.3731        .21839       -.24945E-06    .15569E-03
  22  Prefactor     .49722        .21493        .95992E-06    .68856E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.1923
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.7236
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 22.9645
  norm       = 4.6204
  Prefactor  = 14.7311
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.37307
  Prefactor  = 0.497221
 **********
 **   18 **HESSE 
 **********

 FCN=   3546.921     FROM HESSE     STATUS=OK           330 CALLS     2697 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.192        36.707        .70626E-04   -1.4573    
   2  norm          .10000E-03    3.0250        .15556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.1053        .25782E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.6408        .12525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.8480        .14060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.1977        .13179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     40.724        30.223        .62813E-04   -1.4431    
   9  norm          .10000E-03    59.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.4661        .10783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    39.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    202.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.964        46.062        .83595E-04   -1.4749    
  15  norm          4.6204        2.8663        .37904E-03   -1.5278    
  16  Prefactor     14.731        13.795        .10436E-03   -1.4940    
  17  Prefactor     .10000E-03    80.252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    60.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.7971        .18795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.5875        .17041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3731        .24372        .19794E-03   -.81411    
  22  Prefactor     .49722        .23962        .31216E-03   -1.1210    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63808e-09
Minuit parameter uncertainties:
  1  36.7329
  2  2.34075e-05
  3  2.94403e-05
  4  1.61264e-06
  5  1.95717e-06
  6  7.05459e-06
  7  4.16329e-05
  8  30.2345
  9  9.61452e-05
  10  1.36037e-06
  11  3.63622e-06
  12  0.0014617
  13  4.65497e-06
  14  46.1329
  15  2.8664
  16  13.7976
  17  5.62432e-05
  18  7.64171e-05
  19  4.41526e-05
  20  5.95613e-06
  21  0.243926
  22  0.24011
Done.

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

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  3.636e-06  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:  4.972e-01  2.401e-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.373e+00  2.439e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/388835/likelihoodResults_389404801_389664001_4FGL_J0226.3-1845_daily_bin579.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) = 3546.92132279
delta logL = -0.000121386220144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3546.92120149
delta logL = -7.95535015641e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6394       1.0000          .0000       10.000    
     3 'Normalizat'    1.3731       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .49722       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=   3546.921     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      238 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    64.454        .90712E-02** at limit **
   2  Index         2.6206        6.2344        .50000        .49552E-05
   3  Normalizat    1.3731        .21302        .31610E-01    .13874E-04
   4  Prefactor     .49722        .21254        .70508E-01    .21237E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.62056
  Normalizat = 1.37307
  Prefactor  = 0.497222
 **********
 **   18 **HESSE 
 **********

 FCN=   3546.921     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6206        6.3042        .50000       -.49597    
   3  Normalizat    1.3731        .23835        .19794E-03   -.81411    
   4  Prefactor     .49722        .23721        .31216E-03   -1.1210    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01742e-11
Minuit parameter uncertainties:
  1  0.000200038
  2  4.41951
  3  0.238547
  4  0.237683
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/388835': 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) = 3546.92120146
delta logL = -5.76792444917e-08

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  2.000e-04  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.621e+00  4.420e+00  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:  4.972e-01  2.377e-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.373e+00  2.385e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.584 -18.763

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/388835/cmap_HighResolution_389404801_389664001_4FGL_J0226.3-1845_daily_bin579.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.67e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-08-15 22:01:14.671428', job_id='388835', GAL2='0.50', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1629090074.67', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='-5.77e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='579' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 22:01:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 388835: <4FGL_J0226.3-1845_daily_bin579> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin579 36.5838 -18.763 389404801 389664001 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 :                                   495.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            920 sec.

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

