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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1717
RA = 223.392, Dec = 35.0884
tmin = 684374401, tmax = 684633601
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='153730', job_status='RUN', time_executed='2022-09-16 18:43:25.529382', time_epoch_executed='1663379005.53' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153730

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153730/ft1_4FGL_J1453.5+3505_daily_bin1717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153730/ft2_4FGL_J1453.5+3505_daily_bin1717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153730/ft1_4FGL_J1453.5+3505_daily_bin1717.fits outfile=/scratch/kocevski/153730/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1717.fits ra=223.392 dec=35.0884 rad=12.0 tmin=684374401.0 tmax=684633601.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.61
user 4.75
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/153730/ft2_4FGL_J1453.5+3505_daily_bin1717.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/153730/ft2_4FGL_J1453.5+3505_daily_bin1717.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/153730/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1717.fits evtable="EVENTS" outfile="/scratch/kocevski/153730/ft1_filtered_4FGL_J1453.5+3505_daily_bin1717.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: 591

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/153730/ft1_filtered_4FGL_J1453.5+3505_daily_bin1717.fits" evtable="EVENTS" scfile=/scratch/kocevski/153730/ft2_4FGL_J1453.5+3505_daily_bin1717.fits sctable="SC_DATA" outfile=/scratch/kocevski/153730/ltcube_684374401_684633601_4FGL_J1453.5+3505_daily_bin1717.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/153730/ft2_4FGL_J1453.5+3505_daily_bin1717.fits
.....................!
real 13.47
user 13.01
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153730/ft1_filtered_4FGL_J1453.5+3505_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/153730/ft2_4FGL_J1453.5+3505_daily_bin1717.fits sctable="SC_DATA" expcube=/scratch/kocevski/153730/ltcube_684374401_684633601_4FGL_J1453.5+3505_daily_bin1717.fits outfile=/scratch/kocevski/153730/expmap_684374401_684633601_4FGL_J1453.5+3505_daily_bin1717.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/153730/ltcube_684374401_684633601_4FGL_J1453.5+3505_daily_bin1717.fits
.....................!
real 191.11
user 186.17
sys 4.51

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

