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 218 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_bin1745
RA = 226.821, Dec = 17.3519
tmin = 691632001, tmax = 691891201
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='649145', job_status='RUN', time_executed='2022-12-05 00:54:18.196167', time_epoch_executed='1670230458.2' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/649145

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/649145/ft1_4FGL_J1507.2+1721_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/649145/ft2_4FGL_J1507.2+1721_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/649145/ft1_4FGL_J1507.2+1721_daily_bin1745.fits outfile=/scratch/kocevski/649145/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin1745.fits ra=226.821 dec=17.3519 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.35
user 2.15
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/649145/ft2_4FGL_J1507.2+1721_daily_bin1745.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/649145/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/649145/ft1_filtered_4FGL_J1507.2+1721_daily_bin1745.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 949

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/649145/ft1_filtered_4FGL_J1507.2+1721_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/649145/ft2_4FGL_J1507.2+1721_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/649145/ltcube_691632001_691891201_4FGL_J1507.2+1721_daily_bin1745.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/649145/ft2_4FGL_J1507.2+1721_daily_bin1745.fits
.....................!
real 12.48
user 12.13
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/649145/ft1_filtered_4FGL_J1507.2+1721_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/649145/ft2_4FGL_J1507.2+1721_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/649145/ltcube_691632001_691891201_4FGL_J1507.2+1721_daily_bin1745.fits outfile=/scratch/kocevski/649145/expmap_691632001_691891201_4FGL_J1507.2+1721_daily_bin1745.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/649145/ltcube_691632001_691891201_4FGL_J1507.2+1721_daily_bin1745.fits
.....................!
real 198.13
user 193.06
sys 4.67

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/649145/ft1_filtered_4FGL_J1507.2+1721_daily_bin1745.fits scfile=/scratch/kocevski/649145/ft2_4FGL_J1507.2+1721_daily_bin1745.fits outfile=/scratch/kocevski/649145/cmap_691632001_691891201_4FGL_J1507.2+1721_daily_bin1745.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/649145/ft1_filtered_4FGL_J1507.2+1721_daily_bin1745.fits scfile=/scratch/kocevski/649145/ft2_4FGL_J1507.2+1721_daily_bin1745.fits outfile=/scratch/kocevski/649145/cmap_HighResolution_691632001_691891201_4FGL_J1507.2+1721_daily_bin1745.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20719E-04   1.0000          .0000       .10000E+07
     2 'norm      '    3.9871       1.0000          .0000       .10000E+07
     3 'norm      '    .76084E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .28032E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    13.002       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.8894       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10128E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .22865E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .80415       1.0000          .0000       .10000E+07
    10 'norm      '    3.6895       1.0000          .0000       .10000E+07
    11 'norm      '    .95354E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .22012       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.9030       1.0000          .0000       .10000E+07
    14 'norm      '    1.8855       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1133       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0403       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=   10351.06     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      898 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    3.6455       -.20460E-06** at limit **
   2  norm          3.9863        2.2931       -.14371E-06    .56382E-03
   3  norm           .0000        1.1753        .60942E-07** at limit **
   4  norm          .26534E-07    12.769        .13475E-05** at limit **
   5  Prefactor     12.576        14.967        .20366E-05   -.33568E-01
   6  Prefactor     7.0588        8.6063       -.19733E-05   -.82824E-01
   7  Prefactor     .32696E-07    13.389       -.38422E-05** at limit **
   8  Prefactor     .16653E-09    2.6837        .51990E-06** at limit **
   9  norm          .80387        .18822       -.30911E-08    .66459E-02
  10  norm          3.6826        3.5779       -.37739E-07    .30946E-03
  11  norm          .27922E-07    93.138       -.11705E-04** at limit **
  12  Prefactor     .94369E-09    42.028        .20262E-05** at limit **
  13  Prefactor     7.2156        10.456       -.18887E-05    .31267E-01
  14  norm          1.8832        1.8765       -.31927E-06   -.64202E-02
  15  Normalizat    1.1133        .20059        .32883E-04    .67303E-03
  16  Prefactor     1.0404        .12950       -.19702E-04    .87058E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 3.98627
  norm       = 0
  norm       = 2.65343e-08
  Prefactor  = 12.5756
  Prefactor  = 7.0588
  Prefactor  = 3.26961e-08
  Prefactor  = 1.66533e-10
  norm       = 0.803871
  norm       = 3.68262
  norm       = 2.79221e-08
  Prefactor  = 9.4369e-10
  Prefactor  = 7.21557
  norm       = 1.88324
  Normalizat = 1.11332
  Prefactor  = 1.04039
 **********
 **   18 **HESSE 
 **********

 FCN=   10351.06     FROM HESSE     STATUS=OK           235 CALLS     1133 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    3.6465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.9863        2.2964        .50486E-03   -1.5668    
   3  norm           .0000        1.1714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .26534E-07    12.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.576        21.359        .27754E-03   -1.5637    
   6  Prefactor     7.0588        15.930        .38200E-03   -1.5655    
   7  Prefactor     .32696E-07    13.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16653E-09    2.6907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .80387        .19068        .46748E-03   -1.5690    
  10  norm          3.6826        3.5836        .52556E-03   -1.5670    
  11  norm          .27922E-07    93.543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .94369E-09    41.643        .11428E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.2156        23.574        .38162E-03   -1.5654    
  14  norm          1.8832        1.8856        .75767E-03   -1.5681    
  15  Normalizat    1.1133        .17182        .68265E-01   -.89325    
  16  Prefactor     1.0404        .10819        .40516E-01   -.91395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59929e-07
