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


Performing analysis on: 4FGL_J0226.3-1845_daily_bin508
RA = 36.5838, Dec = -18.763
tmin = 371001601, tmax = 371260801
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='388764', job_status='RUN', time_executed='2021-08-15 21:50:37.249299', time_epoch_executed='1629089437.25' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='508'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/388764

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/388764/ft1_4FGL_J0226.3-1845_daily_bin508.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/388764/ft2_4FGL_J0226.3-1845_daily_bin508.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/388764/ft1_4FGL_J0226.3-1845_daily_bin508.fits outfile=/scratch/kocevski/388764/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin508.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=371001601.0 tmax=371260801.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 7.66
user 6.29
sys 1.33

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/388764/ft1_filtered_4FGL_J0226.3-1845_daily_bin508.fits" evtable="EVENTS" scfile=/scratch/kocevski/388764/ft2_4FGL_J0226.3-1845_daily_bin508.fits sctable="SC_DATA" outfile=/scratch/kocevski/388764/ltcube_371001601_371260801_4FGL_J0226.3-1845_daily_bin508.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/388764/ft2_4FGL_J0226.3-1845_daily_bin508.fits
.....................!
real 15.92
user 14.35
sys 1.49

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/388764/ft1_filtered_4FGL_J0226.3-1845_daily_bin508.fits evtable="EVENTS" scfile=/scratch/kocevski/388764/ft2_4FGL_J0226.3-1845_daily_bin508.fits sctable="SC_DATA" expcube=/scratch/kocevski/388764/ltcube_371001601_371260801_4FGL_J0226.3-1845_daily_bin508.fits outfile=/scratch/kocevski/388764/expmap_371001601_371260801_4FGL_J0226.3-1845_daily_bin508.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/388764/ltcube_371001601_371260801_4FGL_J0226.3-1845_daily_bin508.fits
.....................!
real 192.70
user 186.65
sys 5.49

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/388764/ft1_filtered_4FGL_J0226.3-1845_daily_bin508.fits scfile=/scratch/kocevski/388764/ft2_4FGL_J0226.3-1845_daily_bin508.fits outfile=/scratch/kocevski/388764/cmap_371001601_371260801_4FGL_J0226.3-1845_daily_bin508.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 1.60
user 0.39
sys 1.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/388764/ft1_filtered_4FGL_J0226.3-1845_daily_bin508.fits scfile=/scratch/kocevski/388764/ft2_4FGL_J0226.3-1845_daily_bin508.fits outfile=/scratch/kocevski/388764/cmap_HighResolution_371001601_371260801_4FGL_J0226.3-1845_daily_bin508.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 1.59
user 0.40
sys 1.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/388764/ft1_filtered_4FGL_J0226.3-1845_daily_bin508.fits evtable="EVENTS" scfile=/scratch/kocevski/388764/ft2_4FGL_J0226.3-1845_daily_bin508.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/388764/Model_4FGL_J0226.3-1845_daily_bin508.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/388764/ft1_filtered_4FGL_J0226.3-1845_daily_bin508.fits.....................!
real 39.71
user 37.01
sys 2.47

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.601       1.0000         .10000E-03   10000.    
     2 'norm      '    .26335E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2898       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.2787       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.7168       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .22700       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13679E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.6099       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.5687       1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.827       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10187E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    24.424       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .20383E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12619E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10449E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0018       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .74832       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=   3375.310     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2488 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.741        70.793        .11208E-05    .28943E-04
   2  norm          .10609E-01    1.4173        .89261E-08    .32849E-04
   3  Prefactor     1.2917        5.3668        .15021E-05    .43820E-05
   4  Prefactor     5.2744        15.264        .58846E-05   -.10765E-04
   5  Prefactor     7.7202        13.962        .29051E-06   -.92509E-05
   6  Prefactor     .24114        6.0174       -.10988E-05    .11288E-05
   7  Prefactor     .10000E-03    34.997       -.19027E-05** at limit **
   8  Prefactor     .10000E-03    14.814        .12835E-07** at limit **
   9  norm          2.4083        520.75        .76375E-05    .92396E-05
  10  Prefactor     7.5747        9.9155        .25808E-05   -.13063E-04
  11  Prefactor     34.854        57.177        .63474E-05    .25741E-03
  12  Prefactor     .10000E-03    36.039        .30538E-06** at limit **
  13  Prefactor     .10000E-03    36.476       -.12695E-06** at limit **
  14  Prefactor     .10000E-03    58.900        .16839E-05** at limit **
  15  norm          24.426        4.8380        .73820E-07    .17491E-04
  16  Prefactor     .10029E-03    10.586       -.14279E-05** at limit **
  17  Prefactor     .10000E-03    86.933        .29787E-07** at limit **
  18  Prefactor     .10000E-03    20.389        .14256E-07** at limit **
  19  norm          .10000E-03    3.2671        .19110E-06** at limit **
  20  Prefactor     .10000E-03    8.3480        .27431E-07** at limit **
  21  Normalizat    1.0014        .22280       -.26553E-05    .21812E-03
  22  Prefactor     .74837        .21138       -.39081E-06    .94051E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.7409
  norm       = 0.0106095
  Prefactor  = 1.29168
  Prefactor  = 5.27445
  Prefactor  = 7.72016
  Prefactor  = 0.241144
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.4083
  Prefactor  = 7.5747
  Prefactor  = 34.8541
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 24.426
  Prefactor  = 0.000100293
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.00145
  Prefactor  = 0.748367
 **********
 **   18 **HESSE 
 **********

 FCN=   3375.310     FROM HESSE     STATUS=OK           352 CALLS     2840 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.741        70.972        .84254E-04   -1.4754    
   2  norm          .10609E-01    5.6119        .23120E-01   -1.5687    
   3  Prefactor     1.2917        5.2790        .24727E-03   -1.5481    
   4  Prefactor     5.2744        15.631        .87470E-03   -1.5249    
   5  Prefactor     7.7202        13.899        .14435E-03   -1.5152    
   6  Prefactor     .24114        57.288        .25929E-02   -1.5610    
   7  Prefactor     .10000E-03    35.346        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.4083        497.76        .25250E-03   -1.5398    
  10  Prefactor     7.5747        10.005        .72885E-03   -1.5157    
  11  Prefactor     34.854        59.578        .67906E-04   -1.4527    
  12  Prefactor     .10000E-03    36.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    36.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    59.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          24.426        4.8333        .54210E-04   -1.4719    
  16  Prefactor     .10029E-03    55.937        .35495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    87.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    20.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    7.1520        .20365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.3867        .16395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0014        .25700        .22743E-03   -.92982    
  22  Prefactor     .74837        .24240        .26263E-03   -1.0166    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.92157e-09
