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


Performing analysis on: 4FGL_J1501.0+2238_daily_bin1716
RA = 225.257, Dec = 22.6364
tmin = 684115201, tmax = 684374401
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='155278', job_status='RUN', time_executed='2022-09-16 18:47:39.921759', time_epoch_executed='1663379259.92' WHERE source_name='4FGL J1501.0+2238' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/155278

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/155278/ft1_4FGL_J1501.0+2238_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/155278/ft2_4FGL_J1501.0+2238_daily_bin1716.fits


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

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

Done.
real 4.08
user 3.85
sys 0.21

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

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

Number of photons that the gtmktime cut: 640

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/155278/ft1_filtered_4FGL_J1501.0+2238_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/155278/ft2_4FGL_J1501.0+2238_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/155278/ltcube_684115201_684374401_4FGL_J1501.0+2238_daily_bin1716.fits outfile=/scratch/kocevski/155278/expmap_684115201_684374401_4FGL_J1501.0+2238_daily_bin1716.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/155278/ltcube_684115201_684374401_4FGL_J1501.0+2238_daily_bin1716.fits
.....................!
real 191.61
user 186.49
sys 4.68

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/155278/ft1_filtered_4FGL_J1501.0+2238_daily_bin1716.fits scfile=/scratch/kocevski/155278/ft2_4FGL_J1501.0+2238_daily_bin1716.fits outfile=/scratch/kocevski/155278/cmap_684115201_684374401_4FGL_J1501.0+2238_daily_bin1716.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/155278/ft1_filtered_4FGL_J1501.0+2238_daily_bin1716.fits scfile=/scratch/kocevski/155278/ft2_4FGL_J1501.0+2238_daily_bin1716.fits outfile=/scratch/kocevski/155278/cmap_HighResolution_684115201_684374401_4FGL_J1501.0+2238_daily_bin1716.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=225.257 yref=22.6364 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24300E-02   1.0000          .0000       .10000E+07
     2 'norm      '    5.7906       1.0000          .0000       .10000E+07
     3 'norm      '    .78854E-03   1.0000          .0000       .10000E+07
     4 'norm      '    5.0787       1.0000          .0000       .10000E+07
     5 'Prefactor '    35.460       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.015       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15249E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.9326       1.0000          .0000       .10000E+07
     9 'norm      '    .58872E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .85099E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .78391       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.6531       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13453E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12712E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .27353E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.3653       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .84595       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=   6808.333     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1234 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10825E-07    7.5461       -.64738E-06** at limit **
   2  norm          5.7906        2.4212       -.17883E-06   -.52038E-03
   3  norm          .55511E-10    14.425       -.11139E-05** at limit **
   4  norm          5.1188        5.3389       -.21218E-06    .47858E-03
   5  Prefactor     36.065        7.7572       -.32738E-06    .18338E-01
   6  Prefactor     10.342        19.108       -.41422E-07    .56416E-03
   7  Prefactor     .38858E-09    24.320       -.13317E-05** at limit **
   8  Prefactor     6.0006        10.321        .62369E-06    .24379E-03
   9  norm          .55511E-10    17.452       -.80161E-06** at limit **
  10  Prefactor      .0000        100.86       -.20557E-05** at limit **
  11  norm          .78680        .80810       -.83054E-07   -.18340E-04
  12  Prefactor     3.6013        6.0540       -.14378E-06    .24052E-03
  13  Prefactor     .23315E-08    33.747       -.37258E-05** at limit **
  14  Prefactor      .0000        .62019       -.38427E-06** at limit **
  15  Prefactor     .29143E-07    34.429        .15047E-05** at limit **
  16  Normalizat    1.3642        .22339       -.80910E-05    .78643E-04
  17  Prefactor     .84605        .15836        .10965E-04    .82724E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08247e-08
  norm       = 5.79057
  norm       = 5.55112e-11
  norm       = 5.11878
  Prefactor  = 36.0652
  Prefactor  = 10.3416
  Prefactor  = 3.88578e-10
  Prefactor  = 6.00062
  norm       = 5.55112e-11
  Prefactor  = 0
  norm       = 0.786803
  Prefactor  = 3.60129
  Prefactor  = 2.33147e-09
  Prefactor  = 0
  Prefactor  = 2.91434e-08
  Normalizat = 1.3642
  Prefactor  = 0.846053
 **********
 **   18 **HESSE 
 **********

 FCN=   6808.333     FROM HESSE     STATUS=OK           261 CALLS     1495 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10825E-07    52.673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.7906        2.4205        .41714E-03   -1.5660    
   3  norm          .55511E-10    1.5607        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.1188        5.3474        .44592E-03   -1.5663    
   5  Prefactor     36.065        34.554        .16795E-03   -1.5588    
   6  Prefactor     10.342        19.171        .31639E-03   -1.5644    
   7  Prefactor     .38858E-09    24.670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.0006        10.332        .41204E-03   -1.5659    
   9  norm          .55511E-10    17.683        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        100.72        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .78680        .81330        .54142E-03   -1.5690    
  12  Prefactor     3.6013        6.0929        .52827E-03   -1.5670    
  13  Prefactor     .23315E-08    35.140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        .61934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .29143E-07    39.075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3642        .19239        .57531E-01   -.81670    
  17  Prefactor     .84605        .13419        .44312E-01   -.98052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24454e-08
