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


Performing analysis on: 4FGL_J1716.1+6836_daily_bin1750
RA = 259.031, Dec = 68.6063
tmin = 692928001, tmax = 693187201
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='18817', job_status='RUN', time_executed='2022-12-20 01:17:32.864640', time_epoch_executed='1671527852.86' WHERE source_name='4FGL J1716.1+6836' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/18817

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/18817/ft1_4FGL_J1716.1+6836_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/18817/ft2_4FGL_J1716.1+6836_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/18817/ft1_4FGL_J1716.1+6836_daily_bin1750.fits outfile=/scratch/kocevski/18817/ft1_filteredMKT_4FGL_J1716.1+6836_daily_bin1750.fits ra=259.031 dec=68.6063 rad=12.0 tmin=692928001.0 tmax=693187201.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.77
user 2.54
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/18817/ft2_4FGL_J1716.1+6836_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/18817/ft2_4FGL_J1716.1+6836_daily_bin1750.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/18817/ft1_filteredMKT_4FGL_J1716.1+6836_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/18817/ft1_filtered_4FGL_J1716.1+6836_daily_bin1750.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.42
user 0.26
sys 0.15

Number of photons that the gtmktime cut: 815

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/18817/ft1_filtered_4FGL_J1716.1+6836_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/18817/ft2_4FGL_J1716.1+6836_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/18817/ltcube_692928001_693187201_4FGL_J1716.1+6836_daily_bin1750.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/18817/ft2_4FGL_J1716.1+6836_daily_bin1750.fits
.....................!
real 9.25
user 8.95
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/18817/ft1_filtered_4FGL_J1716.1+6836_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/18817/ft2_4FGL_J1716.1+6836_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/18817/ltcube_692928001_693187201_4FGL_J1716.1+6836_daily_bin1750.fits outfile=/scratch/kocevski/18817/expmap_692928001_693187201_4FGL_J1716.1+6836_daily_bin1750.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/18817/ltcube_692928001_693187201_4FGL_J1716.1+6836_daily_bin1750.fits
.....................!
real 149.39
user 145.02
sys 4.13

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

Setting source of interest to:
4FGL J1716.1+6836 @ 259.031 68.6063

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/18817/ft1_filtered_4FGL_J1716.1+6836_daily_bin1750.fits scfile=/scratch/kocevski/18817/ft2_4FGL_J1716.1+6836_daily_bin1750.fits outfile=/scratch/kocevski/18817/cmap_692928001_693187201_4FGL_J1716.1+6836_daily_bin1750.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=259.031 yref=68.6063 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.45
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/18817/ft1_filtered_4FGL_J1716.1+6836_daily_bin1750.fits scfile=/scratch/kocevski/18817/ft2_4FGL_J1716.1+6836_daily_bin1750.fits outfile=/scratch/kocevski/18817/cmap_HighResolution_692928001_693187201_4FGL_J1716.1+6836_daily_bin1750.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=259.031 yref=68.6063 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.45
user 0.31
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/18817/ft1_filtered_4FGL_J1716.1+6836_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/18817/ft2_4FGL_J1716.1+6836_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/18817/Model_4FGL_J1716.1+6836_daily_bin1750.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/18817/ft1_filtered_4FGL_J1716.1+6836_daily_bin1750.fits.....................!
real 67.47
user 66.36
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/18817/ft1_filtered_4FGL_J1716.1+6836_daily_bin1750.fits', '/scratch/kocevski/18817/ft2_4FGL_J1716.1+6836_daily_bin1750.fits', expMap='/scratch/kocevski/18817/expmap_692928001_693187201_4FGL_J1716.1+6836_daily_bin1750.fits', expCube='/scratch/kocevski/18817/ltcube_692928001_693187201_4FGL_J1716.1+6836_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/18817/Model_4FGL_J1716.1+6836_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1716.1+6836'

4FGL J1716.1+6836
   Spectrum: PowerLaw
