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


Performing analysis on: 4FGL_J1505.0+0326_weekly_bin734
RA = 226.273, Dec = 3.4472
tmin = 682905601, tmax = 683510401
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='273997', job_status='RUN', time_executed='2022-09-17 01:28:07.527201', time_epoch_executed='1663403287.53' WHERE source_name='4FGL J1505.0+0326' and cadence='weekly' and bin_id='734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/273997

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/273997/ft1_4FGL_J1505.0+0326_weekly_bin734.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/273997/ft2_4FGL_J1505.0+0326_weekly_bin734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/273997/ft1_4FGL_J1505.0+0326_weekly_bin734.fits outfile=/scratch/kocevski/273997/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin734.fits ra=226.273 dec=3.4472 rad=12.0 tmin=682905601.0 tmax=683510401.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.72
user 9.36
sys 0.32

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/273997/ft2_4FGL_J1505.0+0326_weekly_bin734.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/273997/ft2_4FGL_J1505.0+0326_weekly_bin734.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/273997/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin734.fits evtable="EVENTS" outfile="/scratch/kocevski/273997/ft1_filtered_4FGL_J1505.0+0326_weekly_bin734.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.55
user 0.38
sys 0.16

Number of photons that the gtmktime cut: 1539

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/273997/ft1_filtered_4FGL_J1505.0+0326_weekly_bin734.fits" evtable="EVENTS" scfile=/scratch/kocevski/273997/ft2_4FGL_J1505.0+0326_weekly_bin734.fits sctable="SC_DATA" outfile=/scratch/kocevski/273997/ltcube_682905601_683510401_4FGL_J1505.0+0326_weekly_bin734.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/273997/ft2_4FGL_J1505.0+0326_weekly_bin734.fits
.....................!
real 31.74
user 31.35
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/273997/ft1_filtered_4FGL_J1505.0+0326_weekly_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/273997/ft2_4FGL_J1505.0+0326_weekly_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/273997/ltcube_682905601_683510401_4FGL_J1505.0+0326_weekly_bin734.fits outfile=/scratch/kocevski/273997/expmap_682905601_683510401_4FGL_J1505.0+0326_weekly_bin734.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/273997/ltcube_682905601_683510401_4FGL_J1505.0+0326_weekly_bin734.fits
.....................!
real 193.34
user 187.85
sys 4.90

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

Setting source of interest to:
4FGL J1505.0+0326 @ 226.273 3.4472

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/273997/ft1_filtered_4FGL_J1505.0+0326_weekly_bin734.fits scfile=/scratch/kocevski/273997/ft2_4FGL_J1505.0+0326_weekly_bin734.fits outfile=/scratch/kocevski/273997/cmap_682905601_683510401_4FGL_J1505.0+0326_weekly_bin734.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=226.273 yref=3.4472 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.58
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/273997/ft1_filtered_4FGL_J1505.0+0326_weekly_bin734.fits scfile=/scratch/kocevski/273997/ft2_4FGL_J1505.0+0326_weekly_bin734.fits outfile=/scratch/kocevski/273997/cmap_HighResolution_682905601_683510401_4FGL_J1505.0+0326_weekly_bin734.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=226.273 yref=3.4472 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.59
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/273997/ft1_filtered_4FGL_J1505.0+0326_weekly_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/273997/ft2_4FGL_J1505.0+0326_weekly_bin734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/273997/Model_4FGL_J1505.0+0326_weekly_bin734.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/273997/ft1_filtered_4FGL_J1505.0+0326_weekly_bin734.fits.....................!
real 123.20
user 121.33
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/273997/ft1_filtered_4FGL_J1505.0+0326_weekly_bin734.fits', '/scratch/kocevski/273997/ft2_4FGL_J1505.0+0326_weekly_bin734.fits', expMap='/scratch/kocevski/273997/expmap_682905601_683510401_4FGL_J1505.0+0326_weekly_bin734.fits', expCube='/scratch/kocevski/273997/ltcube_682905601_683510401_4FGL_J1505.0+0326_weekly_bin734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/273997/Model_4FGL_J1505.0+0326_weekly_bin734.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1505.0+0326'

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.811e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/273997/ft1_filtered_4FGL_J1505.0+0326_weekly_bin734.fits
Spacecraft file(s): /scratch/kocevski/273997/ft2_4FGL_J1505.0+0326_weekly_bin734.fits
Exposure map: /scratch/kocevski/273997/expmap_682905601_683510401_4FGL_J1505.0+0326_weekly_bin734.fits
Exposure cube: /scratch/kocevski/273997/ltcube_682905601_683510401_4FGL_J1505.0+0326_weekly_bin734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/273997/Model_4FGL_J1505.0+0326_weekly_bin734.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) = 17204.1683248

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20700E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    16.225       1.0000          .0000       .10000E+07
     3 'Prefactor '    .74452E-06   1.0000          .0000       .10000E+07
     4 'norm      '    17.450       1.0000          .0000       .10000E+07
     5 'Prefactor '    13.490       1.0000          .0000       .10000E+07
     6 'norm      '    .31040       1.0000          .0000       .10000E+07
     7 'norm      '    .37466E-03   1.0000          .0000       .10000E+07
     8 'norm      '    3.0359       1.0000          .0000       .10000E+07
     9 'norm      '    .49349E-07   1.0000          .0000       .10000E+07
    10 'norm      '    8.4151       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.3786       1.0000          .0000       .10000E+07
    12 'Prefactor '    22.931       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.0780       1.0000          .0000       .10000E+07
    14 'norm      '    1.3863       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.4614       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .90016       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17204.15     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1152 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15543E-08    19.197       -.11544E-07** at limit **
   2  Prefactor     15.448        37.048       -.15777E-06    .12255E-02
   3  Prefactor     .68279E-08    14.483       -.15811E-06** at limit **
   4  norm          17.432        6.1833       -.13790E-07   -.86184E-01
   5  Prefactor     13.488        11.327       -.76280E-08   -.24811E-01
   6  norm          .31027        .12374       -.80020E-08   -.99686E-02
   7  norm          .11607E-06    9.2541       -.94336E-07** at limit **
   8  norm          3.0390        3.0219       -.49514E-08   -.14327E-03
   9  norm          .22204E-09    .68452       -.97198E-08** at limit **
  10  norm          8.4137        3.3108        .14288E-07   -.16919E-02
  11  Prefactor     4.3757        3.0195       -.11763E-06   -.34525E-02
  12  Prefactor     22.705        22.896        .55966E-07   -.14481E-01
  13  Prefactor     6.0956        3.8736       -.12572E-07   -.21519E-02
  14  norm          1.3867        2.2834        .42351E-08    .50388E-05
  15  Normalizat    1.4619        .17980        .16374E-05   -.24396E-05
  16  Prefactor     .90013        .87511E-01   -.92892E-06   -.75984E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.55431e-09
  Prefactor  = 15.4483
  Prefactor  = 6.82787e-09
  norm       = 17.4317
  Prefactor  = 13.4884
  norm       = 0.310273
  norm       = 1.16074e-07
  norm       = 3.03902
  norm       = 2.22045e-10
  norm       = 8.41372
  Prefactor  = 4.37565
  Prefactor  = 22.7052
  Prefactor  = 6.09559
  norm       = 1.38667
  Normalizat = 1.46186
  Prefactor  = 0.900134
 **********
 **   18 **HESSE 
 **********

 FCN=   17204.15     FROM HESSE     STATUS=OK           243 CALLS     1395 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15543E-08    19.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.448        37.235        .24838E-03   -1.5629    
   3  Prefactor     .68279E-08    14.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          17.432        10.751        .23949E-03   -1.5624    
   5  Prefactor     13.488        11.752        .27246E-03   -1.5635    
   6  norm          .31027        .12531        .62641E-03   -1.5697    
   7  norm          .11607E-06    .54296        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.0390        3.0299        .58211E-03   -1.5673    
   9  norm          .22204E-09    .69120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.4137        3.3418        .34534E-03   -1.5650    
  11  Prefactor     4.3757        3.0261        .48109E-03   -1.5666    
  12  Prefactor     22.705        23.931        .20888E-03   -1.5613    
  13  Prefactor     6.0956        3.8951        .40701E-03   -1.5659    
  14  norm          1.3867        2.3293        .92322E-03   -1.5684    
  15  Normalizat    1.4619        .15526        .75018E-01   -.78856    
  16  Prefactor     .90013        .74620E-01    .45007E-01   -.96136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95734e-07
