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


Performing analysis on: 4FGL_J0226.3-1845_daily_bin1013
RA = 36.5838, Dec = -18.763
tmin = 501897601, tmax = 502156801
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='391512', job_status='RUN', time_executed='2021-08-15 21:59:29.395960', time_epoch_executed='1629089969.4' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='1013'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/391512

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/391512/ft1_4FGL_J0226.3-1845_daily_bin1013.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/391512/ft2_4FGL_J0226.3-1845_daily_bin1013.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/391512/ft1_4FGL_J0226.3-1845_daily_bin1013.fits outfile=/scratch/kocevski/391512/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin1013.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=501897601.0 tmax=502156801.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 8.90
user 3.24
sys 5.51

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/391512/ft1_filtered_4FGL_J0226.3-1845_daily_bin1013.fits" evtable="EVENTS" scfile=/scratch/kocevski/391512/ft2_4FGL_J0226.3-1845_daily_bin1013.fits sctable="SC_DATA" outfile=/scratch/kocevski/391512/ltcube_501897601_502156801_4FGL_J0226.3-1845_daily_bin1013.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/391512/ft2_4FGL_J0226.3-1845_daily_bin1013.fits
.....................!
real 19.04
user 12.65
sys 6.21

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/391512/ft1_filtered_4FGL_J0226.3-1845_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/391512/ft2_4FGL_J0226.3-1845_daily_bin1013.fits sctable="SC_DATA" expcube=/scratch/kocevski/391512/ltcube_501897601_502156801_4FGL_J0226.3-1845_daily_bin1013.fits outfile=/scratch/kocevski/391512/expmap_501897601_502156801_4FGL_J0226.3-1845_daily_bin1013.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/391512/ltcube_501897601_502156801_4FGL_J0226.3-1845_daily_bin1013.fits
.....................!
real 199.63
user 186.60
sys 12.39

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/391512/ft1_filtered_4FGL_J0226.3-1845_daily_bin1013.fits scfile=/scratch/kocevski/391512/ft2_4FGL_J0226.3-1845_daily_bin1013.fits outfile=/scratch/kocevski/391512/cmap_501897601_502156801_4FGL_J0226.3-1845_daily_bin1013.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 5.94
user 0.38
sys 5.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/391512/ft1_filtered_4FGL_J0226.3-1845_daily_bin1013.fits scfile=/scratch/kocevski/391512/ft2_4FGL_J0226.3-1845_daily_bin1013.fits outfile=/scratch/kocevski/391512/cmap_HighResolution_501897601_502156801_4FGL_J0226.3-1845_daily_bin1013.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 5.40
user 0.40
sys 4.96

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/391512/ft1_filtered_4FGL_J0226.3-1845_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/391512/ft2_4FGL_J0226.3-1845_daily_bin1013.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/391512/Model_4FGL_J0226.3-1845_daily_bin1013.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/391512/ft1_filtered_4FGL_J0226.3-1845_daily_bin1013.fits.....................!
real 64.73
user 56.21
sys 8.08

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12315E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.0889       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .39632       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0752       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .43462E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7518       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12643E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10849E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1317       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15371E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10615E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3132       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.714       1.0000         .10000E-03   10000.    
    15 'norm      '    4.1368       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13508E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    34.228       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.8803       1.0000         .10000E-03   10000.    
    19 'norm      '    2.5923       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .16912E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .88408       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82629       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=   6216.701     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2350 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.854        .12248E-05** at limit **
   2  norm          2.0889        1.3667        .30175E-07   -.16485E-03
   3  Prefactor     .40726        2.0118       -.55839E-07   -.24879E-03
   4  Prefactor     2.0751        5.6631        .27213E-05   -.59757E-03
   5  Prefactor     .10000E-03    15.572       -.32983E-05** at limit **
   6  Prefactor     1.7543        3.9582       -.11373E-05   -.10279E-02
   7  Prefactor     .10000E-03    2.5851        .21896E-07** at limit **
   8  Prefactor     .10000E-03    25.626       -.22156E-04** at limit **
   9  norm          .10000E-03    13.128       -.19186E-05** at limit **
  10  Prefactor     4.1374        5.0084       -.35568E-05   -.10593E-02
  11  Prefactor     .10000E-03    42.121        .15611E-04** at limit **
  12  Prefactor     .10000E-03    21.873        .14863E-04** at limit **
  13  Prefactor     3.3275        40.565        .67362E-04   -.46006E-06
  14  Prefactor     20.512        30.481       -.75552E-05   -.15232E-03
  15  norm          4.1398        1.7147       -.62722E-07   -.51386E-03
  16  Prefactor     .10000E-03    2.6751        .78533E-07** at limit **
  17  Prefactor     34.205        53.840       -.24201E-04   -.59405E-05
  18  Prefactor     8.9621        13.228       -.55882E-05   -.70947E-04
  19  norm          2.5916        1.9070        .89434E-07    .15210E-04
  20  Prefactor     .10000E-03    7.1937        .42126E-06** at limit **
  21  Normalizat    .88407        .14162       -.18617E-05   -.66890E-05
  22  Prefactor     .82625        .14545        .17488E-05   -.26801E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.08889
  Prefactor  = 0.407265
  Prefactor  = 2.07512
  Prefactor  = 0.0001
  Prefactor  = 1.75432
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.13742
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.32749
  Prefactor  = 20.5117
  norm       = 4.13977
  Prefactor  = 0.0001
  Prefactor  = 34.2053
  Prefactor  = 8.96206
  norm       = 2.59158
  Prefactor  = 0.0001
  Normalizat = 0.884074
  Prefactor  = 0.826248
 **********
 **   18 **HESSE 
 **********

 FCN=   6216.701     FROM HESSE     STATUS=OK           344 CALLS     2694 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.0889        1.3626        .71249E-04   -1.5419    
   3  Prefactor     .40726        6.1831        .20554E-02   -1.5580    
   4  Prefactor     2.0751        5.6113        .28672E-03   -1.5420    
   5  Prefactor     .10000E-03    15.805        .21225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.7543        3.9361        .21917E-03   -1.5443    
   7  Prefactor     .10000E-03    2.5968        .12377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    25.758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    13.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.1374        5.0059        .17887E-03   -1.5301    
  11  Prefactor     .10000E-03    42.463        .20451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.3275        39.960        .22240E-03   -1.5343    
  14  Prefactor     20.512        30.553        .88005E-04   -1.4802    
  15  norm          4.1398        1.7137        .63394E-04   -1.5301    
  16  Prefactor     .10000E-03    2.6912        .12592E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     34.205        53.862        .68496E-04   -1.4538    
  18  Prefactor     8.9621        13.212        .13450E-03   -1.5109    
  19  norm          2.5916        1.9067        .90653E-04   -1.5386    
  20  Prefactor     .10000E-03    7.2157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .88407        .16710        .20359E-03   -.97022    
  22  Prefactor     .82625        .17216        .23086E-03   -.98768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66429e-09
