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


Performing analysis on: 4FGL_J1501.0+2238_daily_bin1775
RA = 225.257, Dec = 22.6364
tmin = 699408001, tmax = 699667201
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='784219', job_status='RUN', time_executed='2023-03-05 03:23:25.654227', time_epoch_executed='1678015405.65' WHERE source_name='4FGL J1501.0+2238' and cadence='daily' and bin_id='1775'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784219

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784219/ft1_4FGL_J1501.0+2238_daily_bin1775.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784219/ft2_4FGL_J1501.0+2238_daily_bin1775.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784219/ft1_4FGL_J1501.0+2238_daily_bin1775.fits outfile=/scratch/kocevski/784219/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin1775.fits ra=225.257 dec=22.6364 rad=12.0 tmin=699408001.0 tmax=699667201.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 4.69
user 4.45
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/784219/ft2_4FGL_J1501.0+2238_daily_bin1775.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/784219/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin1775.fits evtable="EVENTS" outfile="/scratch/kocevski/784219/ft1_filtered_4FGL_J1501.0+2238_daily_bin1775.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 624

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/784219/ft1_filtered_4FGL_J1501.0+2238_daily_bin1775.fits" evtable="EVENTS" scfile=/scratch/kocevski/784219/ft2_4FGL_J1501.0+2238_daily_bin1775.fits sctable="SC_DATA" outfile=/scratch/kocevski/784219/ltcube_699408001_699667201_4FGL_J1501.0+2238_daily_bin1775.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/784219/ft2_4FGL_J1501.0+2238_daily_bin1775.fits
.....................!
real 14.06
user 13.64
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784219/ft1_filtered_4FGL_J1501.0+2238_daily_bin1775.fits evtable="EVENTS" scfile=/scratch/kocevski/784219/ft2_4FGL_J1501.0+2238_daily_bin1775.fits sctable="SC_DATA" expcube=/scratch/kocevski/784219/ltcube_699408001_699667201_4FGL_J1501.0+2238_daily_bin1775.fits outfile=/scratch/kocevski/784219/expmap_699408001_699667201_4FGL_J1501.0+2238_daily_bin1775.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/784219/ltcube_699408001_699667201_4FGL_J1501.0+2238_daily_bin1775.fits
.....................!
real 192.20
user 186.19
sys 5.64

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
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/784219/ft1_filtered_4FGL_J1501.0+2238_daily_bin1775.fits scfile=/scratch/kocevski/784219/ft2_4FGL_J1501.0+2238_daily_bin1775.fits outfile=/scratch/kocevski/784219/cmap_699408001_699667201_4FGL_J1501.0+2238_daily_bin1775.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.54
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784219/ft1_filtered_4FGL_J1501.0+2238_daily_bin1775.fits scfile=/scratch/kocevski/784219/ft2_4FGL_J1501.0+2238_daily_bin1775.fits outfile=/scratch/kocevski/784219/cmap_HighResolution_699408001_699667201_4FGL_J1501.0+2238_daily_bin1775.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.55
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/784219/ft1_filtered_4FGL_J1501.0+2238_daily_bin1775.fits', '/scratch/kocevski/784219/ft2_4FGL_J1501.0+2238_daily_bin1775.fits', expMap='/scratch/kocevski/784219/expmap_699408001_699667201_4FGL_J1501.0+2238_daily_bin1775.fits', expCube='/scratch/kocevski/784219/ltcube_699408001_699667201_4FGL_J1501.0+2238_daily_bin1775.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/784219/Model_4FGL_J1501.0+2238_daily_bin1775.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/784219/ft1_filtered_4FGL_J1501.0+2238_daily_bin1775.fits
Spacecraft file(s): /scratch/kocevski/784219/ft2_4FGL_J1501.0+2238_daily_bin1775.fits
Exposure map: /scratch/kocevski/784219/expmap_699408001_699667201_4FGL_J1501.0+2238_daily_bin1775.fits
Exposure cube: /scratch/kocevski/784219/ltcube_699408001_699667201_4FGL_J1501.0+2238_daily_bin1775.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/784219/Model_4FGL_J1501.0+2238_daily_bin1775.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) = 6813.20886048

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2950       1.0000          .0000       .10000E+07
     2 'norm      '    2.6016       1.0000          .0000       .10000E+07
     3 'norm      '    .81046E-08   1.0000          .0000       .10000E+07
     4 'norm      '    .46074E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    230.40       1.0000          .0000       .10000E+07
     6 'Prefactor '    .88674E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    15.622       1.0000          .0000       .10000E+07
     8 'Prefactor '    18.243       1.0000          .0000       .10000E+07
     9 'norm      '    .26802E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    24.602       1.0000          .0000       .10000E+07
    11 'norm      '    .93277       1.0000          .0000       .10000E+07
    12 'Prefactor '    8.4058       1.0000          .0000       .10000E+07
    13 'Prefactor '    .87510E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.8271       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.8237       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.5304       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .50377       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=   6809.196     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      798 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2938        4.5613        .12251E-05   -.36767E-02
   2  norm          2.6010        1.8900       -.14007E-06    .13407E-03
   3  norm          .55511E-10    1.6098        .13185E-05** at limit **
   4  norm           .0000        1.0548        .10940E-06** at limit **
   5  Prefactor     230.65        7.2568        .12389E-05   -.19447    
   6  Prefactor     .41144E-05    8.2198        .10894E-04** at limit **
   7  Prefactor     16.059        22.563       -.25077E-04    .48579E-01
   8  Prefactor     18.298        10.327        .28289E-06    .25187E-02
   9  norm          .10231E-06    18.801       -.18229E-05** at limit **
  10  Prefactor     22.951        41.101       -.11632E-04   -.33668E-02
  11  norm          .93157        1.0233       -.37248E-06    .19525E-02
  12  Prefactor     8.4222        8.5319       -.71137E-06   -.25596E-02
  13  Prefactor     .46813E-05    7.3241       -.73802E-05** at limit **
  14  Prefactor     1.8259        2.6431       -.26858E-06   -.19647E-02
  15  Prefactor     6.9175        1.7204        .83024E-07    .20158E-01
  16  Normalizat    1.5305        .22076        .24736E-04   -.55907E-04
  17  Prefactor     .50394        .14211        .70909E-05   -.83519E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.2938
  norm       = 2.60101
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 230.652
  Prefactor  = 4.11438e-06
  Prefactor  = 16.0586
  Prefactor  = 18.2985
  norm       = 1.02307e-07
  Prefactor  = 22.9508
  norm       = 0.931574
  Prefactor  = 8.42216
  Prefactor  = 4.68126e-06
  Prefactor  = 1.82595
  Prefactor  = 6.91746
  Normalizat = 1.53049
  Prefactor  = 0.503941
 **********
 **   18 **HESSE 
 **********

 FCN=   6809.196     FROM HESSE     STATUS=OK           261 CALLS     1059 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2938        4.5952        .67723E-03   -1.5678    
   2  norm          2.6010        1.8914        .63224E-03   -1.5676    
   3  norm          .55511E-10    1.5884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.0544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     230.65        58.421        .65889E-04   -1.5404    
   6  Prefactor     .41144E-05    13.587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.059        24.338        .25314E-03   -1.5628    
   8  Prefactor     18.298        10.357        .23422E-03   -1.5622    
   9  norm          .10231E-06    18.948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     22.951        42.111        .20166E-03   -1.5612    
  11  norm          .93157        1.0338        .43520E-03   -1.5689    
  12  Prefactor     8.4222        8.5971        .34553E-03   -1.5650    
  13  Prefactor     .46813E-05    13.590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.8259        2.6684        .77196E-03   -1.5681    
  15  Prefactor     6.9175        28.678        .38385E-03   -1.5655    
  16  Normalizat    1.5305        .19427        .53907E-01   -.76925    
  17  Prefactor     .50394        .12295        .57997E-01   -1.1180    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39452e-06
