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


Performing analysis on: 4FGL_J1507.2+1721_weekly_bin758
RA = 226.821, Dec = 17.3519
tmin = 697420801, tmax = 698025601
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='96006', job_status='RUN', time_executed='2023-02-14 01:47:49.949908', time_epoch_executed='1676368069.95' WHERE source_name='4FGL J1507.2+1721' and cadence='weekly' and bin_id='758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/96006

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/96006/ft1_4FGL_J1507.2+1721_weekly_bin758.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/96006/ft2_4FGL_J1507.2+1721_weekly_bin758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/96006/ft1_4FGL_J1507.2+1721_weekly_bin758.fits outfile=/scratch/kocevski/96006/ft1_filteredMKT_4FGL_J1507.2+1721_weekly_bin758.fits ra=226.821 dec=17.3519 rad=12.0 tmin=697420801.0 tmax=698025601.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.87
user 7.56
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/96006/ft2_4FGL_J1507.2+1721_weekly_bin758.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/96006/ft2_4FGL_J1507.2+1721_weekly_bin758.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/96006/ft1_filteredMKT_4FGL_J1507.2+1721_weekly_bin758.fits evtable="EVENTS" outfile="/scratch/kocevski/96006/ft1_filtered_4FGL_J1507.2+1721_weekly_bin758.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.53
user 0.37
sys 0.16

Number of photons that the gtmktime cut: 1657

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/96006/ft1_filtered_4FGL_J1507.2+1721_weekly_bin758.fits" evtable="EVENTS" scfile=/scratch/kocevski/96006/ft2_4FGL_J1507.2+1721_weekly_bin758.fits sctable="SC_DATA" outfile=/scratch/kocevski/96006/ltcube_697420801_698025601_4FGL_J1507.2+1721_weekly_bin758.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/96006/ft2_4FGL_J1507.2+1721_weekly_bin758.fits
.....................!
real 26.33
user 25.98
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/96006/ft1_filtered_4FGL_J1507.2+1721_weekly_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/96006/ft2_4FGL_J1507.2+1721_weekly_bin758.fits sctable="SC_DATA" expcube=/scratch/kocevski/96006/ltcube_697420801_698025601_4FGL_J1507.2+1721_weekly_bin758.fits outfile=/scratch/kocevski/96006/expmap_697420801_698025601_4FGL_J1507.2+1721_weekly_bin758.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/96006/ltcube_697420801_698025601_4FGL_J1507.2+1721_weekly_bin758.fits
.....................!
real 189.87
user 185.04
sys 4.51

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 144 point sources and 0 extended sources

