aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 22 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7395
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0226.5-4441_daily_bin1722
RA = 36.6481, Dec = -44.6859
tmin = 685670401, tmax = 685929601
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='229315', job_status='RUN', time_executed='2022-09-27 00:05:47.324140', time_epoch_executed='1664262347.32' WHERE source_name='4FGL J0226.5-4441' and cadence='daily' and bin_id='1722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/229315

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/229315/ft1_4FGL_J0226.5-4441_daily_bin1722.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/229315/ft2_4FGL_J0226.5-4441_daily_bin1722.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/229315/ft1_4FGL_J0226.5-4441_daily_bin1722.fits outfile=/scratch/kocevski/229315/ft1_filteredMKT_4FGL_J0226.5-4441_daily_bin1722.fits ra=36.6481 dec=-44.6859 rad=12.0 tmin=685670401.0 tmax=685929601.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.66
user 3.43
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/229315/ft2_4FGL_J0226.5-4441_daily_bin1722.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/229315/ft1_filteredMKT_4FGL_J0226.5-4441_daily_bin1722.fits evtable="EVENTS" outfile="/scratch/kocevski/229315/ft1_filtered_4FGL_J0226.5-4441_daily_bin1722.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 509

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/229315/ft1_filtered_4FGL_J0226.5-4441_daily_bin1722.fits" evtable="EVENTS" scfile=/scratch/kocevski/229315/ft2_4FGL_J0226.5-4441_daily_bin1722.fits sctable="SC_DATA" outfile=/scratch/kocevski/229315/ltcube_685670401_685929601_4FGL_J0226.5-4441_daily_bin1722.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/229315/ft2_4FGL_J0226.5-4441_daily_bin1722.fits
.....................!
real 15.34
user 14.88
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/229315/ft1_filtered_4FGL_J0226.5-4441_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/229315/ft2_4FGL_J0226.5-4441_daily_bin1722.fits sctable="SC_DATA" expcube=/scratch/kocevski/229315/ltcube_685670401_685929601_4FGL_J0226.5-4441_daily_bin1722.fits outfile=/scratch/kocevski/229315/expmap_685670401_685929601_4FGL_J0226.5-4441_daily_bin1722.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/229315/ltcube_685670401_685929601_4FGL_J0226.5-4441_daily_bin1722.fits
.....................!
real 192.76
user 187.65
sys 4.64

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_8years/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/229315/ft1_filtered_4FGL_J0226.5-4441_daily_bin1722.fits scfile=/scratch/kocevski/229315/ft2_4FGL_J0226.5-4441_daily_bin1722.fits outfile=/scratch/kocevski/229315/cmap_685670401_685929601_4FGL_J0226.5-4441_daily_bin1722.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 0.64
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/229315/ft1_filtered_4FGL_J0226.5-4441_daily_bin1722.fits scfile=/scratch/kocevski/229315/ft2_4FGL_J0226.5-4441_daily_bin1722.fits outfile=/scratch/kocevski/229315/cmap_HighResolution_685670401_685929601_4FGL_J0226.5-4441_daily_bin1722.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.32
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/229315/ft1_filtered_4FGL_J0226.5-4441_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/229315/ft2_4FGL_J0226.5-4441_daily_bin1722.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/229315/Model_4FGL_J0226.5-4441_daily_bin1722.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/229315/ft1_filtered_4FGL_J0226.5-4441_daily_bin1722.fits.....................!
real 108.47
user 106.18
sys 1.44

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/229315/ft1_filtered_4FGL_J0226.5-4441_daily_bin1722.fits', '/scratch/kocevski/229315/ft2_4FGL_J0226.5-4441_daily_bin1722.fits', expMap='/scratch/kocevski/229315/expmap_685670401_685929601_4FGL_J0226.5-4441_daily_bin1722.fits', expCube='/scratch/kocevski/229315/ltcube_685670401_685929601_4FGL_J0226.5-4441_daily_bin1722.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/229315/Model_4FGL_J0226.5-4441_daily_bin1722.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  0.000e+00  1.000e+06 ( 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/229315/ft1_filtered_4FGL_J0226.5-4441_daily_bin1722.fits
Spacecraft file(s): /scratch/kocevski/229315/ft2_4FGL_J0226.5-4441_daily_bin1722.fits
Exposure map: /scratch/kocevski/229315/expmap_685670401_685929601_4FGL_J0226.5-4441_daily_bin1722.fits
Exposure cube: /scratch/kocevski/229315/ltcube_685670401_685929601_4FGL_J0226.5-4441_daily_bin1722.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/229315/Model_4FGL_J0226.5-4441_daily_bin1722.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) = 5542.07265373

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    85.696       1.0000          .0000       .10000E+07
     2 'Prefactor '    .35658E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.5795       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.130       1.0000          .0000       .10000E+07
     5 'norm      '    72.921       1.0000          .0000       .10000E+07
     6 'norm      '    .46849E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30085E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .40790E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .12549E-03   1.0000          .0000       .10000E+07
    10 'norm      '    3.1847       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.9755       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46740E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .16764E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .10833E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    10.145       1.0000          .0000       .10000E+07
    16 'Prefactor '    .63783E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10830       1.0000          .0000       .10000E+07
    18 'norm      '    .76772E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.1917       1.0000          .0000       .10000E+07
    20 'Prefactor '    .26830E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    13.918       1.0000          .0000       .10000E+07
    22 'Prefactor '    5.3447       1.0000          .0000       .10000E+07
    23 'Prefactor '    7.7770       1.0000          .0000       .10000E+07
    24 'Prefactor '    1.8291       1.0000          .0000       .10000E+07
    25 'Normalizat'    .92793       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .99901       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5542.062     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     2208 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          85.666        1.1785        .78982E-07   -.58308E-02
   2  Prefactor     .13489E-07    16.671        .97662E-06** at limit **
   3  Prefactor     4.5401        4.1233       -.33881E-06   -.47623E-03
   4  Prefactor     12.161        7.0132       -.29471E-06   -.23326E-02
   5  norm          76.046        54.276       -.18644E-05   -.10995E-02
   6  norm           .0000        1.1817        .26536E-06** at limit **
   7  Prefactor     .11102E-09    4.5655       -.11691E-05** at limit **
   8  Prefactor     .63838E-08    7.7282       -.87606E-06** at limit **
   9  Prefactor      .0000        3.0778       -.99288E-06** at limit **
  10  norm          3.1815        1.5265        .14409E-06    .14613E-02
  11  Prefactor     7.9522        1.7040        .20207E-06   -.16117E-01
  12  Prefactor     .51070E-08    10.014       -.10625E-05** at limit **
  13  norm           .0000        .82938        .41290E-06** at limit **
  14  norm           .0000        1.1300        .23968E-06** at limit **
  15  Prefactor     10.093        2.1960       -.53508E-06   -.60337E-01
  16  Prefactor     .21261E-07    12.822        .22854E-05** at limit **
  17  Prefactor     .83267E-09    30.858       -.41638E-06** at limit **
  18  norm           .0000        .75600       -.95927E-06** at limit **
  19  Prefactor     3.1906        3.2638        .40762E-07   -.56212E-03
  20  Prefactor     .11102E-09    3.0718       -.21364E-06** at limit **
  21  Prefactor     13.927        1.0758        .10513E-06    .51489E-02
  22  Prefactor     5.3462        5.1184       -.13526E-07   -.94330E-03
  23  Prefactor     7.4978        24.264        .10385E-04   -.11359E-01
  24  Prefactor     1.8328        3.2023        .25122E-05    .38968E-01
  25  Normalizat    .92877        .19775       -.36477E-04    .31395E-04
  26  Prefactor     .99825        .21825        .28801E-04    .14500E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 85.6656
  Prefactor  = 1.34892e-08
  Prefactor  = 4.54006
  Prefactor  = 12.1606
  norm       = 76.0457
  norm       = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 6.38378e-09
  Prefactor  = 0
  norm       = 3.18153
  Prefactor  = 7.95219
  Prefactor  = 5.10703e-09
  norm       = 0
  norm       = 0
  Prefactor  = 10.0927
  Prefactor  = 2.12608e-08
  Prefactor  = 8.32667e-10
  norm       = 0
  Prefactor  = 3.1906
  Prefactor  = 1.11022e-10
  Prefactor  = 13.9272
  Prefactor  = 5.34618
  Prefactor  = 7.4978
  Prefactor  = 1.83276
  Normalizat = 0.92877
  Prefactor  = 0.998249
 **********
 **   18 **HESSE 
 **********

 FCN=   5542.062     FROM HESSE     STATUS=OK           506 CALLS     2714 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          85.666        17.341        .10803E-03   -1.5523    
   2  Prefactor     .13489E-07    16.763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.5401        4.1262        .47014E-03   -1.5665    
   4  Prefactor     12.161        7.0163        .28737E-03   -1.5638    
   5  norm          76.046        54.313        .11711E-03   -1.5534    
   6  norm           .0000        1.1811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    4.5653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .63838E-08    7.7736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        3.0690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1815        1.5331        .56758E-03   -1.5672    
  11  Prefactor     7.9522        16.714        .35480E-03   -1.5652    
  12  Prefactor     .51070E-08    10.056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .82363        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.1266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.093        13.565        .31435E-03   -1.5644    
  16  Prefactor     .21261E-07    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .83267E-09    30.738        .13711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .73970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.1906        3.2649        .56692E-03   -1.5672    
  20  Prefactor     .11102E-09    3.0716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.927        14.666        .26822E-03   -1.5633    
  22  Prefactor     5.3462        5.1490        .43448E-03   -1.5662    
  23  Prefactor     7.4978        25.033        .35933E-03   -1.5653    
  24  Prefactor     1.8328        21.353        .77144E-03   -1.5681    
  25  Normalizat    .92877        .17329        .45258E-01   -.95456    
  26  Prefactor     .99825        .18672        .46255E-01   -.92788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16522e-07
