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


Performing analysis on: 4FGL_J0226.3-1845_daily_bin879
RA = 36.5838, Dec = -18.763
tmin = 467164801, tmax = 467424001
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='390295', job_status='RUN', time_executed='2021-08-15 21:54:43.203780', time_epoch_executed='1629089683.2' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='879'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/390295

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/390295/ft1_4FGL_J0226.3-1845_daily_bin879.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/390295/ft2_4FGL_J0226.3-1845_daily_bin879.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/390295/ft1_4FGL_J0226.3-1845_daily_bin879.fits outfile=/scratch/kocevski/390295/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin879.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=467164801.0 tmax=467424001.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 6.06
user 3.40
sys 2.60

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/390295/ft1_filtered_4FGL_J0226.3-1845_daily_bin879.fits" evtable="EVENTS" scfile=/scratch/kocevski/390295/ft2_4FGL_J0226.3-1845_daily_bin879.fits sctable="SC_DATA" outfile=/scratch/kocevski/390295/ltcube_467164801_467424001_4FGL_J0226.3-1845_daily_bin879.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/390295/ft2_4FGL_J0226.3-1845_daily_bin879.fits
.....................!
real 16.30
user 13.17
sys 3.06

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/390295/ft1_filtered_4FGL_J0226.3-1845_daily_bin879.fits evtable="EVENTS" scfile=/scratch/kocevski/390295/ft2_4FGL_J0226.3-1845_daily_bin879.fits sctable="SC_DATA" expcube=/scratch/kocevski/390295/ltcube_467164801_467424001_4FGL_J0226.3-1845_daily_bin879.fits outfile=/scratch/kocevski/390295/expmap_467164801_467424001_4FGL_J0226.3-1845_daily_bin879.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/390295/ltcube_467164801_467424001_4FGL_J0226.3-1845_daily_bin879.fits
.....................!
real 194.01
user 186.00
sys 7.27

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/390295/ft1_filtered_4FGL_J0226.3-1845_daily_bin879.fits scfile=/scratch/kocevski/390295/ft2_4FGL_J0226.3-1845_daily_bin879.fits outfile=/scratch/kocevski/390295/cmap_467164801_467424001_4FGL_J0226.3-1845_daily_bin879.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 2.95
user 0.39
sys 2.51

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/390295/ft1_filtered_4FGL_J0226.3-1845_daily_bin879.fits scfile=/scratch/kocevski/390295/ft2_4FGL_J0226.3-1845_daily_bin879.fits outfile=/scratch/kocevski/390295/cmap_HighResolution_467164801_467424001_4FGL_J0226.3-1845_daily_bin879.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 2.97
user 0.40
sys 2.50

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/390295/ft1_filtered_4FGL_J0226.3-1845_daily_bin879.fits evtable="EVENTS" scfile=/scratch/kocevski/390295/ft2_4FGL_J0226.3-1845_daily_bin879.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/390295/Model_4FGL_J0226.3-1845_daily_bin879.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/390295/ft1_filtered_4FGL_J0226.3-1845_daily_bin879.fits......................!
real 40.44
user 35.48
sys 4.43

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .31687E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.9462       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10504E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14994       1.0000         .10000E-03   10000.    
     9 'norm      '    39.892       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.9878       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    63.658       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13629E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.731       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.2301       1.0000         .10000E-03   10000.    
    19 'norm      '    10.414       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .63249       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0727       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=   3310.103     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2500 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    81.409       -.93853E-06** at limit **
   2  norm          .10000E-03    1.0367       -.52033E-06** at limit **
   3  Prefactor     .46766E-01    3.1813        .62532E-06   -.60173E-03
   4  Prefactor     .10000E-03    18.149       -.46619E-06** at limit **
   5  Prefactor     .10000E-03    8.2200       -.30085E-06** at limit **
   6  Prefactor     6.9487        10.390       -.80819E-07    .90996E-04
   7  Prefactor     .10000E-03    15.934        .33048E-06** at limit **
   8  Prefactor     .10555E-03    22.391       -.19210E-05** at limit **
   9  norm          39.904        57.005        .98057E-07    .27918E-04
  10  Prefactor     8.9919        13.276       -.16392E-06    .64028E-04
  11  Prefactor     .10000E-03    35.461        .20116E-07** at limit **
  12  Prefactor     .10000E-03    52.099       -.29623E-06** at limit **
  13  Prefactor     63.657        52.264        .81832E-06    .70599E-04
  14  Prefactor     .10001E-03    349.83       -.24462E-05** at limit **
  15  norm          .10000E-03    1.4010        .11829E-06** at limit **
  16  Prefactor     .10000E-03    2.2149        .12134E-06** at limit **
  17  Prefactor     18.922        117.74       -.14797E-05    .10882E-04
  18  Prefactor     2.2200        70.046        .70170E-05    .41536E-04
  19  norm          10.414        5.2922       -.57168E-07    .36227E-04
  20  Prefactor     .10000E-03    9.6058        .25661E-05** at limit **
  21  Normalizat    .63227        .21548        .37685E-05    .13889E-03
  22  Prefactor     1.0727        .21468       -.18408E-05    .21478E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0467655
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.94874
  Prefactor  = 0.0001
  Prefactor  = 0.000105545
  norm       = 39.9044
  Prefactor  = 8.99186
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 63.6567
  Prefactor  = 0.000100006
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.9216
  Prefactor  = 2.22001
  norm       = 10.4145
  Prefactor  = 0.0001
  Normalizat = 0.632273
  Prefactor  = 1.07274
 **********
 **   18 **HESSE 
 **********

 FCN=   3310.103     FROM HESSE     STATUS=OK           350 CALLS     2850 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    81.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.6041        .11182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .46766E-01    74.193        .18377E-02   -1.5665    
   4  Prefactor     .10000E-03    18.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.2441        .16115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9487        10.368        .15222E-03   -1.5181    
   7  Prefactor     .10000E-03    16.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10555E-03    23.518        .86443E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          39.904        56.714        .63463E-04   -1.4444    
  10  Prefactor     8.9919        13.203        .13369E-03   -1.5108    
  11  Prefactor     .10000E-03    35.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    52.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     63.657        52.218        .50296E-04   -1.4111    
  14  Prefactor     .10001E-03    358.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.3323        .12879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.2152        .83612E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.922        117.14        .92542E-04   -1.4838    
  18  Prefactor     2.2200        69.841        .27530E-03   -1.5410    
  19  norm          10.414        5.2718        .89910E-04   -1.5062    
  20  Prefactor     .10000E-03    9.6295        .17428E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .63227        .23854        .25428E-03   -1.0663    
  22  Prefactor     1.0727        .23860        .21137E-03   -.90342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08819e-08