Setting source of interest to:
4FGL J1507.2+1721 @ 226.821 17.3519

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/96006/ft1_filtered_4FGL_J1507.2+1721_weekly_bin758.fits scfile=/scratch/kocevski/96006/ft2_4FGL_J1507.2+1721_weekly_bin758.fits outfile=/scratch/kocevski/96006/cmap_697420801_698025601_4FGL_J1507.2+1721_weekly_bin758.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=226.821 yref=17.3519 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.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/96006/ft1_filtered_4FGL_J1507.2+1721_weekly_bin758.fits scfile=/scratch/kocevski/96006/ft2_4FGL_J1507.2+1721_weekly_bin758.fits outfile=/scratch/kocevski/96006/cmap_HighResolution_697420801_698025601_4FGL_J1507.2+1721_weekly_bin758.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=226.821 yref=17.3519 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.61
user 0.43
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/96006/ft1_filtered_4FGL_J1507.2+1721_weekly_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/96006/ft2_4FGL_J1507.2+1721_weekly_bin758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/96006/Model_4FGL_J1507.2+1721_weekly_bin758.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/96006/ft1_filtered_4FGL_J1507.2+1721_weekly_bin758.fits.....................!
real 116.92
user 115.49
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/96006/ft1_filtered_4FGL_J1507.2+1721_weekly_bin758.fits', '/scratch/kocevski/96006/ft2_4FGL_J1507.2+1721_weekly_bin758.fits', expMap='/scratch/kocevski/96006/expmap_697420801_698025601_4FGL_J1507.2+1721_weekly_bin758.fits', expCube='/scratch/kocevski/96006/ltcube_697420801_698025601_4FGL_J1507.2+1721_weekly_bin758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/96006/Model_4FGL_J1507.2+1721_weekly_bin758.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1507.2+1721'

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  3.297e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/96006/ft1_filtered_4FGL_J1507.2+1721_weekly_bin758.fits
Spacecraft file(s): /scratch/kocevski/96006/ft2_4FGL_J1507.2+1721_weekly_bin758.fits
Exposure map: /scratch/kocevski/96006/expmap_697420801_698025601_4FGL_J1507.2+1721_weekly_bin758.fits
Exposure cube: /scratch/kocevski/96006/ltcube_697420801_698025601_4FGL_J1507.2+1721_weekly_bin758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/96006/Model_4FGL_J1507.2+1721_weekly_bin758.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) = 17693.703912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65892E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .97193       1.0000          .0000       .10000E+07
     3 'norm      '    .48042       1.0000          .0000       .10000E+07
     4 'norm      '    1.9581       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58142E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    15.635       1.0000          .0000       .10000E+07
     7 'Prefactor '    14.655       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.1864       1.0000          .0000       .10000E+07
     9 'norm      '    .55805       1.0000          .0000       .10000E+07
    10 'norm      '    2.0357       1.0000          .0000       .10000E+07
    11 'norm      '    .30923E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    26.101       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41907E-05   1.0000          .0000       .10000E+07
    14 'norm      '    4.9253       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.4179       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .81930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17693.66     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      875 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    1.2198        .82144E-07** at limit **
   2  norm          .97316        .73940       -.12334E-07   -.10024E-01
   3  norm          .48408        1.5202        .85488E-08    .73687E-03
   4  norm          1.9597        1.6165       -.53713E-08   -.20246E-02
   5  Prefactor     .32929E-06    7.8006        .28582E-06** at limit **
   6  Prefactor     15.532        1.5209       -.70467E-08    .58235E-01
   7  Prefactor     14.928        6.9008       -.58288E-07    .13567    
   8  Prefactor     2.1843        3.9474       -.64605E-07   -.39759E-02
   9  norm          .55833        .12635        .44686E-08    .71125E-01
  10  norm          2.0357        2.2810       -.40742E-08   -.20172E-03
  11  norm          .17314E-06    6.7011        .14337E-06** at limit **
  12  Prefactor     26.765        24.846       -.55745E-07   -.17504E-01
  13  Prefactor     .69944E-08    6.8430        .56797E-07** at limit **
  14  norm          4.9265        1.7172       -.21135E-07   -.15903E-01
  15  Normalizat    1.4171        .15675       -.49559E-06   -.17259E-03
  16  Prefactor     .81932        .98263E-01    .42046E-06   -.69484E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  norm       = 0.973161
  norm       = 0.484084
  norm       = 1.95973
  Prefactor  = 3.29292e-07
  Prefactor  = 15.5322
  Prefactor  = 14.9283
  Prefactor  = 2.18432
  norm       = 0.558334
  norm       = 2.03567
  norm       = 1.73139e-07
  Prefactor  = 26.7647
  Prefactor  = 6.99441e-09
  norm       = 4.92646
  Normalizat = 1.41713
  Prefactor  = 0.81932
 **********
 **   18 **HESSE 
 **********

 FCN=   17693.66     FROM HESSE     STATUS=OK           239 CALLS     1114 TOTAL
                     EDM=   .93E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    1.2187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .97316        .73851        .42769E-03   -1.5688    
   3  norm          .48408        1.5070        .80704E-03   -1.5694    
   4  norm          1.9597        1.6153        .74109E-03   -1.5680    
   5  Prefactor     .32929E-06    8.7665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.532        11.067        .25303E-03   -1.5629    
   7  Prefactor     14.928        14.778        .26138E-03   -1.5631    
   8  Prefactor     2.1843        3.9659        .69582E-03   -1.5678    
   9  norm          .55833        .12710        .48614E-03   -1.5693    
  10  norm          2.0357        2.2884        .72462E-03   -1.5679    
  11  norm          .17314E-06    7.2804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     26.765        24.967        .19577E-03   -1.5604    
  13  Prefactor     .69944E-08    6.8919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.9265        1.7180        .45296E-03   -1.5664    
  15  Normalizat    1.4171        .13091        .60837E-01   -.80134    
  16  Prefactor     .81932        .81537E-01    .43968E-01   -.99020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.32288e-07
