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


Performing analysis on: 4FGL_J0226.3-1845_daily_bin755
RA = 36.5838, Dec = -18.763
tmin = 435024001, tmax = 435283201
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='390097', job_status='RUN', time_executed='2021-08-15 21:54:54.721421', time_epoch_executed='1629089694.72' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/390097

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/390097/ft1_4FGL_J0226.3-1845_daily_bin755.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/390097/ft2_4FGL_J0226.3-1845_daily_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/390097/ft1_4FGL_J0226.3-1845_daily_bin755.fits outfile=/scratch/kocevski/390097/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin755.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=435024001.0 tmax=435283201.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 10.09
user 4.76
sys 5.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/390097/ft1_filtered_4FGL_J0226.3-1845_daily_bin755.fits" evtable="EVENTS" scfile=/scratch/kocevski/390097/ft2_4FGL_J0226.3-1845_daily_bin755.fits sctable="SC_DATA" outfile=/scratch/kocevski/390097/ltcube_435024001_435283201_4FGL_J0226.3-1845_daily_bin755.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/390097/ft2_4FGL_J0226.3-1845_daily_bin755.fits
.....................!
real 21.44
user 14.85
sys 6.51

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/390097/ft1_filtered_4FGL_J0226.3-1845_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/390097/ft2_4FGL_J0226.3-1845_daily_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/390097/ltcube_435024001_435283201_4FGL_J0226.3-1845_daily_bin755.fits outfile=/scratch/kocevski/390097/expmap_435024001_435283201_4FGL_J0226.3-1845_daily_bin755.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/390097/ltcube_435024001_435283201_4FGL_J0226.3-1845_daily_bin755.fits
.....................!
real 198.63
user 186.71
sys 11.40

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/390097/ft1_filtered_4FGL_J0226.3-1845_daily_bin755.fits scfile=/scratch/kocevski/390097/ft2_4FGL_J0226.3-1845_daily_bin755.fits outfile=/scratch/kocevski/390097/cmap_435024001_435283201_4FGL_J0226.3-1845_daily_bin755.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.46
user 0.38
sys 5.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/390097/ft1_filtered_4FGL_J0226.3-1845_daily_bin755.fits scfile=/scratch/kocevski/390097/ft2_4FGL_J0226.3-1845_daily_bin755.fits outfile=/scratch/kocevski/390097/cmap_HighResolution_435024001_435283201_4FGL_J0226.3-1845_daily_bin755.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.43
user 0.39
sys 5.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/390097/ft1_filtered_4FGL_J0226.3-1845_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/390097/ft2_4FGL_J0226.3-1845_daily_bin755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/390097/Model_4FGL_J0226.3-1845_daily_bin755.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/390097/ft1_filtered_4FGL_J0226.3-1845_daily_bin755.fits......................!
real 36.57
user 27.69
sys 8.42

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.6998       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1952       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.417       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10299E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10434E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    117.28       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    84.277       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .71226       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    40.879       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.161       1.0000         .10000E-03   10000.    
    19 'norm      '    7.0515       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .40250       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2726       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=   2245.899     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2369 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    106.28       -.25598E-05** at limit **
   2  norm          2.6996        3.2338        .23633E-07   -.58085E-04
   3  Prefactor     4.1962        7.5762        .59134E-05   -.25349E-03
   4  Prefactor     17.415        24.831        .71455E-06    .71052E-04
   5  Prefactor     .10000E-03    31.724       -.22896E-05** at limit **
   6  Prefactor     .10008E-03    12.739       -.10490E-05** at limit **
   7  Prefactor     .10000E-03    10.613        .20289E-06** at limit **
   8  Prefactor     .10000E-03    36.817       -.76839E-06** at limit **
   9  norm          117.29        77.187        .77194E-06    .12418E-04
  10  Prefactor     .10000E-03    4.2874       -.50465E-07** at limit **
  11  Prefactor     .10001E-03    80.564        .17534E-05** at limit **
  12  Prefactor     84.268        102.45        .13086E-05   -.27600E-04
  13  Prefactor     .10000E-03    26.652        .30844E-06** at limit **
  14  Prefactor     .10000E-03    44.604        .10766E-05** at limit **
  15  norm          .71229        3.3181        .13757E-05   -.19906E-03
  16  Prefactor     .10000E-03    5.5694        .22047E-06** at limit **
  17  Prefactor     40.975        116.29        .57636E-05    .87567E-04
  18  Prefactor     15.164        33.229        .10019E-05   -.20068E-04
  19  norm          7.0519        5.5962       -.53156E-07   -.49569E-04
  20  Prefactor     .10000E-03    9.0497        .80747E-06** at limit **
  21  Normalizat    .40250        .28532       -.41902E-05   -.68252E-04
  22  Prefactor     1.2726        .27220       -.17767E-05   -.56039E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100012
  norm       = 2.69963
  Prefactor  = 4.19624
  Prefactor  = 17.4149
  Prefactor  = 0.000100003
  Prefactor  = 0.000100077
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 117.29
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 84.2682
  Prefactor  = 0.000100001
  Prefactor  = 0.000100003
  norm       = 0.712287
  Prefactor  = 0.0001
  Prefactor  = 40.9753
  Prefactor  = 15.1638
  norm       = 7.05194
  Prefactor  = 0.0001
  Normalizat = 0.402496
  Prefactor  = 1.27256
 **********
 **   18 **HESSE 
 **********

 FCN=   2245.899     FROM HESSE     STATUS=OK           340 CALLS     2709 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    107.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.6996        3.2151        .87102E-04   -1.5379    
   3  Prefactor     4.1962        7.6129        .81293E-03   -1.5298    
   4  Prefactor     17.415        24.469        .95968E-04   -1.4873    
   5  Prefactor     .10000E-03    32.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10008E-03    37.528        .31107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.629        .15047E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    36.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          117.29        77.009        .18577E-03   -1.3538    
  10  Prefactor     .10000E-03    4.2920        .95807E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    81.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     84.268        102.59        .43757E-04   -1.3869    
  13  Prefactor     .10000E-03    26.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    44.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .71229        5.0171        .14338E-02   -1.5539    
  16  Prefactor     .10000E-03    5.5884        .10924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     40.975        117.02        .62695E-04   -1.4427    
  18  Prefactor     15.164        33.181        .10287E-03   -1.4929    
  19  norm          7.0519        5.5565        .93350E-04   -1.5177    
  20  Prefactor     .10000E-03    9.0469        .13922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .40250        .30380        .31148E-03   -1.1717    
  22  Prefactor     1.2726        .29867        .19820E-03   -.84127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83232e-09
