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


Performing analysis on: 4FGL_J0226.5+0938_daily_bin1731
RA = 36.6313, Dec = 9.6351
tmin = 688003201, tmax = 688262401
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='673186', job_status='RUN', time_executed='2022-10-24 08:31:56.273671', time_epoch_executed='1666625516.27' WHERE source_name='4FGL J0226.5+0938' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/673186

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/673186/ft1_4FGL_J0226.5+0938_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/673186/ft2_4FGL_J0226.5+0938_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/673186/ft1_4FGL_J0226.5+0938_daily_bin1731.fits outfile=/scratch/kocevski/673186/ft1_filteredMKT_4FGL_J0226.5+0938_daily_bin1731.fits ra=36.6313 dec=9.6351 rad=12.0 tmin=688003201.0 tmax=688262401.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.61
user 3.30
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/673186/ft2_4FGL_J0226.5+0938_daily_bin1731.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/673186/ft2_4FGL_J0226.5+0938_daily_bin1731.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/673186/ft1_filteredMKT_4FGL_J0226.5+0938_daily_bin1731.fits evtable="EVENTS" outfile="/scratch/kocevski/673186/ft1_filtered_4FGL_J0226.5+0938_daily_bin1731.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.53
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 682

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/673186/ft1_filtered_4FGL_J0226.5+0938_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/673186/ft2_4FGL_J0226.5+0938_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/673186/ltcube_688003201_688262401_4FGL_J0226.5+0938_daily_bin1731.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/673186/ft2_4FGL_J0226.5+0938_daily_bin1731.fits
.....................!
real 12.65
user 11.95
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/673186/ft1_filtered_4FGL_J0226.5+0938_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/673186/ft2_4FGL_J0226.5+0938_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/673186/ltcube_688003201_688262401_4FGL_J0226.5+0938_daily_bin1731.fits outfile=/scratch/kocevski/673186/expmap_688003201_688262401_4FGL_J0226.5+0938_daily_bin1731.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/673186/ltcube_688003201_688262401_4FGL_J0226.5+0938_daily_bin1731.fits
.....................!
real 190.57
user 186.01
sys 4.11

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 162 point sources and 0 extended sources

Setting source of interest to:
4FGL J0226.5+0938 @ 36.6313 9.6351

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/673186/ft1_filtered_4FGL_J0226.5+0938_daily_bin1731.fits scfile=/scratch/kocevski/673186/ft2_4FGL_J0226.5+0938_daily_bin1731.fits outfile=/scratch/kocevski/673186/cmap_688003201_688262401_4FGL_J0226.5+0938_daily_bin1731.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.6313 yref=9.6351 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.74
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/673186/ft1_filtered_4FGL_J0226.5+0938_daily_bin1731.fits scfile=/scratch/kocevski/673186/ft2_4FGL_J0226.5+0938_daily_bin1731.fits outfile=/scratch/kocevski/673186/cmap_HighResolution_688003201_688262401_4FGL_J0226.5+0938_daily_bin1731.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.6313 yref=9.6351 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.78
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/673186/ft1_filtered_4FGL_J0226.5+0938_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/673186/ft2_4FGL_J0226.5+0938_daily_bin1731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/673186/Model_4FGL_J0226.5+0938_daily_bin1731.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/673186/ft1_filtered_4FGL_J0226.5+0938_daily_bin1731.fits.....................!
real 100.60
user 95.13
sys 1.52

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/673186/ft1_filtered_4FGL_J0226.5+0938_daily_bin1731.fits', '/scratch/kocevski/673186/ft2_4FGL_J0226.5+0938_daily_bin1731.fits', expMap='/scratch/kocevski/673186/expmap_688003201_688262401_4FGL_J0226.5+0938_daily_bin1731.fits', expCube='/scratch/kocevski/673186/ltcube_688003201_688262401_4FGL_J0226.5+0938_daily_bin1731.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/673186/Model_4FGL_J0226.5+0938_daily_bin1731.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0226.5+0938'

4FGL J0226.5+0938
   Spectrum: PowerLaw
