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


Performing analysis on: 4FGL_J1516.9+1934_daily_bin1779
RA = 229.244, Dec = 19.5805
tmin = 700444801, tmax = 700704001
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='30594', job_status='RUN', time_executed='2023-03-17 01:55:44.946072', time_epoch_executed='1679043344.95' WHERE source_name='4FGL J1516.9+1934' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/30594

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/30594/ft1_4FGL_J1516.9+1934_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/30594/ft2_4FGL_J1516.9+1934_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/30594/ft1_4FGL_J1516.9+1934_daily_bin1779.fits outfile=/scratch/kocevski/30594/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin1779.fits ra=229.244 dec=19.5805 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.27
user 5.03
sys 0.22

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

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

Number of photons that the gtmktime cut: 648

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/30594/ft1_filtered_4FGL_J1516.9+1934_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/30594/ft2_4FGL_J1516.9+1934_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/30594/ltcube_700444801_700704001_4FGL_J1516.9+1934_daily_bin1779.fits outfile=/scratch/kocevski/30594/expmap_700444801_700704001_4FGL_J1516.9+1934_daily_bin1779.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/30594/ltcube_700444801_700704001_4FGL_J1516.9+1934_daily_bin1779.fits
.....................!
real 190.96
user 186.63
sys 3.87

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/30594/ft1_filtered_4FGL_J1516.9+1934_daily_bin1779.fits scfile=/scratch/kocevski/30594/ft2_4FGL_J1516.9+1934_daily_bin1779.fits outfile=/scratch/kocevski/30594/cmap_700444801_700704001_4FGL_J1516.9+1934_daily_bin1779.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/30594/ft1_filtered_4FGL_J1516.9+1934_daily_bin1779.fits scfile=/scratch/kocevski/30594/ft2_4FGL_J1516.9+1934_daily_bin1779.fits outfile=/scratch/kocevski/30594/cmap_HighResolution_700444801_700704001_4FGL_J1516.9+1934_daily_bin1779.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/30594/ft1_filtered_4FGL_J1516.9+1934_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/30594/ft2_4FGL_J1516.9+1934_daily_bin1779.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/30594/Model_4FGL_J1516.9+1934_daily_bin1779.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/30594/ft1_filtered_4FGL_J1516.9+1934_daily_bin1779.fits.....................!
real 53.54
user 52.28
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/30594/ft1_filtered_4FGL_J1516.9+1934_daily_bin1779.fits', '/scratch/kocevski/30594/ft2_4FGL_J1516.9+1934_daily_bin1779.fits', expMap='/scratch/kocevski/30594/expmap_700444801_700704001_4FGL_J1516.9+1934_daily_bin1779.fits', expCube='/scratch/kocevski/30594/ltcube_700444801_700704001_4FGL_J1516.9+1934_daily_bin1779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/30594/Model_4FGL_J1516.9+1934_daily_bin1779.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/30594/ft1_filtered_4FGL_J1516.9+1934_daily_bin1779.fits
Spacecraft file(s): /scratch/kocevski/30594/ft2_4FGL_J1516.9+1934_daily_bin1779.fits
Exposure map: /scratch/kocevski/30594/expmap_700444801_700704001_4FGL_J1516.9+1934_daily_bin1779.fits
Exposure cube: /scratch/kocevski/30594/ltcube_700444801_700704001_4FGL_J1516.9+1934_daily_bin1779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/30594/Model_4FGL_J1516.9+1934_daily_bin1779.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) = 7335.42277934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12994E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .31994       1.0000          .0000       .10000E+07
     3 'Prefactor '    .53878       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53304E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .26916       1.0000          .0000       .10000E+07
     6 'norm      '    .30580       1.0000          .0000       .10000E+07
     7 'norm      '    .68791E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .14040E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    63.559       1.0000          .0000       .10000E+07
    10 'Prefactor '    .66491E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .52373E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .71750E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .14820E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .13908E-03   1.0000          .0000       .10000E+07
    15 'norm      '    4.3225       1.0000          .0000       .10000E+07
    16 'Prefactor '    .20270E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    .57725       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2674       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=   7335.417     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1328 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.3444       -.30236E-07** at limit **
   2  norm          .31445        3.1455       -.25898E-07   -.44847E-03
   3  Prefactor     .15409        345.70       -.79551E-06** at limit **
   4  Prefactor     .16431E-07    8.5649       -.16764E-06** at limit **
   5  Prefactor     .24746        17.415       -.86427E-07** at limit **
   6  norm          .30575        .15324        .10307E-07    .26515E-01
   7  norm           .0000        1.6082        .49034E-07** at limit **
   8  norm          .51542E-06    15.108       -.52952E-08** at limit **
   9  Prefactor     62.920        37.360       -.79187E-07   -.19761    
  10  Prefactor      .0000        2.9808        .82924E-07** at limit **
  11  Prefactor     .15543E-07    8.1731       -.18834E-07** at limit **
  12  Prefactor     .55511E-10    1.7718        .67066E-07** at limit **
  13  Prefactor     .55977E-06    15.423        .82660E-07** at limit **
  14  norm          .83267E-09    3.4194       -.30029E-06** at limit **
  15  norm          4.3824        5.6592        .14087E-07   -.74968E-04
  16  Prefactor      .0000        4.2116        .77445E-08** at limit **
  17  Normalizat    .57816        .23735        .27429E-05    .55670E-04
  18  Prefactor     1.2673        .15167       -.10663E-05    .75899E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0.314454
  Prefactor  = 0.154088
  Prefactor  = 1.64313e-08
  Prefactor  = 0.24746
  norm       = 0.305746
  norm       = 0
  norm       = 5.15421e-07
  Prefactor  = 62.9195
  Prefactor  = 0
  Prefactor  = 1.55431e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 5.59774e-07
  norm       = 8.32667e-10
  norm       = 4.38235
  Prefactor  = 0
  Normalizat = 0.57816
  Prefactor  = 1.26731
 **********
 **   18 **HESSE 
 **********

 FCN=   7335.417     FROM HESSE     STATUS=OK           286 CALLS     1614 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.3446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .31445        3.1460        .99419E-03   -1.5697    
   3  Prefactor     .15409        25.181        .10495E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16431E-07    8.6117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .24746        6.3783        .76143E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .30575        .15680        .51701E-03   -1.5697    
   7  norm           .0000        1.6111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .51542E-06    17.828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     62.920        47.405        .12544E-03   -1.5549    
  10  Prefactor      .0000        2.9858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .15543E-07    8.2076        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    1.7639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55977E-06    18.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .83267E-09    3.3385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.3824        5.6709        .48428E-03   -1.5666    
  16  Prefactor      .0000        4.2109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .57816        .21373        .87874E-01   -1.0892    
  18  Prefactor     1.2673        .13480        .33204E-01   -.84284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53773e-06
