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


Performing analysis on: 4FGL_J0226.3-1845_daily_bin1409
RA = 36.5838, Dec = -18.763
tmin = 604540801, tmax = 604800001
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='393235', job_status='RUN', time_executed='2021-08-15 22:06:48.590279', time_epoch_executed='1629090408.59' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='1409'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/393235

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/393235/ft1_4FGL_J0226.3-1845_daily_bin1409.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/393235/ft2_4FGL_J0226.3-1845_daily_bin1409.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/393235/ft1_4FGL_J0226.3-1845_daily_bin1409.fits outfile=/scratch/kocevski/393235/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin1409.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=604540801.0 tmax=604800001.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 9.53
user 3.42
sys 5.68

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/393235/ft1_filtered_4FGL_J0226.3-1845_daily_bin1409.fits" evtable="EVENTS" scfile=/scratch/kocevski/393235/ft2_4FGL_J0226.3-1845_daily_bin1409.fits sctable="SC_DATA" outfile=/scratch/kocevski/393235/ltcube_604540801_604800001_4FGL_J0226.3-1845_daily_bin1409.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/393235/ft2_4FGL_J0226.3-1845_daily_bin1409.fits
.....................!
real 20.70
user 14.08
sys 6.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/393235/ft1_filtered_4FGL_J0226.3-1845_daily_bin1409.fits evtable="EVENTS" scfile=/scratch/kocevski/393235/ft2_4FGL_J0226.3-1845_daily_bin1409.fits sctable="SC_DATA" expcube=/scratch/kocevski/393235/ltcube_604540801_604800001_4FGL_J0226.3-1845_daily_bin1409.fits outfile=/scratch/kocevski/393235/expmap_604540801_604800001_4FGL_J0226.3-1845_daily_bin1409.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/393235/ltcube_604540801_604800001_4FGL_J0226.3-1845_daily_bin1409.fits
.....................!
real 201.98
user 187.63
sys 11.28

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/393235/ft1_filtered_4FGL_J0226.3-1845_daily_bin1409.fits scfile=/scratch/kocevski/393235/ft2_4FGL_J0226.3-1845_daily_bin1409.fits outfile=/scratch/kocevski/393235/cmap_604540801_604800001_4FGL_J0226.3-1845_daily_bin1409.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 6.00
user 0.40
sys 5.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/393235/ft1_filtered_4FGL_J0226.3-1845_daily_bin1409.fits scfile=/scratch/kocevski/393235/ft2_4FGL_J0226.3-1845_daily_bin1409.fits outfile=/scratch/kocevski/393235/cmap_HighResolution_604540801_604800001_4FGL_J0226.3-1845_daily_bin1409.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.93
user 0.40
sys 5.47

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/393235/ft1_filtered_4FGL_J0226.3-1845_daily_bin1409.fits evtable="EVENTS" scfile=/scratch/kocevski/393235/ft2_4FGL_J0226.3-1845_daily_bin1409.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/393235/Model_4FGL_J0226.3-1845_daily_bin1409.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/393235/ft1_filtered_4FGL_J0226.3-1845_daily_bin1409.fits....................!
real 43.72
user 34.93
sys 8.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .85124       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.5374       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5491       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.5478       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.862       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.5457       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    61.771       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11673E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.9427       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    138.05       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.3688       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2741       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .30106       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=   3001.858     FROM MIGRAD    STATUS=CONVERGED    472 CALLS     2385 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.508        .16941E-04** at limit **
   2  norm          .85130        2.3792        .63828E-07   -.44695E-03
   3  Prefactor     .10000E-03    5.0274        .21264E-06** at limit **
   4  Prefactor     9.5386        11.162        .17236E-06   -.70501E-05
   5  Prefactor     .10000E-03    5.6765        .14850E-07** at limit **
   6  Prefactor     4.5499        7.5992       -.24184E-06   -.14878E-03
   7  Prefactor     9.5487        8.0361        .10914E-06    .70748E-04
   8  Prefactor     19.863        19.467       -.14564E-06    .20270E-05
   9  norm          .10000E-03    21.232       -.67411E-05** at limit **
  10  Prefactor     9.5475        10.170       -.13879E-05   -.99190E-05
  11  Prefactor     .10000E-03    27.252       -.12436E-04** at limit **
  12  Prefactor     .10000E-03    107.43        .14811E-03** at limit **
  13  Prefactor     61.785        57.025        .13969E-04    .34611E-03
  14  Prefactor     .10002E-03    170.25       -.26442E-03** at limit **
  15  norm          7.9437        3.7451       -.11506E-06    .89958E-03
  16  Prefactor     .10000E-03    3.0224        .16762E-07** at limit **
  17  Prefactor     138.06        128.62        .10239E-04    .71364E-05
  18  Prefactor     .10000E-03    13.969       -.63203E-05** at limit **
  19  norm          3.3690        3.6600        .11659E-06    .36421E-03
  20  Prefactor     .10000E-03    10.908        .11423E-05** at limit **
  21  Normalizat    1.2739        .23617       -.17386E-05    .57985E-03
  22  Prefactor     .30118        .21257       -.41457E-07    .11590E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.851295
  Prefactor  = 0.0001
  Prefactor  = 9.53863
  Prefactor  = 0.0001
  Prefactor  = 4.5499
  Prefactor  = 9.5487
  Prefactor  = 19.8628
  norm       = 0.0001
  Prefactor  = 9.54746
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 61.7854
  Prefactor  = 0.000100021
  norm       = 7.94365
  Prefactor  = 0.0001
  Prefactor  = 138.064
  Prefactor  = 0.0001
  norm       = 3.36905
  Prefactor  = 0.0001
  Normalizat = 1.27395
  Prefactor  = 0.301183
 **********
 **   18 **HESSE 
 **********

 FCN=   3001.858     FROM HESSE     STATUS=OK           338 CALLS     2723 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .85130        2.3034        .13184E-03   -1.5523    
   3  Prefactor     .10000E-03    5.1912        .23965E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.5386        11.161        .12976E-03   -1.5090    
   5  Prefactor     .10000E-03    5.6810        .12749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.5499        7.6018        .18300E-03   -1.5281    
   7  Prefactor     9.5487        8.0370        .12969E-03   -1.5090    
   8  Prefactor     19.863        19.469        .89871E-04   -1.4816    
   9  norm          .10000E-03    21.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.5475        10.158        .12971E-03   -1.5090    
  11  Prefactor     .10000E-03    27.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    107.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     61.785        57.345        .51054E-04   -1.4134    
  14  Prefactor     .10002E-03    171.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.9437        3.7463        .68188E-04   -1.5144    
  16  Prefactor     .10000E-03    3.0255        .93025E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     138.06        128.75        .34282E-04   -1.3353    
  18  Prefactor     .10000E-03    13.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.3690        3.6583        .10530E-03   -1.5341    
  20  Prefactor     .10000E-03    10.912        .17670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2739        .25343        .19108E-03   -.84347    
  22  Prefactor     .30118        .22370        .35527E-03   -1.2219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74961e-09
