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


Performing analysis on: 4FGL_J1501.0+2238_daily_bin1710
RA = 225.257, Dec = 22.6364
tmin = 682560001, tmax = 682819201
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='155264', job_status='RUN', time_executed='2022-09-16 18:49:01.902380', time_epoch_executed='1663379341.9' WHERE source_name='4FGL J1501.0+2238' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/155264

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/155264/ft1_4FGL_J1501.0+2238_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/155264/ft2_4FGL_J1501.0+2238_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/155264/ft1_4FGL_J1501.0+2238_daily_bin1710.fits outfile=/scratch/kocevski/155264/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin1710.fits ra=225.257 dec=22.6364 rad=12.0 tmin=682560001.0 tmax=682819201.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.66
user 3.42
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/155264/ft1_filtered_4FGL_J1501.0+2238_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/155264/ft2_4FGL_J1501.0+2238_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/155264/ltcube_682560001_682819201_4FGL_J1501.0+2238_daily_bin1710.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/155264/ft2_4FGL_J1501.0+2238_daily_bin1710.fits
.....................!
real 14.95
user 14.47
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/155264/ft1_filtered_4FGL_J1501.0+2238_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/155264/ft2_4FGL_J1501.0+2238_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/155264/ltcube_682560001_682819201_4FGL_J1501.0+2238_daily_bin1710.fits outfile=/scratch/kocevski/155264/expmap_682560001_682819201_4FGL_J1501.0+2238_daily_bin1710.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/155264/ltcube_682560001_682819201_4FGL_J1501.0+2238_daily_bin1710.fits
.....................!
real 193.32
user 187.56
sys 5.28

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/155264/ft1_filtered_4FGL_J1501.0+2238_daily_bin1710.fits scfile=/scratch/kocevski/155264/ft2_4FGL_J1501.0+2238_daily_bin1710.fits outfile=/scratch/kocevski/155264/cmap_682560001_682819201_4FGL_J1501.0+2238_daily_bin1710.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.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/155264/ft1_filtered_4FGL_J1501.0+2238_daily_bin1710.fits scfile=/scratch/kocevski/155264/ft2_4FGL_J1501.0+2238_daily_bin1710.fits outfile=/scratch/kocevski/155264/cmap_HighResolution_682560001_682819201_4FGL_J1501.0+2238_daily_bin1710.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9881       1.0000          .0000       .10000E+07
     2 'norm      '    4.6023       1.0000          .0000       .10000E+07
     3 'norm      '    2.1549       1.0000          .0000       .10000E+07
     4 'norm      '    4.4693       1.0000          .0000       .10000E+07
     5 'Prefactor '    85.216       1.0000          .0000       .10000E+07
     6 'Prefactor '    24.914       1.0000          .0000       .10000E+07
     7 'Prefactor '    .24624E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5782       1.0000          .0000       .10000E+07
     9 'norm      '    .50953E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .23366E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .68757       1.0000          .0000       .10000E+07
    12 'Prefactor '    .21528E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .37682E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .14216E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    47.519       1.0000          .0000       .10000E+07
    16 'Normalizat'    .99785       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0349       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=   7155.221     FROM MIGRAD    STATUS=CONVERGED     95 CALLS     1252 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2054        7.6581       -.12646E-06    .44925E-03
   2  norm          4.6038        2.7708        .36813E-06    .59756E-02
   3  norm          2.1552        2.3267       -.34263E-06   -.18967E-02
   4  norm          4.4454        4.0126        .25154E-06    .16115E-02
   5  Prefactor     85.259        1.0145        .24475E-07   -.11267E-01
   6  Prefactor     24.927        3.3975        .13071E-05   -.25981E-01
   7  Prefactor     .52236E-07    9.7510       -.59474E-05** at limit **
   8  Prefactor     4.4359        9.7236        .22506E-05   -.73445E-05
   9  norm          .49571E-07    9.8416        .99640E-05** at limit **
  10  Prefactor     .11990E-07    14.146       -.72248E-05** at limit **
  11  norm          .68742        .99828        .30720E-06    .91248E-02
  12  Prefactor     .17081E-06    7.3582        .71974E-05** at limit **
  13  Prefactor     .37748E-08    24.250        .52606E-07** at limit **
  14  Prefactor      .0000        .77608        .22226E-06** at limit **
  15  Prefactor     47.554        1.9153        .48680E-06   -.68655E-01
  16  Normalizat    .99775        .22525       -.18126E-04    .15496E-03
  17  Prefactor     1.0350        .15664        .25843E-05    .18762E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.20538
  norm       = 4.60378
  norm       = 2.15518
  norm       = 4.44542
  Prefactor  = 85.2595
  Prefactor  = 24.927
  Prefactor  = 5.2236e-08
  Prefactor  = 4.43587
  norm       = 4.95715e-08
  Prefactor  = 1.19904e-08
  norm       = 0.687415
  Prefactor  = 1.70808e-07
  Prefactor  = 3.77476e-09
  Prefactor  = 0
  Prefactor  = 47.5543
  Normalizat = 0.997754
  Prefactor  = 1.03502
 **********
 **   18 **HESSE 
 **********

 FCN=   7155.221     FROM HESSE     STATUS=OK           259 CALLS     1511 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2054        7.6582        .35452E-03   -1.5651    
   2  norm          4.6038        2.7758        .46894E-03   -1.5665    
   3  norm          2.1552        2.3428        .70154E-03   -1.5679    
   4  norm          4.4454        4.0211        .47605E-03   -1.5666    
   5  Prefactor     85.259        49.886        .10833E-03   -1.5523    
   6  Prefactor     24.927        20.385        .20039E-03   -1.5608    
   7  Prefactor     .52236E-07    11.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.4359        9.7840        .47021E-03   -1.5666    
   9  norm          .49571E-07    13.937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11990E-07    15.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .68742        1.0142        .61723E-03   -1.5691    
  12  Prefactor     .17081E-06    13.590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .37748E-08    24.191        .16070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        .77459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     47.554        40.143        .14508E-03   -1.5570    
  16  Normalizat    .99775        .19985        .68734E-01   -.93106    
  17  Prefactor     1.0350        .13548        .40888E-01   -.91571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23906e-07
