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


Performing analysis on: 4FGL_J1501.0+2238_weekly_bin750
RA = 225.257, Dec = 22.6364
tmin = 692582401, tmax = 693187201
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='61495', job_status='RUN', time_executed='2022-12-20 03:46:17.263371', time_epoch_executed='1671536777.26' WHERE source_name='4FGL J1501.0+2238' and cadence='weekly' and bin_id='750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/61495

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/61495/ft1_4FGL_J1501.0+2238_weekly_bin750.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/61495/ft2_4FGL_J1501.0+2238_weekly_bin750.fits


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

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

Done.
real 7.60
user 7.30
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/61495/ft2_4FGL_J1501.0+2238_weekly_bin750.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/61495/ft1_filteredMKT_4FGL_J1501.0+2238_weekly_bin750.fits evtable="EVENTS" outfile="/scratch/kocevski/61495/ft1_filtered_4FGL_J1501.0+2238_weekly_bin750.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.55
user 0.37
sys 0.17

Number of photons that the gtmktime cut: 1551

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/61495/ft1_filtered_4FGL_J1501.0+2238_weekly_bin750.fits" evtable="EVENTS" scfile=/scratch/kocevski/61495/ft2_4FGL_J1501.0+2238_weekly_bin750.fits sctable="SC_DATA" outfile=/scratch/kocevski/61495/ltcube_692582401_693187201_4FGL_J1501.0+2238_weekly_bin750.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/61495/ft2_4FGL_J1501.0+2238_weekly_bin750.fits
.....................!
real 26.97
user 26.59
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/61495/ft1_filtered_4FGL_J1501.0+2238_weekly_bin750.fits evtable="EVENTS" scfile=/scratch/kocevski/61495/ft2_4FGL_J1501.0+2238_weekly_bin750.fits sctable="SC_DATA" expcube=/scratch/kocevski/61495/ltcube_692582401_693187201_4FGL_J1501.0+2238_weekly_bin750.fits outfile=/scratch/kocevski/61495/expmap_692582401_693187201_4FGL_J1501.0+2238_weekly_bin750.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/61495/ltcube_692582401_693187201_4FGL_J1501.0+2238_weekly_bin750.fits
.....................!
real 191.14
user 186.39
sys 4.40

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/61495/ft1_filtered_4FGL_J1501.0+2238_weekly_bin750.fits scfile=/scratch/kocevski/61495/ft2_4FGL_J1501.0+2238_weekly_bin750.fits outfile=/scratch/kocevski/61495/cmap_692582401_693187201_4FGL_J1501.0+2238_weekly_bin750.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.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/61495/ft1_filtered_4FGL_J1501.0+2238_weekly_bin750.fits scfile=/scratch/kocevski/61495/ft2_4FGL_J1501.0+2238_weekly_bin750.fits outfile=/scratch/kocevski/61495/cmap_HighResolution_692582401_693187201_4FGL_J1501.0+2238_weekly_bin750.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.58
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7567       1.0000          .0000       .10000E+07
     2 'norm      '    5.5542       1.0000          .0000       .10000E+07
     3 'norm      '    3.7997       1.0000          .0000       .10000E+07
     4 'norm      '    2.9955       1.0000          .0000       .10000E+07
     5 'Prefactor '    76.531       1.0000          .0000       .10000E+07
     6 'Prefactor '    .87523E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .46969E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.0406       1.0000          .0000       .10000E+07
     9 'norm      '    15.162       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24536E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .14988E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    .23597E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    19.472       1.0000          .0000       .10000E+07
    14 'Prefactor '    .21927E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    18.662       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2569       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .81758       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=   16627.91     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1030 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7548        4.2275        .23790E-06   -.61560E-03
   2  norm          5.5536        1.7148        .81294E-07    .43354E-02
   3  norm          3.7989        1.6353        .12247E-06    .48413E-02
   4  norm          2.9945        2.1486       -.74757E-07   -.72781E-04
   5  Prefactor     76.283        3.9185       -.18815E-07   -.11291E-01
   6  Prefactor     .55511E-10    5.8390       -.83666E-06** at limit **
   7  Prefactor     .55511E-09    28.452       -.66603E-06** at limit **
   8  Prefactor     6.0381        4.8330        .51394E-06   -.33181E-02
   9  norm          15.163        1.1539       -.56803E-07    .17016E-03
  10  Prefactor      .0000        20.335        .82957E-07** at limit **
  11  norm           .0000        .90154       -.44948E-06** at limit **
  12  Prefactor      .0000        5.5266       -.11324E-05** at limit **
  13  Prefactor     19.483        15.720        .86866E-06   -.53710E-04
  14  Prefactor     .55511E-10    2.7242        .86206E-06** at limit **
  15  Prefactor     18.661        14.525        .11781E-05    .23491E-03
  16  Normalizat    1.2572        .13932        .79700E-06   -.92343E-04
  17  Prefactor     .81747        .99160E-01   -.24227E-05   -.13245E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.75477
  norm       = 5.55358
  norm       = 3.79889
  norm       = 2.99447
  Prefactor  = 76.2826
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-10
  Prefactor  = 6.03807
  norm       = 15.1632
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 19.4833
  Prefactor  = 5.55112e-11
  Prefactor  = 18.6615
  Normalizat = 1.25723
  Prefactor  = 0.817465
 **********
 **   18 **HESSE 
 **********

 FCN=   16627.91     FROM HESSE     STATUS=OK           275 CALLS     1305 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7548        4.2390        .61281E-03   -1.5675    
   2  norm          5.5536        1.7131        .42606E-03   -1.5661    
   3  norm          3.7989        1.6405        .51759E-03   -1.5669    
   4  norm          2.9945        2.1613        .58625E-03   -1.5673    
   5  Prefactor     76.283        23.935        .11432E-03   -1.5533    
   6  Prefactor     .55511E-10    8.8290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-09    28.953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.0381        4.8457        .40829E-03   -1.5659    
   9  norm          15.163        16.707        .25696E-03   -1.5630    
  10  Prefactor      .0000        20.597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .23305        .19338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.8507        .61083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.483        16.332        .22670E-03   -1.5620    
  14  Prefactor     .55511E-10    2.6078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.661        14.532        .23157E-03   -1.5622    
  16  Normalizat    1.2572        .11974        .57479E-01   -.84852    
  17  Prefactor     .81747        .83688E-01    .43946E-01   -.99088    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76818e-07
