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


Performing analysis on: 4FGL_J1501.0+2238_daily_bin1771
RA = 225.257, Dec = 22.6364
tmin = 698371201, tmax = 698630401
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='553069', job_status='RUN', time_executed='2023-02-21 01:13:36.049984', time_epoch_executed='1676970816.05' WHERE source_name='4FGL J1501.0+2238' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/553069

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/553069/ft1_4FGL_J1501.0+2238_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/553069/ft2_4FGL_J1501.0+2238_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/553069/ft1_4FGL_J1501.0+2238_daily_bin1771.fits outfile=/scratch/kocevski/553069/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin1771.fits ra=225.257 dec=22.6364 rad=12.0 tmin=698371201.0 tmax=698630401.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.08
user 2.87
sys 0.19

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

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

Number of photons that the gtmktime cut: 716

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/553069/ft1_filtered_4FGL_J1501.0+2238_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/553069/ft2_4FGL_J1501.0+2238_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/553069/ltcube_698371201_698630401_4FGL_J1501.0+2238_daily_bin1771.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/553069/ft2_4FGL_J1501.0+2238_daily_bin1771.fits
.....................!
real 13.42
user 13.03
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/553069/ft1_filtered_4FGL_J1501.0+2238_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/553069/ft2_4FGL_J1501.0+2238_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/553069/ltcube_698371201_698630401_4FGL_J1501.0+2238_daily_bin1771.fits outfile=/scratch/kocevski/553069/expmap_698371201_698630401_4FGL_J1501.0+2238_daily_bin1771.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/553069/ltcube_698371201_698630401_4FGL_J1501.0+2238_daily_bin1771.fits
.....................!
real 190.62
user 185.55
sys 4.27

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/553069/ft1_filtered_4FGL_J1501.0+2238_daily_bin1771.fits scfile=/scratch/kocevski/553069/ft2_4FGL_J1501.0+2238_daily_bin1771.fits outfile=/scratch/kocevski/553069/cmap_698371201_698630401_4FGL_J1501.0+2238_daily_bin1771.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 1.08
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/553069/ft1_filtered_4FGL_J1501.0+2238_daily_bin1771.fits scfile=/scratch/kocevski/553069/ft2_4FGL_J1501.0+2238_daily_bin1771.fits outfile=/scratch/kocevski/553069/cmap_HighResolution_698371201_698630401_4FGL_J1501.0+2238_daily_bin1771.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43139E-03   1.0000          .0000       .10000E+07
     2 'norm      '    1.9435       1.0000          .0000       .10000E+07
     3 'norm      '    1.6092       1.0000          .0000       .10000E+07
     4 'norm      '    .21560E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    214.47       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18743E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.8831       1.0000          .0000       .10000E+07
     8 'Prefactor '    .30407E-03   1.0000          .0000       .10000E+07
     9 'norm      '    31.054       1.0000          .0000       .10000E+07
    10 'Prefactor '    14.857       1.0000          .0000       .10000E+07
    11 'norm      '    .11202E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19128E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    11.002       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.1530       1.0000          .0000       .10000E+07
    15 'Prefactor '    .18148E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.5253       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .63508       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=   7645.131     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1025 TOTAL
                     EDM=   .49E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    11.425       -.99539E-06** at limit **
   2  norm          1.9315        2.6920       -.41214E-08   -.14900E-03
   3  norm          1.6012        2.4920       -.30968E-07    .48219E-05
   4  norm           .0000        4.6599       -.10159E-06** at limit **
   5  Prefactor     209.58        51.857       -.21510E-07    .47416E-03
   6  Prefactor     .55511E-10    13.049       -.41928E-06** at limit **
   7  Prefactor     9.8002        2.7496       -.48270E-07   -.91686E-02
   8  Prefactor      .0000        3.2517       -.16027E-06** at limit **
   9  norm          28.849        33.547        .74709E-07   -.26965E-03
  10  Prefactor     14.284        28.179       -.55561E-06    .11656E-02
  11  norm           .0000        .30970       -.14859E-07** at limit **
  12  Prefactor      .0000        4.9936       -.71594E-07** at limit **
  13  Prefactor     10.987        19.607       -.19427E-07   -.37671E-03
  14  Prefactor     1.1411        1.9169        .30214E-06   -.34172E-02
  15  Prefactor      .0000        21.820        .31636E-06** at limit **
  16  Normalizat    1.5297        .21772        .60966E-05   -.11374E-03
  17  Prefactor     .63391        .14373       -.41335E-05   -.63906E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 1.9315
  norm       = 1.60123
  norm       = 0
  Prefactor  = 209.583
  Prefactor  = 5.55112e-11
  Prefactor  = 9.80016
  Prefactor  = 0
  norm       = 28.849
  Prefactor  = 14.2845
  norm       = 0
  Prefactor  = 0
  Prefactor  = 10.9868
  Prefactor  = 1.14109
  Prefactor  = 0
  Normalizat = 1.52975
  Prefactor  = 0.633913
 **********
 **   18 **HESSE 
 **********

 FCN=   7645.131     FROM HESSE     STATUS=OK           257 CALLS     1282 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    11.361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9315        2.7121        .74432E-03   -1.5680    
   3  norm          1.6012        2.5129        .83480E-03   -1.5683    
   4  norm           .0000        4.6046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     209.58        51.449        .68291E-04   -1.5418    
   6  Prefactor     .55511E-10    12.876        .17121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.8002        21.631        .31850E-03   -1.5645    
   8  Prefactor      .0000        3.2415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          28.849        33.527        .17948E-03   -1.5601    
  10  Prefactor     14.284        28.319        .25959E-03   -1.5632    
  11  norm           .0000        .30735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        4.9584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.987        19.658        .30180E-03   -1.5642    
  14  Prefactor     1.1411        1.9365        .10761E-02   -1.5687    
  15  Prefactor      .0000        21.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.5297        .18303        .54199E-01   -.76946    
  17  Prefactor     .63391        .12153        .41530E-01   -1.0618    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57871e-09