257    Prefactor:  8.451e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
258        Index:  2.151e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  1.918e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/673186/ft1_filtered_4FGL_J0226.5+0938_daily_bin1731.fits
Spacecraft file(s): /scratch/kocevski/673186/ft2_4FGL_J0226.5+0938_daily_bin1731.fits
Exposure map: /scratch/kocevski/673186/expmap_688003201_688262401_4FGL_J0226.5+0938_daily_bin1731.fits
Exposure cube: /scratch/kocevski/673186/ltcube_688003201_688262401_4FGL_J0226.5+0938_daily_bin1731.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/673186/Model_4FGL_J0226.5+0938_daily_bin1731.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) = 7721.69271809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3130       1.0000          .0000       .10000E+07
     2 'norm      '    34.136       1.0000          .0000       .10000E+07
     3 'Prefactor '    .89552       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8269       1.0000          .0000       .10000E+07
     5 'norm      '    3.7476       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.8121       1.0000          .0000       .10000E+07
     7 'norm      '    .25441       1.0000          .0000       .10000E+07
     8 'Prefactor '    16.751       1.0000          .0000       .10000E+07
     9 'Prefactor '    52.932       1.0000          .0000       .10000E+07
    10 'Prefactor '    .99984E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19910E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .42856       1.0000          .0000       .10000E+07
    13 'Prefactor '    .15514E-05   1.0000          .0000       .10000E+07
    14 'norm      '    1.1249       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10423E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22049E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .44154E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .17494E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    39.320       1.0000          .0000       .10000E+07
    20 'Prefactor '    35.648       1.0000          .0000       .10000E+07
    21 'Prefactor '    .21588E-06   1.0000          .0000       .10000E+07
    22 'norm      '    1.2633       1.0000          .0000       .10000E+07
    23 'norm      '    4.7462       1.0000          .0000       .10000E+07
    24 'Prefactor '    4.9532       1.0000          .0000       .10000E+07
    25 'norm      '    3.3897       1.0000          .0000       .10000E+07
    26 'Normalizat'    .81399       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .97509       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7721.629     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2412 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3154        2.7100       -.15691E-06   -.16071E-02
   2  norm          34.354        1.4754        .12701E-06    .13887E-01
   3  Prefactor     .92977        1.3165        .11410E-05    .31442E-01
   4  Prefactor     1.8448        3.7215        .36597E-06    .14114E-02
   5  norm          3.7451        3.5843       -.60195E-06    .31770E-02
   6  Prefactor     5.7559        3.1954        .11435E-06   -.13770E-02
   7  norm          .25488        .36580        .24632E-07   -.44239E-02
   8  Prefactor     18.715        26.342        .41033E-05    .77804E-01
   9  Prefactor     54.496        42.218        .47045E-05   -.11150    
  10  Prefactor     .15195E-04    16.456       -.19898E-05** at limit **
  11  Prefactor     .55511E-10    8.0733        .15970E-05** at limit **
  12  Prefactor     .37803E-05    35.717       -.28914E-05** at limit **
  13  Prefactor      .0000        4.3905        .42913E-06** at limit **
  14  norm          1.1221        .59377       -.47359E-07    .33964E-02
  15  Prefactor     .17752E-05    18.550        .34525E-05** at limit **
  16  Prefactor     .77716E-09    10.099        .16559E-05** at limit **
  17  norm          .56288E-07    14.175       -.58870E-06** at limit **
  18  Prefactor     .14049E-04    21.676       -.29946E-05** at limit **
  19  Prefactor     40.204        14.955        .13154E-05    .68996E-01
  20  Prefactor     35.770        2.9972        .22658E-06   -.16832E-01
  21  Prefactor      .0000        1.3271       -.22398E-06** at limit **
  22  norm          1.2393        23.469       -.49152E-05   -.60216E-03
  23  norm          4.8196        4.9863        .79854E-07    .12412E-02
  24  Prefactor     4.9296        5.1580        .34330E-06   -.18063E-03
  25  norm          3.3310        8.1105       -.14176E-05    .19126E-02
  26  Normalizat    .81009        .21789       -.23718E-04    .11307E-03
  27  Prefactor     .97532        .10946        .37592E-05    .30337E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.3154
  norm       = 34.3544
  Prefactor  = 0.929771
  Prefactor  = 1.84476
  norm       = 3.74513
  Prefactor  = 5.75592
  norm       = 0.254882
  Prefactor  = 18.7146
  Prefactor  = 54.4959
  Prefactor  = 1.51949e-05
  Prefactor  = 5.55112e-11
  Prefactor  = 3.78031e-06
  Prefactor  = 0
  norm       = 1.12212
  Prefactor  = 1.77525e-06
  Prefactor  = 7.77156e-10
  norm       = 5.62883e-08
  Prefactor  = 1.40493e-05
  Prefactor  = 40.2045
  Prefactor  = 35.7698
  Prefactor  = 0
  norm       = 1.23926
  norm       = 4.81964
  Prefactor  = 4.92955
  norm       = 3.33099
  Normalizat = 0.810085
  Prefactor  = 0.975317
 **********
 **   18 **HESSE 
 **********

 FCN=   7721.629     FROM HESSE     STATUS=OK           558 CALLS     2970 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3154        2.7072        .67430E-03   -1.5678    
   2  norm          34.354        19.589        .17118E-03   -1.5591    
   3  Prefactor     .92977        16.952        .46070E-03   -1.5689    
   4  Prefactor     1.8448        3.7660        .77199E-03   -1.5681    
   5  norm          3.7451        3.5998        .52131E-03   -1.5669    
   6  Prefactor     5.7559        3.3565        .41635E-03   -1.5660    
   7  norm          .25488        .49224        .16281E-02   -1.5698    
   8  Prefactor     18.715        38.209        .24444E-03   -1.5621    
   9  Prefactor     54.496        47.084        .13746E-03   -1.5560    
  10  Prefactor     .15195E-04    24.378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    8.0148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37803E-05    15.986        .11344E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        4.4003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.1221        .60839        .10593E-02   -1.5687    
  15  Prefactor     .17752E-05    19.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .77716E-09    10.093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .56288E-07    14.144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .14049E-04    30.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     40.204        34.545        .15949E-03   -1.5581    
  20  Prefactor     35.770        29.064        .16751E-03   -1.5588    
  21  Prefactor      .0000        1.3286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.2393        23.223        .99130E-03   -1.5686    
  23  norm          4.8196        5.0197        .46162E-03   -1.5664    
  24  Prefactor     4.9296        5.1749        .45165E-03   -1.5664    
  25  norm          3.3310        8.0743        .54929E-03   -1.5671    
  26  Normalizat    .81009        .20225        .82625E-01   -.99696    
  27  Prefactor     .97532        .98241E-01    .45955E-01   -.93557    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11442e-06