Minuit parameter uncertainties:
  1  0.000178734
  2  2.24166e-06
  3  3.72606
  4  6.15281e-05
  5  2.17173e-05
  6  10.3704
  7  1.98584e-05
  8  0.0228492
  9  56.7909
  10  13.2069
  11  2.82739e-05
  12  7.32307e-05
  13  52.2552
  14  0.00285772
  15  6.80933e-05
  16  1.88247e-06
  17  94.4353
  18  24.935
  19  5.27208
  20  0.000121415
  21  0.238935
  22  0.238833
Done.

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

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  2.827e-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:  1.073e+00  2.388e-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:  6.323e-01  2.389e-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: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/390295/likelihoodResults_467164801_467424001_4FGL_J0226.3-1845_daily_bin879.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) = 3310.10278542
delta logL = -0.000134184851504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3310.10265174
delta logL = -5.05509433424e-07

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 'Index     '    3.1767       1.0000          .0000       10.000    
     3 'Normalizat'    .63227       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0727       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=   3310.103     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      269 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10393E-03    24.940        .18142E-01** at limit **
   2  Index         3.0613        5.6330        .50000        .64106E-05
   3  Normalizat    .63227        .45717E-02    .25428E-03    .23182E-04
   4  Prefactor     1.0727        .48735E-02    .21138E-03    .22482E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103933
  Index      = 3.06135
  Normalizat = 0.632273
  Prefactor  = 1.07274
 **********
 **   18 **HESSE 
 **********

 FCN=   3310.103     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      298 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10393E-03    208.56        .29981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0613        6.2471        .50000       -.39817    
   3  Normalizat    .63227        .13268E-01    .10171E-04   -1.0663    
   4  Prefactor     1.0727        .14144E-01    .84550E-05   -.90342    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.36709e-09
Minuit parameter uncertainties:
  1  0.0574809
  2  702.621
  3  0.0132679
  4  0.0141438
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/390295': 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) = 3310.10265163
delta logL = -3.95533334085e-07

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.039e-04  5.748e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  3.061e+00  7.026e+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.073e+00  1.414e-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:  6.323e-01  1.327e-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/390295/cmap_HighResolution_467164801_467424001_4FGL_J0226.3-1845_daily_bin879.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.25e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-08-15 22:03:29.302961', job_id='390295', GAL2='1.07', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1629090209.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-3.96e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='879' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 22:03:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 390295: <4FGL_J0226.3-1845_daily_bin879> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin879 36.5838 -18.763 467164801 467424001 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 :                                   559.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   579 sec.
    Turnaround time :                            765 sec.

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

