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


Performing analysis on: 4FGL_J1505.0+0326_weekly_bin750
RA = 226.273, Dec = 3.4472
tmin = 692582401, tmax = 693187201
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='61503', job_status='RUN', time_executed='2022-12-20 03:45:37.222503', time_epoch_executed='1671536737.22' WHERE source_name='4FGL J1505.0+0326' and cadence='weekly' and bin_id='750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/61503

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/61503/ft1_4FGL_J1505.0+0326_weekly_bin750.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/61503/ft2_4FGL_J1505.0+0326_weekly_bin750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/61503/ft1_4FGL_J1505.0+0326_weekly_bin750.fits outfile=/scratch/kocevski/61503/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin750.fits ra=226.273 dec=3.4472 rad=12.0 tmin=692582401.0 tmax=693187201.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 7.60
user 7.32
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/61503/ft2_4FGL_J1505.0+0326_weekly_bin750.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/61503/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin750.fits evtable="EVENTS" outfile="/scratch/kocevski/61503/ft1_filtered_4FGL_J1505.0+0326_weekly_bin750.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.54
user 0.39
sys 0.14

Number of photons that the gtmktime cut: 1679

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/61503/ft1_filtered_4FGL_J1505.0+0326_weekly_bin750.fits" evtable="EVENTS" scfile=/scratch/kocevski/61503/ft2_4FGL_J1505.0+0326_weekly_bin750.fits sctable="SC_DATA" outfile=/scratch/kocevski/61503/ltcube_692582401_693187201_4FGL_J1505.0+0326_weekly_bin750.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/61503/ft2_4FGL_J1505.0+0326_weekly_bin750.fits
.....................!
real 27.41
user 27.00
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/61503/ft1_filtered_4FGL_J1505.0+0326_weekly_bin750.fits evtable="EVENTS" scfile=/scratch/kocevski/61503/ft2_4FGL_J1505.0+0326_weekly_bin750.fits sctable="SC_DATA" expcube=/scratch/kocevski/61503/ltcube_692582401_693187201_4FGL_J1505.0+0326_weekly_bin750.fits outfile=/scratch/kocevski/61503/expmap_692582401_693187201_4FGL_J1505.0+0326_weekly_bin750.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/61503/ltcube_692582401_693187201_4FGL_J1505.0+0326_weekly_bin750.fits
.....................!
real 190.69
user 185.73
sys 4.62

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/61503/ft1_filtered_4FGL_J1505.0+0326_weekly_bin750.fits scfile=/scratch/kocevski/61503/ft2_4FGL_J1505.0+0326_weekly_bin750.fits outfile=/scratch/kocevski/61503/cmap_692582401_693187201_4FGL_J1505.0+0326_weekly_bin750.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.57
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/61503/ft1_filtered_4FGL_J1505.0+0326_weekly_bin750.fits scfile=/scratch/kocevski/61503/ft2_4FGL_J1505.0+0326_weekly_bin750.fits outfile=/scratch/kocevski/61503/cmap_HighResolution_692582401_693187201_4FGL_J1505.0+0326_weekly_bin750.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.58
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/61503/ft1_filtered_4FGL_J1505.0+0326_weekly_bin750.fits', '/scratch/kocevski/61503/ft2_4FGL_J1505.0+0326_weekly_bin750.fits', expMap='/scratch/kocevski/61503/expmap_692582401_693187201_4FGL_J1505.0+0326_weekly_bin750.fits', expCube='/scratch/kocevski/61503/ltcube_692582401_693187201_4FGL_J1505.0+0326_weekly_bin750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/61503/Model_4FGL_J1505.0+0326_weekly_bin750.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/61503/ft1_filtered_4FGL_J1505.0+0326_weekly_bin750.fits
Spacecraft file(s): /scratch/kocevski/61503/ft2_4FGL_J1505.0+0326_weekly_bin750.fits
Exposure map: /scratch/kocevski/61503/expmap_692582401_693187201_4FGL_J1505.0+0326_weekly_bin750.fits
Exposure cube: /scratch/kocevski/61503/ltcube_692582401_693187201_4FGL_J1505.0+0326_weekly_bin750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/61503/Model_4FGL_J1505.0+0326_weekly_bin750.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) = 18291.8254013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10347E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8123       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.669       1.0000          .0000       .10000E+07
     4 'norm      '    2.6064       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19764E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .36027       1.0000          .0000       .10000E+07
     7 'norm      '    4.6898       1.0000          .0000       .10000E+07
     8 'norm      '    .67281E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .54362E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .30652       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8237       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.8463       1.0000          .0000       .10000E+07
    13 'Prefactor '    .64773E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .46585E-06   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3339       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .88929       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=   18291.08     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      885 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .33307E-09    8.0463       -.25164E-06** at limit **
   2  Prefactor     6.3668        2.4165       -.11746E-06    .12317E-01
   3  Prefactor     12.363        2.9157       -.27682E-06    .57109E-01
   4  norm          2.7708        6.2497        .51724E-06   -.47956E-02
   5  Prefactor     .48295E-08    12.827       -.10800E-06** at limit **
   6  norm          .36033        .11160        .12228E-08   -.67824E-01
   7  norm          4.6901        1.7433       -.54463E-08   -.20475E-02
   8  norm          .55511E-10    2.4773        .10035E-06** at limit **
   9  norm          .49960E-09    3.9959       -.53133E-06** at limit **
  10  norm          .30635        3.1578        .35885E-06    .55292E-02
  11  Prefactor     2.8237        2.2208        .11721E-06   -.49763E-02
  12  Prefactor     2.9043        4.0505       -.11134E-05    .20427E-01
  13  Prefactor     .43139E-01    20.736        .45242E-05** at limit **
  14  norm          .27756E-09    2.9710       -.43182E-06** at limit **
  15  Normalizat    1.3338        .15543       -.18811E-05    .46049E-03
  16  Prefactor     .88926        .77099E-01   -.59674E-07    .92502E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.33067e-10
  Prefactor  = 6.36685
  Prefactor  = 12.3632
  norm       = 2.77077
  Prefactor  = 4.82947e-09
  norm       = 0.360333
  norm       = 4.69011
  norm       = 5.55112e-11
  norm       = 4.996e-10
  norm       = 0.306353
  Prefactor  = 2.82366
  Prefactor  = 2.90426
  Prefactor  = 0.0431391
  norm       = 2.77556e-10
  Normalizat = 1.33385
  Prefactor  = 0.889259
 **********
 **   18 **HESSE 
 **********

 FCN=   18291.08     FROM HESSE     STATUS=OK           251 CALLS     1136 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .33307E-09    8.1234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.3668        17.596        .41634E-03   -1.5657    
   3  Prefactor     12.363        12.455        .28117E-03   -1.5638    
   4  norm          2.7708        7.2816        .63161E-03   -1.5675    
   5  Prefactor     .48295E-08    13.086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .36033        .11308        .54506E-03   -1.5696    
   7  norm          4.6901        1.7661        .46444E-03   -1.5665    
   8  norm          .55511E-10    2.4796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .49960E-09    3.9354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .30635        1.0124        .63435E-02   -1.5697    
  11  Prefactor     2.8237        2.2295        .60499E-03   -1.5674    
  12  Prefactor     2.9043        8.7794        .60242E-03   -1.5674    
  13  Prefactor     .43139E-01    .69686        .76085E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .27756E-09    2.9643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.3338        .13459        .70883E-01   -.82562    
  16  Prefactor     .88926        .66330E-01    .44868E-01   -.96517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35241e-07