Minuit parameter uncertainties:
  1  7.65819
  2  2.77578
  3  2.34284
  4  4.02111
  5  49.8863
  6  20.385
  7  0.00156005
  8  9.78407
  9  0.00166224
  10  0.000874045
  11  1.01422
  12  0.00304745
  13  0.000602693
  14  5.14706e-06
  15  40.1429
  16  0.199995
  17  0.135528
Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  4.436e+00  9.784e+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:  1.035e+00  1.355e-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:  9.978e-01  2.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/155264/likelihoodResults_682560001_682819201_4FGL_J1501.0+2238_daily_bin1710.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) = 7154.02756946
delta logL = 1.19376394778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7154.00422639
delta logL = 1.21710701675

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1089       1.0000          .0000       .10000E+07
     2 'Index     '    3.4890       1.0000          .0000       10.000    
     3 'Normalizat'    .90705       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0639       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=   7154.004     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      259 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1087        9.2371        .11222E-02    .10741E-01
   2  Index         3.4893        1.8184        .10761        .20810E-03
   3  Normalizat    .90707        .47812E-01    .71652E-01    .25144E-04
   4  Prefactor     1.0639        .32875E-01    .39156E-01   -.38540E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.10866
  Index      = 3.48932
  Normalizat = 0.907073
  Prefactor  = 1.06387
 **********
 **   18 **HESSE 
 **********

 FCN=   7154.004     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      292 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1087        23.128        .57884E-05   -1.5687    
   2  Index         3.4893        3.4846        .37252E-02   -.30693    
   3  Normalizat    .90707        .23931        .31704E-03   -.96212    
   4  Prefactor     1.0639        .16124        .20531E-03   -.90630    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.39313e-10
Minuit parameter uncertainties:
  1  10.1275
  2  3.90791
  3  0.239588
  4  0.161316
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/155264': 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): 102
logL (Free Index) = 7154.00422587
delta logL = 1.21710753026

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.109e+00  1.013e+01  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  3.489e+00  3.908e+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:  1.064e+00  1.613e-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:  9.071e-01  2.396e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.84
Ra Dec: 225.257 22.636
Photon Index (Free Index): 3.49 +/- 3.91
Photon Flux (Free Index): 1.07e-07 +/- 9.81e-08
Energy Flux (Free Index): 1.78e-05 +/- 1.45e-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/155264/cmap_HighResolution_682560001_682819201_4FGL_J1501.0+2238_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.81e-03', comment='SUCCESS', energy_flux2='1.78e-05', dlogl='1.22e+00', photon_flux2='1.07e-07', job_status='DONE', time_completed='2022-09-16 18:57:38.894647', photon_index_error2='3.91', photon_index2='3.49', ts='0.26', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='9.08e-08', energy_flux_error2='1.45e-05', EG='1.00', time_epoch_completed='1663379858.89', return_code='0', job_id='155264', GAL2='1.06', EG2='0.91', return_code2='102', photon_flux_error2='9.81e-08', ts2='2.84', photon_index='2.00' WHERE bin_id='1710' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:57:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 155264: <4FGL_J1501.0+2238_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1501.0+2238_daily_bin1710> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 18:45:17 2022
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:45:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:45:37 2022
Terminated at Fri Sep 16 18:57:39 2022
Results reported at Fri Sep 16 18:57:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1501.0+2238_daily_bin1710 225.257 22.6364 682560001 682819201 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 :                                   518.48 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             259.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            742 sec.

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

