/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 4 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 = 7391
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0226.3-1845_daily_bin277
RA = 36.5838, Dec = -18.763
tmin = 311126401, tmax = 311385601
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='388442', job_status='RUN', time_executed='2021-08-15 21:48:38.087957', time_epoch_executed='1629089318.09' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='277'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/388442

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/388442/ft1_4FGL_J0226.3-1845_daily_bin277.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/388442/ft2_4FGL_J0226.3-1845_daily_bin277.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/388442/ft1_4FGL_J0226.3-1845_daily_bin277.fits outfile=/scratch/kocevski/388442/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin277.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=311126401.0 tmax=311385601.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.55
user 3.36
sys 9.11

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/388442/ft2_4FGL_J0226.3-1845_daily_bin277.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/388442/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin277.fits evtable="EVENTS" outfile="/scratch/kocevski/388442/ft1_filtered_4FGL_J0226.3-1845_daily_bin277.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 10.11
user 0.36
sys 9.62

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/388442/ft1_filtered_4FGL_J0226.3-1845_daily_bin277.fits" evtable="EVENTS" scfile=/scratch/kocevski/388442/ft2_4FGL_J0226.3-1845_daily_bin277.fits sctable="SC_DATA" outfile=/scratch/kocevski/388442/ltcube_311126401_311385601_4FGL_J0226.3-1845_daily_bin277.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/388442/ft2_4FGL_J0226.3-1845_daily_bin277.fits
.....................!
real 23.11
user 13.83
sys 9.18

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/388442/ft1_filtered_4FGL_J0226.3-1845_daily_bin277.fits evtable="EVENTS" scfile=/scratch/kocevski/388442/ft2_4FGL_J0226.3-1845_daily_bin277.fits sctable="SC_DATA" expcube=/scratch/kocevski/388442/ltcube_311126401_311385601_4FGL_J0226.3-1845_daily_bin277.fits outfile=/scratch/kocevski/388442/expmap_311126401_311385601_4FGL_J0226.3-1845_daily_bin277.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/388442/ltcube_311126401_311385601_4FGL_J0226.3-1845_daily_bin277.fits
.....................!
real 203.59
user 186.35
sys 16.30

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/388442/ft1_filtered_4FGL_J0226.3-1845_daily_bin277.fits scfile=/scratch/kocevski/388442/ft2_4FGL_J0226.3-1845_daily_bin277.fits outfile=/scratch/kocevski/388442/cmap_311126401_311385601_4FGL_J0226.3-1845_daily_bin277.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 9.29
user 0.42
sys 8.83

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/388442/ft1_filtered_4FGL_J0226.3-1845_daily_bin277.fits scfile=/scratch/kocevski/388442/ft2_4FGL_J0226.3-1845_daily_bin277.fits outfile=/scratch/kocevski/388442/cmap_HighResolution_311126401_311385601_4FGL_J0226.3-1845_daily_bin277.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 9.22
user 0.41
sys 8.76

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/388442/ft1_filtered_4FGL_J0226.3-1845_daily_bin277.fits evtable="EVENTS" scfile=/scratch/kocevski/388442/ft2_4FGL_J0226.3-1845_daily_bin277.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/388442/Model_4FGL_J0226.3-1845_daily_bin277.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/388442/ft1_filtered_4FGL_J0226.3-1845_daily_bin277.fits.....................!
real 53.80
user 40.57
sys 12.83

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.4678       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.735       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1623       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .16930       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.5951       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    41.075       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.064       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    58.318       1.0000         .10000E-03   10000.    
    15 'norm      '    10.885       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    151.63       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    9.1445       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0011       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80246       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=   3743.914     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2399 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    53.490       -.92329E-06** at limit **
   2  norm          3.4668        3.0736        .23021E-06   -.66758E-04
   3  Prefactor     15.739        7.4827       -.11200E-05   -.46977E-03
   4  Prefactor     5.1592        18.950        .14375E-05    .41443E-05
   5  Prefactor     .14641E-03    22.026        .32886E-05** at limit **
   6  Prefactor     7.5899        8.4928        .11166E-06   -.34136E-04
   7  Prefactor     .10000E-03    4.7228       -.40575E-07** at limit **
   8  Prefactor     41.147        37.155        .39222E-07   -.97131E-04
   9  norm          .10000E-03    42.424        .12784E-05** at limit **
  10  Prefactor     .10000E-03    3.2404       -.26928E-07** at limit **
  11  Prefactor     18.156        60.828       -.40702E-06   -.17718E-04
  12  Prefactor     .10000E-03    45.316       -.13355E-06** at limit **
  13  Prefactor     .10000E-03    46.215       -.10811E-05** at limit **
  14  Prefactor     58.231        60.027       -.93044E-07   -.81535E-05
  15  norm          10.885        3.7356        .96866E-07   -.18787E-04
  16  Prefactor     .10000E-03    6.8727       -.17157E-07** at limit **
  17  Prefactor     151.60        112.17       -.80769E-06   -.13883E-04
  18  Prefactor     .10000E-03    22.271       -.11251E-06** at limit **
  19  norm          9.1439        5.8202        .13691E-06   -.32840E-05
  20  Prefactor     .10000E-03    28.683       -.12089E-05** at limit **
  21  Normalizat    1.0017        .23164       -.12397E-05   -.20302E-03
  22  Prefactor     .80203        .22641       -.13559E-05   -.15865E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.46675
  Prefactor  = 15.7386
  Prefactor  = 5.1592
  Prefactor  = 0.000146413
  Prefactor  = 7.58986
  Prefactor  = 0.0001
  Prefactor  = 41.1472
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1558
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 58.2305
  norm       = 10.8851
  Prefactor  = 0.0001
  Prefactor  = 151.601
  Prefactor  = 0.0001
  norm       = 9.14392
  Prefactor  = 0.0001
  Normalizat = 1.00167
  Prefactor  = 0.802028
 **********
 **   18 **HESSE 
 **********

 FCN=   3743.914     FROM HESSE     STATUS=OK           352 CALLS     2751 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    53.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.4668        3.0756        .94808E-04   -1.5336    
   3  Prefactor     15.739        7.5929        .10097E-03   -1.4914    
   4  Prefactor     5.1592        18.911        .17694E-03   -1.5254    
   5  Prefactor     .14641E-03    31.351        .75051E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.5899        8.5268        .14552E-03   -1.5157    
   7  Prefactor     .10000E-03    4.7307        .12980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     41.147        38.619        .31273E-03   -1.4424    
   9  norm          .10000E-03    42.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.2487        .10755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.156        60.900        .94236E-04   -1.4856    
  12  Prefactor     .10000E-03    45.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    46.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     58.231        60.274        .52535E-04   -1.4180    
  15  norm          10.885        3.7381        .65585E-04   -1.5048    
  16  Prefactor     .10000E-03    6.9071        .15663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     151.60        112.17        .16367E-03   -1.3239    
  18  Prefactor     .10000E-03    22.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9.1439        5.8204        .11225E-03   -1.5103    
  20  Prefactor     .10000E-03    28.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0017        .27028        .24414E-03   -.92975    
  22  Prefactor     .80203        .26037        .27471E-03   -.99654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.90234e-10
