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 222 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_J1453.5+3505_daily_bin1780
RA = 223.392, Dec = 35.0884
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='66582', job_status='RUN', time_executed='2023-03-20 01:09:09.731271', time_epoch_executed='1679299749.73' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/66582

Creating custom pfile directory:
/scratch/kocevski/66582/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/66582/ft1_4FGL_J1453.5+3505_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/66582/ft2_4FGL_J1453.5+3505_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/66582/ft1_4FGL_J1453.5+3505_daily_bin1780.fits outfile=/scratch/kocevski/66582/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1780.fits ra=223.392 dec=35.0884 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.12
user 3.88
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/66582/ft2_4FGL_J1453.5+3505_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/66582/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/66582/ft1_filtered_4FGL_J1453.5+3505_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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 696

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/66582/ft1_filtered_4FGL_J1453.5+3505_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/66582/ft2_4FGL_J1453.5+3505_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/66582/ltcube_700704001_700963201_4FGL_J1453.5+3505_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/66582/ft2_4FGL_J1453.5+3505_daily_bin1780.fits
.....................!
real 11.98
user 11.61
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/66582/ft1_filtered_4FGL_J1453.5+3505_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/66582/ft2_4FGL_J1453.5+3505_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/66582/ltcube_700704001_700963201_4FGL_J1453.5+3505_daily_bin1780.fits outfile=/scratch/kocevski/66582/expmap_700704001_700963201_4FGL_J1453.5+3505_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/66582/ltcube_700704001_700963201_4FGL_J1453.5+3505_daily_bin1780.fits
.....................!
real 191.86
user 186.42
sys 5.09

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/66582/ft1_filtered_4FGL_J1453.5+3505_daily_bin1780.fits scfile=/scratch/kocevski/66582/ft2_4FGL_J1453.5+3505_daily_bin1780.fits outfile=/scratch/kocevski/66582/cmap_700704001_700963201_4FGL_J1453.5+3505_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=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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/66582/ft1_filtered_4FGL_J1453.5+3505_daily_bin1780.fits scfile=/scratch/kocevski/66582/ft2_4FGL_J1453.5+3505_daily_bin1780.fits outfile=/scratch/kocevski/66582/cmap_HighResolution_700704001_700963201_4FGL_J1453.5+3505_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=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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/66582/ft1_filtered_4FGL_J1453.5+3505_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/66582/ft2_4FGL_J1453.5+3505_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/66582/Model_4FGL_J1453.5+3505_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/66582/ft1_filtered_4FGL_J1453.5+3505_daily_bin1780.fits.....................!
real 57.25
user 55.91
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1699       1.0000          .0000       .10000E+07
     2 'norm      '    .27469E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    23.198       1.0000          .0000       .10000E+07
     4 'Prefactor '    .89562E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    11.799       1.0000          .0000       .10000E+07
     6 'norm      '    .14669E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .62172E-08   1.0000          .0000       .10000E+07
     8 'norm      '    .14694E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    149.64       1.0000          .0000       .10000E+07
    10 'norm      '    9.3371       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.360       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.3794       1.0000          .0000       .10000E+07
    13 'norm      '    .82912       1.0000          .0000       .10000E+07
    14 'norm      '    1.3634       1.0000          .0000       .10000E+07
    15 'Prefactor '    .99601E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .88009E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    8.4160       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.9881       1.0000          .0000       .10000E+07
    19 'norm      '    1.3156       1.0000          .0000       .10000E+07
    20 'Prefactor '    .86690E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .13243E-02   1.0000          .0000       .10000E+07
    22 'norm      '    5.7993       1.0000          .0000       .10000E+07
    23 'Prefactor '    .22352E-05   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2268       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .56911       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=   7732.925     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     2130 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1595        2.7348       -.12455E-07    .24734E-01
   2  norm           .0000        4.5020        .69506E-07** at limit **
   3  Prefactor     23.185        3.0616       -.26823E-08    .44961E-02
   4  Prefactor     .23315E-08    9.2353       -.11148E-07** at limit **
   5  Prefactor     11.806        4.7670       -.55599E-07   -.95863E-03
   6  norm          .27756E-09    4.7280       -.79312E-07** at limit **
   7  norm           .0000        1.8788        .90234E-07** at limit **
   8  norm           .0000        1.3457       -.39383E-07** at limit **
   9  Prefactor     151.43        45.291       -.43578E-07   -.40583E-02
  10  norm          9.3402        6.9304        .77971E-09    .23912E-02
  11  Prefactor     14.314        2.0713        .61488E-08   -.44743E-01
  12  Prefactor     4.3639        4.4931       -.17311E-07    .79540E-03
  13  norm          .83048        1.0737        .12134E-07    .28777E-03
  14  norm          1.3645        1.8267        .32234E-07    .74711E-04
  15  Prefactor      .0000        3.1706        .28181E-08** at limit **
  16  Prefactor      .0000        24.198        .15712E-06** at limit **
  17  Prefactor     8.6533        1.9210       -.33731E-08   -.20991E-02
  18  Prefactor     9.9202        1.3887        .11880E-07   -.21991E-01
  19  norm          1.3163        .89666       -.30431E-07    .57808E-05
  20  Prefactor     .11158E-07    14.879       -.59872E-07** at limit **
  21  Prefactor     .55511E-10    6.8475       -.73538E-07** at limit **
  22  norm          5.8047        7.0931       -.14320E-07   -.36161E-04
  23  Prefactor     .14821E-07    11.673       -.83169E-07** at limit **
  24  Normalizat    1.2255        .17537        .61518E-07   -.33135E-05
  25  Prefactor     .56949        .16031        .10795E-05   -.13274E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.15953
  norm       = 0
  Prefactor  = 23.1854
  Prefactor  = 2.33147e-09
  Prefactor  = 11.8062
  norm       = 2.77556e-10
  norm       = 0
  norm       = 0
  Prefactor  = 151.43
  norm       = 9.34024
  Prefactor  = 14.3138
  Prefactor  = 4.36394
  norm       = 0.830482
  norm       = 1.3645
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 8.6533
  Prefactor  = 9.92017
  norm       = 1.31625
  Prefactor  = 1.11577e-08
  Prefactor  = 5.55112e-11
  norm       = 5.80471
  Prefactor  = 1.48215e-08
  Normalizat = 1.2255
  Prefactor  = 0.569491
 **********
 **   18 **HESSE 
 **********

 FCN=   7732.925     FROM HESSE     STATUS=OK           481 CALLS     2611 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1595        13.678        .44190E-03   -1.5663    
   2  norm           .0000        4.4891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     23.185        13.840        .20767E-03   -1.5612    
   4  Prefactor     .23315E-08    9.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.806        4.7743        .29139E-03   -1.5639    
   6  norm          .27756E-09    4.7618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.8824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.3429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     151.43        45.145        .81755E-04   -1.5462    
  10  norm          9.3402        6.9827        .32773E-03   -1.5647    
  11  Prefactor     14.314        12.001        .26405E-03   -1.5632    
  12  Prefactor     4.3639        4.5228        .48104E-03   -1.5666    
  13  norm          .83048        1.0878        .50789E-03   -1.5690    
  14  norm          1.3645        1.8892        .93449E-03   -1.5685    
  15  Prefactor      .0000        3.1746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        24.250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.6533        23.213        .34532E-03   -1.5649    
  18  Prefactor     9.9202        14.522        .31682E-03   -1.5645    
  19  norm          1.3163        .91088        .95995E-03   -1.5685    
  20  Prefactor     .11158E-07    14.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    6.9028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          5.8047        7.1018        .41682E-03   -1.5660    
  23  Prefactor     .14821E-07    12.078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2255        .15712        .49364E-01   -.85818    
  25  Prefactor     .56949        .13859        .65964E-01   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.78088e-08
