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


Performing analysis on: 4FGL_J1501.0+2238_daily_bin1715
RA = 225.257, Dec = 22.6364
tmin = 683856001, tmax = 684115201
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='155276', job_status='RUN', time_executed='2022-09-16 18:49:48.476804', time_epoch_executed='1663379388.48' WHERE source_name='4FGL J1501.0+2238' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/155276

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/155276/ft1_4FGL_J1501.0+2238_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/155276/ft2_4FGL_J1501.0+2238_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/155276/ft1_4FGL_J1501.0+2238_daily_bin1715.fits outfile=/scratch/kocevski/155276/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin1715.fits ra=225.257 dec=22.6364 rad=12.0 tmin=683856001.0 tmax=684115201.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.45
user 3.22
sys 0.22

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

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

Number of photons that the gtmktime cut: 626

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/155276/ft1_filtered_4FGL_J1501.0+2238_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/155276/ft2_4FGL_J1501.0+2238_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/155276/ltcube_683856001_684115201_4FGL_J1501.0+2238_daily_bin1715.fits outfile=/scratch/kocevski/155276/expmap_683856001_684115201_4FGL_J1501.0+2238_daily_bin1715.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/155276/ltcube_683856001_684115201_4FGL_J1501.0+2238_daily_bin1715.fits
.....................!
real 191.89
user 186.33
sys 5.11

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/155276/ft1_filtered_4FGL_J1501.0+2238_daily_bin1715.fits scfile=/scratch/kocevski/155276/ft2_4FGL_J1501.0+2238_daily_bin1715.fits outfile=/scratch/kocevski/155276/cmap_683856001_684115201_4FGL_J1501.0+2238_daily_bin1715.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/155276/ft1_filtered_4FGL_J1501.0+2238_daily_bin1715.fits scfile=/scratch/kocevski/155276/ft2_4FGL_J1501.0+2238_daily_bin1715.fits outfile=/scratch/kocevski/155276/cmap_HighResolution_683856001_684115201_4FGL_J1501.0+2238_daily_bin1715.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8293       1.0000          .0000       .10000E+07
     2 'norm      '    3.3001       1.0000          .0000       .10000E+07
     3 'norm      '    1.9822       1.0000          .0000       .10000E+07
     4 'norm      '    .28727E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    16.634       1.0000          .0000       .10000E+07
     6 'Prefactor '    12.587       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21498E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10175E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .44865E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.5928       1.0000          .0000       .10000E+07
    11 'norm      '    .18824E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.5824       1.0000          .0000       .10000E+07
    13 'Prefactor '    10.686       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.3529       1.0000          .0000       .10000E+07
    15 'Prefactor '    .40429E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2750       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .88801       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=   6669.300     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      985 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8985        1.1567       -.60171E-08    .28511E-01
   2  norm          3.3005        2.0358       -.24831E-09    .42661E-03
   3  norm          1.9811        2.1889        .87567E-08    .95943E-03
   4  norm          .27756E-09    2.3491       -.15256E-06** at limit **
   5  Prefactor     16.378        26.001        .70901E-08   -.58828E-01
   6  Prefactor     12.707        2.1807       -.36427E-08    .77767E-02
   7  Prefactor     .22760E-08    10.562        .11085E-06** at limit **
   8  Prefactor      .0000        4.8498        .37010E-07** at limit **
   9  norm           .0000        41.955        .31120E-07** at limit **
  10  Prefactor     5.8250        21.226        .10074E-07   -.48072E-01
  11  norm          .16653E-09    1.9796       -.94699E-07** at limit **
  12  Prefactor     7.5790        6.5376       -.67209E-08    .30872E-02
  13  Prefactor     10.644        3.7273        .55633E-08   -.39467E-01
  14  Prefactor     1.3530        2.0666        .46257E-07    .40817E-02
  15  Prefactor     .72720E-08    11.191        .13069E-06** at limit **
  16  Normalizat    1.2751        .22564       -.32594E-06    .81729E-04
  17  Prefactor     .88776        .16176        .52667E-06    .13260E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.8985
  norm       = 3.30054
  norm       = 1.98111
  norm       = 2.77556e-10
  Prefactor  = 16.3776
  Prefactor  = 12.7068
  Prefactor  = 2.27596e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.82502
  norm       = 1.66533e-10
  Prefactor  = 7.57902
  Prefactor  = 10.6437
  Prefactor  = 1.353
  Prefactor  = 7.27196e-09
  Normalizat = 1.27511
  Prefactor  = 0.887758
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.300     FROM HESSE     STATUS=OK           265 CALLS     1250 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8985        7.5600        .51551E-03   -1.5668    
   2  norm          3.3005        2.0354        .55706E-03   -1.5672    
   3  norm          1.9811        2.2061        .73584E-03   -1.5680    
   4  norm          .27756E-09    2.3296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.378        31.647        .24530E-03   -1.5627    
   6  Prefactor     12.707        16.161        .28209E-03   -1.5637    
   7  Prefactor     .22760E-08    10.631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.8451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        41.705        .15751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.8250        69.619        .42457E-03   -1.5660    
  11  norm          .16653E-09    .77717        .21402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.5790        6.9267        .36396E-03   -1.5653    
  13  Prefactor     10.644        25.366        .30625E-03   -1.5643    
  14  Prefactor     1.3530        2.1044        .93986E-03   -1.5685    
  15  Prefactor     .72720E-08    11.317        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2751        .19115        .57702E-01   -.84312    
  17  Prefactor     .88776        .13502        .44852E-01   -.96570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00045e-06