Minuit parameter uncertainties:
  1  0.001511
  2  2.42047
  3  1.32938e-05
  4  5.34737
  5  34.5539
  6  19.1709
  7  0.000193328
  8  10.3319
  9  6.35535e-05
  10  1.29142e-05
  11  0.813298
  12  6.09287
  13  0.000570653
  14  3.48282e-07
  15  0.00213395
  16  0.192492
  17  0.134245
Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  6.001e+00  1.033e+01  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  8.461e-01  1.342e-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.364e+00  1.925e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/155278/likelihoodResults_684115201_684374401_4FGL_J1501.0+2238_daily_bin1716.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) = 6807.98596989
delta logL = 0.346640284743

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6807.96502561
delta logL = 0.367584569349

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2855       1.0000          .0000       .10000E+07
     2 'Index     '    2.9126       1.0000          .0000       10.000    
     3 'Normalizat'    1.3255       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85931       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=   6807.965     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      257 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2728        41.511        .67880E-03    .89968E-02
   2  Index         2.9144        2.3698        .14142        .15817E-03
   3  Normalizat    1.3255        .47962E-01    .58217E-01    .11269E-05
   4  Prefactor     .85933        .33044E-01    .44484E-01    .20654E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.27281
  Index      = 2.91436
  Normalizat = 1.32552
  Prefactor  = 0.859333
 **********
 **   18 **HESSE 
 **********

 FCN=   6807.965     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      290 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2728        107.39        .11983E-04   -1.5678    
   2  Index         2.9144        6.3907        .50967E-02   -.43028    
   3  Normalizat    1.3255        .27260        .25746E-03   -.82808    
   4  Prefactor     .85933        .18760        .22187E-03   -.97577    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.73695e-10
Minuit parameter uncertainties:
  1  31.2458
  2  6.23334
  3  0.272896
  4  0.18774
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/155278': 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) = 6807.96502307
delta logL = 0.367587108676

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  2.273e+00  3.125e+01  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.914e+00  6.233e+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.593e-01  1.877e-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.326e+00  2.729e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.15
Ra Dec: 225.257 22.636
Photon Index (Free Index): 2.91 +/- 6.23
Photon Flux (Free Index): 5.40e-08 +/- 7.87e-08
Energy Flux (Free Index): 1.13e-05 +/- 2.98e-05

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/155278/cmap_HighResolution_684115201_684374401_4FGL_J1501.0+2238_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.25e-03', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='3.68e-01', photon_flux2='5.40e-08', job_status='DONE', time_completed='2022-09-16 18:56:15.145395', photon_index_error2='6.23', photon_index2='2.91', ts='0.41', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='9.67e-08', energy_flux_error2='2.98e-05', EG='1.36', time_epoch_completed='1663379775.15', return_code='0', job_id='155278', GAL2='0.86', EG2='1.33', return_code2='102', photon_flux_error2='7.87e-08', ts2='1.15', photon_index='2.00' WHERE bin_id='1716' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:56:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 155278: <4FGL_J1501.0+2238_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1501.0+2238_daily_bin1716> 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) <bullet0170>, 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:56:15 2022
Results reported at Fri Sep 16 18:56:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1501.0+2238_daily_bin1716 225.257 22.6364 684115201 684374401 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 :                                   517.57 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             296.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            657 sec.

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