Minuit parameter uncertainties:
  1  13.6785
  2  9.57111e-06
  3  13.8395
  4  0.000296769
  5  4.77435
  6  7.44243e-05
  7  1.92362e-06
  8  1.42011e-06
  9  45.1454
  10  6.9827
  11  12.0006
  12  4.52285
  13  1.08779
  14  1.88916
  15  1.02039e-06
  16  4.88378e-05
  17  23.2137
  18  14.5219
  19  0.910875
  20  0.000817863
  21  3.09064e-05
  22  7.1018
  23  0.000845543
  24  0.157177
  25  0.138669
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.431e+01  1.200e+01  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:  5.695e-01  1.387e-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.226e+00  1.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.58
Ra Dec: 223.392 35.088
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 3.27e-08 +/- 2.74e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 9.45e-06

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

Saving results to:
/scratch/kocevski/66582/likelihoodResults_700704001_700963201_4FGL_J1453.5+3505_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) = 7732.83917861
delta logL = 0.0854424511035

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7732.83599521
delta logL = 0.0886258535993

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7732.836     FROM MIGRAD    STATUS=FAILED        89 CALLS      305 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.600        16.021        .12298E-04   -.75804E-04
   2  Index         2.7175        1.0440        .77923E-02    .63239E-03
   3  Normalizat    1.2094        .17598        .21940E-03   -.72657E-03
   4  Prefactor     .57965        .16262        .28956E-03   -.80294E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7732.836     FROM SIMPLEX   STATUS=UNCHANGED     73 CALLS      378 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.600        16.021        .18688E-04   -1.5643    
   2  Index         2.7175        1.0440        .49970E-03   -.47406    
   3  Normalizat    1.2094        .17598        .26069E-03   -.86312    
   4  Prefactor     .57965        .16262        .29219E-03   -1.0845    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7732.836     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      408 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.600        13.570        .49192E-06   -.42920E-03
   2  Index         2.7175        .88539        .15585E-02    .97021E-05
   3  Normalizat    1.2094        .17486        .43881E-04   -.39898E-05
   4  Prefactor     .57965        .16198        .57911E-04   -.21594E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6
  Index      = 2.71752
  Normalizat = 1.20943
  Prefactor  = 0.579649
 **********
 **   18 **HESSE 
 **********

 FCN=   7732.836     FROM HESSE     STATUS=OK            23 CALLS      431 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.600        13.180        .37295E-06   -1.5643    
   2  Index         2.7175        .85986        .62339E-04   -.47405    
   3  Normalizat    1.2094        .17459        .87762E-05   -.86312    
   4  Prefactor     .57965        .16176        .23165E-05   -1.0845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06351e-11