Minuit parameter uncertainties:
  1  0.000106275
  2  17.5966
  3  12.4552
  4  7.28161
  5  0.000504183
  6  0.113076
  7  1.76607
  8  2.68899e-05
  9  8.74521e-05
  10  1.0124
  11  2.22955
  12  8.77946
  13  0.346768
  14  5.72724e-05
  15  0.134628
  16  0.0663358
Done.

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

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  4.690e+00  1.766e+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

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  8.893e-01  6.634e-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.334e+00  1.346e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.27
Ra Dec: 226.273 3.447
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 9.89e-08 +/- 3.72e-08
Energy Flux (Fixed Index): 2.67e-05 +/- 1.01e-05

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) = 18290.3154265
delta logL = 0.761990365787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18290.3129474
delta logL = 0.764469502741

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9843       1.0000          .0000       .10000E+07
     2 'alpha     '    3.0312       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2921       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90341       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+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=   18290.31     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      278 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9844        1.8730        .85485E-05   -.21975E-01
   2  alpha         3.0311        .50339        .16948E-01   -.11960E-03
   3  Normalizat    1.2921        .15784        .31772E-03    .15744E-03
   4  Prefactor     .90341        .77696E-01    .18671E-03    .42458E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.98441
  alpha      = 3.03112
  Normalizat = 1.29209
  Prefactor  = 0.903406
 **********
 **   18 **HESSE 
 **********

 FCN=   18290.31     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9844        1.7745        .34194E-06   -1.5668    
   2  alpha         3.0311        .47678        .67793E-03    .21408    
   3  Normalizat    1.2921        .15790        .12709E-04   -.83803    
   4  Prefactor     .90341        .77674E-01    .37341E-04   -.96022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.6376e-10
Minuit parameter uncertainties:
  1  1.77447
  2  0.479857
  3  0.157954
  4  0.0776839
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/61503': 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) = 18290.3129474
delta logL = 0.764469508547

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  3.984e+00  1.774e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  3.031e+00  4.799e-01  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.034e-01  7.768e-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.292e+00  1.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.01
Ra Dec: 226.273 3.447
Photon Index (Free Index): 3.03 +/- 0.48
Photon Flux (Free Index): 1.32e-07 +/- 4.86e-08
Energy Flux (Free Index): 2.61e-05 +/- 8.95e-06

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/61503/cmap_HighResolution_692582401_693187201_4FGL_J1505.0+0326_weekly_bin750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.89e-08', energy_flux2='2.61e-05', photon_flux_error='3.72e-08', dlogl='7.64e-01', energy_flux='2.67e-05', photon_flux2='1.32e-07', job_status='DONE', time_completed='2022-12-20 03:57:43.793233', photon_index_error2='0.48', photon_index2='3.03', ts='11.27', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='8.95e-06', EG='1.33', time_epoch_completed='1671537463.79', return_code='0', job_id='61503', GAL2='0.90', EG2='1.29', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='4.86e-08', ts2='13.01', photon_index='2.49' WHERE bin_id='750' AND source_name='4FGL J1505.0+0326' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 20 03:57:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0145>
Subject: Job 61503: <4FGL_J1505.0+0326_weekly_bin750> in cluster <slac> Done

Job <4FGL_J1505.0+0326_weekly_bin750> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec 20 03:45:21 2022
Job was executed on host(s) <bullet0145>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 03:45:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 03:45:22 2022
Terminated at Tue Dec 20 03:57:44 2022
Results reported at Tue Dec 20 03:57:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1505.0+0326_weekly_bin750 226.273 3.4472 692582401 693187201 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 :                                   726.97 sec.
    Max Memory :                                 1110 MB
    Average Memory :                             355.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3409 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            743 sec.

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

