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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1716
RA = 223.392, Dec = 35.0884
tmin = 684115201, tmax = 684374401
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='153728', job_status='RUN', time_executed='2022-09-16 18:45:51.578604', time_epoch_executed='1663379151.58' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153728

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153728/ft1_4FGL_J1453.5+3505_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153728/ft2_4FGL_J1453.5+3505_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153728/ft1_4FGL_J1453.5+3505_daily_bin1716.fits outfile=/scratch/kocevski/153728/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1716.fits ra=223.392 dec=35.0884 rad=12.0 tmin=684115201.0 tmax=684374401.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.17
user 3.90
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/153728/ft2_4FGL_J1453.5+3505_daily_bin1716.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/153728/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/153728/ft1_filtered_4FGL_J1453.5+3505_daily_bin1716.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.57
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 553

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/153728/ft1_filtered_4FGL_J1453.5+3505_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/153728/ft2_4FGL_J1453.5+3505_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/153728/ltcube_684115201_684374401_4FGL_J1453.5+3505_daily_bin1716.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/153728/ft2_4FGL_J1453.5+3505_daily_bin1716.fits
.....................!
real 15.42
user 14.92
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153728/ft1_filtered_4FGL_J1453.5+3505_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/153728/ft2_4FGL_J1453.5+3505_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/153728/ltcube_684115201_684374401_4FGL_J1453.5+3505_daily_bin1716.fits outfile=/scratch/kocevski/153728/expmap_684115201_684374401_4FGL_J1453.5+3505_daily_bin1716.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/153728/ltcube_684115201_684374401_4FGL_J1453.5+3505_daily_bin1716.fits
.....................!
real 192.45
user 186.51
sys 5.30

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/153728/ft1_filtered_4FGL_J1453.5+3505_daily_bin1716.fits scfile=/scratch/kocevski/153728/ft2_4FGL_J1453.5+3505_daily_bin1716.fits outfile=/scratch/kocevski/153728/cmap_684115201_684374401_4FGL_J1453.5+3505_daily_bin1716.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.61
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153728/ft1_filtered_4FGL_J1453.5+3505_daily_bin1716.fits scfile=/scratch/kocevski/153728/ft2_4FGL_J1453.5+3505_daily_bin1716.fits outfile=/scratch/kocevski/153728/cmap_HighResolution_684115201_684374401_4FGL_J1453.5+3505_daily_bin1716.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.57
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/153728/ft1_filtered_4FGL_J1453.5+3505_daily_bin1716.fits', '/scratch/kocevski/153728/ft2_4FGL_J1453.5+3505_daily_bin1716.fits', expMap='/scratch/kocevski/153728/expmap_684115201_684374401_4FGL_J1453.5+3505_daily_bin1716.fits', expCube='/scratch/kocevski/153728/ltcube_684115201_684374401_4FGL_J1453.5+3505_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/153728/Model_4FGL_J1453.5+3505_daily_bin1716.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/153728/ft1_filtered_4FGL_J1453.5+3505_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/153728/ft2_4FGL_J1453.5+3505_daily_bin1716.fits
Exposure map: /scratch/kocevski/153728/expmap_684115201_684374401_4FGL_J1453.5+3505_daily_bin1716.fits
Exposure cube: /scratch/kocevski/153728/ltcube_684115201_684374401_4FGL_J1453.5+3505_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/153728/Model_4FGL_J1453.5+3505_daily_bin1716.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) = 5899.32840883

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.389       1.0000          .0000       .10000E+07
     2 'norm      '    .10805E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .19155E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.8759       1.0000          .0000       .10000E+07
     5 'Prefactor '    18.853       1.0000          .0000       .10000E+07
     6 'norm      '    .10815E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .63474E-04   1.0000          .0000       .10000E+07
     8 'norm      '    8.6343       1.0000          .0000       .10000E+07
     9 'Prefactor '    48.587       1.0000          .0000       .10000E+07
    10 'norm      '    3.2459       1.0000          .0000       .10000E+07
    11 'Prefactor '    10.624       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10410E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .48102       1.0000          .0000       .10000E+07
    14 'norm      '    .20473E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .11581E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    33.911       1.0000          .0000       .10000E+07
    17 'Prefactor '    .13868E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .78474E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .90789       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.0256       1.0000          .0000       .10000E+07
    21 'Prefactor '    .54904       1.0000          .0000       .10000E+07
    22 'norm      '    18.659       1.0000          .0000       .10000E+07
    23 'Prefactor '    .38585E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0735       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .80204       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=   5899.303     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     2085 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.409        6.4586        .64247E-07   -.42312E-01
   2  norm           .0000        2.3187        .71388E-07** at limit **
   3  Prefactor     .39208E-06    18.469        .64417E-06** at limit **
   4  Prefactor     9.9428        13.350        .18172E-06    .11976E-01
   5  Prefactor     18.895        5.5562       -.23891E-08   -.19626E-03
   6  norm          .74940E-08    5.2300        .17914E-06** at limit **
   7  norm           .0000        2.1743       -.28993E-07** at limit **
   8  norm          8.6378        5.9811       -.41195E-07   -.71319E-03
   9  Prefactor     49.236        18.628       -.10303E-06    .12624    
  10  norm          3.3011        4.9319        .29827E-07    .70697E-03
  11  Prefactor     10.618        9.7955       -.26529E-07   -.25822E-01
  12  Prefactor      .0000        3.3818       -.27717E-07** at limit **
  13  norm          .47888        1.0920        .16581E-07    .60272E-03
  14  norm           .0000        1.1429        .17910E-07** at limit **
  15  Prefactor      .0000        2.2609        .81631E-07** at limit **
  16  Prefactor     34.860        40.105       -.10607E-06   -.44674E-01
  17  Prefactor     .28605E-06    21.900        .57537E-07** at limit **
  18  Prefactor     .76050E-08    5.2141        .75208E-09** at limit **
  19  norm          .90914        .86081       -.10338E-07   -.58754E-03
  20  Prefactor     4.0490        6.0641        .12286E-07    .95150E-04
  21  Prefactor     .12612E-06    16.180        .58639E-06** at limit **
  22  norm          18.672        5.9039       -.66808E-07    .37894E-01
  23  Prefactor     .27756E-09    8.9843        .55451E-07** at limit **
  24  Normalizat    1.0724        .20007        .11952E-05    .33183E-04
  25  Prefactor     .80237        .19287       -.85894E-06    .57836E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 20.409
  norm       = 0
  Prefactor  = 3.92075e-07
  Prefactor  = 9.94275
  Prefactor  = 18.8949
  norm       = 7.49401e-09
  norm       = 0
  norm       = 8.63785
  Prefactor  = 49.2365
  norm       = 3.30112
  Prefactor  = 10.6182
  Prefactor  = 0
  norm       = 0.478875
  norm       = 0
  Prefactor  = 0
  Prefactor  = 34.8597
  Prefactor  = 2.86049e-07
  Prefactor  = 7.60503e-09
  norm       = 0.909136
  Prefactor  = 4.04897
  Prefactor  = 1.26121e-07
  norm       = 18.6723
  Prefactor  = 2.77556e-10
  Normalizat = 1.07238
  Prefactor  = 0.802367
 **********
 **   18 **HESSE 
 **********

 FCN=   5899.303     FROM HESSE     STATUS=OK           475 CALLS     2560 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.409        15.363        .22153E-03   -1.5618    
   2  norm           .0000        2.3134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .39208E-06    24.120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.9428        16.091        .31862E-03   -1.5645    
   5  Prefactor     18.895        5.5415        .23039E-03   -1.5621    
   6  norm          .74940E-08    5.2525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.1732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.6378        5.9859        .34089E-03   -1.5649    
   9  Prefactor     49.236        35.916        .14347E-03   -1.5568    
  10  norm          3.3011        4.9446        .56193E-03   -1.5672    
  11  Prefactor     10.618        9.9050        .30715E-03   -1.5643    
  12  Prefactor      .0000        3.3763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .47888        1.1244        .80642E-03   -1.5694    
  14  norm           .0000        1.1417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        2.2596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     34.860        44.274        .17174E-03   -1.5590    
  17  Prefactor     .28605E-06    23.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .76050E-08    5.2359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .90914        .86635        .45216E-03   -1.5689    
  20  Prefactor     4.0490        6.1122        .50236E-03   -1.5668    
  21  Prefactor     .12612E-06    77.130        .73922E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          18.672        15.177        .23159E-03   -1.5622    
  23  Prefactor     .27756E-09    9.0368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0724        .17598        .39197E-01   -.90644    
  25  Prefactor     .80237        .16776        .43744E-01   -.99641    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.28781e-07
