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


Performing analysis on: 4FGL_J0226.3-1845_daily_bin1485
RA = 36.5838, Dec = -18.763
tmin = 624240001, tmax = 624499201
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='393359', job_status='RUN', time_executed='2021-08-15 22:06:17.014628', time_epoch_executed='1629090377.01' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='1485'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/393359

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/393359/ft1_4FGL_J0226.3-1845_daily_bin1485.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/393359/ft2_4FGL_J0226.3-1845_daily_bin1485.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/393359/ft1_4FGL_J0226.3-1845_daily_bin1485.fits outfile=/scratch/kocevski/393359/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin1485.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=624240001.0 tmax=624499201.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.09
user 3.27
sys 2.77

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/393359/ft1_filtered_4FGL_J0226.3-1845_daily_bin1485.fits" evtable="EVENTS" scfile=/scratch/kocevski/393359/ft2_4FGL_J0226.3-1845_daily_bin1485.fits sctable="SC_DATA" outfile=/scratch/kocevski/393359/ltcube_624240001_624499201_4FGL_J0226.3-1845_daily_bin1485.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/393359/ft2_4FGL_J0226.3-1845_daily_bin1485.fits
.....................!
real 17.78
user 14.43
sys 3.23

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/393359/ft1_filtered_4FGL_J0226.3-1845_daily_bin1485.fits evtable="EVENTS" scfile=/scratch/kocevski/393359/ft2_4FGL_J0226.3-1845_daily_bin1485.fits sctable="SC_DATA" expcube=/scratch/kocevski/393359/ltcube_624240001_624499201_4FGL_J0226.3-1845_daily_bin1485.fits outfile=/scratch/kocevski/393359/expmap_624240001_624499201_4FGL_J0226.3-1845_daily_bin1485.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/393359/ltcube_624240001_624499201_4FGL_J0226.3-1845_daily_bin1485.fits
.....................!
real 197.80
user 187.84
sys 9.07

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/393359/ft1_filtered_4FGL_J0226.3-1845_daily_bin1485.fits scfile=/scratch/kocevski/393359/ft2_4FGL_J0226.3-1845_daily_bin1485.fits outfile=/scratch/kocevski/393359/cmap_624240001_624499201_4FGL_J0226.3-1845_daily_bin1485.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 3.08
user 0.37
sys 2.66

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/393359/ft1_filtered_4FGL_J0226.3-1845_daily_bin1485.fits scfile=/scratch/kocevski/393359/ft2_4FGL_J0226.3-1845_daily_bin1485.fits outfile=/scratch/kocevski/393359/cmap_HighResolution_624240001_624499201_4FGL_J0226.3-1845_daily_bin1485.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 3.10
user 0.40
sys 2.65

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/393359/ft1_filtered_4FGL_J0226.3-1845_daily_bin1485.fits evtable="EVENTS" scfile=/scratch/kocevski/393359/ft2_4FGL_J0226.3-1845_daily_bin1485.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/393359/Model_4FGL_J0226.3-1845_daily_bin1485.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/393359/ft1_filtered_4FGL_J0226.3-1845_daily_bin1485.fits.....................!
real 49.39
user 44.95
sys 4.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.1851       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12853E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1453       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.920       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .41517E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    37.826       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10930E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.571       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.502       1.0000         .10000E-03   10000.    
    15 'norm      '    4.4008       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10555E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.4693       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .91059       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .69570       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=   4624.239     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2364 TOTAL
                     EDM=   .86E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.322        .18468E-06** at limit **
   2  norm          1.1833        2.1137        .21489E-06    .27709E-03
   3  Prefactor     .10000E-03    4.5310       -.32867E-05** at limit **
   4  Prefactor     3.1452        8.5229       -.24050E-06    .28523E-04
   5  Prefactor     15.915        14.731       -.39900E-07    .15836E-03
   6  Prefactor     .10000E-03    2.7072       -.13890E-06** at limit **
   7  Prefactor     .10000E-03    11.008        .41649E-05** at limit **
   8  Prefactor     .10000E-03    11.569       -.85803E-06** at limit **
   9  norm          37.880        34.798        .16354E-05    .13462E-04
  10  Prefactor     .10000E-03    1.5955       -.29424E-07** at limit **
  11  Prefactor     .10000E-03    65.737       -.23780E-05** at limit **
  12  Prefactor     24.557        34.402        .11667E-05   -.16812E-04
  13  Prefactor     .10000E-03    7.6575       -.12721E-05** at limit **
  14  Prefactor     11.477        31.190        .20691E-05   -.28323E-04
  15  norm          4.4008        2.0914       -.49500E-07    .93983E-05
  16  Prefactor     .10000E-03    4.4077       -.15966E-06** at limit **
  17  Prefactor     .10000E-03    42.543        .17743E-06** at limit **
  18  Prefactor     .10000E-03    10.520        .57372E-06** at limit **
  19  norm          5.4693        3.3146       -.78976E-07   -.20469E-04
  20  Prefactor     .10000E-03    4.1704       -.45636E-07** at limit **
  21  Normalizat    .91059        .15289        .61055E-06    .27239E-03
  22  Prefactor     .69580        .15765        .35654E-06    .18427E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.18335
  Prefactor  = 0.000100001
  Prefactor  = 3.14525
  Prefactor  = 15.9146
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 37.8797
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.5568
  Prefactor  = 0.0001
  Prefactor  = 11.4775
  norm       = 4.40078
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.46928
  Prefactor  = 0.0001
  Normalizat = 0.910585
  Prefactor  = 0.695799
 **********
 **   18 **HESSE 
 **********

 FCN=   4624.239     FROM HESSE     STATUS=OK           342 CALLS     2706 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1833        2.0779        .12153E-03   -1.5490    
   3  Prefactor     .10000E-03    7.5113        .20696E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.1452        8.5243        .22857E-03   -1.5353    
   5  Prefactor     15.915        14.602        .10038E-03   -1.4910    
   6  Prefactor     .10000E-03    2.7705        .10924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.986        .32448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          37.880        35.140        .65166E-04   -1.4476    
  10  Prefactor     .10000E-03    1.6012        .83877E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    66.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     24.557        34.352        .80812E-04   -1.4716    
  13  Prefactor     .10000E-03    7.6803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.477        31.121        .11813E-03   -1.5030    
  15  norm          4.4008        2.0904        .64084E-04   -1.5288    
  16  Prefactor     .10000E-03    4.4623        .13946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    42.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.4693        3.3120        .92512E-04   -1.5240    
  20  Prefactor     .10000E-03    4.1744        .13563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .91059        .17826        .19629E-03   -.96089    
  22  Prefactor     .69580        .18329        .23821E-03   -1.0369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44674e-10