Minuit parameter uncertainties:
  1  17.3413
  2  0.000950977
  3  4.12624
  4  7.01625
  5  54.3138
  6  1.5531e-06
  7  3.98913e-05
  8  0.000444865
  9  1.0896e-05
  10  1.53307
  11  16.7143
  12  0.000452625
  13  1.07757e-06
  14  2.55725e-06
  15  13.5652
  16  0.0010483
  17  0.000318385
  18  3.92003e-07
  19  3.2649
  20  3.9093e-05
  21  14.6663
  22  5.14901
  23  25.0333
  24  12.5116
  25  0.173391
  26  0.186844
Done.

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

Extracting fit parameters...

4FGL J0226.5-4441
   Spectrum: PowerLaw
284    Prefactor:  5.107e-09  4.526e-04  0.000e+00  1.000e+06 ( 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:  9.982e-01  1.868e-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.288e-01  1.734e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/229315/likelihoodResults_685670401_685929601_4FGL_J0226.5-4441_daily_bin1722.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) = 5542.10997418
delta logL = -0.0477219801096

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5542.0622528
delta logL = -5.97347025177e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36374E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .41014       1.0000          .0000       10.000    
     3 'Normalizat'    .92873       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99833       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5542.062     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      212 TOTAL
                     EDM=   .39E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.6607        .42118E-03** at limit **
   2  Index         2.4031        1.6006       -.63757E-04     .0000    
   3  Normalizat    .92877        1.2627        .20688E-04   -.65337E-04
   4  Prefactor     .99825        1.3374       -.18697E-04   -.69811E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.40308
  Normalizat = 0.928769
  Prefactor  = 0.998249
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5542.062     FROM HESSE     STATUS=FAILED         9 CALLS      221 TOTAL
                     EDM=   .39E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.6607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64772        1.9445       -.63757E-04   -.54613    
   3  Normalizat    .92877        1.2627        .20688E-04   -.95456    
   4  Prefactor     .99825        1.3374       -.18697E-04   -.92788    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.94639e-12