Minuit parameter uncertainties:
  1  2.7072
  2  19.5892
  3  7.94014
  4  3.766
  5  3.59976
  6  3.35654
  7  0.492238
  8  38.2095
  9  47.0839
  10  0.0384925
  11  5.11784e-05
  12  0.0155475
  13  6.63925e-06
  14  0.608391
  15  0.0118426
  16  0.000174739
  17  0.00178452
  18  0.041559
  19  34.5455
  20  29.0641
  21  1.8401e-06
  22  10.7293
  23  5.0197
  24  5.17488
  25  8.07429
  26  0.202435
  27  0.0982589
Done.

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

Extracting fit parameters...

4FGL J0226.5+0938
   Spectrum: PowerLaw
257    Prefactor:  1.519e-05  3.849e-02  0.000e+00  1.000e+06 ( 1.000e-14)
258        Index:  2.151e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  1.918e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.753e-01  9.826e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.101e-01  2.024e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.631 9.635
Photon Flux Upper Limit: 5.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/673186/likelihoodResults_688003201_688262401_4FGL_J0226.5+0938_daily_bin1731.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) = 7721.64848599
delta logL = -0.0195867291568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7721.44321738
delta logL = 0.185681880614

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19200E-01   1.0000          .0000       .10000E+07
     2 'Index     '    5.4289       1.0000          .0000       10.000    
     3 'Normalizat'    .77484       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98452       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7721.443     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      333 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19160E-01    .39151        .45550E-03** at limit **
   2  Index         5.4296        2.1556        .11697        .18906E-03
   3  Normalizat    .77482        .28902E-01    .84245E-01    .30672E-04
   4  Prefactor     .98454        .14988E-01    .46073E-01   -.12043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0191605
  Index      = 5.42965
  Normalizat = 0.774818
  Prefactor  = 0.984545
 **********
 **   18 **HESSE 
 **********

 FCN=   7721.443     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      366 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19160E-01    2.7914        .19812E-05   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.4296        7.7053        .70852E-02    .86036E-01
   3  Normalizat    .77482        .15866        .37308E-03   -1.0101    
   4  Prefactor     .98454        .80700E-01    .17256E-03   -.93246    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.91427e-06
Minuit parameter uncertainties:
  1  0.462534
  2  8.6881
  3  0.158755
  4  0.0807097
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/673186': 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) = 7721.4432173
delta logL = 0.185681953318

Extracting fit parameters...

4FGL J0226.5+0938
   Spectrum: PowerLaw
257    Prefactor:  1.916e-02  4.625e-01  0.000e+00  1.000e+06 ( 1.000e-14)
258        Index:  5.430e+00  8.688e+00  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  1.918e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.845e-01  8.071e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  7.748e-01  1.588e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.631 9.635

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/673186/cmap_HighResolution_688003201_688262401_4FGL_J0226.5+0938_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.43e-03', job_status='DONE', photon_flux_upper_limit='5.84e-08', time_completed='2022-10-24 08:44:20.821617', job_id='673186', GAL2='0.98', fit_tolerance='1e-08', EG2='0.77', EG='0.81', time_epoch_completed='1666626260.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.86e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1731' AND source_name='4FGL J0226.5+0938' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 08:44:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 673186: <4FGL_J0226.5+0938_daily_bin1731> in cluster <slac> Done

Job <4FGL_J0226.5+0938_daily_bin1731> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Oct 24 08:30:31 2022
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 08:30:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 08:30:32 2022
Terminated at Mon Oct 24 08:44:21 2022
Results reported at Mon Oct 24 08:44:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.5+0938_daily_bin1731 36.6313 9.6351 688003201 688262401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0226.5+0938 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   724.32 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             341.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            830 sec.

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

