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


Performing analysis on: 4FGL_J1516.9+1934_daily_bin1780
RA = 229.244, Dec = 19.5805
tmin = 700704001, tmax = 700963201
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='68029', job_status='RUN', time_executed='2023-03-20 01:12:29.305633', time_epoch_executed='1679299949.31' WHERE source_name='4FGL J1516.9+1934' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/68029

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/68029/ft1_4FGL_J1516.9+1934_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/68029/ft2_4FGL_J1516.9+1934_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/68029/ft1_4FGL_J1516.9+1934_daily_bin1780.fits outfile=/scratch/kocevski/68029/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin1780.fits ra=229.244 dec=19.5805 rad=12.0 tmin=700704001.0 tmax=700963201.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.13
user 3.86
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/68029/ft2_4FGL_J1516.9+1934_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/68029/ft2_4FGL_J1516.9+1934_daily_bin1780.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/68029/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/68029/ft1_filtered_4FGL_J1516.9+1934_daily_bin1780.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: 699

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/68029/ft1_filtered_4FGL_J1516.9+1934_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/68029/ft2_4FGL_J1516.9+1934_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/68029/ltcube_700704001_700963201_4FGL_J1516.9+1934_daily_bin1780.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/68029/ft2_4FGL_J1516.9+1934_daily_bin1780.fits
.....................!
real 12.33
user 11.95
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/68029/ft1_filtered_4FGL_J1516.9+1934_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/68029/ft2_4FGL_J1516.9+1934_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/68029/ltcube_700704001_700963201_4FGL_J1516.9+1934_daily_bin1780.fits outfile=/scratch/kocevski/68029/expmap_700704001_700963201_4FGL_J1516.9+1934_daily_bin1780.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/68029/ltcube_700704001_700963201_4FGL_J1516.9+1934_daily_bin1780.fits
.....................!
real 189.87
user 185.27
sys 4.20

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

Setting source of interest to:
4FGL J1516.9+1934 @ 229.244 19.5805

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/68029/ft1_filtered_4FGL_J1516.9+1934_daily_bin1780.fits scfile=/scratch/kocevski/68029/ft2_4FGL_J1516.9+1934_daily_bin1780.fits outfile=/scratch/kocevski/68029/cmap_700704001_700963201_4FGL_J1516.9+1934_daily_bin1780.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=229.244 yref=19.5805 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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/68029/ft1_filtered_4FGL_J1516.9+1934_daily_bin1780.fits scfile=/scratch/kocevski/68029/ft2_4FGL_J1516.9+1934_daily_bin1780.fits outfile=/scratch/kocevski/68029/cmap_HighResolution_700704001_700963201_4FGL_J1516.9+1934_daily_bin1780.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=229.244 yref=19.5805 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/68029/ft1_filtered_4FGL_J1516.9+1934_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/68029/ft2_4FGL_J1516.9+1934_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/68029/Model_4FGL_J1516.9+1934_daily_bin1780.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/68029/ft1_filtered_4FGL_J1516.9+1934_daily_bin1780.fits.....................!
real 57.90
user 56.51
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/68029/ft1_filtered_4FGL_J1516.9+1934_daily_bin1780.fits', '/scratch/kocevski/68029/ft2_4FGL_J1516.9+1934_daily_bin1780.fits', expMap='/scratch/kocevski/68029/expmap_700704001_700963201_4FGL_J1516.9+1934_daily_bin1780.fits', expCube='/scratch/kocevski/68029/ltcube_700704001_700963201_4FGL_J1516.9+1934_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/68029/Model_4FGL_J1516.9+1934_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1516.9+1934'

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  7.750e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/68029/ft1_filtered_4FGL_J1516.9+1934_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/68029/ft2_4FGL_J1516.9+1934_daily_bin1780.fits
Exposure map: /scratch/kocevski/68029/expmap_700704001_700963201_4FGL_J1516.9+1934_daily_bin1780.fits
Exposure cube: /scratch/kocevski/68029/ltcube_700704001_700963201_4FGL_J1516.9+1934_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/68029/Model_4FGL_J1516.9+1934_daily_bin1780.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) = 7818.89897644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1970       1.0000          .0000       .10000E+07
     2 'norm      '    .16653E-09   1.0000          .0000       .10000E+07
     3 'Prefactor '    15.354       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.3073       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5868       1.0000          .0000       .10000E+07
     6 'norm      '    .58524       1.0000          .0000       .10000E+07
     7 'norm      '    .63360E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .22416E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    34.988       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15710E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .40846E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
    13 'Prefactor '    11.827       1.0000          .0000       .10000E+07
    14 'norm      '    2.3613       1.0000          .0000       .10000E+07
    15 'norm      '    1.0172       1.0000          .0000       .10000E+07
    16 'Prefactor '    .65792E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .89468       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .97205       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7818.885     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1295 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1931        3.7425       -.25339E-06    .41707E-03
   2  norm           .0000        1.1156        .11453E-06** at limit **
   3  Prefactor     15.625        27.966        .12555E-04    .29926E-01
   4  Prefactor     1.0755        15.503       -.13904E-04    .14198E-01
   5  Prefactor     7.6252        6.8575       -.15578E-05   -.18554E-01
   6  norm          .58531        .20361        .26742E-08   -.69604E-02
   7  norm           .0000        3.6244       -.11975E-06** at limit **
   8  norm          .62728E-08    24.269        .38444E-06** at limit **
   9  Prefactor     35.066        8.0805        .24199E-05   -.76209E-01
  10  Prefactor      .0000        2.0886       -.20664E-07** at limit **
  11  Prefactor     .55511E-10    5.8390        .45946E-06** at limit **
  12  Prefactor      .0000        1.1666        .19049E-07** at limit **
  13  Prefactor     11.899        2.0774        .95300E-06   -.11894E-01
  14  norm          2.3628        2.1017       -.19404E-06   -.45722E-02
  15  norm          .98393        20.571        .63161E-05   -.19652E-02
  16  Prefactor     .33307E-09    6.6967       -.78113E-06** at limit **
  17  Normalizat    .89434        .22479       -.19782E-04   -.10410E-03
  18  Prefactor     .97216        .14029        .22023E-05   -.22909E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.19307
  norm       = 0
  Prefactor  = 15.6247
  Prefactor  = 1.07548
  Prefactor  = 7.62519
  norm       = 0.585307
  norm       = 0
  norm       = 6.27276e-09
  Prefactor  = 35.0664
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 11.8988
  norm       = 2.36279
  norm       = 0.983935
  Prefactor  = 3.33067e-10
  Normalizat = 0.894338
  Prefactor  = 0.972164
 **********
 **   18 **HESSE 
 **********

 FCN=   7818.885     FROM HESSE     STATUS=OK           286 CALLS     1581 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1931        3.7541        .40303E-03   -1.5658    
   2  norm           .0000        1.1156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.625        28.807        .25534E-03   -1.5629    
   4  Prefactor     1.0755        146.40        .96465E-03   -1.5687    
   5  Prefactor     7.6252        6.8821        .36385E-03   -1.5653    
   6  norm          .58531        .20487        .51210E-03   -1.5693    
   7  norm           .0000        3.6271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .62728E-08    24.345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     35.066        47.920        .16908E-03   -1.5590    
  10  Prefactor      .0000        2.0950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    5.8365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.1487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.899        31.691        .29104E-03   -1.5639    
  14  norm          2.3628        2.1328        .66664E-03   -1.5677    
  15  norm          .98393        7.4941        .70109E-02   -1.5688    
  16  Prefactor     .33307E-09    6.6740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .89434        .19023        .70693E-01   -.96659    
  18  Prefactor     .97216        .11622        .45917E-01   -.93663    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07879e-07
