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


Performing analysis on: 4FGL_J1501.0+2238_weekly_bin744
RA = 225.257, Dec = 22.6364
tmin = 688953601, tmax = 689558401
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='974284', job_status='RUN', time_executed='2022-11-08 01:22:14.255776', time_epoch_executed='1667899334.26' WHERE source_name='4FGL J1501.0+2238' and cadence='weekly' and bin_id='744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/974284

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/974284/ft1_4FGL_J1501.0+2238_weekly_bin744.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/974284/ft2_4FGL_J1501.0+2238_weekly_bin744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/974284/ft1_4FGL_J1501.0+2238_weekly_bin744.fits outfile=/scratch/kocevski/974284/ft1_filteredMKT_4FGL_J1501.0+2238_weekly_bin744.fits ra=225.257 dec=22.6364 rad=12.0 tmin=688953601.0 tmax=689558401.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.65
user 7.35
sys 0.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/974284/ft2_4FGL_J1501.0+2238_weekly_bin744.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/974284/ft2_4FGL_J1501.0+2238_weekly_bin744.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/974284/ft1_filteredMKT_4FGL_J1501.0+2238_weekly_bin744.fits evtable="EVENTS" outfile="/scratch/kocevski/974284/ft1_filtered_4FGL_J1501.0+2238_weekly_bin744.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: 1673

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/974284/ft1_filtered_4FGL_J1501.0+2238_weekly_bin744.fits" evtable="EVENTS" scfile=/scratch/kocevski/974284/ft2_4FGL_J1501.0+2238_weekly_bin744.fits sctable="SC_DATA" outfile=/scratch/kocevski/974284/ltcube_688953601_689558401_4FGL_J1501.0+2238_weekly_bin744.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/974284/ft2_4FGL_J1501.0+2238_weekly_bin744.fits
.....................!
real 26.93
user 26.31
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/974284/ft1_filtered_4FGL_J1501.0+2238_weekly_bin744.fits evtable="EVENTS" scfile=/scratch/kocevski/974284/ft2_4FGL_J1501.0+2238_weekly_bin744.fits sctable="SC_DATA" expcube=/scratch/kocevski/974284/ltcube_688953601_689558401_4FGL_J1501.0+2238_weekly_bin744.fits outfile=/scratch/kocevski/974284/expmap_688953601_689558401_4FGL_J1501.0+2238_weekly_bin744.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/974284/ltcube_688953601_689558401_4FGL_J1501.0+2238_weekly_bin744.fits
.....................!
real 191.38
user 186.01
sys 4.91

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