Minuit parameter uncertainties:
  1  7.56001
  2  2.03544
  3  2.20612
  4  5.12594e-05
  5  31.6478
  6  16.1606
  7  0.00031258
  8  1.14229e-05
  9  5.88503e-05
  10  40.2762
  11  2.28518e-05
  12  6.92675
  13  25.3658
  14  2.10436
  15  0.000574326
  16  0.191252
  17  0.135072
Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  0.000e+00  1.142e-05  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.878e-01  1.351e-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.275e+00  1.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/155276/likelihoodResults_683856001_684115201_4FGL_J1501.0+2238_daily_bin1715.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) = 6669.3183842
delta logL = -0.0182934495278

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6669.300091
delta logL = -2.51539859164e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15553E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.2738       1.0000          .0000       10.000    
     3 'Normalizat'    1.2751       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88772       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=   6669.282     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      276 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68149E-01    3.2176        .13082E-02** at limit **
   2  Index         3.6302        3.2656        .14846        .10882E-03
   3  Normalizat    1.2655        .18000E-01    .57892E-01    .30677E-03
   4  Prefactor     .89050        .13033E-01    .44848E-01    .10658E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0681495
  Index      = 3.6302
  Normalizat = 1.26551
  Prefactor  = 0.890501
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.282     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      309 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .68149E-01    77.197        .76629E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6302        7.8844        .15946E-01   -.27751    
   3  Normalizat    1.2655        .10195        .25602E-03   -.84602    
   4  Prefactor     .89050        .73833E-01    .21549E-03   -.96474    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.49846e-09
Minuit parameter uncertainties:
  1  4.58741
  2  23.708
  3  0.101965
  4  0.073841
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/155276': 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) = 6669.28207583
delta logL = 0.0180149264615

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  6.815e-02  4.587e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  3.630e+00  2.371e+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:  8.905e-01  7.384e-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.266e+00  1.020e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/155276/cmap_HighResolution_683856001_684115201_4FGL_J1501.0+2238_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.39e-03', job_status='DONE', photon_flux_upper_limit='5.85e-08', time_completed='2022-09-16 18:58:03.196907', job_id='155276', GAL2='0.89', fit_tolerance='1e-08', EG2='1.27', EG='1.28', time_epoch_completed='1663379883.2', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.80e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1715' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:58:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 155276: <4FGL_J1501.0+2238_daily_bin1715> in cluster <slac> Done

Job <4FGL_J1501.0+2238_daily_bin1715> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 18:45:18 2022
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:45:42 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:42 2022
Terminated at Fri Sep 16 18:58:04 2022
Results reported at Fri Sep 16 18:58:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1501.0+2238_daily_bin1715 225.257 22.6364 683856001 684115201 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 :                                   497.00 sec.
    Max Memory :                                 1183 MB
    Average Memory :                             276.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            766 sec.

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