Setting source of interest to:
4FGL J1453.5+3505 @ 223.392 35.0884

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/153730/ft1_filtered_4FGL_J1453.5+3505_daily_bin1717.fits scfile=/scratch/kocevski/153730/ft2_4FGL_J1453.5+3505_daily_bin1717.fits outfile=/scratch/kocevski/153730/cmap_684374401_684633601_4FGL_J1453.5+3505_daily_bin1717.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=223.392 yref=35.0884 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153730/ft1_filtered_4FGL_J1453.5+3505_daily_bin1717.fits scfile=/scratch/kocevski/153730/ft2_4FGL_J1453.5+3505_daily_bin1717.fits outfile=/scratch/kocevski/153730/cmap_HighResolution_684374401_684633601_4FGL_J1453.5+3505_daily_bin1717.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=223.392 yref=35.0884 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/153730/ft1_filtered_4FGL_J1453.5+3505_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/153730/ft2_4FGL_J1453.5+3505_daily_bin1717.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/153730/Model_4FGL_J1453.5+3505_daily_bin1717.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/153730/ft1_filtered_4FGL_J1453.5+3505_daily_bin1717.fits.....................!
real 48.01
user 46.62
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/153730/ft1_filtered_4FGL_J1453.5+3505_daily_bin1717.fits', '/scratch/kocevski/153730/ft2_4FGL_J1453.5+3505_daily_bin1717.fits', expMap='/scratch/kocevski/153730/expmap_684374401_684633601_4FGL_J1453.5+3505_daily_bin1717.fits', expCube='/scratch/kocevski/153730/ltcube_684374401_684633601_4FGL_J1453.5+3505_daily_bin1717.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/153730/Model_4FGL_J1453.5+3505_daily_bin1717.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1453.5+3505'

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.970e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/153730/ft1_filtered_4FGL_J1453.5+3505_daily_bin1717.fits
Spacecraft file(s): /scratch/kocevski/153730/ft2_4FGL_J1453.5+3505_daily_bin1717.fits
Exposure map: /scratch/kocevski/153730/expmap_684374401_684633601_4FGL_J1453.5+3505_daily_bin1717.fits
Exposure cube: /scratch/kocevski/153730/ltcube_684374401_684633601_4FGL_J1453.5+3505_daily_bin1717.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/153730/Model_4FGL_J1453.5+3505_daily_bin1717.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) = 6233.65286227

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.367       1.0000          .0000       .10000E+07
     2 'norm      '    .27894E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.311       1.0000          .0000       .10000E+07
     4 'Prefactor '    .51944E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    36.259       1.0000          .0000       .10000E+07
     6 'norm      '    .57845E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .84392E-03   1.0000          .0000       .10000E+07
     8 'norm      '    10.593       1.0000          .0000       .10000E+07
     9 'Prefactor '    85.764       1.0000          .0000       .10000E+07
    10 'norm      '    11.267       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11209E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .17155E-04   1.0000          .0000       .10000E+07
    13 'norm      '    1.1751       1.0000          .0000       .10000E+07
    14 'norm      '    2.3755       1.0000          .0000       .10000E+07
    15 'Prefactor '    .93621E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    39.605       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.083       1.0000          .0000       .10000E+07
    18 'Prefactor '    14.995       1.0000          .0000       .10000E+07
    19 'norm      '    .55851       1.0000          .0000       .10000E+07
    20 'Prefactor '    .59521E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .19948E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .26458E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .15896       1.0000          .0000       .10000E+07
    24 'Normalizat'    .79041       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99676       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6233.536     FROM MIGRAD    STATUS=CONVERGED    189 CALLS     2138 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.434        1.4341        .36961E-08    .13462E-01
   2  norm           .0000        1.1950        .21697E-09** at limit **
   3  Prefactor     12.311        11.453        .43960E-07    .63959E-01
   4  Prefactor     .56638E-06    10.184        .42756E-06** at limit **
   5  Prefactor     36.269        6.4755       -.28951E-07   -.76431E-02
   6  norm          .46818E-06    9.3920        .37725E-06** at limit **
   7  norm           .0000        3.9440       -.79922E-07** at limit **
   8  norm          10.600        4.9259       -.33553E-07   -.19892E-02
   9  Prefactor     86.714        38.709        .12552E-06    .13141E-01
  10  norm          11.329        9.2332       -.23951E-07   -.25978E-02
  11  Prefactor     .27756E-09    4.3441        .13889E-06** at limit **
  12  Prefactor     .54123E-06    16.789       -.64225E-07** at limit **
  13  norm          1.1823        1.5732       -.45216E-08    .11467E-02
  14  norm          2.3774        2.2929        .26378E-07    .33450E-02
  15  Prefactor     .66158E-06    4.8760        .20131E-06** at limit **
  16  Prefactor     39.154        68.773        .18545E-07    .13108E-01
  17  Prefactor     16.126        5.3985       -.29050E-07   -.10465E-01
  18  Prefactor     15.038        5.1983        .16138E-07   -.81371E-01
  19  norm          .56045        .90753       -.71500E-08    .82408E-03
  20  Prefactor     .33307E-09    4.0922       -.35835E-07** at limit **
  21  Prefactor     .52214E-06    15.541        .20327E-06** at limit **
  22  norm          .33318E-06    5.7736        .26736E-06** at limit **
  23  Prefactor     .15332E-05    42.972        .79763E-07** at limit **
  24  Normalizat    .78936        .20374        .28774E-05    .22644E-03
  25  Prefactor     .99712        .19428       -.12233E-05    .16631E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 20.4345
  norm       = 0
  Prefactor  = 12.3105
  Prefactor  = 5.6638e-07
  Prefactor  = 36.2692
  norm       = 4.68181e-07
  norm       = 0
  norm       = 10.6005
  Prefactor  = 86.714
  norm       = 11.3287
  Prefactor  = 2.77556e-10
  Prefactor  = 5.41234e-07
  norm       = 1.18226
  norm       = 2.37738
  Prefactor  = 6.61582e-07
  Prefactor  = 39.1538
  Prefactor  = 16.1263
  Prefactor  = 15.0377
  norm       = 0.560455
  Prefactor  = 3.33067e-10
  Prefactor  = 5.22138e-07
  norm       = 3.33178e-07
  Prefactor  = 1.53316e-06
  Normalizat = 0.789364
  Prefactor  = 0.997121
 **********
 **   18 **HESSE 
 **********

 FCN=   6233.536     FROM HESSE     STATUS=OK           475 CALLS     2613 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.434        17.220        .22165E-03   -1.5618    
   2  norm           .0000        1.1938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.311        12.102        .28524E-03   -1.5638    
   4  Prefactor     .56638E-06    11.480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     36.269        6.4810        .16609E-03   -1.5588    
   6  norm          .46818E-06    10.456        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        3.9346        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.600        4.9274        .30760E-03   -1.5643    
   9  Prefactor     86.714        38.764        .10799E-03   -1.5522    
  10  norm          11.329        9.2438        .29821E-03   -1.5641    
  11  Prefactor     .27756E-09    4.3544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .54123E-06    18.727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1823        1.6232        .10564E-02   -1.5686    
  14  norm          2.3774        2.3322        .66444E-03   -1.5677    
  15  Prefactor     .66158E-06    7.6824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     39.154        71.263        .15892E-03   -1.5583    
  17  Prefactor     16.126        20.132        .24947E-03   -1.5628    
  18  Prefactor     15.038        13.493        .25839E-03   -1.5630    
  19  norm          .56045        .92580        .73029E-03   -1.5693    
  20  Prefactor     .33307E-09    4.0936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .52214E-06    17.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .33318E-06    7.2103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .15332E-05    47.247        .12557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .78936        .17756        .43485E-01   -1.0046    
  25  Prefactor     .99712        .16646        .46227E-01   -.92826    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64307e-07
