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


Performing analysis on: 4FGL_J1451.4+6355_daily_bin1768
RA = 222.855, Dec = 63.9172
tmin = 697593601, tmax = 697852801
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='274195', job_status='RUN', time_executed='2023-02-12 01:08:23.646758', time_epoch_executed='1676192903.65' WHERE source_name='4FGL J1451.4+6355' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/274195

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/274195/ft1_4FGL_J1451.4+6355_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/274195/ft2_4FGL_J1451.4+6355_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/274195/ft1_4FGL_J1451.4+6355_daily_bin1768.fits outfile=/scratch/kocevski/274195/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin1768.fits ra=222.855 dec=63.9172 rad=12.0 tmin=697593601.0 tmax=697852801.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 3.73
user 3.49
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/274195/ft2_4FGL_J1451.4+6355_daily_bin1768.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/274195/ft2_4FGL_J1451.4+6355_daily_bin1768.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/274195/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/274195/ft1_filtered_4FGL_J1451.4+6355_daily_bin1768.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.55
user 0.37
sys 0.15

Number of photons that the gtmktime cut: 541

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/274195/ft1_filtered_4FGL_J1451.4+6355_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/274195/ft2_4FGL_J1451.4+6355_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/274195/ltcube_697593601_697852801_4FGL_J1451.4+6355_daily_bin1768.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/274195/ft2_4FGL_J1451.4+6355_daily_bin1768.fits
.....................!
real 16.63
user 16.26
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/274195/ft1_filtered_4FGL_J1451.4+6355_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/274195/ft2_4FGL_J1451.4+6355_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/274195/ltcube_697593601_697852801_4FGL_J1451.4+6355_daily_bin1768.fits outfile=/scratch/kocevski/274195/expmap_697593601_697852801_4FGL_J1451.4+6355_daily_bin1768.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/274195/ltcube_697593601_697852801_4FGL_J1451.4+6355_daily_bin1768.fits
.....................!
real 192.93
user 187.37
sys 5.02

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

