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


Performing analysis on: 4FGL_J1451.4+6355_daily_bin1778
RA = 222.855, Dec = 63.9172
tmin = 700185601, tmax = 700444801
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='967051', job_status='RUN', time_executed='2023-03-14 01:17:05.594926', time_epoch_executed='1678781825.59' WHERE source_name='4FGL J1451.4+6355' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/967051

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/967051/ft1_4FGL_J1451.4+6355_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/967051/ft2_4FGL_J1451.4+6355_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/967051/ft1_4FGL_J1451.4+6355_daily_bin1778.fits outfile=/scratch/kocevski/967051/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin1778.fits ra=222.855 dec=63.9172 rad=12.0 tmin=700185601.0 tmax=700444801.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.96
user 3.73
sys 0.20

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

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

Number of photons that the gtmktime cut: 610

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/967051/ft1_filtered_4FGL_J1451.4+6355_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/967051/ft2_4FGL_J1451.4+6355_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/967051/ltcube_700185601_700444801_4FGL_J1451.4+6355_daily_bin1778.fits outfile=/scratch/kocevski/967051/expmap_700185601_700444801_4FGL_J1451.4+6355_daily_bin1778.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/967051/ltcube_700185601_700444801_4FGL_J1451.4+6355_daily_bin1778.fits
.....................!
real 190.92
user 186.08
sys 4.39

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/967051/ft1_filtered_4FGL_J1451.4+6355_daily_bin1778.fits scfile=/scratch/kocevski/967051/ft2_4FGL_J1451.4+6355_daily_bin1778.fits outfile=/scratch/kocevski/967051/cmap_700185601_700444801_4FGL_J1451.4+6355_daily_bin1778.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/967051/ft1_filtered_4FGL_J1451.4+6355_daily_bin1778.fits scfile=/scratch/kocevski/967051/ft2_4FGL_J1451.4+6355_daily_bin1778.fits outfile=/scratch/kocevski/967051/cmap_HighResolution_700185601_700444801_4FGL_J1451.4+6355_daily_bin1778.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/967051/ft1_filtered_4FGL_J1451.4+6355_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/967051/ft2_4FGL_J1451.4+6355_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/967051/Model_4FGL_J1451.4+6355_daily_bin1778.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/967051/ft1_filtered_4FGL_J1451.4+6355_daily_bin1778.fits.....................!
real 57.01
user 55.67
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    49.759       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13293       1.0000          .0000       .10000E+07
     3 'Prefactor '    .51778E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .38708E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .72214E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.9014       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.0276       1.0000          .0000       .10000E+07
     8 'Prefactor '    34.900       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19381       1.0000          .0000       .10000E+07
    10 'Prefactor '    .29218E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .27814E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .27194E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .17954E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .27613E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .69672E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .90317E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .31846E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .24727E-04   1.0000          .0000       .10000E+07
    19 'norm      '    2.3437       1.0000          .0000       .10000E+07
    20 'Prefactor '    .89729E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .69674E-01   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0854       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .86014       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=   6653.364     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1837 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     49.515        10.145        .18210E-07   -.73427E-01
   2  Prefactor     .66613E-09    47.092        .27661E-06** at limit **
   3  Prefactor     .66658E-06    14.977        .11494E-06** at limit **
   4  Prefactor     .36637E-08    7.5227        .26258E-07** at limit **
   5  norm           .0000        1.0014       -.95541E-07** at limit **
   6  Prefactor     5.8980        5.2384        .27754E-07    .35445E-02
   7  Prefactor     4.0352        2.7225        .31404E-08   -.18235E-04
   8  Prefactor     36.036        69.883       -.15160E-06   -.11019E-01
   9  Prefactor     .23015E-06    55.059        .72282E-06** at limit **
  10  Prefactor     .11935E-06    4.5496       -.16708E-06** at limit **
  11  Prefactor     .11102E-09    3.8117       -.24625E-06** at limit **
  12  Prefactor     .10559E-05    4.3235       -.83525E-07** at limit **
  13  Prefactor     .44409E-09    5.4275        .11038E-06** at limit **
  14  Prefactor      .0000        2.3625       -.37549E-07** at limit **
  15  Prefactor     .41145E-06    11.331        .20214E-06** at limit **
  16  norm           .0000        .97461        .85258E-07** at limit **
  17  Prefactor     .99232E-06    7.2182       -.31813E-06** at limit **
  18  Prefactor      .0000        2.4471       -.18341E-06** at limit **
  19  norm          2.2324        5.4246       -.26124E-06    .13983E-03
  20  Prefactor     .26540E-06    8.7705        .29217E-06** at limit **
  21  Prefactor     .17943E-05    36.677       -.14691E-06** at limit **
  22  Normalizat    1.0860        .16925       -.23636E-05    .13731E-04
  23  Prefactor     .85971        .18234        .16151E-05    .88360E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 49.5152
  Prefactor  = 6.66134e-10
  Prefactor  = 6.66578e-07
  Prefactor  = 3.66374e-09
  norm       = 0
  Prefactor  = 5.89797
  Prefactor  = 4.03524
  Prefactor  = 36.0362
  Prefactor  = 2.30149e-07
  Prefactor  = 1.19349e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 1.05588e-06
  Prefactor  = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 4.11449e-07
  norm       = 0
  Prefactor  = 9.92317e-07
  Prefactor  = 0
  norm       = 2.23239
  Prefactor  = 2.65399e-07
  Prefactor  = 1.79429e-06
  Normalizat = 1.086
  Prefactor  = 0.859714
 **********
 **   18 **HESSE 
 **********

 FCN=   6653.364     FROM HESSE     STATUS=OK           418 CALLS     2255 TOTAL
                     EDM=   .60E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     49.515        59.165        .14177E-03   -1.5567    
   2  Prefactor     .66613E-09    46.141        .13118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .66658E-06    2.9250        .48606E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .36637E-08    7.5389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        1.0002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.8980        22.596        .41314E-03   -1.5659    
   7  Prefactor     4.0352        2.7326        .50223E-03   -1.5668    
   8  Prefactor     36.036        70.816        .16929E-03   -1.5588    
   9  Prefactor     .23015E-06    55.039        .11887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11935E-06    14.530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    3.8100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10559E-05    14.679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44409E-09    5.4211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .41145E-06    18.601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .96965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .99232E-06    14.213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.4450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.2324        5.4536        .66940E-03   -1.5678    
  20  Prefactor     .26540E-06    17.873        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .17943E-05    38.219        .17840E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0860        .14714        .38628E-01   -.90202    
  23  Prefactor     .85971        .15721        .44495E-01   -.97563    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0493e-07