Minuit parameter uncertainties:
  1  3.99957e-05
  2  3.07579
  3  7.59333
  4  18.9326
  5  0.076331
  6  8.5282
  7  8.70805e-06
  8  38.6421
  9  0.00013105
  10  4.16044e-06
  11  61.1092
  12  1.63735e-05
  13  4.95267e-05
  14  60.337
  15  3.73823
  16  1.87161e-05
  17  112.327
  18  1.77995e-05
  19  5.82081
  20  8.3775e-05
  21  0.270654
  22  0.260772
Done.

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

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.816e+01  6.111e+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:  8.020e-01  2.608e-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.002e+00  2.707e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/388442/likelihoodResults_311126401_311385601_4FGL_J0226.3-1845_daily_bin277.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) = 3743.87159043
delta logL = 0.0425995351366

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3743.86835201
delta logL = 0.0458379634347

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.430       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1720       1.0000          .0000       10.000    
     3 'Normalizat'    1.0067       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79418       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=   3743.868     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      291 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.424        75.733        .72633E-04    .30023E-03
   2  Index         2.1721        1.1450        .12931E-01    .18289E-03
   3  Normalizat    1.0069        .24894        .24356E-03   -.19632E-03
   4  Prefactor     .79402        .25583        .27613E-03   -.24655E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.4239
  Index      = 2.17207
  Normalizat = 1.00689
  Prefactor  = 0.794023
 **********
 **   18 **HESSE 
 **********

 FCN=   3743.868     FROM HESSE     STATUS=OK            23 CALLS      314 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.424        75.004        .14527E-04   -1.4604    
   2  Index         2.1721        1.1346        .51725E-03   -.60114    
   3  Normalizat    1.0069        .24908        .48713E-04   -.92800    
   4  Prefactor     .79402        .25589        .55227E-04   -.99949    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.20082e-09
Minuit parameter uncertainties:
  1  75.2375
  2  1.14938
  3  0.249366
  4  0.256276
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/388442': 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) = 3743.8683518
delta logL = 0.0458381715102

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  3.042e+01  7.524e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.172e+00  1.149e+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.940e-01  2.563e-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.007e+00  2.494e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
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/388442/cmap_HighResolution_311126401_311385601_4FGL_J0226.3-1845_daily_bin277.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2021-08-15 21:59:27.479520', job_id='388442', GAL2='0.79', fit_tolerance='1e-08', EG2='1.01', EG='1.00', time_epoch_completed='1629089967.48', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='4.58e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='277' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:59:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 388442: <4FGL_J0226.3-1845_daily_bin277> in cluster <slac> Done

Job <4FGL_J0226.3-1845_daily_bin277> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 15 21:45:29 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:45:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 21:45:54 2021
Terminated at Sun Aug 15 21:59:30 2021
Results reported at Sun Aug 15 21:59:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin277 36.5838 -18.763 311126401 311385601 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 :                                   782.27 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             255.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            841 sec.

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