Minuit parameter uncertainties:
  1  15.3635
  2  1.20111e-05
  3  0.00615052
  4  16.0912
  5  5.54154
  6  0.000396216
  7  1.42531e-06
  8  5.98587
  9  35.916
  10  4.94465
  11  9.90505
  12  3.88954e-06
  13  1.12441
  14  1.79234e-06
  15  6.93298e-06
  16  44.2748
  17  0.00519397
  18  0.00039955
  19  0.866354
  20  6.11221
  21  0.00623777
  22  15.1768
  23  0.00010143
  24  0.176077
  25  0.167865
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.062e+01  9.905e+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

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  8.024e-01  1.679e-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:  1.072e+00  1.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.12
Ra Dec: 223.392 35.088
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 2.43e-08 +/- 2.26e-08
Energy Flux (Fixed Index): 8.36e-06 +/- 7.80e-06

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

Saving results to:
/scratch/kocevski/153728/likelihoodResults_684115201_684374401_4FGL_J1453.5+3505_daily_bin1716.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) = 5898.37985123
delta logL = 0.922885977051

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5898.2475424
delta logL = 1.05519480765

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.475       1.0000          .0000       .10000E+07
     2 'Index     '    1.5004       1.0000          .0000       10.000    
     3 'Normalizat'    1.0929       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78629       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5898.248     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      203 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.476        14.085        .37176E-06   -.67374E-02
   2  Index         1.5004        .34696       -.47406E-05   -.53784E-03
   3  Normalizat    1.0928        .16385        .13525E-06    .55777E-04
   4  Prefactor     .78630        .16479       -.31808E-06    .36783E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.4764
  Index      = 1.50039
  Normalizat = 1.09285
  Prefactor  = 0.786303
 **********
 **   18 **HESSE 
 **********

 FCN=   5898.248     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.476        15.610        .95727E-05   -1.5624    
   2  Index         1.5004        .48992        .85657E-02   -.77529    
   3  Normalizat    1.0928        .18587        .22323E-03   -.89982    
   4  Prefactor     .78630        .18696        .25930E-03   -1.0024    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.4061e-09
