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


Performing analysis on: 4FGL_J1451.4+6355_daily_bin1776
RA = 222.855, Dec = 63.9172
tmin = 699667201, tmax = 699926401
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='835812', job_status='RUN', time_executed='2023-03-08 00:48:16.315105', time_epoch_executed='1678265296.32' WHERE source_name='4FGL J1451.4+6355' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/835812

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/835812/ft1_4FGL_J1451.4+6355_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/835812/ft2_4FGL_J1451.4+6355_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/835812/ft1_4FGL_J1451.4+6355_daily_bin1776.fits outfile=/scratch/kocevski/835812/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin1776.fits ra=222.855 dec=63.9172 rad=12.0 tmin=699667201.0 tmax=699926401.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.90
user 3.68
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/835812/ft2_4FGL_J1451.4+6355_daily_bin1776.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/835812/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/835812/ft1_filtered_4FGL_J1451.4+6355_daily_bin1776.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 671

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/835812/ft1_filtered_4FGL_J1451.4+6355_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/835812/ft2_4FGL_J1451.4+6355_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/835812/ltcube_699667201_699926401_4FGL_J1451.4+6355_daily_bin1776.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/835812/ft2_4FGL_J1451.4+6355_daily_bin1776.fits
.....................!
real 12.32
user 11.95
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/835812/ft1_filtered_4FGL_J1451.4+6355_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/835812/ft2_4FGL_J1451.4+6355_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/835812/ltcube_699667201_699926401_4FGL_J1451.4+6355_daily_bin1776.fits outfile=/scratch/kocevski/835812/expmap_699667201_699926401_4FGL_J1451.4+6355_daily_bin1776.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/835812/ltcube_699667201_699926401_4FGL_J1451.4+6355_daily_bin1776.fits
.....................!
real 190.08
user 185.17
sys 4.55

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/835812/ft1_filtered_4FGL_J1451.4+6355_daily_bin1776.fits scfile=/scratch/kocevski/835812/ft2_4FGL_J1451.4+6355_daily_bin1776.fits outfile=/scratch/kocevski/835812/cmap_699667201_699926401_4FGL_J1451.4+6355_daily_bin1776.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/835812/ft1_filtered_4FGL_J1451.4+6355_daily_bin1776.fits scfile=/scratch/kocevski/835812/ft2_4FGL_J1451.4+6355_daily_bin1776.fits outfile=/scratch/kocevski/835812/cmap_HighResolution_699667201_699926401_4FGL_J1451.4+6355_daily_bin1776.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.54
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/835812/ft1_filtered_4FGL_J1451.4+6355_daily_bin1776.fits', '/scratch/kocevski/835812/ft2_4FGL_J1451.4+6355_daily_bin1776.fits', expMap='/scratch/kocevski/835812/expmap_699667201_699926401_4FGL_J1451.4+6355_daily_bin1776.fits', expCube='/scratch/kocevski/835812/ltcube_699667201_699926401_4FGL_J1451.4+6355_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/835812/Model_4FGL_J1451.4+6355_daily_bin1776.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/835812/ft1_filtered_4FGL_J1451.4+6355_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/835812/ft2_4FGL_J1451.4+6355_daily_bin1776.fits
Exposure map: /scratch/kocevski/835812/expmap_699667201_699926401_4FGL_J1451.4+6355_daily_bin1776.fits
Exposure cube: /scratch/kocevski/835812/ltcube_699667201_699926401_4FGL_J1451.4+6355_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/835812/Model_4FGL_J1451.4+6355_daily_bin1776.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) = 7321.72284704

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.740       1.0000          .0000       .10000E+07
     2 'Prefactor '    20.426       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30598E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1792       1.0000          .0000       .10000E+07
     5 'norm      '    .15192E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    25.880       1.0000          .0000       .10000E+07
     7 'Prefactor '    .77009       1.0000          .0000       .10000E+07
     8 'Prefactor '    .71705E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.243       1.0000          .0000       .10000E+07
    10 'Prefactor '    24.689       1.0000          .0000       .10000E+07
    11 'Prefactor '    .67123E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    35.040       1.0000          .0000       .10000E+07
    13 'Prefactor '    .63479E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .92148E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .23451E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .84256       1.0000          .0000       .10000E+07
    17 'Prefactor '    19.979       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.4227       1.0000          .0000       .10000E+07
    19 'norm      '    2.5796       1.0000          .0000       .10000E+07
    20 'Prefactor '    .73384       1.0000          .0000       .10000E+07
    21 'Prefactor '    .24641E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.2057       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .80182       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=   7321.711     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1833 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.748        4.0919       -.19731E-08    .19966E-02
   2  Prefactor     20.606        2.7056       -.42464E-08    .12327E-01
   3  Prefactor     .55511E-10    4.6360        .10318E-06** at limit **
   4  Prefactor     7.1388        12.721        .26334E-07   -.29413E-02
   5  norm           .0000        4.6266       -.38772E-07** at limit **
   6  Prefactor     26.373        39.797        .25922E-06    .13987E-01
   7  Prefactor     .77059        2.0350        .17604E-07    .39790E-03
   8  Prefactor     .94369E-09    18.965       -.15736E-06** at limit **
   9  Prefactor     17.241        1.9256       -.10722E-07   -.12405E-01
  10  Prefactor     24.524        10.602        .41891E-07    .13807    
  11  Prefactor     .55511E-10    6.1996       -.15939E-06** at limit **
  12  Prefactor     35.210        1.2276       -.99470E-08    .25902E-01
  13  Prefactor      .0000        3.3251        .35893E-07** at limit **
  14  Prefactor      .0000        3.7229        .86302E-07** at limit **
  15  Prefactor     .13323E-07    28.837        .48286E-06** at limit **
  16  norm          .84487        1.2620        .38072E-08   -.18245E-03
  17  Prefactor     19.446        33.840       -.68631E-06   -.50853E-01
  18  Prefactor     8.4685        6.1500        .34607E-07    .59579E-03
  19  norm          2.5781        4.9248       -.35411E-07   -.75589E-03
  20  Prefactor     .40796        300.73       -.27862E-05    .15555E-01
  21  Prefactor      .0000        12.871       -.11967E-07** at limit **
  22  Normalizat    1.2057        .17926       -.83218E-06   -.31937E-04
  23  Prefactor     .80182        .19224        .11340E-05    .22577E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.7478
  Prefactor  = 20.606
  Prefactor  = 5.55112e-11
  Prefactor  = 7.13879
  norm       = 0
  Prefactor  = 26.3726
  Prefactor  = 0.770592
  Prefactor  = 9.4369e-10
  Prefactor  = 17.2413
  Prefactor  = 24.5244
  Prefactor  = 5.55112e-11
  Prefactor  = 35.2104
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.33227e-08
  norm       = 0.844873
  Prefactor  = 19.4462
  Prefactor  = 8.46852
  norm       = 2.57811
  Prefactor  = 0.407956
  Prefactor  = 0
  Normalizat = 1.2057
  Prefactor  = 0.801817
 **********
 **   18 **HESSE 
 **********

 FCN=   7321.711     FROM HESSE     STATUS=OK           418 CALLS     2251 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.748        46.047        .25218E-03   -1.5629    
   2  Prefactor     20.606        25.409        .22133E-03   -1.5617    
   3  Prefactor     .55511E-10    4.5924        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.1388        13.553        .37413E-03   -1.5655    
   5  norm           .0000        4.5782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.373        43.465        .19661E-03   -1.5605    
   7  Prefactor     .77059        2.1757        .55192E-03   -1.5690    
   8  Prefactor     .94369E-09    18.995        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.241        19.385        .24092E-03   -1.5625    
  10  Prefactor     24.524        28.469        .20130E-03   -1.5609    
  11  Prefactor     .55511E-10    6.2146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     35.210        26.066        .16895E-03   -1.5589    
  13  Prefactor      .0000        3.3257        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        3.7172        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13323E-07    29.082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .84487        1.2801        .49815E-03   -1.5690    
  17  Prefactor     19.446        56.125        .22380E-03   -1.5620    
  18  Prefactor     8.4685        6.1598        .34518E-03   -1.5650    
  19  norm          2.5781        5.0189        .63516E-03   -1.5676    
  20  Prefactor     .40796        511.66        .58003E-03   -1.5695    
  21  Prefactor      .0000        12.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2057        .15568        .34753E-01   -.86427    
  23  Prefactor     .80182        .16635        .43741E-01   -.99661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7172e-06