360    Prefactor:  5.655e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.378e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  1.122e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/18817/ft1_filtered_4FGL_J1716.1+6836_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/18817/ft2_4FGL_J1716.1+6836_daily_bin1750.fits
Exposure map: /scratch/kocevski/18817/expmap_692928001_693187201_4FGL_J1716.1+6836_daily_bin1750.fits
Exposure cube: /scratch/kocevski/18817/ltcube_692928001_693187201_4FGL_J1716.1+6836_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/18817/Model_4FGL_J1716.1+6836_daily_bin1750.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) = 8563.81413504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.179       1.0000          .0000       .10000E+07
     2 'Prefactor '    .97102E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .14522E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    14.727       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61579       1.0000          .0000       .10000E+07
     6 'norm      '    .56343E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .20241E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.4382       1.0000          .0000       .10000E+07
     9 'norm      '    9.6099       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10476E-02   1.0000          .0000       .10000E+07
    11 'norm      '    1.1658       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.0718       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23032E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .49036E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.1448       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8493       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.5116       1.0000          .0000       .10000E+07
    18 'Prefactor '    59.313       1.0000          .0000       .10000E+07
    19 'Prefactor '    168.68       1.0000          .0000       .10000E+07
    20 'norm      '    .15141E-01   1.0000          .0000       .10000E+07
    21 'norm      '    .75268       1.0000          .0000       .10000E+07
    22 'norm      '    16.059       1.0000          .0000       .10000E+07
    23 'Prefactor '    .73176E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    42.701       1.0000          .0000       .10000E+07
    25 'Prefactor '    8.5951       1.0000          .0000       .10000E+07
    26 'Prefactor '    7.8500       1.0000          .0000       .10000E+07
    27 'Prefactor '    .58444E-03   1.0000          .0000       .10000E+07
    28 'Prefactor '    133.47       1.0000          .0000       .10000E+07
    29 'norm      '    .57565E-07   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.0937       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0105       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8563.788     FROM MIGRAD    STATUS=CONVERGED    248 CALLS     3048 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.467        36.580        .88698E-06    .73205E-01
   2  Prefactor     .55511E-10    14.713       -.28136E-06** at limit **
   3  norm           .0000        3.2401        .17420E-06** at limit **
   4  Prefactor     14.414        17.029       -.28098E-06    .54264E-01
   5  Prefactor     .58171E-03    260.58       -.15952E-05** at limit **
   6  norm           .0000        4.9352       -.10323E-06** at limit **
   7  Prefactor     .88818E-09    38.941       -.79698E-06** at limit **
   8  Prefactor     6.6231        15.570        .86535E-06    .15922E-01
   9  norm          9.6153        9.5640        .25398E-06    .27681E-02
  10  Prefactor     .15987E-07    30.844        .55580E-06** at limit **
  11  norm          1.1644        .82139       -.61555E-07   -.58145E-02
  12  Prefactor     7.0693        7.0677        .15326E-06    .11285E-02
  13  Prefactor      .0000        1.5166       -.14319E-07** at limit **
  14  Prefactor     .27756E-08    29.291        .42592E-06** at limit **
  15  Prefactor     2.2161        8.4510        .12780E-06   -.11919E-03
  16  Prefactor     1.8735        31.700        .20557E-05    .11950E-02
  17  Prefactor     2.5005        8.5000        .25862E-06    .59327E-03
  18  Prefactor     57.594        58.528        .28980E-06    .50066E-01
  19  Prefactor     169.34        18.957        .12056E-06   -.78550E-01
  20  norm          .48120E-01    35.347        .59316E-05** at limit **
  21  norm          .75285        .56648       -.30608E-08   -.11563E-02
  22  norm          16.003        5.7725       -.24758E-06   -.14677E-02
  23  Prefactor      .0000        5.6399        .10133E-06** at limit **
  24  Prefactor     40.163        55.131       -.26738E-06   -.17441    
  25  Prefactor     8.6366        6.2417        .32832E-06    .47312E-02
  26  Prefactor     7.8320        10.189       -.68299E-07    .53537E-03
  27  Prefactor     .55511E-10    8.8912       -.25456E-06** at limit **
  28  Prefactor     136.68        86.960        .58261E-06   -.21611    
  29  norm           .0000        .98309        .87010E-07** at limit **
  30  Normalizat    1.0938        .21422       -.21307E-05   -.79504E-04
  31  Prefactor     1.0102        .14879       -.29633E-05   -.16711E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.4669
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 14.4136
  Prefactor  = 0.00058171
  norm       = 0
  Prefactor  = 8.88178e-10
  Prefactor  = 6.62308
  norm       = 9.61527
  Prefactor  = 1.59872e-08
  norm       = 1.16441
  Prefactor  = 7.06928
  Prefactor  = 0
  Prefactor  = 2.77556e-09
  Prefactor  = 2.21614
  Prefactor  = 1.87355
  Prefactor  = 2.50046
  Prefactor  = 57.5943
  Prefactor  = 169.341
  norm       = 0.04812
  norm       = 0.752846
  norm       = 16.0033
  Prefactor  = 0
  Prefactor  = 40.1627
  Prefactor  = 8.63659
  Prefactor  = 7.83204
  Prefactor  = 5.55112e-11
  Prefactor  = 136.68
  norm       = 0
  Normalizat = 1.09383
  Prefactor  = 1.01024
 **********
 **   18 **HESSE 
 **********

 FCN=   8563.788     FROM HESSE     STATUS=OK           698 CALLS     3746 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.467        40.900        .17107E-03   -1.5591    
   2  Prefactor     .55511E-10    14.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        3.2418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.414        52.891        .26074E-03   -1.5632    
   5  Prefactor     .58171E-03    34.309        .15810E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        4.9395        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .88818E-09    38.824        .17021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.6231        62.955        .39531E-03   -1.5656    
   9  norm          9.6153        9.5710        .32302E-03   -1.5646    
  10  Prefactor     .15987E-07    30.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1644        .89868        .10645E-02   -1.5686    
  12  Prefactor     7.0693        7.0894        .37699E-03   -1.5655    
  13  Prefactor      .0000        1.4853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .27756E-08    29.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.2161        8.7259        .70340E-03   -1.5678    
  16  Prefactor     1.8735        32.070        .76641E-03   -1.5681    
  17  Prefactor     2.5005        8.6915        .64446E-03   -1.5676    
  18  Prefactor     57.594        62.357        .12985E-03   -1.5556    
  19  Prefactor     169.34        121.65        .77002E-04   -1.5448    
  20  norm          .48120E-01    1.1657        .66261E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .75285        .57283        .56531E-03   -1.5691    
  22  norm          16.003        5.6967        .24966E-03   -1.5628    
  23  Prefactor      .0000        5.6501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     40.163        90.357        .15305E-03   -1.5581    
  25  Prefactor     8.6366        6.2995        .34168E-03   -1.5649    
  26  Prefactor     7.8320        10.190        .35764E-03   -1.5652    
  27  Prefactor     .55511E-10    8.8923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     136.68        117.39        .86566E-04   -1.5474    
  29  norm           .0000        .98385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0938        .18635        .66478E-01   -.89950    
  31  Prefactor     1.0102        .12842        .43250E-01   -.92389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23894e-05
