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


Performing analysis on: 4FGL_J1501.0+2238_daily_bin1748
RA = 225.257, Dec = 22.6364
tmin = 692409601, tmax = 692668801
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='889354', job_status='RUN', time_executed='2022-12-14 00:54:26.321520', time_epoch_executed='1671008066.32' WHERE source_name='4FGL J1501.0+2238' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889354

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889354/ft1_4FGL_J1501.0+2238_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889354/ft2_4FGL_J1501.0+2238_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889354/ft1_4FGL_J1501.0+2238_daily_bin1748.fits outfile=/scratch/kocevski/889354/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin1748.fits ra=225.257 dec=22.6364 rad=12.0 tmin=692409601.0 tmax=692668801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.60
user 3.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/889354/ft2_4FGL_J1501.0+2238_daily_bin1748.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/889354/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/889354/ft1_filtered_4FGL_J1501.0+2238_daily_bin1748.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.52
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 779

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889354/ft1_filtered_4FGL_J1501.0+2238_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/889354/ft2_4FGL_J1501.0+2238_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/889354/ltcube_692409601_692668801_4FGL_J1501.0+2238_daily_bin1748.fits outfile=/scratch/kocevski/889354/expmap_692409601_692668801_4FGL_J1501.0+2238_daily_bin1748.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/889354/ltcube_692409601_692668801_4FGL_J1501.0+2238_daily_bin1748.fits
.....................!
real 192.39
user 185.78
sys 6.00

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/889354/ft1_filtered_4FGL_J1501.0+2238_daily_bin1748.fits scfile=/scratch/kocevski/889354/ft2_4FGL_J1501.0+2238_daily_bin1748.fits outfile=/scratch/kocevski/889354/cmap_692409601_692668801_4FGL_J1501.0+2238_daily_bin1748.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889354/ft1_filtered_4FGL_J1501.0+2238_daily_bin1748.fits scfile=/scratch/kocevski/889354/ft2_4FGL_J1501.0+2238_daily_bin1748.fits outfile=/scratch/kocevski/889354/cmap_HighResolution_692409601_692668801_4FGL_J1501.0+2238_daily_bin1748.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7114       1.0000          .0000       .10000E+07
     2 'norm      '    9.0589       1.0000          .0000       .10000E+07
     3 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     4 'norm      '    2.4233       1.0000          .0000       .10000E+07
     5 'Prefactor '    43.063       1.0000          .0000       .10000E+07
     6 'Prefactor '    18.255       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15876E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.1752       1.0000          .0000       .10000E+07
     9 'norm      '    12.191       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.8948       1.0000          .0000       .10000E+07
    11 'norm      '    .26090E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
    13 'Prefactor '    10.701       1.0000          .0000       .10000E+07
    14 'Prefactor '    .66058E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14433E-08   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.5850       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .80031       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=   8297.875     FROM MIGRAD    STATUS=CONVERGED    100 CALLS     1433 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7123        8.7136       -.10421E-05   -.33188E-02
   2  norm          9.0592        3.3539       -.88882E-07    .80564E-03
   3  norm           .0000        1.4179        .12465E-06** at limit **
   4  norm          2.4235        2.7317       -.51757E-06    .19902E-02
   5  Prefactor     43.082        1.0906        .22929E-07    .81861E-01
   6  Prefactor     18.271        1.8033       -.12949E-06    .13713    
   7  Prefactor     .39246E-07    15.932        .14115E-05** at limit **
   8  Prefactor     2.1755        4.7757        .94892E-06   -.90510E-03
   9  norm          12.186        1.0052        .97866E-08    .12375E-01
  10  Prefactor     7.9034        1.0381        .42220E-07    .26791E-01
  11  norm           .0000        1.5496       -.13678E-06** at limit **
  12  Prefactor      .0000        2.4485       -.29755E-06** at limit **
  13  Prefactor     10.691        1.2451        .51602E-07   -.11209    
  14  Prefactor      .0000        1.9763        .68503E-06** at limit **
  15  Prefactor     .42466E-07    31.563        .56375E-05** at limit **
  16  Normalizat    1.5846        .22213        .44252E-04   -.38663E-03
  17  Prefactor     .80055        .15521       -.42205E-04   -.18151E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.71234
  norm       = 9.05919
  norm       = 0
  norm       = 2.42346
  Prefactor  = 43.0825
  Prefactor  = 18.2713
  Prefactor  = 3.92464e-08
  Prefactor  = 2.17551
  norm       = 12.1857
  Prefactor  = 7.90339
  norm       = 0
  Prefactor  = 0
  Prefactor  = 10.691
  Prefactor  = 0
  Prefactor  = 4.2466e-08
  Normalizat = 1.58461
  Prefactor  = 0.800547
 **********
 **   18 **HESSE 
 **********

 FCN=   8297.875     FROM HESSE     STATUS=OK           265 CALLS     1698 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7123        8.7707        .42006E-03   -1.5660    
   2  norm          9.0592        3.3577        .33276E-03   -1.5648    
   3  norm           .0000        1.4100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.4235        2.7440        .65719E-03   -1.5677    
   5  Prefactor     43.082        29.928        .15240E-03   -1.5577    
   6  Prefactor     18.271        21.649        .23414E-03   -1.5622    
   7  Prefactor     .39246E-07    15.995        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.1755        4.8337        .69784E-03   -1.5678    
   9  norm          12.186        33.580        .28665E-03   -1.5638    
  10  Prefactor     7.9034        44.955        .35662E-03   -1.5652    
  11  norm           .0000        .57303        .22013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.4494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.691        17.545        .30603E-03   -1.5643    
  14  Prefactor      .0000        1.9618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .42466E-07    31.705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.5846        .19011        .57816E-01   -.75428    
  17  Prefactor     .80055        .13129        .43721E-01   -.99708    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3781e-06
