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


Performing analysis on: 4FGL_J1507.2+1721_daily_bin1711
RA = 226.821, Dec = 17.3519
tmin = 682819201, tmax = 683078401
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='158065', job_status='RUN', time_executed='2022-09-16 18:59:45.573663', time_epoch_executed='1663379985.57' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158065

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158065/ft1_4FGL_J1507.2+1721_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158065/ft2_4FGL_J1507.2+1721_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158065/ft1_4FGL_J1507.2+1721_daily_bin1711.fits outfile=/scratch/kocevski/158065/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin1711.fits ra=226.821 dec=17.3519 rad=12.0 tmin=682819201.0 tmax=683078401.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.64
user 4.37
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158065/ft2_4FGL_J1507.2+1721_daily_bin1711.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/158065/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/158065/ft1_filtered_4FGL_J1507.2+1721_daily_bin1711.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.33
sys 0.17

Number of photons that the gtmktime cut: 648

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158065/ft1_filtered_4FGL_J1507.2+1721_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/158065/ft2_4FGL_J1507.2+1721_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/158065/ltcube_682819201_683078401_4FGL_J1507.2+1721_daily_bin1711.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/158065/ft2_4FGL_J1507.2+1721_daily_bin1711.fits
.....................!
real 13.88
user 13.48
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158065/ft1_filtered_4FGL_J1507.2+1721_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/158065/ft2_4FGL_J1507.2+1721_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/158065/ltcube_682819201_683078401_4FGL_J1507.2+1721_daily_bin1711.fits outfile=/scratch/kocevski/158065/expmap_682819201_683078401_4FGL_J1507.2+1721_daily_bin1711.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/158065/ltcube_682819201_683078401_4FGL_J1507.2+1721_daily_bin1711.fits
.....................!
real 193.39
user 187.83
sys 5.07

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/158065/ft1_filtered_4FGL_J1507.2+1721_daily_bin1711.fits scfile=/scratch/kocevski/158065/ft2_4FGL_J1507.2+1721_daily_bin1711.fits outfile=/scratch/kocevski/158065/cmap_682819201_683078401_4FGL_J1507.2+1721_daily_bin1711.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158065/ft1_filtered_4FGL_J1507.2+1721_daily_bin1711.fits scfile=/scratch/kocevski/158065/ft2_4FGL_J1507.2+1721_daily_bin1711.fits outfile=/scratch/kocevski/158065/cmap_HighResolution_682819201_683078401_4FGL_J1507.2+1721_daily_bin1711.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.63
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158065/ft1_filtered_4FGL_J1507.2+1721_daily_bin1711.fits', '/scratch/kocevski/158065/ft2_4FGL_J1507.2+1721_daily_bin1711.fits', expMap='/scratch/kocevski/158065/expmap_682819201_683078401_4FGL_J1507.2+1721_daily_bin1711.fits', expCube='/scratch/kocevski/158065/ltcube_682819201_683078401_4FGL_J1507.2+1721_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158065/Model_4FGL_J1507.2+1721_daily_bin1711.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/158065/ft1_filtered_4FGL_J1507.2+1721_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/158065/ft2_4FGL_J1507.2+1721_daily_bin1711.fits
Exposure map: /scratch/kocevski/158065/expmap_682819201_683078401_4FGL_J1507.2+1721_daily_bin1711.fits
Exposure cube: /scratch/kocevski/158065/ltcube_682819201_683078401_4FGL_J1507.2+1721_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158065/Model_4FGL_J1507.2+1721_daily_bin1711.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) = 7150.81159624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39244E-04   1.0000          .0000       .10000E+07
     2 'norm      '    13.367       1.0000          .0000       .10000E+07
     3 'norm      '    2.1922       1.0000          .0000       .10000E+07
     4 'norm      '    .30241       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.227       1.0000          .0000       .10000E+07
     6 'Prefactor '    81.735       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18734E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .28949E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .15333       1.0000          .0000       .10000E+07
    10 'norm      '    3.2924       1.0000          .0000       .10000E+07
    11 'norm      '    .58097E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    58.983       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.2576       1.0000          .0000       .10000E+07
    14 'norm      '    3.0381       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3915       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .96113       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=   7150.798     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     1106 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-08    15.452       -.13204E-07** at limit **
   2  norm          13.365        4.3964        .80218E-07   -.58383E-03
   3  norm          2.1914        2.7135        .14829E-06   -.14679E-03
   4  norm          .30072        4.1390        .13117E-06   -.73578E-04
   5  Prefactor     19.303        8.0718        .20106E-07   -.26849E-01
   6  Prefactor     81.798        1.8920        .25375E-08   -.61312E-01
   7  Prefactor     .86120E-06    18.837       -.24063E-06** at limit **
   8  Prefactor      .0000        3.6745       -.17853E-06** at limit **
   9  norm          .15329        .15906       -.64065E-08** at limit **
  10  norm          3.2983        5.2525       -.74639E-07    .18542E-03
  11  norm          .12115E-05    19.689       -.33550E-06** at limit **
  12  Prefactor     58.993        1.7359       -.21439E-08    .50178E-01
  13  Prefactor     6.6248        10.246        .54983E-07   -.51460E-01
  14  norm          3.0357        2.2174        .24792E-07    .13705E-03
  15  Normalizat    1.3911        .28283       -.11444E-05   -.12893E-04
  16  Prefactor     .96116        .17405        .24437E-05   -.15265E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-09
  norm       = 13.3647
  norm       = 2.1914
  norm       = 0.30072
  Prefactor  = 19.3029
  Prefactor  = 81.7979
  Prefactor  = 8.612e-07
  Prefactor  = 0
  norm       = 0.153288
  norm       = 3.29831
  norm       = 1.21148e-06
  Prefactor  = 58.9934
  Prefactor  = 6.62479
  norm       = 3.03572
  Normalizat = 1.39106
  Prefactor  = 0.961163
 **********
 **   18 **HESSE 
 **********

 FCN=   7150.798     FROM HESSE     STATUS=OK           239 CALLS     1345 TOTAL
                     EDM=   .65E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-08    15.493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.365        4.3918        .27371E-03   -1.5635    
   3  norm          2.1914        2.7380        .69479E-03   -1.5678    
   4  norm          .30072        4.0329        .10180E-02   -1.5697    
   5  Prefactor     19.303        24.563        .22814E-03   -1.5620    
   6  Prefactor     81.798        34.093        .11062E-03   -1.5527    
   7  Prefactor     .86120E-06    20.837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.6729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .15329        .17488        .74727E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.2983        5.2840        .55774E-03   -1.5672    
  11  norm          .12115E-05    22.505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     58.993        53.074        .13022E-03   -1.5554    
  13  Prefactor     6.6248        32.207        .40105E-03   -1.5656    
  14  norm          3.0357        2.2210        .58189E-03   -1.5673    
  15  Normalizat    1.3911        .23584        .69104E-01   -.80888    
  16  Prefactor     .96116        .14211        .45779E-01   -.94035    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.47461e-07