Minuit parameter uncertainties:
  1  4.59517
  2  1.8914
  3  1.36191e-05
  4  3.75622e-06
  5  58.421
  6  0.0149537
  7  24.3384
  8  10.3565
  9  0.00278464
  10  42.1111
  11  1.03382
  12  8.59714
  13  0.0159521
  14  2.6684
  15  28.1698
  16  0.194366
  17  0.12301
Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.830e+01  1.036e+01  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:  5.039e-01  1.230e-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.530e+00  1.944e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.95
Ra Dec: 225.257 22.636
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 5.94e-08 +/- 3.36e-08
Energy Flux (Fixed Index): 4.09e-05 +/- 2.31e-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) = 6808.98154825
delta logL = 0.214409190772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6808.97321973
delta logL = 0.222737709661

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.224       1.0000          .0000       .10000E+07
     2 'Index     '    2.2692       1.0000          .0000       10.000    
     3 'Normalizat'    1.5128       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50865       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=   6808.973     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      270 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.217        137.33        .26531E-03    .13345E-02
   2  Index         2.2686        2.6139        .12125        .17743E-03
   3  Normalizat    1.5128        .93476E-01    .54152E-01    .24801E-04
   4  Prefactor     .50888        .49912E-01    .57715E-01    .32348E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.2174
  Index      = 2.26864
  Normalizat = 1.51276
  Prefactor  = 0.508877
 **********
 **   18 **HESSE 
 **********

 FCN=   6808.973     FROM HESSE     STATUS=OK            31 CALLS      301 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.217        11.209        .10612E-04   -1.5633    
   2  Index         2.2686        .43364        .44609E-02   -.57791    
   3  Normalizat    1.5128        .21774        .23943E-03   -.77420    
   4  Prefactor     .50888        .14161        .25532E-03   -1.1157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41308e-11