Minuit parameter uncertainties:
  1  40.9001
  2  5.88079e-05
  3  9.18115e-06
  4  52.8924
  5  0.282548
  6  1.81551e-05
  7  0.000369138
  8  40.8397
  9  9.57098
  10  0.00140335
  11  0.898678
  12  7.08937
  13  7.28043e-07
  14  0.000573318
  15  8.72593
  16  15.503
  17  8.69153
  18  62.3579
  19  121.649
  20  0.473673
  21  0.572832
  22  5.69673
  23  1.82951e-05
  24  90.3596
  25  6.29953
  26  10.1901
  27  4.65592e-05
  28  117.389
  29  6.39468e-06
  30  0.186461
  31  0.128459
Done.

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

Extracting fit parameters...

4FGL J1716.1+6836
   Spectrum: PowerLaw
360    Prefactor:  2.776e-09  5.733e-04  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.378e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  1.122e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  1.010e+00  1.285e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  1.094e+00  1.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 259.031 68.606
Photon Flux Upper Limit: 7.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/18817/likelihoodResults_692928001_693187201_4FGL_J1716.1+6836_daily_bin1750.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) = 8563.8053384
delta logL = -0.0178216744589

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8563.60089682
delta logL = 0.186619901107

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23218E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.5067       1.0000          .0000       10.000    
     3 'Normalizat'    1.0563       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0273       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8563.788     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      374 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .18739        .42118E-03** at limit **
   2  Index         .10651        .21581        .38078E-05     .0000    
   3  Normalizat    1.0938        1.2143        .63870E-05    .11317E-03
   4  Prefactor     1.0102        1.2144       -.67299E-05    .18742E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.106512
  Normalizat = 1.09383
  Prefactor  = 1.01024
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8563.788     FROM HESSE     STATUS=FAILED         9 CALLS      383 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .18739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .22810        .21581        .38078E-05   -1.3640    
   3  Normalizat    1.0938        1.2143        .63870E-05   -.89950    
   4  Prefactor     1.0102        1.2144       -.67299E-05   -.92389    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.40112e-11
Minuit parameter uncertainties:
  1  6.22809e-07
  2  0.217436
  3  1.24757
  4  1.24996
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/18817': 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) = 8563.78751672
delta logL = 4.54747350886e-11

Extracting fit parameters...

4FGL J1716.1+6836
   Spectrum: PowerLaw
360    Prefactor:  0.000e+00  6.228e-07  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  1.065e-01  2.174e-01  0.000e+00  1.000e+01 (-1.000e+00)
362        Scale:  1.122e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  1.010e+00  1.250e+00  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  1.094e+00  1.248e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 259.031 68.606

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/18817/cmap_HighResolution_692928001_693187201_4FGL_J1716.1+6836_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.15e-03', job_status='DONE', photon_flux_upper_limit='7.97e-08', time_completed='2022-12-20 01:31:13.911979', job_id='18817', GAL2='1.01', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1671528673.91', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1750' AND source_name='4FGL J1716.1+6836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:31:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0247>
Subject: Job 18817: <4FGL_J1716.1+6836_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1716.1+6836_daily_bin1750> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec 20 01:15:22 2022
Job was executed on host(s) <bullet0247>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:15:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:15:23 2022
Terminated at Tue Dec 20 01:31:14 2022
Results reported at Tue Dec 20 01:31:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1716.1+6836_daily_bin1750 259.031 68.6063 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1716.1+6836 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   821.03 sec.
    Max Memory :                                 629 MB
    Average Memory :                             285.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            952 sec.

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