Minuit parameter uncertainties:
  1  0.000413991
  2  4.3918
  3  2.73799
  4  2.20253
  5  24.5629
  6  34.0932
  7  0.00847234
  8  3.55555e-06
  9  0.174882
  10  5.28397
  11  0.0104429
  12  53.0743
  13  29.2141
  14  2.22103
  15  0.236025
  16  0.142164
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.211e-06  1.044e-02  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:  9.612e-01  1.422e-01  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.391e+00  2.360e-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: 1.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.46e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158065/likelihoodResults_682819201_683078401_4FGL_J1507.2+1721_daily_bin1711.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) = 7150.79794704
delta logL = -0.000333966961989

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7150.79761305
delta logL = 2.07764969673e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .45852E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    .17498       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3911       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96115       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.

 FCN=   7150.798     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      277 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15543E-08    1.2348        .42118E-03** at limit **
   2  alpha         2.1537        3.5489        .51000        .12037E-09
   3  Normalizat    1.3911        .16630E-02    .69104E-01   -.72066E-03
   4  Prefactor     .96116        .10245E-02    .45780E-01   -.12102E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 1.55431e-09
  alpha      = 2.15369
  Normalizat = 1.39106
  Prefactor  = 0.96116
 **********
 **   18 **HESSE 
 **********

 FCN=   7150.798     FROM HESSE     STATUS=NOT POSDEF    23 CALLS      300 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15543E-08    9.4230        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1537        3.1167        .10200       -.13897    
   3  Normalizat    1.3911        .45900E-02    .30573E-03   -.80888    
   4  Prefactor     .96116        .28296E-02    .22034E-03   -.94036    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.45798e-11
Minuit parameter uncertainties:
  1  0.000240985
  2  106615
  3  0.00459003
  4  0.0028296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158065': 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) = 7150.79761305
delta logL = 2.63225956587e-08

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.554e-09  2.410e-04  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  2.154e+00  1.066e+05  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:  9.612e-01  2.830e-03  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.391e+00  4.590e-03  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/158065/cmap_HighResolution_682819201_683078401_4FGL_J1507.2+1721_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.46e-05', job_status='DONE', photon_flux_upper_limit='1.93e-08', time_completed='2022-09-16 19:08:05.351305', job_id='158065', GAL2='0.96', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1663380485.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.63e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.53' WHERE bin_id='1711' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:08:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 158065: <4FGL_J1507.2+1721_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1507.2+1721_daily_bin1711> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 18:55:21 2022
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:55:49 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:55:49 2022
Terminated at Fri Sep 16 19:08:05 2022
Results reported at Fri Sep 16 19:08:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1507.2+1721_daily_bin1711 226.821 17.3519 682819201 683078401 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 :                                   502.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             279.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            764 sec.

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