Minuit parameter uncertainties:
  1  17.2198
  2  4.14831e-06
  3  12.102
  4  0.0050997
  5  6.481
  6  0.00442508
  7  9.40671e-06
  8  4.92745
  9  38.7638
  10  9.24386
  11  6.65754e-05
  12  0.00636741
  13  1.62324
  14  2.33216
  15  0.00450892
  16  71.2645
  17  20.1318
  18  13.493
  19  0.925802
  20  7.09467e-05
  21  0.00598165
  22  0.00309995
  23  0.0170223
  24  0.177692
  25  0.166549
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  2.776e-10  6.658e-05  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  9.971e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  7.894e-01  1.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 223.392 35.088
Photon Flux Upper Limit: 4.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/153730/likelihoodResults_684374401_684633601_4FGL_J1453.5+3505_daily_bin1717.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) = 6233.5377078
delta logL = -0.00142023102308

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6233.53628837
delta logL = -8.09174707683e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10655E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.1783       1.0000          .0000       10.000    
     3 'Normalizat'    .78933       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99704       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6233.536     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      258 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .39440E-01    .42118E-03** at limit **
   2  Index         2.7630        5.8480        .35167        .12931E-09
   3  Normalizat    .78936        .45585E-03    .43471E-01   -.39344E-03
   4  Prefactor     .99712        .46667E-03    .46230E-01   -.49866E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.76298
  Normalizat = 0.789362
  Prefactor  = 0.99712
 **********
 **   18 **HESSE 
 **********

 FCN=   6233.536     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      287 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .12383        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7630        6.3742        .50000       -.46386    
   3  Normalizat    .78936        .80671E-03    .25829E-03   -1.0046    
   4  Prefactor     .99712        .82600E-03    .23645E-03   -.92826    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.13627e-12
Minuit parameter uncertainties:
  1  9.80325e-06
  2  16582.1
  3  0.000806706
  4  0.000825998
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153730': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6233.53628756
delta logL = -8.18545231596e-11

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.665e-10  9.803e-06  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.763e+00  1.658e+04  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  9.971e-01  8.260e-04  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  7.894e-01  8.067e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 223.392 35.088

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/153730/cmap_HighResolution_684374401_684633601_4FGL_J1453.5+3505_daily_bin1717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.79e-03', job_status='DONE', photon_flux_upper_limit='4.91e-08', time_completed='2022-09-16 18:54:05.147203', job_id='153730', GAL2='1.00', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1663379645.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-8.19e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1717' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:54:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 153730: <4FGL_J1453.5+3505_daily_bin1717> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1717> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 18:40:15 2022
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:42:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:42:33 2022
Terminated at Fri Sep 16 18:54:05 2022
Results reported at Fri Sep 16 18:54:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1717 223.392 35.0884 684374401 684633601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1453.5+3505 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   641.07 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             333.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            830 sec.

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