Minuit parameter uncertainties:
  1  11.2093
  2  0.434415
  3  0.217875
  4  0.141709
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784219': 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) = 6808.97321344
delta logL = 0.222743995529

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.422e+01  1.121e+01  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.269e+00  4.344e-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:  5.089e-01  1.417e-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.513e+00  2.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.37
Ra Dec: 225.257 22.636
Photon Index (Free Index): 2.27 +/- 0.43
Photon Flux (Free Index): 7.89e-08 +/- 4.87e-08
Energy Flux (Free Index): 3.14e-05 +/- 2.06e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/784219/cmap_HighResolution_699408001_699667201_4FGL_J1501.0+2238_daily_bin1775.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.94e-08', energy_flux2='3.14e-05', photon_flux_error='3.36e-08', dlogl='2.23e-01', energy_flux='4.09e-05', photon_flux2='7.89e-08', job_status='DONE', time_completed='2023-03-05 03:31:06.947818', photon_index_error2='0.43', photon_index2='2.27', ts='5.95', fit_tolerance='1e-08', GAL='0.50', photon_index_error='0.00', energy_flux_error2='2.06e-05', EG='1.53', time_epoch_completed='1678015866.95', return_code='0', job_id='784219', GAL2='0.51', EG2='1.51', return_code2='0', energy_flux_error='2.31e-05', photon_flux_error2='4.87e-08', ts2='6.37', photon_index='2.00' WHERE bin_id='1775' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Mar  5 03:31:06 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 784219: <4FGL_J1501.0+2238_daily_bin1775> in cluster <slac> Done

Job <4FGL_J1501.0+2238_daily_bin1775> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Mar  5 03:15:20 2023
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Mar  5 03:21:52 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Mar  5 03:21:52 2023
Terminated at Sun Mar  5 03:31:07 2023
Results reported at Sun Mar  5 03:31:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1501.0+2238_daily_bin1775 225.257 22.6364 699408001 699667201 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 :                                   464.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   555 sec.
    Turnaround time :                            947 sec.

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