Minuit parameter uncertainties:
  1  0.00227984
  2  3.2153
  3  7.61468
  4  24.4835
  5  0.00060088
  6  0.00340761
  7  1.06867e-05
  8  0.000196454
  9  77.0744
  10  1.0867e-05
  11  0.00141821
  12  102.804
  13  0.000257727
  14  0.00075623
  15  3.78099
  16  1.14123e-05
  17  117.679
  18  33.2217
  19  5.55693
  20  1.15609e-05
  21  0.30505
  22  0.299072
Done.

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

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  1.418e-03  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.273e+00  2.991e-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:  4.025e-01  3.051e-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.45e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/390097/likelihoodResults_435024001_435283201_4FGL_J0226.3-1845_daily_bin755.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) = 2245.8994829
delta logL = -5.86646456213e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2245.89942431
delta logL = -7.38441485737e-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.5240       1.0000          .0000       10.000    
     3 'Normalizat'    .40250       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2726       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=   2245.899     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      239 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    7427.5        .90712E-02** at limit **
   2  Index         2.5759        5.5731        .50000       -.69109E-05
   3  Normalizat    .40250        .55400E-01    .70350E-01    .10730E-04
   4  Prefactor     1.2726        .60542E-01    .33106E-01    .28479E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100044
  Index      = 2.57589
  Normalizat = 0.402496
  Prefactor  = 1.27256
 **********
 **   18 **HESSE 
 **********

 FCN=   2245.899     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      270 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10004E-03    9687.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5759        5.1997        .50000       -.50616    
   3  Normalizat    .40250        .15476        .31148E-03   -1.1717    
   4  Prefactor     1.2726        .16973        .19820E-03   -.84127    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.49985e-08
Minuit parameter uncertainties:
  1  0.0552238
  2  64.6553
  3  0.154921
  4  0.169799
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/390097': 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) = 2245.89942423
delta logL = 5.78711478738e-09

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  5.522e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.576e+00  6.466e+01  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.273e+00  1.698e-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:  4.025e-01  1.549e-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/390097/cmap_HighResolution_435024001_435283201_4FGL_J0226.3-1845_daily_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2021-08-15 22:03:32.349441', job_id='390097', GAL2='1.27', fit_tolerance='1e-08', EG2='0.40', EG='0.40', time_epoch_completed='1629090212.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='5.79e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='755' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 22:03:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 390097: <4FGL_J0226.3-1845_daily_bin755> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin755 36.5838 -18.763 435024001 435283201 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 :                                   603.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             243.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            783 sec.

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