Minuit parameter uncertainties:
  1  8.77069
  2  3.35766
  3  9.20496e-06
  4  2.744
  5  29.9279
  6  21.6488
  7  0.0015844
  8  4.83367
  9  33.5803
  10  37.6991
  11  4.90979e-06
  12  1.00964e-06
  13  17.5454
  14  2.95515e-06
  15  0.002321
  16  0.190195
  17  0.131339
Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  2.176e+00  4.834e+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:  8.005e-01  1.313e-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.585e+00  1.902e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.29
Ra Dec: 225.257 22.636
Photon Flux Upper Limit: 5.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/889354/likelihoodResults_692409601_692668801_4FGL_J1501.0+2238_daily_bin1748.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8297.8696277
delta logL = 0.00541825702749

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8297.86922321
delta logL = 0.00582274181579

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3126       1.0000          .0000       .10000E+07
     2 'Index     '    1.8669       1.0000          .0000       10.000    
     3 'Normalizat'    1.5857       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80026       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8297.869     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      248 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3116        5.1013        .26975E-04   -.37577E-02
   2  Index         1.8661        1.2190        .52916E-02    .21600E-04
   3  Normalizat    1.5858        .22074        .25558E-03   -.46094E-03
   4  Prefactor     .80025        .15512        .24087E-03   -.60807E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.31165
  Index      = 1.8661
  Normalizat = 1.58577
  Prefactor  = 0.800255
 **********
 **   18 **HESSE 
 **********

 FCN=   8297.869     FROM HESSE     STATUS=OK            23 CALLS      271 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3116        5.0853        .10790E-05   -1.5678    
   2  Index         1.8661        1.2153        .21166E-03   -.67741    
   3  Normalizat    1.5858        .22093        .51116E-04   -.75396    
   4  Prefactor     .80025        .15526        .48174E-04   -.99719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.81537e-10
Minuit parameter uncertainties:
  1  5.08534
  2  1.23589
  3  0.221066
  4  0.155349
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889354': 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) = 8297.86922297
delta logL = 0.00582298290647

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  2.312e+00  5.085e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  1.866e+00  1.236e+00  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:  8.003e-01  1.553e-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.586e+00  2.211e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.29
Ra Dec: 225.257 22.636

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/889354/cmap_HighResolution_692409601_692668801_4FGL_J1501.0+2238_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.43e-03', job_status='DONE', photon_flux_upper_limit='5.90e-08', time_completed='2022-12-14 01:03:55.600682', job_id='889354', GAL2='0.80', fit_tolerance='1e-08', EG2='1.59', EG='1.58', time_epoch_completed='1671008635.6', return_code2='0', ts='0.29', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='5.82e-03', ts2='0.30', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1748' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:03:55 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 889354: <4FGL_J1501.0+2238_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1501.0+2238_daily_bin1748> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Dec 14 00:50:21 2022
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:50:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:50:22 2022
Terminated at Wed Dec 14 01:03:56 2022
Results reported at Wed Dec 14 01:03:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1501.0+2238_daily_bin1748 225.257 22.6364 692409601 692668801 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 :                                   571.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            815 sec.

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