Minuit parameter uncertainties:
  1  0.000100307
  2  2.71212
  3  2.51286
  4  7.46832e-06
  5  51.4487
  6  5.09187e-05
  7  21.6313
  8  8.76963e-06
  9  33.5273
  10  28.3194
  11  2.16956e-07
  12  4.42793e-06
  13  19.6585
  14  1.93655
  15  4.72811e-06
  16  0.183108
  17  0.121576
Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  0.000e+00  8.770e-06  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:  6.339e-01  1.216e-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.530e+00  1.831e-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: 4.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/553069/likelihoodResults_698371201_698630401_4FGL_J1501.0+2238_daily_bin1771.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) = 7645.13166664
delta logL = -0.000374570536223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7645.13129221
delta logL = -1.3685439626e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11935E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .83372       1.0000          .0000       10.000    
     3 'Normalizat'    1.5297       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63388       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7645.131     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      232 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.0743        .42118E-03** at limit **
   2  Index         2.4484        1.8375        .37769E-04     .0000    
   3  Normalizat    1.5297        1.0467       -.44977E-05    .10754E-03
   4  Prefactor     .63391        .98275        .12919E-04   -.21690E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.44843
  Normalizat = 1.52975
  Prefactor  = 0.633912
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7645.131     FROM HESSE     STATUS=FAILED         9 CALLS      241 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.0743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .67400        2.0191        .37769E-04   -.53555    
   3  Normalizat    1.5297        1.0467       -.44977E-05   -.76946    
   4  Prefactor     .63391        .98275        .12919E-04   -1.0618    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.8433e-11
Minuit parameter uncertainties:
  1  9.19678e-06
  2  1.89862
  3  1.06217
  4  1.01156
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/553069': 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): 101
logL (Free Index) = 7645.13129207
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  0.000e+00  9.197e-06  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.448e+00  1.899e+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:  6.339e-01  1.012e+00  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.530e+00  1.062e+00  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/553069/cmap_HighResolution_698371201_698630401_4FGL_J1501.0+2238_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-03', job_status='DONE', photon_flux_upper_limit='4.42e-08', time_completed='2023-02-21 01:22:07.463403', job_id='553069', GAL2='0.63', fit_tolerance='1e-08', EG2='1.53', EG='1.53', time_epoch_completed='1676971327.46', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1771' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 01:22:07 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 553069: <4FGL_J1501.0+2238_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1501.0+2238_daily_bin1771> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Feb 21 01:10:15 2023
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 01:10:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 01:10:15 2023
Terminated at Tue Feb 21 01:22:08 2023
Results reported at Tue Feb 21 01:22:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1501.0+2238_daily_bin1771 225.257 22.6364 698371201 698630401 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 :                                   512.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            713 sec.

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

