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


Performing analysis on: 4FGL_J0226.5-4441_daily_bin1165
RA = 36.6481, Dec = -44.6859
tmin = 541296001, tmax = 541555201
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='406845', job_status='RUN', time_executed='2021-08-15 22:50:19.141392', time_epoch_executed='1629093019.14' WHERE source_name='4FGL J0226.5-4441' and cadence='daily' and bin_id='1165'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/406845

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/406845/ft1_4FGL_J0226.5-4441_daily_bin1165.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/406845/ft2_4FGL_J0226.5-4441_daily_bin1165.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/406845/ft1_4FGL_J0226.5-4441_daily_bin1165.fits outfile=/scratch/kocevski/406845/ft1_filteredMKT_4FGL_J0226.5-4441_daily_bin1165.fits ra=36.6481 dec=-44.6859 rad=12.0 tmin=541296001.0 tmax=541555201.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 3.62
user 2.84
sys 0.75

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/406845/ft2_4FGL_J0226.5-4441_daily_bin1165.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/406845/ft2_4FGL_J0226.5-4441_daily_bin1165.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/406845/ft1_filteredMKT_4FGL_J0226.5-4441_daily_bin1165.fits evtable="EVENTS" outfile="/scratch/kocevski/406845/ft1_filtered_4FGL_J0226.5-4441_daily_bin1165.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 1.01
user 0.27
sys 0.70

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/406845/ft1_filtered_4FGL_J0226.5-4441_daily_bin1165.fits" evtable="EVENTS" scfile=/scratch/kocevski/406845/ft2_4FGL_J0226.5-4441_daily_bin1165.fits sctable="SC_DATA" outfile=/scratch/kocevski/406845/ltcube_541296001_541555201_4FGL_J0226.5-4441_daily_bin1165.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/406845/ft2_4FGL_J0226.5-4441_daily_bin1165.fits
.....................!
real 11.72
user 10.74
sys 0.90

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/406845/ft1_filtered_4FGL_J0226.5-4441_daily_bin1165.fits evtable="EVENTS" scfile=/scratch/kocevski/406845/ft2_4FGL_J0226.5-4441_daily_bin1165.fits sctable="SC_DATA" expcube=/scratch/kocevski/406845/ltcube_541296001_541555201_4FGL_J0226.5-4441_daily_bin1165.fits outfile=/scratch/kocevski/406845/expmap_541296001_541555201_4FGL_J0226.5-4441_daily_bin1165.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/406845/ltcube_541296001_541555201_4FGL_J0226.5-4441_daily_bin1165.fits
.....................!
real 155.59
user 150.73
sys 4.38

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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 180 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0226.5-4441 @ 36.6481 -44.6859

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/406845/ft1_filtered_4FGL_J0226.5-4441_daily_bin1165.fits scfile=/scratch/kocevski/406845/ft2_4FGL_J0226.5-4441_daily_bin1165.fits outfile=/scratch/kocevski/406845/cmap_541296001_541555201_4FGL_J0226.5-4441_daily_bin1165.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.6481 yref=-44.6859 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 1.03
user 0.32
sys 0.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/406845/ft1_filtered_4FGL_J0226.5-4441_daily_bin1165.fits scfile=/scratch/kocevski/406845/ft2_4FGL_J0226.5-4441_daily_bin1165.fits outfile=/scratch/kocevski/406845/cmap_HighResolution_541296001_541555201_4FGL_J0226.5-4441_daily_bin1165.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.6481 yref=-44.6859 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 1.02
user 0.33
sys 0.68

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/406845/ft1_filtered_4FGL_J0226.5-4441_daily_bin1165.fits evtable="EVENTS" scfile=/scratch/kocevski/406845/ft2_4FGL_J0226.5-4441_daily_bin1165.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/406845/Model_4FGL_J0226.5-4441_daily_bin1165.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/406845/ft1_filtered_4FGL_J0226.5-4441_daily_bin1165.fits.....................!
real 91.76
user 89.69
sys 1.76

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/406845/ft1_filtered_4FGL_J0226.5-4441_daily_bin1165.fits', '/scratch/kocevski/406845/ft2_4FGL_J0226.5-4441_daily_bin1165.fits', expMap='/scratch/kocevski/406845/expmap_541296001_541555201_4FGL_J0226.5-4441_daily_bin1165.fits', expCube='/scratch/kocevski/406845/ltcube_541296001_541555201_4FGL_J0226.5-4441_daily_bin1165.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/406845/Model_4FGL_J0226.5-4441_daily_bin1165.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0226.5-4441'

4FGL J0226.5-4441
   Spectrum: PowerLaw