Minuit parameter uncertainties:
  1  71.2377
  2  0.485754
  3  5.22316
  4  15.6436
  5  13.9046
  6  7.43926
  7  0.00028384
  8  9.9537e-06
  9  69.841
  10  10.007
  11  59.6802
  12  5.88839e-05
  13  1.26539e-05
  14  0.00043331
  15  4.83336
  16  0.00810004
  17  0.000106785
  18  1.86705e-05
  19  5.83731e-05
  20  1.09896e-05
  21  0.257316
  22  0.242741
Done.

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

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  3.485e+01  5.968e+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:  7.484e-01  2.427e-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.001e+00  2.573e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/388764/likelihoodResults_371001601_371260801_4FGL_J0226.3-1845_daily_bin508.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) = 3375.30411781
delta logL = 0.00563054636177

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3375.30250486
delta logL = 0.00724349749544

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.266       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4470       1.0000          .0000       10.000    
     3 'Normalizat'    1.0041       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74611       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=   3375.303     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      223 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.266        6183.9        .16198E-02    .84910E-04
   2  Index         2.4470        5.0793        .23726        .34714E-04
   3  Normalizat    1.0041        .90873E-01    .46218E-01    .55051E-05
   4  Prefactor     .74613        .96462E-01    .43012E-01    .90689E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.2656
  Index      = 2.44699
  Normalizat = 1.00407
  Prefactor  = 0.746126
 **********
 **   18 **HESSE 
 **********

 FCN=   3375.303     FROM HESSE     STATUS=OK            31 CALLS      254 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.266        65.652        .64793E-04   -1.4470    
   2  Index         2.4470        1.0196        .98990E-02   -.53589    
   3  Normalizat    1.0041        .23678        .22716E-03   -.92894    
   4  Prefactor     .74613        .23997        .26298E-03   -1.0175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.83801e-11
Minuit parameter uncertainties:
  1  65.7761
  2  1.02944
  3  0.23703
  4  0.240304
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/388764': 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) = 3375.30250486
delta logL = 0.00724350162136

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  3.827e+01  6.578e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.447e+00  1.029e+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:  7.461e-01  2.403e-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.004e+00  2.370e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.53
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/388764/cmap_HighResolution_371001601_371260801_4FGL_J0226.3-1845_daily_bin508.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.21e-02', job_status='DONE', photon_flux_upper_limit='1.55e-07', time_completed='2021-08-15 21:59:35.760964', job_id='388764', GAL2='0.75', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1629089975.76', return_code2='0', ts='0.53', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='7.24e-03', ts2='0.54', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='508' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:59:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0028>
Subject: Job 388764: <4FGL_J0226.3-1845_daily_bin508> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin508 36.5838 -18.763 371001601 371260801 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 :                                   549.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             234.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            826 sec.

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