Minuit parameter uncertainties:
  1  0.000346105
  2  37.2353
  3  0.000630376
  4  10.7505
  5  11.7519
  6  0.125312
  7  0.000502041
  8  3.02988
  9  2.52396e-05
  10  3.34176
  11  3.02606
  12  23.9313
  13  3.89514
  14  2.32926
  15  0.155308
  16  0.0746281
Done.

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

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.161e-07  5.020e-04  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  9.001e-01  7.463e-02  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.462e+00  1.553e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 226.273 3.447
Photon Flux Upper Limit: 6.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.66e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/273997/likelihoodResults_682905601_683510401_4FGL_J1505.0+0326_weekly_bin734.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) = 17204.1507037
delta logL = -0.00116888452612

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17204.1495352
delta logL = -3.63248545909e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .51218E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    2.4870       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4618       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90015       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17204.15     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      229 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        11.064       -.45133E-05** at limit **
   2  alpha         2.4803        .88830        .33064E-04     .0000    
   3  Normalizat    1.4619        .17586        .12620E-04    .59465E-04
   4  Prefactor     .90013        .85785E-01   -.49106E-05   -.77494E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.48029
  Normalizat = 1.46186
  Prefactor  = 0.900134
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   17204.15     FROM HESSE     STATUS=FAILED        13 CALLS      242 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .51898        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2624        1.2195        .33064E-04   -.78850E-02
   3  Normalizat    1.4619        1.0539        .12620E-04   -.78856    
   4  Prefactor     .90013        1.2451       -.49106E-05   -.96136    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.5373e-11
Minuit parameter uncertainties:
  1  6.39258e-06
  2  1.02878
  3  1.07034
  4  1.2881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/273997': 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) = 17204.1495348
delta logL = 5.34419086762e-09

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  0.000e+00  6.393e-06  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.480e+00  1.029e+00  0.000e+00  5.000e+00 ( 1.000e+00)
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  9.001e-01  1.288e+00  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.462e+00  1.070e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 226.273 3.447

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/273997/cmap_HighResolution_682905601_683510401_4FGL_J1505.0+0326_weekly_bin734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-05', job_status='DONE', photon_flux_upper_limit='6.16e-08', time_completed='2022-09-17 01:41:51.534108', job_id='273997', GAL2='0.90', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1663404111.53', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='5.34e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='734' AND source_name='4FGL J1505.0+0326' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 01:41:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 273997: <4FGL_J1505.0+0326_weekly_bin734> in cluster <slac> Done

Job <4FGL_J1505.0+0326_weekly_bin734> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 17 01:25:31 2022
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 01:26:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 01:26:36 2022
Terminated at Sat Sep 17 01:41:52 2022
Results reported at Sat Sep 17 01:41:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1505.0+0326_weekly_bin734 226.273 3.4472 682905601 683510401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1505.0+0326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   823.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             321.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            981 sec.

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