Setting source of interest to:
4FGL J1501.0+2238 @ 225.257 22.6364

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/974284/ft1_filtered_4FGL_J1501.0+2238_weekly_bin744.fits scfile=/scratch/kocevski/974284/ft2_4FGL_J1501.0+2238_weekly_bin744.fits outfile=/scratch/kocevski/974284/cmap_688953601_689558401_4FGL_J1501.0+2238_weekly_bin744.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=225.257 yref=22.6364 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/974284/ft1_filtered_4FGL_J1501.0+2238_weekly_bin744.fits scfile=/scratch/kocevski/974284/ft2_4FGL_J1501.0+2238_weekly_bin744.fits outfile=/scratch/kocevski/974284/cmap_HighResolution_688953601_689558401_4FGL_J1501.0+2238_weekly_bin744.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=225.257 yref=22.6364 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.60
user 0.43
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/974284/ft1_filtered_4FGL_J1501.0+2238_weekly_bin744.fits evtable="EVENTS" scfile=/scratch/kocevski/974284/ft2_4FGL_J1501.0+2238_weekly_bin744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/974284/Model_4FGL_J1501.0+2238_weekly_bin744.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/974284/ft1_filtered_4FGL_J1501.0+2238_weekly_bin744.fits.....................!
real 114.71
user 113.28
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/974284/ft1_filtered_4FGL_J1501.0+2238_weekly_bin744.fits', '/scratch/kocevski/974284/ft2_4FGL_J1501.0+2238_weekly_bin744.fits', expMap='/scratch/kocevski/974284/expmap_688953601_689558401_4FGL_J1501.0+2238_weekly_bin744.fits', expCube='/scratch/kocevski/974284/ltcube_688953601_689558401_4FGL_J1501.0+2238_weekly_bin744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/974284/Model_4FGL_J1501.0+2238_weekly_bin744.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1501.0+2238'

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  3.674e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/974284/ft1_filtered_4FGL_J1501.0+2238_weekly_bin744.fits
Spacecraft file(s): /scratch/kocevski/974284/ft2_4FGL_J1501.0+2238_weekly_bin744.fits
Exposure map: /scratch/kocevski/974284/expmap_688953601_689558401_4FGL_J1501.0+2238_weekly_bin744.fits
Exposure cube: /scratch/kocevski/974284/ltcube_688953601_689558401_4FGL_J1501.0+2238_weekly_bin744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/974284/Model_4FGL_J1501.0+2238_weekly_bin744.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) = 17557.7256662

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10539E-05   1.0000          .0000       .10000E+07
     2 'norm      '    1.3820       1.0000          .0000       .10000E+07
     3 'norm      '    1.1950       1.0000          .0000       .10000E+07
     4 'norm      '    2.0245       1.0000          .0000       .10000E+07
     5 'Prefactor '    105.42       1.0000          .0000       .10000E+07
     6 'Prefactor '    28.721       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.9198       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.7840       1.0000          .0000       .10000E+07
     9 'norm      '    .10461E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .68793E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .53013E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18371E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .71137E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .40101E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12173E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4943       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93016       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17557.26     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1278 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7765       -.15069E-06** at limit **
   2  norm          1.3825        1.0388       -.25278E-06    .41021E-03
   3  norm          1.1943        1.1986       -.24906E-06   -.21507E-02
   4  norm          2.0261        1.6614       -.56798E-07   -.88444E-03
   5  Prefactor     105.50        1.3028       -.43608E-07    .89695E-01
   6  Prefactor     28.931        1.3655       -.79938E-07   -.15870    
   7  Prefactor     1.8753        31.210       -.49872E-05    .11019E-02
   8  Prefactor     9.7835        4.8048       -.43024E-06    .11683E-02
   9  norm          .55511E-10    10.811       -.20511E-05** at limit **
  10  Prefactor     .33862E-08    19.167        .36276E-05** at limit **
  11  norm           .0000        .13949       -.17476E-06** at limit **
  12  Prefactor     .55511E-10    3.3003        .52764E-06** at limit **
  13  Prefactor     .27145E-07    143.47       -.20962E-05** at limit **
  14  Prefactor     .55511E-10    .81918        .68444E-06** at limit **
  15  Prefactor     .55511E-10    5.5868        .10659E-05** at limit **
  16  Normalizat    1.4940        .14897        .25765E-05    .15517E-03
  17  Prefactor     .93027        .10580        .26714E-05    .22936E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.38255
  norm       = 1.1943
  norm       = 2.02607
  Prefactor  = 105.498
  Prefactor  = 28.9314
  Prefactor  = 1.87533
  Prefactor  = 9.78353
  norm       = 5.55112e-11
  Prefactor  = 3.38618e-09
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.7145e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Normalizat = 1.49396
  Prefactor  = 0.930274
 **********
 **   18 **HESSE 
 **********

 FCN=   17557.26     FROM HESSE     STATUS=OK           259 CALLS     1537 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.3825        1.0462        .92531E-03   -1.5684    
   3  norm          1.1943        1.2316        .10400E-02   -1.5686    
   4  norm          2.0261        1.6553        .72693E-03   -1.5679    
   5  Prefactor     105.50        32.744        .97402E-04   -1.5503    
   6  Prefactor     28.931        18.390        .18662E-03   -1.5600    
   7  Prefactor     1.8753        35.182        .74969E-03   -1.5681    
   8  Prefactor     9.7835        4.8141        .32012E-03   -1.5645    
   9  norm          .55511E-10    10.962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .33862E-08    19.180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .13845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    3.2742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27145E-07    136.76        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    .79642        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    5.5947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4940        .13146        .60637E-01   -.77948    
  17  Prefactor     .93027        .90479E-01    .45388E-01   -.95091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75381e-07
