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


Performing analysis on: 4FGL_J0226.3-1845_daily_bin774
RA = 36.5838, Dec = -18.763
tmin = 439948801, tmax = 440208001
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='390126', job_status='RUN', time_executed='2021-08-15 21:56:39.019601', time_epoch_executed='1629089799.02' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/390126

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/390126/ft1_4FGL_J0226.3-1845_daily_bin774.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/390126/ft2_4FGL_J0226.3-1845_daily_bin774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/390126/ft1_4FGL_J0226.3-1845_daily_bin774.fits outfile=/scratch/kocevski/390126/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin774.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=439948801.0 tmax=440208001.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 12.05
user 3.21
sys 8.79

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/390126/ft1_filtered_4FGL_J0226.3-1845_daily_bin774.fits" evtable="EVENTS" scfile=/scratch/kocevski/390126/ft2_4FGL_J0226.3-1845_daily_bin774.fits sctable="SC_DATA" outfile=/scratch/kocevski/390126/ltcube_439948801_440208001_4FGL_J0226.3-1845_daily_bin774.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/390126/ft2_4FGL_J0226.3-1845_daily_bin774.fits
.....................!
real 23.43
user 13.85
sys 9.49

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/390126/ft1_filtered_4FGL_J0226.3-1845_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/390126/ft2_4FGL_J0226.3-1845_daily_bin774.fits sctable="SC_DATA" expcube=/scratch/kocevski/390126/ltcube_439948801_440208001_4FGL_J0226.3-1845_daily_bin774.fits outfile=/scratch/kocevski/390126/expmap_439948801_440208001_4FGL_J0226.3-1845_daily_bin774.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/390126/ltcube_439948801_440208001_4FGL_J0226.3-1845_daily_bin774.fits
.....................!
real 202.88
user 185.96
sys 16.36

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/390126/ft1_filtered_4FGL_J0226.3-1845_daily_bin774.fits scfile=/scratch/kocevski/390126/ft2_4FGL_J0226.3-1845_daily_bin774.fits outfile=/scratch/kocevski/390126/cmap_439948801_440208001_4FGL_J0226.3-1845_daily_bin774.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 8.49
user 0.38
sys 8.07

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/390126/ft1_filtered_4FGL_J0226.3-1845_daily_bin774.fits scfile=/scratch/kocevski/390126/ft2_4FGL_J0226.3-1845_daily_bin774.fits outfile=/scratch/kocevski/390126/cmap_HighResolution_439948801_440208001_4FGL_J0226.3-1845_daily_bin774.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 8.55
user 0.39
sys 8.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/390126/ft1_filtered_4FGL_J0226.3-1845_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/390126/ft2_4FGL_J0226.3-1845_daily_bin774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/390126/Model_4FGL_J0226.3-1845_daily_bin774.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/390126/ft1_filtered_4FGL_J0226.3-1845_daily_bin774.fits.....................!
real 49.82
user 37.07
sys 11.92

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    10.878       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.4631       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .14255E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.360       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.741       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.572       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11323E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    95.943       1.0000         .10000E-03   10000.    
    15 'norm      '    5.3097       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.1511       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.760       1.0000         .10000E-03   10000.    
    19 'norm      '    2.9330       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.1419       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .94745       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .76665       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=   3516.055     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2443 TOTAL
                     EDM=   .46E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.293       -.13805E-06** at limit **
   2  norm          10.879        4.0066        .24984E-06   -.80544E-04
   3  Prefactor     2.4629        5.5231        .59805E-06   -.14284E-04
   4  Prefactor     .10000E-03    13.835       -.98182E-07** at limit **
   5  Prefactor     .10000E-03    5.7794       -.34737E-07** at limit **
   6  Prefactor     .10000E-03    5.0965       -.96929E-07** at limit **
   7  Prefactor     .10000E-03    3.2195       -.30503E-07** at limit **
   8  Prefactor     17.359        16.946        .13303E-07   -.42386E-05
   9  norm          .10000E-03    17.666       -.98635E-08** at limit **
  10  Prefactor     11.743        9.3495        .20611E-06   -.21806E-06
  11  Prefactor     .10000E-03    19.835       -.71373E-07** at limit **
  12  Prefactor     13.317        98.605        .27362E-06   -.11513E-04
  13  Prefactor     .10000E-03    27.912        .18131E-06** at limit **
  14  Prefactor     95.900        94.216        .81987E-06    .52046E-04
  15  norm          5.3098        2.8557        .60539E-07   -.22778E-04
  16  Prefactor     9.1494        12.635        .27790E-05   -.59695E-04
  17  Prefactor     .10000E-03    33.687        .91888E-07** at limit **
  18  Prefactor     15.761        54.319        .48923E-06    .68200E-04
  19  norm          2.9327        3.3009        .29159E-07   -.49056E-05
  20  Prefactor     5.1370        18.649        .22657E-06    .15817E-04
  21  Normalizat    .94714        .23069       -.14013E-05    .25014E-04
  22  Prefactor     .76701        .22387        .13545E-06   -.28854E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 10.8791
  Prefactor  = 2.46294
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.3591
  norm       = 0.0001
  Prefactor  = 11.7431
  Prefactor  = 0.0001
  Prefactor  = 13.3169
  Prefactor  = 0.0001
  Prefactor  = 95.8998
  norm       = 5.30985
  Prefactor  = 9.14937
  Prefactor  = 0.0001
  Prefactor  = 15.7605
  norm       = 2.93268
  Prefactor  = 5.13698
  Normalizat = 0.94714
  Prefactor  = 0.767009
 **********
 **   18 **HESSE 
 **********

 FCN=   3516.055     FROM HESSE     STATUS=OK           346 CALLS     2789 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.879        4.0291        .33246E-03   -1.5048    
   3  Prefactor     2.4629        5.5026        .19464E-03   -1.5394    
   4  Prefactor     .10000E-03    13.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.7923        .13922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.100        .25696E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.2229        .10391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.359        16.950        .96128E-04   -1.4874    
   9  norm          .10000E-03    17.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.743        9.3254        .11691E-03   -1.5022    
  11  Prefactor     .10000E-03    19.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.317        98.909        .10872E-03   -1.4978    
  13  Prefactor     .10000E-03    27.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     95.900        94.050        .41035E-04   -1.3746    
  15  norm          5.3098        2.8539        .69833E-04   -1.5247    
  16  Prefactor     9.1494        12.688        .66244E-03   -1.5103    
  17  Prefactor     .10000E-03    33.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.761        53.966        .10089E-03   -1.4914    
  19  norm          2.9327        3.2960        .54983E-03   -1.5365    
  20  Prefactor     5.1370        18.716        .17730E-03   -1.5255    
  21  Normalizat    .94714        .27058        .23392E-03   -.94823    
  22  Prefactor     .76701        .26453        .26042E-03   -1.0096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11993e-10
