/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 197 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0226.3-1845_daily_bin1133
RA = 36.5838, Dec = -18.763
tmin = 533001601, tmax = 533260801
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='391680', job_status='RUN', time_executed='2021-08-15 22:01:21.300758', time_epoch_executed='1629090081.3' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='1133'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/391680

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/391680/ft1_4FGL_J0226.3-1845_daily_bin1133.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/391680/ft2_4FGL_J0226.3-1845_daily_bin1133.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/391680/ft1_4FGL_J0226.3-1845_daily_bin1133.fits outfile=/scratch/kocevski/391680/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin1133.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=533001601.0 tmax=533260801.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.29
user 3.29
sys 0.95

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/391680/ft1_filtered_4FGL_J0226.3-1845_daily_bin1133.fits" evtable="EVENTS" scfile=/scratch/kocevski/391680/ft2_4FGL_J0226.3-1845_daily_bin1133.fits sctable="SC_DATA" outfile=/scratch/kocevski/391680/ltcube_533001601_533260801_4FGL_J0226.3-1845_daily_bin1133.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/391680/ft2_4FGL_J0226.3-1845_daily_bin1133.fits
.....................!
real 16.12
user 14.84
sys 1.14

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/391680/ft1_filtered_4FGL_J0226.3-1845_daily_bin1133.fits evtable="EVENTS" scfile=/scratch/kocevski/391680/ft2_4FGL_J0226.3-1845_daily_bin1133.fits sctable="SC_DATA" expcube=/scratch/kocevski/391680/ltcube_533001601_533260801_4FGL_J0226.3-1845_daily_bin1133.fits outfile=/scratch/kocevski/391680/expmap_533001601_533260801_4FGL_J0226.3-1845_daily_bin1133.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/391680/ltcube_533001601_533260801_4FGL_J0226.3-1845_daily_bin1133.fits
.....................!
real 195.52
user 186.91
sys 6.51

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/391680/ft1_filtered_4FGL_J0226.3-1845_daily_bin1133.fits scfile=/scratch/kocevski/391680/ft2_4FGL_J0226.3-1845_daily_bin1133.fits outfile=/scratch/kocevski/391680/cmap_533001601_533260801_4FGL_J0226.3-1845_daily_bin1133.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.30
user 0.38
sys 0.87

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/391680/ft1_filtered_4FGL_J0226.3-1845_daily_bin1133.fits scfile=/scratch/kocevski/391680/ft2_4FGL_J0226.3-1845_daily_bin1133.fits outfile=/scratch/kocevski/391680/cmap_HighResolution_533001601_533260801_4FGL_J0226.3-1845_daily_bin1133.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.33
user 0.40
sys 0.85

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/391680/ft1_filtered_4FGL_J0226.3-1845_daily_bin1133.fits evtable="EVENTS" scfile=/scratch/kocevski/391680/ft2_4FGL_J0226.3-1845_daily_bin1133.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/391680/Model_4FGL_J0226.3-1845_daily_bin1133.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/391680/ft1_filtered_4FGL_J0226.3-1845_daily_bin1133.fits.....................!
real 53.81
user 50.91
sys 2.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    2.9427       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.393       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5480       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.4289       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8088       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16553E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.2639       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .75360       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1183       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=   5725.996     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2024 TOTAL
                     EDM=   .69E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.790        .18790E-05** at limit **
   2  norm          2.9428        1.6323       -.32177E-08    .19345E-05
   3  Prefactor     17.394        5.4100       -.47980E-07   -.15078E-04
   4  Prefactor     .10000E-03    4.0650       -.51758E-06** at limit **
   5  Prefactor     .10000E-03    6.0713        .99013E-06** at limit **
   6  Prefactor     1.5486        4.7348        .32142E-06   -.47764E-04
   7  Prefactor     6.4309        5.9024        .38588E-08    .46931E-04
   8  Prefactor     .10000E-03    6.7986       -.13179E-05** at limit **
   9  norm          .10000E-03    18.612       -.65933E-05** at limit **
  10  Prefactor     1.8047        1.1504        .78679E-07   -.12616E-02
  11  Prefactor     .10000E-03    10.002        .36990E-05** at limit **
  12  Prefactor     .10000E-03    15.546        .99960E-05** at limit **
  13  Prefactor     .10002E-03    19.592       -.53761E-06** at limit **
  14  Prefactor     .10000E-03    12.596       -.24605E-05** at limit **
  15  norm          .10000E-03    .93260        .13411E-07** at limit **
  16  Prefactor     .10000E-03    4.2132        .93223E-06** at limit **
  17  Prefactor     .10000E-03    11.675       -.49655E-05** at limit **
  18  Prefactor     .10000E-03    4.6223       -.63217E-06** at limit **
  19  norm          1.2638        1.3968       -.13875E-08    .48783E-04
  20  Prefactor     .10000E-03    3.6496        .63537E-07** at limit **
  21  Normalizat    .75354        .15857        .33518E-07    .21174E-04
  22  Prefactor     1.1183        .16987       -.81907E-08    .14747E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.94281
  Prefactor  = 17.3936
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.5486
  Prefactor  = 6.43087
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.80469
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100018
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.26385
  Prefactor  = 0.0001
  Normalizat = 0.753543
  Prefactor  = 1.11833
 **********
 **   18 **HESSE 
 **********

 FCN=   5725.996     FROM HESSE     STATUS=OK           342 CALLS     2366 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    41.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9428        1.6305        .69338E-04   -1.5365    
   3  Prefactor     17.394        5.4094        .94101E-04   -1.4874    
   4  Prefactor     .10000E-03    4.0763        .14898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.0904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.5486        4.7506        .26547E-03   -1.5459    
   7  Prefactor     6.4309        5.9003        .15829E-03   -1.5201    
   8  Prefactor     .10000E-03    6.8016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    18.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.8047        4.9494        .12988E-02   -1.5439    
  11  Prefactor     .10000E-03    10.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10002E-03    135.76        .63760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.2337        .14079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.2878        .15160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.6247        .15889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.2638        1.3922        .45769E-03   -1.5483    
  20  Prefactor     .10000E-03    3.6528        .14118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75354        .18409        .23583E-03   -1.0182    
  22  Prefactor     1.1183        .19845        .22027E-03   -.88883    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20667e-09