Minuit parameter uncertainties:
  1  46.0476
  2  25.409
  3  2.64288e-05
  4  13.5531
  5  8.37886e-06
  6  43.4652
  7  2.17567
  8  0.000268611
  9  19.3852
  10  28.4692
  11  4.29149e-05
  12  26.0662
  13  8.16988e-06
  14  1.98017e-05
  15  0.00124415
  16  1.28014
  17  56.1269
  18  6.15978
  19  5.01893
  20  28.8978
  21  2.2722e-05
  22  0.155735
  23  0.166457
Done.

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

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  5.551e-11  4.291e-05  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:  8.018e-01  1.665e-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:  1.206e+00  1.557e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/835812/likelihoodResults_699667201_699926401_4FGL_J1451.4+6355_daily_bin1776.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) = 7321.78795224
delta logL = -0.0773102595222

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7321.71064249
delta logL = -5.10331119585e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60539E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .91852       1.0000          .0000       10.000    
     3 'Normalizat'    1.2057       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80183       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7321.711     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      185 TOTAL
                     EDM=   .14E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.2968        .42118E-03** at limit **
   2  Index         1.6179        1.6098        .62094E-05     .0000    
   3  Normalizat    1.2057        1.1044        .91495E-05   -.56118E-05
   4  Prefactor     .80182        1.1504       -.15724E-05   -.67063E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.61791
  Normalizat = 1.2057
  Prefactor  = 0.801816
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7321.711     FROM HESSE     STATUS=FAILED         9 CALLS      194 TOTAL
                     EDM=   .14E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.2968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25054        1.7076        .62094E-05   -.74289    
   3  Normalizat    1.2057        1.1044        .91495E-05   -.86427    
   4  Prefactor     .80182        1.1504       -.15724E-05   -.99661    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.44593e-13
Minuit parameter uncertainties:
  1  6.38846e-06
  2  1.66602
  3  1.12696
  4  1.1879
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/835812': 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): 101
logL (Free Index) = 7321.71064198
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  6.388e-06  0.000e+00  1.000e+06 ( 1.000e-14)
350        Index:  1.618e+00  1.666e+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:  8.018e-01  1.188e+00  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:  1.206e+00  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 222.855 63.917

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/835812/cmap_HighResolution_699667201_699926401_4FGL_J1451.4+6355_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.15e-03', job_status='DONE', photon_flux_upper_limit='2.91e-08', time_completed='2023-03-08 01:00:50.525524', job_id='835812', GAL2='0.80', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1678266050.53', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1776' AND source_name='4FGL J1451.4+6355' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:00:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 835812: <4FGL_J1451.4+6355_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1451.4+6355_daily_bin1776> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Mar  8 00:45:32 2023
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:45:54 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:45:54 2023
Terminated at Wed Mar  8 01:00:51 2023
Results reported at Wed Mar  8 01:00:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1451.4+6355_daily_bin1776 222.855 63.9172 699667201 699926401 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 :                                   756.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             323.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            919 sec.

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