Minuit parameter uncertainties:
  1  3.61395e-05
  2  4.02915
  3  5.50372
  4  1.53774e-05
  5  7.92396e-07
  6  9.24829e-05
  7  6.58297e-08
  8  16.9544
  9  9.4449e-06
  10  9.32659
  11  1.1523e-05
  12  72.7544
  13  3.17613e-05
  14  94.1967
  15  2.85399
  16  12.6914
  17  1.36089e-05
  18  54.1343
  19  3.29616
  20  18.7369
  21  0.270975
  22  0.264971
Done.

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

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  1.152e-05  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.670e-01  2.650e-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:  9.471e-01  2.710e-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: 8.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/390126/likelihoodResults_439948801_440208001_4FGL_J0226.3-1845_daily_bin774.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) = 3516.0553543
delta logL = -0.000239847948251

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3516.05511634
delta logL = -1.88803187484e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10603E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0688       1.0000          .0000       10.000    
     3 'Normalizat'    .94714       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76701       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=   3516.055     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      282 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    63.116        .18142E-01** at limit **
   2  Index         2.1286        5.2798        .50000        .17793E-06
   3  Normalizat    .94715        .86284E-02    .23392E-03    .42822E-02
   4  Prefactor     .76702        .87762E-02    .26042E-03    .38528E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.12864
  Normalizat = 0.947149
  Prefactor  = 0.767021
 **********
 **   18 **HESSE 
 **********

 FCN=   3516.055     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      311 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    398.03        .28118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1286        5.9103        .50000       -.61171    
   3  Normalizat    .94715        .22111E-01    .46784E-04   -.94823    
   4  Prefactor     .76702        .22490E-01    .52084E-04   -1.0096    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.24584e-09
Minuit parameter uncertainties:
  1  0.00152325
  2  1059.85
  3  0.0221112
  4  0.0224902
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/390126': 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) = 3516.05511407
delta logL = 3.83563474315e-07

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  1.523e-03  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.129e+00  1.060e+03  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.670e-01  2.249e-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:  9.471e-01  2.211e-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/390126/cmap_HighResolution_439948801_440208001_4FGL_J0226.3-1845_daily_bin774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.47e-03', job_status='DONE', photon_flux_upper_limit='8.28e-08', time_completed='2021-08-15 22:06:59.307205', job_id='390126', GAL2='0.77', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1629090419.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='3.84e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='774' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 22:06:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0130>
Subject: Job 390126: <4FGL_J0226.3-1845_daily_bin774> in cluster <slac> Done

Job <4FGL_J0226.3-1845_daily_bin774> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 15 21:50:32 2021
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:51:51 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:51:51 2021
Terminated at Sun Aug 15 22:07:02 2021
Results reported at Sun Aug 15 22:07:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin774 36.5838 -18.763 439948801 440208001 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 :                                   745.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             198.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            990 sec.

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