Minuit parameter uncertainties:
  1  4.11425e-05
  2  0.73851
  3  1.50698
  4  1.61525
  5  0.00339808
  6  11.067
  7  14.7779
  8  3.96587
  9  0.127098
  10  2.28842
  11  0.00224541
  12  24.9668
  13  0.00043878
  14  1.71802
  15  0.13094
  16  0.0815488
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.731e-07  2.245e-03  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.193e-01  8.155e-02  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.417e+00  1.309e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 226.821 17.352
Photon Flux Upper Limit: 7.02e-09 ph cm-2 s-1
Energy Flux Upper Limit: 2.36e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/96006/likelihoodResults_697420801_698025601_4FGL_J1507.2+1721_weekly_bin758.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): 102
logL (Free Index) = 17693.6601807
delta logL = -8.88911017682e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17693.6601801
delta logL = -2.92933691526e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29987E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .74174E-01   1.0000          .0000       5.0000    
     3 'Normalizat'    1.4170       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81939       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   17693.66     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      267 TOTAL
                     EDM=   .24E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.0478        .42118E-03** at limit **
   2  alpha         3.5184        1.0563       -.74133E-04     .0000    
   3  Normalizat    1.4171        1.0596        .74740E-06    .10818E-04
   4  Prefactor     .81932        1.1674        .32151E-06    .24448E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.51842
  Normalizat = 1.41713
  Prefactor  = 0.81932
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   17693.66     FROM HESSE     STATUS=FAILED         9 CALLS      276 TOTAL
                     EDM=   .24E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.0478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2742        1.1286       -.74133E-04    .41957    
   3  Normalizat    1.4171        1.0596        .74740E-06   -.80134    
   4  Prefactor     .81932        1.1674        .32151E-06   -.99020    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.42109e-12
Minuit parameter uncertainties:
  1  3.56011e-06
  2  1.09813
  3  1.07673
  4  1.2059
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/96006': 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) = 17693.6601798
delta logL = 1.19071046356e-08

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  0.000e+00  3.560e-06  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  3.518e+00  1.098e+00  0.000e+00  5.000e+00 ( 1.000e+00)
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.193e-01  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.417e+00  1.077e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 226.821 17.352

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/96006/cmap_HighResolution_697420801_698025601_4FGL_J1507.2+1721_weekly_bin758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.36e-05', job_status='DONE', photon_flux_upper_limit='7.02e-09', time_completed='2023-02-14 02:00:37.640561', job_id='96006', GAL2='0.82', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1676368837.64', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.19e-08', ts2='0.00', photon_index_error='0.00', photon_index='1.53' WHERE bin_id='758' AND source_name='4FGL J1507.2+1721' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 14 02:00:37 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 96006: <4FGL_J1507.2+1721_weekly_bin758> in cluster <slac> Done

Job <4FGL_J1507.2+1721_weekly_bin758> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 14 01:45:25 2023
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 14 01:45:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 14 01:45:27 2023
Terminated at Tue Feb 14 02:00:38 2023
Results reported at Tue Feb 14 02:00:38 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1507.2+1721_weekly_bin758 226.821 17.3519 697420801 698025601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1507.2+1721 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   769.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            913 sec.

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