284    Prefactor:  2.526e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
285        Index:  1.949e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  3.547e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/406845/ft1_filtered_4FGL_J0226.5-4441_daily_bin1165.fits
Spacecraft file(s): /scratch/kocevski/406845/ft2_4FGL_J0226.5-4441_daily_bin1165.fits
Exposure map: /scratch/kocevski/406845/expmap_541296001_541555201_4FGL_J0226.5-4441_daily_bin1165.fits
Exposure cube: /scratch/kocevski/406845/ltcube_541296001_541555201_4FGL_J0226.5-4441_daily_bin1165.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/406845/Model_4FGL_J0226.5-4441_daily_bin1165.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) = 5519.84337399

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.146       1.0000         .10000E-03   10000.    
     2 'norm      '    8.9123       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.901       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.8981       1.0000         .10000E-03   10000.    
     6 'norm      '    27.012       1.0000         .10000E-03   10000.    
     7 'norm      '    8.7108       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.793       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.353       1.0000         .10000E-03   10000.    
    11 'norm      '    8.2515       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.5844       1.0000         .10000E-03   10000.    
    14 'norm      '    29.302       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.3729       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    67.349       1.0000         .10000E-03   10000.    
    19 'norm      '    .89688       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.960       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    10.362       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    6.4561       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .94620       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .88594       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5519.841     FROM MIGRAD    STATUS=CONVERGED    673 CALLS     3448 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.146        23.054        .30000E-02    .38513E-03
   2  norm          8.9123        10.160        .33565E-02    .12931E-02
   3  Prefactor     17.899        32.108        .23665E-02    .43666E-03
   4  Prefactor     .10000E-03    3.2528        .90712E-02** at limit **
   5  Prefactor     5.8981        6.4212        .41338E-02   -.32205E-03
   6  norm          27.012        61.828        .19270E-02    .24911E-03
   7  norm          8.7105        5.1423        .33953E-02   -.20333E-02
   8  Prefactor     13.793        13.857        .26963E-02    .56069E-03
   9  Prefactor     .10005E-03    8.5434        .90712E-02** at limit **
  10  Prefactor     13.353        6.9680        .27403E-02    .32631E-03
  11  norm          8.2515        2.2461        .34891E-02    .72157E-05
  12  Prefactor     .10000E-03    12.622        .90712E-02** at limit **
  13  Prefactor     8.5875        15.724        .34204E-02    .25185E-04
  14  norm          29.302        4.8246        .18503E-02    .22661E-03
  15  norm          .10000E-03    1.1642        .90712E-02** at limit **
  16  Prefactor     3.3730        9.5036        .55082E-02    .22299E-03
  17  Prefactor     .10001E-03    8.8377        .90712E-02** at limit **
  18  Prefactor     67.349        57.119        .12227E-02   -.12701E-03
  19  norm          .89686        .92363        .12796E-01    .46269E-03
  20  Prefactor     .10001E-03    100.78        .90712E-02** at limit **
  21  Prefactor     10.958        6.9468        .30255E-02    .12588E-02
  22  Prefactor     .10000E-03    50.447        .90712E-02** at limit **
  23  Prefactor     .10001E-03    8.3317        .90712E-02** at limit **
  24  Prefactor     10.361        7.2716        .31118E-02    .63980E-03
  25  Prefactor     .10000E-03    27.991        .90712E-02** at limit **
  26  Prefactor     6.4557        23.211        .39489E-02    .60487E-04
  27  Normalizat    .94618        .19351        .45489E-01    .99984E-05
  28  Prefactor     .88596        .20713        .65380E-01    .20442E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.1462
  norm       = 8.91227
  Prefactor  = 17.8987
  Prefactor  = 0.0001
  Prefactor  = 5.89808
  norm       = 27.0118
  norm       = 8.7105
  Prefactor  = 13.7931
  Prefactor  = 0.000100046
  Prefactor  = 13.3532
  norm       = 8.25148
  Prefactor  = 0.0001
  Prefactor  = 8.58749
  norm       = 29.3018
  norm       = 0.0001
  Prefactor  = 3.37296
  Prefactor  = 0.000100012
  Prefactor  = 67.3494
  norm       = 0.89686
  Prefactor  = 0.000100005
  Prefactor  = 10.9585
  Prefactor  = 0.000100001
  Prefactor  = 0.000100012
  Prefactor  = 10.3614
  Prefactor  = 0.0001
  Prefactor  = 6.45567
  Normalizat = 0.946183
  Prefactor  = 0.885955
 **********
 **   18 **HESSE 
 **********

 FCN=   5519.841     FROM HESSE     STATUS=OK           519 CALLS     3967 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.146        23.087        .60000E-03   -1.5040    
   2  norm          8.9123        10.155        .67130E-03   -1.5111    
   3  Prefactor     17.899        32.131        .94662E-04   -1.4862    
   4  Prefactor     .10000E-03    3.2818        .13082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.8981        6.4161        .16535E-03   -1.5222    
   6  norm          27.012        61.921        .77080E-04   -1.4668    
   7  norm          8.7105        5.1417        .12401E-03   -1.5118    
   8  Prefactor     13.793        13.860        .53925E-03   -1.4965    
   9  Prefactor     .10005E-03    8.5478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.353        6.9716        .10961E-03   -1.4977    
  11  norm          8.2515        2.2472        .54325E-04   -1.5133    
  12  Prefactor     .10000E-03    12.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.5875        15.632        .13681E-03   -1.5122    
  14  norm          29.302        4.8236        .63497E-04   -1.4625    
  15  norm          .10000E-03    1.1763        .78225E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.3730        9.5035        .22033E-03   -1.5341    
  17  Prefactor     .10001E-03    8.8428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     67.349        57.164        .48907E-04   -1.4065    
  19  norm          .89686        .87940        .69022E-03   -1.5519    
  20  Prefactor     .10001E-03    100.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.958        6.9287        .12102E-03   -1.5046    
  22  Prefactor     .10000E-03    52.133        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10001E-03    8.3338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     10.361        7.2657        .12447E-03   -1.5064    
  25  Prefactor     .10000E-03    28.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     6.4557        23.211        .15795E-03   -1.5200    
  27  Normalizat    .94618        .23240        .25493E-03   -.94856    
  28  Prefactor     .88596        .24848        .28919E-03   -.96634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22694e-08