Setting source of interest to:
4FGL J1451.4+6355 @ 222.855 63.9172

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/274195/ft1_filtered_4FGL_J1451.4+6355_daily_bin1768.fits scfile=/scratch/kocevski/274195/ft2_4FGL_J1451.4+6355_daily_bin1768.fits outfile=/scratch/kocevski/274195/cmap_697593601_697852801_4FGL_J1451.4+6355_daily_bin1768.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=222.855 yref=63.9172 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/274195/ft1_filtered_4FGL_J1451.4+6355_daily_bin1768.fits scfile=/scratch/kocevski/274195/ft2_4FGL_J1451.4+6355_daily_bin1768.fits outfile=/scratch/kocevski/274195/cmap_HighResolution_697593601_697852801_4FGL_J1451.4+6355_daily_bin1768.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=222.855 yref=63.9172 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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/274195/ft1_filtered_4FGL_J1451.4+6355_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/274195/ft2_4FGL_J1451.4+6355_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/274195/Model_4FGL_J1451.4+6355_daily_bin1768.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/274195/ft1_filtered_4FGL_J1451.4+6355_daily_bin1768.fits.....................!
real 52.02
user 50.65
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/274195/ft1_filtered_4FGL_J1451.4+6355_daily_bin1768.fits', '/scratch/kocevski/274195/ft2_4FGL_J1451.4+6355_daily_bin1768.fits', expMap='/scratch/kocevski/274195/expmap_697593601_697852801_4FGL_J1451.4+6355_daily_bin1768.fits', expCube='/scratch/kocevski/274195/ltcube_697593601_697852801_4FGL_J1451.4+6355_daily_bin1768.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/274195/Model_4FGL_J1451.4+6355_daily_bin1768.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1451.4+6355'

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.733e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
350        Index:  1.822e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  3.982e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/274195/ft1_filtered_4FGL_J1451.4+6355_daily_bin1768.fits
Spacecraft file(s): /scratch/kocevski/274195/ft2_4FGL_J1451.4+6355_daily_bin1768.fits
Exposure map: /scratch/kocevski/274195/expmap_697593601_697852801_4FGL_J1451.4+6355_daily_bin1768.fits
Exposure cube: /scratch/kocevski/274195/ltcube_697593601_697852801_4FGL_J1451.4+6355_daily_bin1768.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/274195/Model_4FGL_J1451.4+6355_daily_bin1768.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) = 5909.99034857

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88753       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13172E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6804       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9299       1.0000          .0000       .10000E+07
     5 'norm      '    .45041E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    51.555       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2144       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68017E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.9352       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11100E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.136       1.0000          .0000       .10000E+07
    12 'Prefactor '    .73231E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .81885E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.6931       1.0000          .0000       .10000E+07
    15 'Prefactor '    45.275       1.0000          .0000       .10000E+07
    16 'norm      '    .67224E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    9.6802       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.8566       1.0000          .0000       .10000E+07
    19 'norm      '    .91969       1.0000          .0000       .10000E+07
    20 'Prefactor '    42.063       1.0000          .0000       .10000E+07
    21 'Prefactor '    25.920       1.0000          .0000       .10000E+07
    22 'Normalizat'    .80919       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94407       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5909.966     FROM MIGRAD    STATUS=CONVERGED    205 CALLS     1926 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14091        3042.4       -.11875E-04** at limit **
   2  Prefactor     .55511E-10    18.158       -.85223E-07** at limit **
   3  Prefactor     6.6845        4.6399       -.64179E-07   -.23210E-02
   4  Prefactor     5.0619        15.245       -.90799E-08    .56700E-03
   5  norm           .0000        3.9543        .11906E-06** at limit **
   6  Prefactor     52.552        41.186        .76529E-07   -.58399E-01
   7  Prefactor     2.2123        3.0135        .29802E-07   -.24053E-02
   8  Prefactor     .55511E-10    36.504        .16368E-06** at limit **
   9  Prefactor     3.1007        57.830       -.10921E-05    .99662E-02
  10  Prefactor     .55511E-10    12.593       -.24226E-06** at limit **
  11  Prefactor     11.149        15.728       -.29306E-06   -.25684E-02
  12  Prefactor      .0000        6.1208       -.24515E-08** at limit **
  13  Prefactor      .0000        6.6564        .11943E-07** at limit **
  14  Prefactor     5.6122        7.8706        .36336E-07    .10008E-03
  15  Prefactor     45.713        19.160        .17868E-06    .22351    
  16  norm           .0000        .89571        .37411E-07** at limit **
  17  Prefactor     13.977        79.418       -.38101E-06    .56218E-02
  18  Prefactor     2.8689        4.5909        .18334E-07    .25649E-03
  19  norm          .92881        6.6061        .12399E-07    .68187E-03
  20  Prefactor     41.892        5.9233       -.65813E-08   -.26240E-01
  21  Prefactor     26.611        30.733       -.11633E-06   -.88712E-01
  22  Normalizat    .80864        .17640       -.16030E-05   -.17495E-03
  23  Prefactor     .94299        .18582        .12281E-05   -.12367E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.140914
  Prefactor  = 5.55112e-11
  Prefactor  = 6.6845
  Prefactor  = 5.06189
  norm       = 0
  Prefactor  = 52.5523
  Prefactor  = 2.21228
  Prefactor  = 5.55112e-11
  Prefactor  = 3.10074
  Prefactor  = 5.55112e-11
  Prefactor  = 11.1486
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.61223
  Prefactor  = 45.7131
  norm       = 0
  Prefactor  = 13.9767
  Prefactor  = 2.86886
  norm       = 0.928806
  Prefactor  = 41.8918
  Prefactor  = 26.6107
  Normalizat = 0.808643
  Prefactor  = 0.942989
 **********
 **   18 **HESSE 
 **********

 FCN=   5909.966     FROM HESSE     STATUS=OK           424 CALLS     2350 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14091        66.404        .12688E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    18.190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.6845        4.6675        .38800E-03   -1.5656    
   4  Prefactor     5.0619        15.312        .45274E-03   -1.5663    
   5  norm           .0000        3.9207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     52.552        42.890        .13928E-03   -1.5563    
   7  Prefactor     2.2123        3.1715        .69087E-03   -1.5678    
   8  Prefactor     .55511E-10    36.320        .14884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.1007        65.472        .59262E-03   -1.5673    
  10  Prefactor     .55511E-10    12.635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.149        15.860        .29997E-03   -1.5641    
  12  Prefactor      .0000        6.1225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        6.6500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.6122        7.8633        .42075E-03   -1.5661    
  15  Prefactor     45.713        35.233        .14863E-03   -1.5573    
  16  norm           .0000        .88983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.977        80.299        .32184E-03   -1.5633    
  18  Prefactor     2.8689        4.6225        .60126E-03   -1.5674    
  19  norm          .92881        6.9120        .44408E-03   -1.5689    
  20  Prefactor     41.892        35.910        .15420E-03   -1.5579    
  21  Prefactor     26.611        33.969        .19646E-03   -1.5605    
  22  Normalizat    .80864        .15056        .43730E-01   -.99749    
  23  Prefactor     .94299        .15819        .45564E-01   -.94655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88788e-06