Minuit parameter uncertainties:
  1  3.33339e-05
  2  2.07803
  3  0.000124272
  4  8.52754
  5  14.6057
  6  1.06878e-05
  7  0.000160965
  8  8.03693e-06
  9  35.1595
  10  5.69788e-06
  11  8.08154e-05
  12  34.3793
  13  4.54295e-06
  14  31.1651
  15  2.09039
  16  1.46131e-05
  17  7.40964e-05
  18  9.5109e-05
  19  3.31209
  20  3.84772e-06
  21  0.178372
  22  0.183444
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
538   Normalization:  9.106e-01  1.784e-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.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/393359/likelihoodResults_624240001_624499201_4FGL_J0226.3-1845_daily_bin1485.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) = 4624.23940157
delta logL = -7.13041690688e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4624.23933105
delta logL = -7.78793037171e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7957       1.0000          .0000       10.000    
     3 'Normalizat'    .91059       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69580       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=   4624.239     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      287 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10931E-03    1.7998        .10917    ** at limit **
   2  Index         2.6561        8.0561        .50000        .10287E-04
   3  Normalizat    .91058        .10999E-02    .19629E-03    .81490E-04
   4  Prefactor     .69580        .11870E-02    .23822E-03    .61994E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000109314
  Index      = 2.65608
  Normalizat = 0.910585
  Prefactor  = 0.695799
 **********
 **   18 **HESSE 
 **********

 FCN=   4624.239     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      318 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10931E-03    109.39        .61181E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6561        8.6493        .50000       -.48791    
   3  Normalizat    .91058        .53366E-02    .78517E-05   -.96089    
   4  Prefactor     .69580        .57590E-02    .95286E-05   -1.0369    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.22672e-10
Minuit parameter uncertainties:
  1  0.0639552
  2  240.063
  3  0.00533656
  4  0.005759
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/393359': 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) = 4624.23933051
delta logL = -2.36393134401e-07

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.093e-04  6.396e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.656e+00  2.401e+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:  6.958e-01  5.759e-03  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  9.106e-01  5.337e-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/393359/cmap_HighResolution_624240001_624499201_4FGL_J0226.3-1845_daily_bin1485.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.19e-03', job_status='DONE', photon_flux_upper_limit='6.65e-08', time_completed='2021-08-15 22:16:20.007571', job_id='393359', GAL2='0.70', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1629090980.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='-2.36e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1485' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 22:16:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0137>
Subject: Job 393359: <4FGL_J0226.3-1845_daily_bin1485> in cluster <slac> Done

Job <4FGL_J0226.3-1845_daily_bin1485> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Aug 15 22:01:16 2021
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 22:03:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 22:03:15 2021
Terminated at Sun Aug 15 22:16:20 2021
Results reported at Sun Aug 15 22:16:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin1485 36.5838 -18.763 624240001 624499201 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 :                                   638.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            904 sec.

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