Minuit parameter uncertainties:
  1  4.23897
  2  1.71307
  3  1.64051
  4  2.16134
  5  23.9346
  6  5.23682e-05
  7  0.000252323
  8  4.84569
  9  16.707
  10  2.4502e-05
  11  4.98191e-07
  12  1.19718e-05
  13  16.3317
  14  2.85824e-05
  15  14.5316
  16  0.119767
  17  0.0837013
Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  6.038e+00  4.846e+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.175e-01  8.370e-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.257e+00  1.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.98
Ra Dec: 225.257 22.636
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.96e-08 +/- 1.57e-08
Energy Flux (Fixed Index): 1.35e-05 +/- 1.08e-05

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

Saving results to:
/scratch/kocevski/61495/likelihoodResults_692582401_693187201_4FGL_J1501.0+2238_weekly_bin750.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) = 16627.004427
delta logL = 0.902873671545

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16626.997046
delta logL = 0.910254718314

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6588       1.0000          .0000       .10000E+07
     2 'Index     '    2.6524       1.0000          .0000       10.000    
     3 'Normalizat'    1.2323       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82302       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=   16627.00     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      256 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6584        32.837        .52785E-03    .12388E-01
   2  Index         2.6524        2.2364        .10653        .42869E-03
   3  Normalizat    1.2323        .44205E-01    .57953E-01    .28482E-04
   4  Prefactor     .82302        .28587E-01    .44016E-01    .24571E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.65837
  Index      = 2.65238
  Normalizat = 1.23231
  Prefactor  = 0.823019
 **********
 **   18 **HESSE 
 **********

 FCN=   16627.00     FROM HESSE     STATUS=OK            33 CALLS      289 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6584        4.6023        .13132E-04   -1.5670    
   2  Index         2.6524        .61136        .60703E-02   -.48875    
   3  Normalizat    1.2323        .14055        .25629E-03   -.85610    
   4  Prefactor     .82302        .99139E-01    .21787E-03   -.98885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.5385e-08
Minuit parameter uncertainties:
  1  4.60229
  2  0.613335
  3  0.140598
  4  0.0991603
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/61495': 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) = 16626.9970459
delta logL = 0.910254756735

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  3.658e+00  4.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.652e+00  6.133e-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.230e-01  9.916e-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.232e+00  1.406e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.88
Ra Dec: 225.257 22.636
Photon Index (Free Index): 2.65 +/- 0.61
Photon Flux (Free Index): 4.72e-08 +/- 2.94e-08
Energy Flux (Free Index): 1.18e-05 +/- 7.23e-06

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/61495/cmap_HighResolution_692582401_693187201_4FGL_J1501.0+2238_weekly_bin750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.09e-03', comment='SUCCESS', photon_flux='1.96e-08', energy_flux2='1.18e-05', photon_flux_error='1.57e-08', dlogl='9.10e-01', energy_flux='1.35e-05', photon_flux2='4.72e-08', job_status='DONE', time_completed='2022-12-20 03:59:50.504839', photon_index_error2='0.61', photon_index2='2.65', ts='2.98', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='5.45e-08', energy_flux_error2='7.23e-06', EG='1.26', time_epoch_completed='1671537590.5', return_code='0', job_id='61495', GAL2='0.82', EG2='1.23', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='2.94e-08', ts2='4.88', photon_index='2.00' WHERE bin_id='750' AND source_name='4FGL J1501.0+2238' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 20 03:59:50 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 61495: <4FGL_J1501.0+2238_weekly_bin750> in cluster <slac> Done

Job <4FGL_J1501.0+2238_weekly_bin750> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec 20 03:45:20 2022
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 03:45:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 03:45:21 2022
Terminated at Tue Dec 20 03:59:50 2022
Results reported at Tue Dec 20 03:59:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1501.0+2238_weekly_bin750 225.257 22.6364 692582401 693187201 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 :                                   814.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             316.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            870 sec.

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