Minuit parameter uncertainties:
  1  8.78447e-06
  2  1.64063
  3  1.30685
  4  1.38631
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/229315': 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): 101
logL (Free Index) = 5542.0622522
delta logL = 2.51930032391e-10

Extracting fit parameters...

4FGL J0226.5-4441
   Spectrum: PowerLaw
284    Prefactor:  0.000e+00  8.784e-06  0.000e+00  1.000e+06 ( 1.000e-14)
285        Index:  2.403e+00  1.641e+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:  9.982e-01  1.386e+00  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.288e-01  1.307e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/229315/cmap_HighResolution_685670401_685929601_4FGL_J0226.5-4441_daily_bin1722.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.80e-08', time_completed='2022-09-27 00:17:06.646157', job_id='229315', GAL2='1.00', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1664263026.65', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.52e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1722' AND source_name='4FGL J0226.5-4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 27 00:17:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 229315: <4FGL_J0226.5-4441_daily_bin1722> in cluster <slac> Done

Job <4FGL_J0226.5-4441_daily_bin1722> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 27 00:05:01 2022
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 00:05:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 00:05:13 2022
Terminated at Tue Sep 27 00:17:07 2022
Results reported at Tue Sep 27 00:17:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.5-4441_daily_bin1722 36.6481 -44.6859 685670401 685929601 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 :                                   672.43 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             352.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            726 sec.

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