Minuit parameter uncertainties:
  1  9.00191e-06
  2  1.98925
  3  3.93963
  4  0.000752631
  5  2.51267
  6  0.156798
  7  9.86049e-06
  8  0.00606269
  9  47.4048
  10  1.81682e-05
  11  0.00071434
  12  1.4673e-05
  13  0.00636166
  14  0.000105959
  15  5.67087
  16  4.07915e-06
  17  0.214036
  18  0.134839
Done.

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

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  6.292e+01  4.740e+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:  1.267e+00  1.348e-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:  5.782e-01  2.140e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.22
Ra Dec: 229.244 19.581
Photon Index (Fixed Index): 2.58 +/- 0.00
Photon Flux (Fixed Index): 6.35e-08 +/- 4.78e-08
Energy Flux (Fixed Index): 1.70e-05 +/- 1.28e-05

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

Saving results to:
/scratch/kocevski/30594/likelihoodResults_700444801_700704001_4FGL_J1516.9+1934_daily_bin1779.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) = 7335.32046863
delta logL = 0.0963417047242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7335.31527428
delta logL = 0.101536058038

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    77.057       1.0000          .0000       .10000E+07
     2 'Index     '    2.3295       1.0000          .0000       10.000    
     3 'Normalizat'    .58943       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2615       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=   7335.315     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      300 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     77.087        62.368        .22785E-04    .32183E-03
   2  Index         2.3294        .53216        .76245E-02    .17010E-03
   3  Normalizat    .58951        .23542        .38571E-03   -.27736E-04
   4  Prefactor     1.2615        .15127        .17403E-03    .68460E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 77.0873
  Index      = 2.32938
  Normalizat = 0.589509
  Prefactor  = 1.26145
 **********
 **   18 **HESSE 
 **********

 FCN=   7335.315     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     77.087        61.548        .91140E-06   -1.5532    
   2  Index         2.3294        .52508        .15249E-02   -.56347    
   3  Normalizat    .58951        .23555        .15428E-04   -1.0843    
   4  Prefactor     1.2615        .15135        .69613E-05   -.84461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93515e-11
Minuit parameter uncertainties:
  1  61.5486
  2  0.526442
  3  0.235947
  4  0.151404
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/30594': 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) = 7335.31527396
delta logL = 0.101536375447

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  7.709e+01  6.155e+01  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  2.329e+00  5.264e-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:  1.261e+00  1.514e-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:  5.895e-01  2.359e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.41
Ra Dec: 229.244 19.581
Photon Index (Free Index): 2.33 +/- 0.53
Photon Flux (Free Index): 5.65e-08 +/- 4.70e-08
Energy Flux (Free Index): 2.04e-05 +/- 1.76e-05

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/30594/cmap_HighResolution_700444801_700704001_4FGL_J1516.9+1934_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-02', comment='SUCCESS', photon_flux='6.35e-08', energy_flux2='2.04e-05', photon_flux_error='4.78e-08', dlogl='1.02e-01', energy_flux='1.70e-05', photon_flux2='5.65e-08', job_status='DONE', time_completed='2023-03-17 02:04:30.956095', photon_index_error2='0.53', photon_index2='2.33', ts='3.22', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='1.65e-07', energy_flux_error2='1.76e-05', EG='0.58', time_epoch_completed='1679043870.96', return_code='0', job_id='30594', GAL2='1.26', EG2='0.59', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='4.70e-08', ts2='3.41', photon_index='2.58' WHERE bin_id='1779' AND source_name='4FGL J1516.9+1934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 02:04:30 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0009>
Subject: Job 30594: <4FGL_J1516.9+1934_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1516.9+1934_daily_bin1779> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Mar 17 01:55:26 2023
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:55:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:55:27 2023
Terminated at Fri Mar 17 02:04:31 2023
Results reported at Fri Mar 17 02:04:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1516.9+1934_daily_bin1779 229.244 19.5805 700444801 700704001 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 :                                   526.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   544 sec.
    Turnaround time :                            545 sec.

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