Minuit parameter uncertainties:
  1  4.34704e-06
  2  1.36263
  3  3.17373
  4  5.61271
  5  0.000107667
  6  3.93664
  7  3.16646e-06
  8  0.000144021
  9  3.16713e-06
  10  5.00637
  11  3.85239e-05
  12  6.49626e-05
  13  23.0812
  14  30.576
  15  1.71375
  16  1.38248e-05
  17  53.9392
  18  13.2168
  19  1.90672
  20  0.000118207
  21  0.167201
  22  0.172269
Done.

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

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  3.852e-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:  8.262e-01  1.723e-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:  8.841e-01  1.672e-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: 6.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/391512/likelihoodResults_501897601_502156801_4FGL_J0226.3-1845_daily_bin1013.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) = 6216.70096696
delta logL = -0.000112130120215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6216.70085494
delta logL = -1.1448355508e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11189E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9960       1.0000          .0000       10.000    
     3 'Normalizat'    .88407       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82625       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=   6216.701     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      229 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    54.246        .90712E-02** at limit **
   2  Index         2.9853        8.5044        .50000        .22156E-05
   3  Normalizat    .88407        .37680E-02    .44698E-01    .20801E-03
   4  Prefactor     .82625        .41673E-02    .44058E-01    .16615E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 2.98533
  Normalizat = 0.884072
  Prefactor  = 0.826251
 **********
 **   18 **HESSE 
 **********

 FCN=   6216.701     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      260 TOTAL
                     EDM=   .82E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    371.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9853        8.1805        .50000       -.41472    
   3  Normalizat    .88407        .98819E-02    .20359E-03   -.97022    
   4  Prefactor     .82625        .10929E-01    .23086E-03   -.98768    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.18902e-08
Minuit parameter uncertainties:
  1  0.00248355
  2  649.861
  3  0.00988193
  4  0.0109295
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/391512': 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) = 6216.7008548
delta logL = 2.78023435385e-08

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  2.484e-03  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.985e+00  6.499e+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:  8.263e-01  1.093e-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:  8.841e-01  9.882e-03  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/391512/cmap_HighResolution_501897601_502156801_4FGL_J0226.3-1845_daily_bin1013.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.84e-03', job_status='DONE', photon_flux_upper_limit='6.19e-08', time_completed='2021-08-15 22:11:35.867396', job_id='391512', GAL2='0.83', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1629090695.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.78e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1013' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 22:11:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 391512: <4FGL_J0226.3-1845_daily_bin1013> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin1013 36.5838 -18.763 501897601 502156801 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 :                                   796.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            973 sec.

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