Minuit parameter uncertainties:
  1  3.55437e-05
  2  2.29643
  3  2.32651e-06
  4  0.00114896
  5  21.3587
  6  15.9303
  7  0.00132716
  8  4.51196e-05
  9  0.190681
  10  3.58359
  11  0.00323298
  12  0.000392275
  13  23.5743
  14  1.88564
  15  0.171907
  16  0.108212
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  2.792e-08  3.233e-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:  1.040e+00  1.082e-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.113e+00  1.719e-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.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.50e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/649145/likelihoodResults_691632001_691891201_4FGL_J1507.2+1721_daily_bin1745.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) = 10351.0622968
delta logL = -0.00550639221183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10350.9192892
delta logL = 0.137501227546

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10350.92     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      267 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7422        19.269        .16761E-04    .26793E-02
   2  alpha         2.6209        1.4064        .20931E-01    .74821E-04
   3  Normalizat    1.1176        .20019        .30150E-03    .49919E-03
   4  Prefactor     1.0337        .12911        .19951E-03    .10117E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 5.74218
  alpha      = 2.6209
  Normalizat = 1.11762
  Prefactor  = 1.03369
 **********
 **   18 **HESSE 
 **********

 FCN=   10350.92     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7422        16.189        .67042E-06   -1.5660    
   2  alpha         2.6209        1.2044        .83723E-03    .48378E-01
   3  Normalizat    1.1176        .20027        .60299E-04   -.89188    
   4  Prefactor     1.0337        .12919        .39902E-04   -.91615    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.66907e-10
Minuit parameter uncertainties:
  1  16.1889
  2  1.25674
  3  0.200403
  4  0.129233
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/649145': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10350.9192888
delta logL = 0.137501656829

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  5.742e+00  1.619e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  2.621e+00  1.257e+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:  1.034e+00  1.292e-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.118e+00  2.004e-01  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/649145/cmap_HighResolution_691632001_691891201_4FGL_J1507.2+1721_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-05', job_status='DONE', photon_flux_upper_limit='1.64e-08', time_completed='2022-12-05 01:03:07.914068', job_id='649145', GAL2='1.03', fit_tolerance='1e-08', EG2='1.12', EG='1.11', time_epoch_completed='1670230987.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.38e-01', ts2='0.28', photon_index_error='0.00', photon_index='1.53' WHERE bin_id='1745' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:03:07 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 649145: <4FGL_J1507.2+1721_daily_bin1745> in cluster <slac> Done

Job <4FGL_J1507.2+1721_daily_bin1745> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Dec  5 00:50:28 2022
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:50:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:50:31 2022
Terminated at Mon Dec  5 01:03:08 2022
Results reported at Mon Dec  5 01:03:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1507.2+1721_daily_bin1745 226.821 17.3519 691632001 691891201 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 :                                   532.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            760 sec.

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