Minuit parameter uncertainties:
  1  3.75408
  2  9.56306e-06
  3  28.8073
  4  25.0962
  5  6.88209
  6  0.204867
  7  1.43447e-05
  8  0.000781391
  9  47.921
  10  1.40583e-06
  11  3.68293e-05
  12  2.17648e-06
  13  31.6918
  14  2.13279
  15  5.43094
  16  9.48998e-05
  17  0.190368
  18  0.116247
Done.

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

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  3.507e+01  4.792e+01  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.722e-01  1.162e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  8.943e-01  1.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.68
Ra Dec: 229.244 19.581
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/68029/likelihoodResults_700704001_700963201_4FGL_J1516.9+1934_daily_bin1780.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7818.85726835
delta logL = 0.0273348438523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7818.85266025
delta logL = 0.0319429485407

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.740       1.0000          .0000       .10000E+07
     2 'Index     '    2.7865       1.0000          .0000       10.000    
     3 'Normalizat'    .88749       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97477       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+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=   7818.853     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      271 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.741        49.992        .72157E-05    .13392E-03
   2  Index         2.7861        .88898        .93063E-02   -.17004E-04
   3  Normalizat    .88768        .22418        .31385E-03    .13993E-03
   4  Prefactor     .97464        .13942        .18793E-03    .29150E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.7409
  Index      = 2.78615
  Normalizat = 0.887682
  Prefactor  = 0.974637
 **********
 **   18 **HESSE 
 **********

 FCN=   7818.853     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.741        47.079        .28863E-06   -1.5597    
   2  Index         2.7861        .83710        .37225E-03   -.45869    
   3  Normalizat    .88768        .22439        .12554E-04   -.96894    
   4  Prefactor     .97464        .13945        .37585E-04   -.93580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00321e-11
Minuit parameter uncertainties:
  1  47.0796
  2  0.842044
  3  0.224623
  4  0.139506
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/68029': 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) = 7818.85265971
delta logL = 0.0319434883877

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  3.074e+01  4.708e+01  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  2.786e+00  8.420e-01  0.000e+00  1.000e+01 (-1.000e+00)
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.746e-01  1.395e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  8.877e-01  2.246e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.68
Ra Dec: 229.244 19.581

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/68029/cmap_HighResolution_700704001_700963201_4FGL_J1516.9+1934_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', job_status='DONE', photon_flux_upper_limit='1.34e-07', time_completed='2023-03-20 01:21:36.462450', job_id='68029', GAL2='0.97', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1679300496.46', return_code2='0', ts='0.68', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.19e-02', ts2='0.76', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1780' AND source_name='4FGL J1516.9+1934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:21:36 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 68029: <4FGL_J1516.9+1934_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1516.9+1934_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 01:10:15 2023
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:10:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:10:17 2023
Terminated at Mon Mar 20 01:21:37 2023
Results reported at Mon Mar 20 01:21:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1516.9+1934_daily_bin1780 229.244 19.5805 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1516.9+1934 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   549.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            682 sec.

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