Minuit parameter uncertainties:
  1  9.93229e-07
  2  1.0462
  3  1.23164
  4  1.65535
  5  32.744
  6  18.3899
  7  16.2454
  8  4.81408
  9  3.64355e-05
  10  0.000509226
  11  9.06422e-07
  12  2.11124e-05
  13  0.00385367
  14  1.00866e-05
  15  3.06779e-05
  16  0.131489
  17  0.0904934
Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  9.784e+00  4.814e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  9.303e-01  9.049e-02  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  1.494e+00  1.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.68
Ra Dec: 225.257 22.636
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 3.17e-08 +/- 1.56e-08
Energy Flux (Fixed Index): 2.18e-05 +/- 1.08e-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) = 17556.7891648
delta logL = 0.46988637004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17556.7877229
delta logL = 0.47132827259

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17556.79     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      238 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.659        20.016        .30663E-03   -.29730E-02
   2  Index         1.6434        1.0858        .18464        .39688E-04
   3  Normalizat    1.5033        .13309        .60486E-01    .12362E-04
   4  Prefactor     .92967        .90102E-01    .45382E-01    .29114E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6591
  Index      = 1.64344
  Normalizat = 1.50333
  Prefactor  = 0.929667
 **********
 **   18 **HESSE 
 **********

 FCN=   17556.79     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.659        5.7239        .12265E-04   -1.5643    
   2  Index         1.6434        .36979        .10698E-01   -.73598    
   3  Normalizat    1.5033        .14860        .26750E-03   -.77685    
   4  Prefactor     .92967        .10559        .23310E-03   -.95112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94055e-11
Minuit parameter uncertainties:
  1  5.72391
  2  0.370405
  3  0.148639
  4  0.105612
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/974284': 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) = 17556.7877229
delta logL = 0.471328276606

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.066e+01  5.724e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  1.643e+00  3.704e-01  0.000e+00  1.000e+01 (-1.000e+00)
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  9.297e-01  1.056e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  1.503e+00  1.486e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.62
Ra Dec: 225.257 22.636
Photon Index (Free Index): 1.64 +/- 0.37
Photon Flux (Free Index): 1.89e-08 +/- 1.52e-08
Energy Flux (Free Index): 3.71e-05 +/- 3.01e-05

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/974284/cmap_HighResolution_688953601_689558401_4FGL_J1501.0+2238_weekly_bin744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.17e-08', energy_flux2='3.71e-05', photon_flux_error='1.56e-08', dlogl='4.71e-01', energy_flux='2.18e-05', photon_flux2='1.89e-08', job_status='DONE', time_completed='2022-11-08 01:35:46.111081', photon_index_error2='0.37', photon_index2='1.64', ts='18.68', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='3.01e-05', EG='1.49', time_epoch_completed='1667900146.11', return_code='0', job_id='974284', GAL2='0.93', EG2='1.50', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='1.52e-08', ts2='19.62', photon_index='2.00' WHERE bin_id='744' AND source_name='4FGL J1501.0+2238' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Nov  8 01:35:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 974284: <4FGL_J1501.0+2238_weekly_bin744> in cluster <slac> Done

Job <4FGL_J1501.0+2238_weekly_bin744> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov  8 01:20:25 2022
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 01:20:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 01:20:26 2022
Terminated at Tue Nov  8 01:35:46 2022
Results reported at Tue Nov  8 01:35:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1501.0+2238_weekly_bin744 225.257 22.6364 688953601 689558401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1501.0+2238 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   812.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             332.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            921 sec.

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