Minuit parameter uncertainties:
  1  1.49967e-06
  2  1.63056
  3  5.40956
  4  1.59427e-06
  5  7.47562e-07
  6  4.75179
  7  5.90084
  8  1.16213e-06
  9  7.80817e-06
  10  4.95049
  11  3.22721e-06
  12  1.27804e-05
  13  0.00310476
  14  6.52204e-08
  15  2.40658e-06
  16  3.17606e-06
  17  5.99887e-06
  18  1.19775e-07
  19  1.39222
  20  3.37531e-08
  21  0.184239
  22  0.198579
Done.

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

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  3.227e-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:  1.118e+00  1.986e-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:  7.535e-01  1.842e-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: 4.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/391680/likelihoodResults_533001601_533260801_4FGL_J0226.3-1845_daily_bin1133.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): 102
logL (Free Index) = 5725.99682226
delta logL = -0.000475391420878

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5725.99634759
delta logL = -7.27672158973e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11103E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5563       1.0000          .0000       10.000    
     3 'Normalizat'    .75366       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1182       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=   5725.996     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      251 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.200        .18142E-01** at limit **
   2  Index         2.0793        5.8634        .50000        .27285E-07
   3  Normalizat    .75354        .66654E-02    .23583E-03    .12934E-03
   4  Prefactor     1.1183        .74868E-02    .22027E-03    .14148E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.07931
  Normalizat = 0.753543
  Prefactor  = 1.11833
 **********
 **   18 **HESSE 
 **********

 FCN=   5725.996     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      280 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    270.58        .25360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0793        6.0229        .50000       -.62382    
   3  Normalizat    .75354        .18428E-01    .94332E-05   -1.0182    
   4  Prefactor     1.1183        .20699E-01    .44055E-04   -.88883    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.979e-11
Minuit parameter uncertainties:
  1  2.90512e-05
  2  972.33
  3  0.0184285
  4  0.0206992
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/391680': 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): 102
logL (Free Index) = 5725.99634611
delta logL = 7.52624146116e-07

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  2.905e-05  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.079e+00  9.723e+02  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.118e+00  2.070e-02  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:  7.535e-01  1.843e-02  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/391680/cmap_HighResolution_533001601_533260801_4FGL_J0226.3-1845_daily_bin1133.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-03', job_status='DONE', photon_flux_upper_limit='4.40e-08', time_completed='2021-08-15 22:11:49.548447', job_id='391680', GAL2='1.12', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1629090709.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='7.53e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1133' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 22:11:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 391680: <4FGL_J0226.3-1845_daily_bin1133> in cluster <slac> Done

Job <4FGL_J0226.3-1845_daily_bin1133> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Aug 15 21:55:35 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:57:41 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:57:41 2021
Terminated at Sun Aug 15 22:11:50 2021
Results reported at Sun Aug 15 22:11:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin1133 36.5838 -18.763 533001601 533260801 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 :                                   620.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            975 sec.

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

