aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 136 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 = 7657
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0226.3-1845_daily_bin1670
RA = 36.5838, Dec = -18.763
tmin = 672192001, tmax = 672451201
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='862473', job_status='RUN', time_executed='2022-04-24 00:15:15.612997', time_epoch_executed='1650784515.61' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862473

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/862473/ft1_4FGL_J0226.3-1845_daily_bin1670.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/862473/ft2_4FGL_J0226.3-1845_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862473/ft1_4FGL_J0226.3-1845_daily_bin1670.fits outfile=/scratch/kocevski/862473/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin1670.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=672192001.0 tmax=672451201.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 5.05
user 4.79
sys 0.25

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

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

Number of photons that the gtmktime cut: 308

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862473/ft1_filtered_4FGL_J0226.3-1845_daily_bin1670.fits" evtable="EVENTS" scfile=/scratch/kocevski/862473/ft2_4FGL_J0226.3-1845_daily_bin1670.fits sctable="SC_DATA" outfile=/scratch/kocevski/862473/ltcube_672192001_672451201_4FGL_J0226.3-1845_daily_bin1670.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/862473/ft2_4FGL_J0226.3-1845_daily_bin1670.fits
.....................!
real 12.88
user 12.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862473/ft1_filtered_4FGL_J0226.3-1845_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862473/ft2_4FGL_J0226.3-1845_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/862473/ltcube_672192001_672451201_4FGL_J0226.3-1845_daily_bin1670.fits outfile=/scratch/kocevski/862473/expmap_672192001_672451201_4FGL_J0226.3-1845_daily_bin1670.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/862473/ltcube_672192001_672451201_4FGL_J0226.3-1845_daily_bin1670.fits
.....................!
real 191.85
user 186.42
sys 5.03

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/862473/ft1_filtered_4FGL_J0226.3-1845_daily_bin1670.fits scfile=/scratch/kocevski/862473/ft2_4FGL_J0226.3-1845_daily_bin1670.fits outfile=/scratch/kocevski/862473/cmap_672192001_672451201_4FGL_J0226.3-1845_daily_bin1670.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 0.54
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862473/ft1_filtered_4FGL_J0226.3-1845_daily_bin1670.fits scfile=/scratch/kocevski/862473/ft2_4FGL_J0226.3-1845_daily_bin1670.fits outfile=/scratch/kocevski/862473/cmap_HighResolution_672192001_672451201_4FGL_J0226.3-1845_daily_bin1670.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 0.58
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/862473/ft1_filtered_4FGL_J0226.3-1845_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862473/ft2_4FGL_J0226.3-1845_daily_bin1670.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/862473/Model_4FGL_J0226.3-1845_daily_bin1670.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/862473/ft1_filtered_4FGL_J0226.3-1845_daily_bin1670.fits.....................!
real 40.09
user 38.83
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.7270       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10426E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.467       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13635E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.203       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .55434E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.160       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.3684       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.7079       1.0000         .10000E-03   10000.    
    17 'Prefactor '    88.073       1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.098       1.0000         .10000E-03   10000.    
    19 'norm      '    .18439E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77737       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0624       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=   3570.750     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2433 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.531        .26434E-06** at limit **
   2  norm          8.7276        3.6591        .54024E-06    .42248E-03
   3  Prefactor     .10004E-03    8.3370        .44812E-05** at limit **
   4  Prefactor     26.472        15.300       -.28828E-06   -.84988E-04
   5  Prefactor     .10000E-03    24.681        .16584E-06** at limit **
   6  Prefactor     .10000E-03    6.4684       -.39281E-06** at limit **
   7  Prefactor     20.180        17.502       -.21950E-05   -.79215E-03
   8  Prefactor     .10000E-03    13.154       -.31667E-06** at limit **
   9  norm          .10015E-03    273.91       -.17321E-04** at limit **
  10  Prefactor     .10000E-03    5.3364        .28128E-07** at limit **
  11  Prefactor     .10000E-03    174.05       -.25349E-05** at limit **
  12  Prefactor     15.126        58.715       -.92952E-06   -.45922E-04
  13  Prefactor     .10000E-03    10.314       -.35236E-07** at limit **
  14  Prefactor     4.3683        132.99        .80949E-06   -.72184E-05
  15  norm          .10000E-03    .72572        .66829E-07** at limit **
  16  Prefactor     6.7046        12.993        .34164E-06   -.23206E-04
  17  Prefactor     88.089        116.20        .40118E-06   -.27787E-05
  18  Prefactor     32.095        34.960       -.36692E-06   -.85984E-04
  19  norm          .10044E-03    3.1090        .78998E-06** at limit **
  20  Prefactor     .10000E-03    8.5479        .24783E-06** at limit **
  21  Normalizat    .77732        .22359        .62194E-06   -.58274E-03
  22  Prefactor     1.0625        .22257       -.13583E-05   -.58433E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 8.72764
  Prefactor  = 0.000100038
  Prefactor  = 26.4718
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.1804
  Prefactor  = 0.0001
  norm       = 0.000100153
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.1255
  Prefactor  = 0.0001
  Prefactor  = 4.36834
  norm       = 0.0001
  Prefactor  = 6.70457
  Prefactor  = 88.0894
  Prefactor  = 32.0945
  norm       = 0.000100436
  Prefactor  = 0.0001
  Normalizat = 0.777321
  Prefactor  = 1.06253
 **********
 **   18 **HESSE 
 **********

 FCN=   3570.750     FROM HESSE     STATUS=OK           334 CALLS     2767 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.7276        3.7121        .34960E-03   -1.5117    
   3  Prefactor     .10004E-03    12.711        .22782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.472        15.233        .77868E-04   -1.4678    
   5  Prefactor     .10000E-03    24.919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.246        .28635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.180        17.647        .89111E-04   -1.4809    
   8  Prefactor     .10000E-03    13.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10015E-03    279.02        .19057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.3841        .13473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    176.13        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.126        59.022        .10287E-03   -1.4930    
  13  Prefactor     .10000E-03    10.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.3683        130.75        .19271E-03   -1.5290    
  15  norm          .10000E-03    .72954        .49702E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.7046        12.998        .15493E-03   -1.5190    
  17  Prefactor     88.089        116.25        .42812E-04   -1.3828    
  18  Prefactor     32.095        34.465        .70725E-04   -1.4574    
  19  norm          .10044E-03    93.834        .19543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.5536        .17065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .77732        .24990        .25312E-03   -1.0092    
  22  Prefactor     1.0625        .25507        .23384E-03   -.90673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.05368e-09