Minuit parameter uncertainties:
  1  6.11799
  2  5.30224e-05
  3  4.66747
  4  15.3117
  5  1.96491e-05
  6  42.8899
  7  3.17147
  8  7.07405e-05
  9  28.4969
  10  5.39875e-05
  11  15.8596
  12  5.73414e-06
  13  2.55075e-06
  14  7.86336
  15  35.2333
  16  3.08272e-06
  17  67.0033
  18  4.62254
  19  5.06752
  20  35.9102
  21  33.9694
  22  0.15064
  23  0.158264
Done.

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

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.115e+01  1.586e+01  0.000e+00  1.000e+06 ( 1.000e-14)
350        Index:  1.822e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  3.982e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  9.430e-01  1.583e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  8.086e-01  1.506e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.78
Ra Dec: 222.855 63.917
Photon Flux Upper Limit: 5.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/274195/likelihoodResults_697593601_697852801_4FGL_J1451.4+6355_daily_bin1768.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) = 5909.38306272
delta logL = 0.582903618637

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5909.23060573
delta logL = 0.735360613391

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5909.231     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      342 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10539        1.0650        .39720E-03** at limit **
   2  Index         3.8955        1.5004        .74993E-01    .49378E-04
   3  Normalizat    .72797        .34367E-01    .42664E-01   -.63111E-04
   4  Prefactor     1.0022        .37624E-01    .45012E-01   -.30628E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.105391
  Index      = 3.89549
  Normalizat = 0.727966
  Prefactor  = 1.00223
 **********
 **   18 **HESSE 
 **********

 FCN=   5909.231     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      375 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10539        2.6871        .17975E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.8955        2.8892        .27224E-02   -.22274    
   3  Normalizat    .72797        .13442        .23274E-03   -1.0280    
   4  Prefactor     1.0022        .14420        .22113E-03   -.92655    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.75194e-09
Minuit parameter uncertainties:
  1  1.06432
  2  3.09229
  3  0.134482
  4  0.144252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/274195': 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) = 5909.23059645
delta logL = 0.735369896706

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.054e-01  1.064e+00  0.000e+00  1.000e+06 ( 1.000e-14)
350        Index:  3.895e+00  3.092e+00  0.000e+00  1.000e+01 (-1.000e+00)
351        Scale:  3.982e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  1.002e+00  1.443e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  7.280e-01  1.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.42
Ra Dec: 222.855 63.917
Photon Index (Free Index): 3.90 +/- 3.09
Photon Flux (Free Index): 6.25e-08 +/- 4.75e-08
Energy Flux (Free Index): 9.52e-06 +/- 7.47e-06

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/274195/cmap_HighResolution_697593601_697852801_4FGL_J1451.4+6355_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', comment='SUCCESS', energy_flux2='9.52e-06', dlogl='7.35e-01', photon_flux2='6.25e-08', job_status='DONE', time_completed='2023-02-12 01:19:41.020218', photon_index_error2='3.09', photon_index2='3.90', ts='0.78', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='5.46e-08', energy_flux_error2='7.47e-06', EG='0.81', time_epoch_completed='1676193581.02', return_code='0', job_id='274195', GAL2='1.00', EG2='0.73', return_code2='102', photon_flux_error2='4.75e-08', ts2='2.42', photon_index='1.82' WHERE bin_id='1768' AND source_name='4FGL J1451.4+6355' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:19:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 274195: <4FGL_J1451.4+6355_daily_bin1768> in cluster <slac> Done

Job <4FGL_J1451.4+6355_daily_bin1768> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Feb 12 01:05:18 2023
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:06:07 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:06:07 2023
Terminated at Sun Feb 12 01:19:41 2023
Results reported at Sun Feb 12 01:19:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1451.4+6355_daily_bin1768 222.855 63.9172 697593601 697852801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1451.4+6355 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   679.25 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             305.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            863 sec.

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