Minuit parameter uncertainties:
  1  23.1053
  2  10.1573
  3  32.1622
  4  1.36375e-05
  5  6.41687
  6  62.0688
  7  5.14195
  8  13.8629
  9  0.00125589
  10  6.972
  11  2.24726
  12  4.94715e-05
  13  15.6392
  14  4.82363
  15  3.398e-06
  16  9.5078
  17  0.000651966
  18  57.2101
  19  0.879416
  20  0.00142758
  21  6.92924
  22  0.000506737
  23  0.000619452
  24  7.2663
  25  0.000202882
  26  23.2436
  27  0.232652
  28  0.248802
Done.

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

Extracting fit parameters...

4FGL J0226.5-4441
   Spectrum: PowerLaw
284    Prefactor:  8.587e+00  1.564e+01  1.000e-04  1.000e+04 ( 1.000e-14)
285        Index:  1.949e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  3.547e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.860e-01  2.488e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.462e-01  2.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.45
Ra Dec: 36.648 -44.686
Photon Flux Upper Limit: 6.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/406845/likelihoodResults_541296001_541555201_4FGL_J0226.5-4441_daily_bin1165.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): 0
logL (Free Index) = 5519.77636558
delta logL = 0.0641870296695

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5519.77143918
delta logL = 0.0691134234949

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6019       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3159       1.0000          .0000       10.000    
     3 'Normalizat'    .94196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88816       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+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=   5519.771     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      292 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6003        18.307        .18763E-03   -.32495E-03
   2  Index         2.3164        1.4191        .75513E-02   -.98485E-04
   3  Normalizat    .94197        .22161        .25542E-03   -.23325E-03
   4  Prefactor     .88812        .24479        .28883E-03   -.23971E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.60029
  Index      = 2.31635
  Normalizat = 0.941975
  Prefactor  = 0.888119
 **********
 **   18 **HESSE 
 **********

 FCN=   5519.771     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6003        13.346        .75053E-05   -1.5279    
   2  Index         2.3164        1.0439        .30205E-03   -.56656    
   3  Normalizat    .94197        .22155        .51083E-04   -.95001    
   4  Prefactor     .88812        .24472        .11553E-04   -.96557    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45523e-10
Minuit parameter uncertainties:
  1  13.3543
  2  1.05487
  3  0.221767
  4  0.245028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/406845': 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) = 5519.77143893
delta logL = 0.069113674781

Extracting fit parameters...

4FGL J0226.5-4441
   Spectrum: PowerLaw
284    Prefactor:  4.600e+00  1.335e+01  1.000e-04  1.000e+04 ( 1.000e-14)
285        Index:  2.316e+00  1.055e+00  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  3.547e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.881e-01  2.450e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.420e-01  2.218e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.45
Ra Dec: 36.648 -44.686

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/406845/cmap_HighResolution_541296001_541555201_4FGL_J0226.5-4441_daily_bin1165.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-03', job_status='DONE', photon_flux_upper_limit='6.22e-08', time_completed='2021-08-15 23:01:58.514300', job_id='406845', GAL2='0.89', fit_tolerance='1e-08', EG2='0.94', EG='0.95', time_epoch_completed='1629093718.51', return_code2='0', ts='0.45', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='6.91e-02', ts2='0.58', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1165' AND source_name='4FGL J0226.5-4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 23:01:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 406845: <4FGL_J0226.5-4441_daily_bin1165> in cluster <slac> Done

Job <4FGL_J0226.5-4441_daily_bin1165> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 15 22:45:46 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 22:47:21 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:47:21 2021
Terminated at Sun Aug 15 23:01:59 2021
Results reported at Sun Aug 15 23:01:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.5-4441_daily_bin1165 36.6481 -44.6859 541296001 541555201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0226.5-4441 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   677.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            973 sec.

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