Minuit parameter uncertainties:
  1  59.1662
  2  0.000350342
  3  0.0027927
  4  0.000333166
  5  6.48643e-07
  6  22.5959
  7  2.73259
  8  70.8176
  9  0.00711858
  10  0.00263385
  11  3.76812e-05
  12  0.00787376
  13  9.59422e-05
  14  1.25918e-05
  15  0.0055328
  16  4.70767e-07
  17  0.00751118
  18  1.26821e-05
  19  5.45363
  20  0.00435613
  21  0.0165622
  22  0.147196
  23  0.157294
Done.

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

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.110e-10  3.768e-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.597e-01  1.573e-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.086e+00  1.472e-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.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/967051/likelihoodResults_700185601_700444801_4FGL_J1451.4+6355_daily_bin1778.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6653.4888424
delta logL = -0.125016536868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6653.36383265
delta logL = -6.7913751991e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22637E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.4064       1.0000          .0000       10.000    
     3 'Normalizat'    1.0866       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85923       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=   6653.364     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      264 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-09    .37698        .42118E-03** at limit **
   2  Index         .64934        5.2524        .50000       -.25011E-09
   3  Normalizat    1.0860        .10704E-02    .38574E-01    .17202E-03
   4  Prefactor     .85971        .11566E-02    .44483E-01    .13266E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-10
  Index      = 0.649343
  Normalizat = 1.08601
  Prefactor  = 0.859712
 **********
 **   18 **HESSE 
 **********

 FCN=   6653.364     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      295 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-09    1.8833        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64934        5.1010        .50000       -1.0555    
   3  Normalizat    1.0860        .23921E-02    .20676E-03   -.90202    
   4  Prefactor     .85971        .25840E-02    .24684E-03   -.97563    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.54456e-10
Minuit parameter uncertainties:
  1  6.39876e-05
  2  48243.3
  3  0.00239214
  4  0.00258403
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/967051': 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) = 6653.36382586
delta logL = -9.18589648791e-11

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  5.551e-10  6.399e-05  0.000e+00  1.000e+06 ( 1.000e-14)
350        Index:  6.493e-01  4.824e+04  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.597e-01  2.584e-03  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.086e+00  2.392e-03  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/967051/cmap_HighResolution_700185601_700444801_4FGL_J1451.4+6355_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.62e-03', job_status='DONE', photon_flux_upper_limit='2.19e-08', time_completed='2023-03-14 01:28:27.881146', job_id='967051', GAL2='0.86', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1678782507.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='-9.19e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1778' AND source_name='4FGL J1451.4+6355' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 01:28:27 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 967051: <4FGL_J1451.4+6355_daily_bin1778> in cluster <slac> Done

Job <4FGL_J1451.4+6355_daily_bin1778> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Mar 14 01:15:23 2023
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 01:15:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 01:15:24 2023
Terminated at Tue Mar 14 01:28:28 2023
Results reported at Tue Mar 14 01:28:28 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1451.4+6355_daily_bin1778 222.855 63.9172 700185601 700444801 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 :                                   684.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             333.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            785 sec.

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