Minuit parameter uncertainties:
  1  13.1805
  2  0.865305
  3  0.174676
  4  0.16189
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/66582': 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) = 7732.83599317
delta logL = 0.0886278885719

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.060e+01  1.318e+01  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.718e+00  8.653e-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:  5.796e-01  1.619e-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.209e+00  1.747e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.78
Ra Dec: 223.392 35.088
Photon Index (Free Index): 2.72 +/- 0.87
Photon Flux (Free Index): 4.55e-08 +/- 4.43e-08
Energy Flux (Free Index): 1.08e-05 +/- 8.20e-06

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/66582/cmap_HighResolution_700704001_700963201_4FGL_J1453.5+3505_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.23e-03', comment='SUCCESS', photon_flux='3.27e-08', energy_flux2='1.08e-05', photon_flux_error='2.74e-08', dlogl='8.86e-02', energy_flux='1.13e-05', photon_flux2='4.55e-08', job_status='DONE', time_completed='2023-03-20 01:20:53.722429', photon_index_error2='0.87', photon_index2='2.72', ts='2.58', fit_tolerance='1e-08', GAL='0.57', photon_index_error='0.00', photon_flux_upper_limit='9.39e-08', energy_flux_error2='8.20e-06', EG='1.23', time_epoch_completed='1679300453.72', return_code='0', job_id='66582', GAL2='0.58', EG2='1.21', return_code2='0', energy_flux_error='9.45e-06', photon_flux_error2='4.43e-08', ts2='2.78', photon_index='2.36' WHERE bin_id='1780' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:20:53 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 66582: <4FGL_J1453.5+3505_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 01:05:18 2023
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:05:19 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:05:19 2023
Terminated at Mon Mar 20 01:20:55 2023
Results reported at Mon Mar 20 01:20:55 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1780 223.392 35.0884 700704001 700963201 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 :                                   706.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            937 sec.

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