Minuit parameter uncertainties:
  1  15.6103
  2  0.49147
  3  0.185979
  4  0.18711
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153728': 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) = 5898.24754238
delta logL = 1.05519482278

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.748e+01  1.561e+01  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  1.500e+00  4.915e-01  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:  7.863e-01  1.871e-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:  1.093e+00  1.860e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.25
Ra Dec: 223.392 35.088
Photon Index (Free Index): 1.50 +/- 0.49
Photon Flux (Free Index): 1.29e-08 +/- 1.34e-08
Energy Flux (Free Index): 4.09e-05 +/- 5.55e-05

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/153728/cmap_HighResolution_684115201_684374401_4FGL_J1453.5+3505_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.40e-03', comment='SUCCESS', photon_flux='2.43e-08', energy_flux2='4.09e-05', photon_flux_error='2.26e-08', dlogl='1.06e+00', energy_flux='8.36e-06', photon_flux2='1.29e-08', job_status='DONE', time_completed='2022-09-16 18:56:11.753413', photon_index_error2='0.49', photon_index2='1.50', ts='3.12', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='8.31e-08', energy_flux_error2='5.55e-05', EG='1.07', time_epoch_completed='1663379771.75', return_code='0', job_id='153728', GAL2='0.79', EG2='1.09', return_code2='0', energy_flux_error='7.80e-06', photon_flux_error2='1.34e-08', ts2='5.25', photon_index='2.36' WHERE bin_id='1716' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:56:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 153728: <4FGL_J1453.5+3505_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1716> 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) <bullet0273>, 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:56:12 2022
Results reported at Fri Sep 16 18:56:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1716 223.392 35.0884 684115201 684374401 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 :                                   621.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            957 sec.

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