Minuit parameter uncertainties:
  1  7.28092e-05
  2  3.71223
  3  0.00139596
  4  15.2355
  5  3.63714e-05
  6  0.000169388
  7  17.6518
  8  0.000107267
  9  0.0131311
  10  7.80035e-06
  11  0.000125077
  12  59.251
  13  5.55113e-06
  14  47.9126
  15  2.16828e-06
  16  13.0036
  17  116.549
  18  34.4862
  19  0.0128118
  20  3.07643e-05
  21  0.250266
  22  0.255359
Done.

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

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  1.251e-04  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.063e+00  2.554e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  7.773e-01  2.503e-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.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/862473/likelihoodResults_672192001_672451201_4FGL_J0226.3-1845_daily_bin1670.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) = 3570.75026979
delta logL = -2.69167298939e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3570.75024294
delta logL = -6.58246790408e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5383       1.0000          .0000       10.000    
     3 'Normalizat'    .77733       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0625       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=   3570.750     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      278 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10007E-03    5665.2        .36285E-02** at limit **
   2  Index         2.6716        5.3253        .50000       -.91650E-05
   3  Normalizat    .77733        .88426E-01    .25311E-03    .22772E-03
   4  Prefactor     1.0625        .93919E-01    .23384E-03   -.18211E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100074
  Index      = 2.67165
  Normalizat = 0.777331
  Prefactor  = 1.06252
 **********
 **   18 **HESSE 
 **********

 FCN=   3570.750     FROM HESSE     STATUS=OK            29 CALLS      307 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10007E-03    576.14        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6716        6.3351        .50000       -.48439    
   3  Normalizat    .77733        .23438        .50623E-04   -1.0092    
   4  Prefactor     1.0625        .25101        .46768E-04   -.90673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27148e-09
Minuit parameter uncertainties:
  1  0.0132234
  2  4.915
  3  0.234688
  4  0.251291
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862473': 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) = 3570.75024268
delta logL = 1.96841483557e-07

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.001e-04  1.322e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.672e+00  4.915e+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:  1.063e+00  2.513e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  7.773e-01  2.347e-01  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/862473/cmap_HighResolution_672192001_672451201_4FGL_J0226.3-1845_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2022-04-24 00:23:37.366302', job_id='862473', GAL2='1.06', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1650785017.37', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.97e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1670' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 00:23:37 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 862431: <4FGL_J0226.3-1845_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0226.3-1845_daily_bin1670> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:30 2022
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:12:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:12:33 2022
Terminated at Sun Apr 24 00:21:39 2022
Results reported at Sun Apr 24 00:21:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin1670 36.5838 -18.763 672192001 672451201 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 :                                   500.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             255.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   545 sec.
    Turnaround time :                            789 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 862473: <4FGL_J0226.3-1845_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0226.3-1845_daily_bin1670> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:31 2022
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:12:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:12:50 2022
Terminated at Sun Apr 24 00:23:38 2022
Results reported at Sun Apr 24 00:23:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin1670 36.5838 -18.763 672192001 672451201 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 :                                   504.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            907 sec.

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