Minuit parameter uncertainties:
  1  4.09971e-06
  2  2.30359
  3  2.02352e-05
  4  11.1638
  5  4.56287e-06
  6  7.60346
  7  8.03793
  8  19.4753
  9  6.00325e-06
  10  10.1597
  11  1.68469e-05
  12  0.000306727
  13  57.3964
  14  0.00376659
  15  3.74646
  16  2.82601e-06
  17  129.01
  18  7.35559e-05
  19  3.65849
  20  4.55168e-05
  21  0.253673
  22  0.224348
Done.

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

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  1.685e-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:  3.012e-01  2.243e-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:  1.274e+00  2.537e-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: 9.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/393235/likelihoodResults_604540801_604800001_4FGL_J0226.3-1845_daily_bin1409.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) = 3001.85858601
delta logL = -0.000174574597622

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3001.85841275
delta logL = -1.31580736706e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10576E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.3797       1.0000          .0000       10.000    
     3 'Normalizat'    1.2739       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .30119       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=   3001.858     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      295 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    134.10        .18142E-01** at limit **
   2  Index         2.2845        8.7121        .50000       -.10562E-07
   3  Normalizat    1.2739        .11572E-01    .19108E-03   -.15744E-03
   4  Prefactor     .30119        .11037E-01    .35527E-03   -.85104E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.2845
  Normalizat = 1.27394
  Prefactor  = 0.301187
 **********
 **   18 **HESSE 
 **********

 FCN=   3001.858     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      324 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    913.32        .28571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2845        6.1421        .50000       -.57412    
   3  Normalizat    1.2739        .31545E-01    .38215E-04   -.84348    
   4  Prefactor     .30119        .30086E-01    .14211E-04   -1.2219    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.63097e-10
Minuit parameter uncertainties:
  1  0.00136701
  2  2140.84
  3  0.0315452
  4  0.0300879
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/393235': 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) = 3001.85841135
delta logL = 8.21978574095e-08

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  1.367e-03  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.285e+00  2.141e+03  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:  3.012e-01  3.009e-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:  1.274e+00  3.155e-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/393235/cmap_HighResolution_604540801_604800001_4FGL_J0226.3-1845_daily_bin1409.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.75e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2021-08-15 22:16:13.129481', job_id='393235', GAL2='0.30', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1629090973.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.30', dlogl='8.22e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1409' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 22:16:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 393235: <4FGL_J0226.3-1845_daily_bin1409> in cluster <slac> Done

Job <4FGL_J0226.3-1845_daily_bin1409> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Aug 15 22:01:05 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 22:02:39 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:02:39 2021
Terminated at Sun Aug 15 22:16:14 2021
Results reported at Sun Aug 15 22:16:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin1409 36.5838 -18.763 604540801 604800001 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 :                                   641.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             223.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            909 sec.

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

