/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 14 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1451.4+6355_daily_bin1398
RA = 222.855, Dec = 63.9172
tmin = 601689601, tmax = 601948801
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='824686', job_status='RUN', time_executed='2021-09-10 11:33:33.208082', time_epoch_executed='1631298813.21' WHERE source_name='4FGL J1451.4+6355' and cadence='daily' and bin_id='1398'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/824686

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/824686/ft1_4FGL_J1451.4+6355_daily_bin1398.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/824686/ft2_4FGL_J1451.4+6355_daily_bin1398.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/824686/ft1_4FGL_J1451.4+6355_daily_bin1398.fits outfile=/scratch/kocevski/824686/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin1398.fits ra=222.855 dec=63.9172 rad=12.0 tmin=601689601.0 tmax=601948801.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.48
user 3.34
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/824686/ft1_filtered_4FGL_J1451.4+6355_daily_bin1398.fits" evtable="EVENTS" scfile=/scratch/kocevski/824686/ft2_4FGL_J1451.4+6355_daily_bin1398.fits sctable="SC_DATA" outfile=/scratch/kocevski/824686/ltcube_601689601_601948801_4FGL_J1451.4+6355_daily_bin1398.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/824686/ft2_4FGL_J1451.4+6355_daily_bin1398.fits
.....................!
real 12.36
user 11.25
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/824686/ft1_filtered_4FGL_J1451.4+6355_daily_bin1398.fits evtable="EVENTS" scfile=/scratch/kocevski/824686/ft2_4FGL_J1451.4+6355_daily_bin1398.fits sctable="SC_DATA" expcube=/scratch/kocevski/824686/ltcube_601689601_601948801_4FGL_J1451.4+6355_daily_bin1398.fits outfile=/scratch/kocevski/824686/expmap_601689601_601948801_4FGL_J1451.4+6355_daily_bin1398.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/824686/ltcube_601689601_601948801_4FGL_J1451.4+6355_daily_bin1398.fits
.....................!
real 197.24
user 186.17
sys 4.36

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/824686/ft1_filtered_4FGL_J1451.4+6355_daily_bin1398.fits scfile=/scratch/kocevski/824686/ft2_4FGL_J1451.4+6355_daily_bin1398.fits outfile=/scratch/kocevski/824686/cmap_601689601_601948801_4FGL_J1451.4+6355_daily_bin1398.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.83
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/824686/ft1_filtered_4FGL_J1451.4+6355_daily_bin1398.fits scfile=/scratch/kocevski/824686/ft2_4FGL_J1451.4+6355_daily_bin1398.fits outfile=/scratch/kocevski/824686/cmap_HighResolution_601689601_601948801_4FGL_J1451.4+6355_daily_bin1398.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.64
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/824686/ft1_filtered_4FGL_J1451.4+6355_daily_bin1398.fits', '/scratch/kocevski/824686/ft2_4FGL_J1451.4+6355_daily_bin1398.fits', expMap='/scratch/kocevski/824686/expmap_601689601_601948801_4FGL_J1451.4+6355_daily_bin1398.fits', expCube='/scratch/kocevski/824686/ltcube_601689601_601948801_4FGL_J1451.4+6355_daily_bin1398.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/824686/Model_4FGL_J1451.4+6355_daily_bin1398.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  1.000e-04  1.000e+04 ( 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/824686/ft1_filtered_4FGL_J1451.4+6355_daily_bin1398.fits
Spacecraft file(s): /scratch/kocevski/824686/ft2_4FGL_J1451.4+6355_daily_bin1398.fits
Exposure map: /scratch/kocevski/824686/expmap_601689601_601948801_4FGL_J1451.4+6355_daily_bin1398.fits
Exposure cube: /scratch/kocevski/824686/ltcube_601689601_601948801_4FGL_J1451.4+6355_daily_bin1398.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/824686/Model_4FGL_J1451.4+6355_daily_bin1398.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) = 6135.16892825

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.988       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .51039E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.1253       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .50772E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.3670       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .15275E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    56.792       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.6842       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.920       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .49990       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.380       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11449E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    35.826       1.0000         .10000E-03   10000.    
    23 'norm      '    .94527       1.0000         .10000E-03   10000.    
    24 'Prefactor '    40.688       1.0000         .10000E-03   10000.    
    25 'Prefactor '    7.3791       1.0000         .10000E-03   10000.    
    26 'norm      '    .11331E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    117.15       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.2061       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .67286       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6135.154     FROM MIGRAD    STATUS=CONVERGED    739 CALLS     3913 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.184       -.28290E-06** at limit **
   2  Prefactor     .10000E-03    8.8410       -.13696E-06** at limit **
   3  Prefactor     .10000E-03    3.3329       -.59351E-08** at limit **
   4  Prefactor     17.990        15.779        .15471E-06   -.16250E-04
   5  Prefactor     .10000E-03    18.347        .11558E-05** at limit **
   6  Prefactor     .10000E-03    6.2624        .23838E-06** at limit **
   7  Prefactor     .10000E-03    4.5157       -.10076E-06** at limit **
   8  norm          .10000E-03    25.228        .29753E-06** at limit **
   9  norm          2.1250        3.4367       -.50753E-06    .21888E-03
  10  Prefactor     .10000E-03    35.953       -.36352E-05** at limit **
  11  Prefactor     .10027E-03    405.92        .32953E-04** at limit **
  12  Prefactor     1.3667        1.7588       -.80030E-07    .54834E-05
  13  Prefactor     .10005E-03    80.994       -.37867E-04** at limit **
  14  Prefactor     56.801        60.267       -.11095E-05   -.53680E-04
  15  Prefactor     7.6653        25.573       -.12014E-05    .15205E-03
  16  Prefactor     .10000E-03    17.560        .56628E-06** at limit **
  17  Prefactor     16.920        12.246        .26992E-06   -.17327E-03
  18  Prefactor     .10000E-03    12.981       -.22381E-05** at limit **
  19  Prefactor     .52758        15.887        .88498E-05    .17198E-03
  20  Prefactor     16.374        12.075       -.58408E-06    .56531E-04
  21  Prefactor     .10000E-03    11.008        .11988E-05** at limit **
  22  Prefactor     35.824        31.102        .44858E-06   -.10002E-03
  23  norm          .94352        1.2914        .18267E-07    .78884E-05
  24  Prefactor     40.684        82.858        .10732E-05   -.67231E-06
  25  Prefactor     7.3783        9.0986       -.27611E-05    .56895E-03
  26  norm          .10002E-03    10.812        .45342E-05** at limit **
  27  Prefactor     117.16        51.321       -.21457E-06   -.18247E-03
  28  Prefactor     .10000E-03    24.224        .71325E-06** at limit **
  29  Normalizat    1.2061        .16907       -.28759E-06    .17164E-03
  30  Prefactor     .67266        .17036       -.18774E-06   -.22513E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.9896
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.12497
  Prefactor  = 0.000100003
  Prefactor  = 0.000100268
  Prefactor  = 1.36673
  Prefactor  = 0.000100051
  Prefactor  = 56.8007
  Prefactor  = 7.66528
  Prefactor  = 0.0001
  Prefactor  = 16.9196
  Prefactor  = 0.000100001
  Prefactor  = 0.527579
  Prefactor  = 16.3739
  Prefactor  = 0.0001
  Prefactor  = 35.8238
  norm       = 0.943519
  Prefactor  = 40.6842
  Prefactor  = 7.37829
  norm       = 0.000100018
  Prefactor  = 117.156
  Prefactor  = 0.0001
  Normalizat = 1.20611
  Prefactor  = 0.672658
 **********
 **   18 **HESSE 
 **********

 FCN=   6135.154     FROM HESSE     STATUS=OK           582 CALLS     4495 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.8422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.4317        .27741E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.990        15.730        .94434E-04   -1.4859    
   5  Prefactor     .10000E-03    18.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    23.335        .37034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.5514        .16249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    25.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.1250        3.4165        .17754E-03   -1.5416    
  10  Prefactor     .10000E-03    36.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10027E-03    418.80        .21150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3667        1.7220        .10914E-03   -1.5474    
  13  Prefactor     .10005E-03    85.481        .52595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     56.801        60.283        .53232E-04   -1.4199    
  15  Prefactor     7.6653        24.984        .14466E-03   -1.5154    
  16  Prefactor     .10000E-03    17.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.920        12.246        .48685E-03   -1.4885    
  18  Prefactor     .10000E-03    13.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .52758        73.202        .43812E-02   -1.5563    
  20  Prefactor     16.374        12.083        .98961E-04   -1.4898    
  21  Prefactor     .10000E-03    11.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     35.824        31.047        .66955E-04   -1.4510    
  23  norm          .94352        1.2909        .51883E-04   -1.5514    
  24  Prefactor     40.684        82.850        .62842E-04   -1.4431    
  25  Prefactor     7.3783        9.2312        .73824E-03   -1.5165    
  26  norm          .10002E-03    11.632        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     117.16        51.354        .37175E-04   -1.3539    
  28  Prefactor     .10000E-03    24.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.2061        .19538        .20413E-03   -.86414    
  30  Prefactor     .67266        .19773        .28161E-03   -1.0461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66418e-09
Minuit parameter uncertainties:
  1  3.68045e-05
  2  1.23355e-05
  3  1.24757e-05
  4  15.7339
  5  0.000177524
  6  0.000120725
  7  1.26725e-05
  8  4.9689e-05
  9  3.41678
  10  0.000607025
  11  0.0213452
  12  1.72209
  13  0.00416396
  14  60.3478
  15  25.0184
  16  7.29022e-05
  17  12.2481
  18  0.000216849
  19  12.4434
  20  12.0847
  21  9.21484e-05
  22  31.0607
  23  1.29095
  24  83.0855
  25  9.23295
  26  0.000906525
  27  51.3732
  28  0.000112222
  29  0.195496
  30  0.197938
Done.

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

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.692e+01  1.225e+01  1.000e-04  1.000e+04 ( 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:  6.727e-01  1.979e-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.955e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.41
Ra Dec: 222.855 63.917
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 1.69e-08 +/- 1.22e-08
Energy Flux (Fixed Index): 1.89e-05 +/- 1.37e-05

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) = 6134.54208511
delta logL = 0.612349337861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6134.42726454
delta logL = 0.72716990793

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.658       1.0000         .10000E-03   10000.    
     2 'Index     '    1.2631       1.0000          .0000       10.000    
     3 'Normalizat'    1.2124       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67113       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=   6134.427     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      276 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.695        748.05        .19398E-02   -.12841E-04
   2  Index         1.2641        5.2663        .23309        .24399E-04
   3  Normalizat    1.2127        .13145        .34594E-01   -.12691E-04
   4  Prefactor     .67067        .10267        .63744E-01    .77143E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.6949
  Index      = 1.26413
  Normalizat = 1.2127
  Prefactor  = 0.670673
 **********
 **   18 **HESSE 
 **********

 FCN=   6134.427     FROM HESSE     STATUS=OK            33 CALLS      309 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.695        19.872        .77590E-04   -1.4674    
   2  Index         1.2641        .44908        .84355E-02   -.84380    
   3  Normalizat    1.2127        .18266        .20363E-03   -.86211    
   4  Prefactor     .67067        .19425        .28201E-03   -1.0469    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20382e-10
Minuit parameter uncertainties:
  1  19.8767
  2  0.450456
  3  0.182761
  4  0.19445
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/824686': 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) = 6134.42725723
delta logL = 0.727177223232

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  2.669e+01  1.988e+01  1.000e-04  1.000e+04 ( 1.000e-14)
350        Index:  1.264e+00  4.505e-01  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:  6.707e-01  1.944e-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.213e+00  1.828e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.86
Ra Dec: 222.855 63.917
Photon Index (Free Index): 1.26 +/- 0.45
Photon Flux (Free Index): 8.93e-09 +/- 8.00e-09
Energy Flux (Free Index): 6.13e-05 +/- 7.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/824686/cmap_HighResolution_601689601_601948801_4FGL_J1451.4+6355_daily_bin1398.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.69e-08', energy_flux2='6.13e-05', photon_flux_error='1.22e-08', dlogl='7.27e-01', energy_flux='1.89e-05', photon_flux2='8.93e-09', job_status='DONE', time_completed='2021-09-10 11:47:55.154900', photon_index_error2='0.45', photon_index2='1.26', ts='12.41', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='7.20e-05', EG='1.21', time_epoch_completed='1631299675.15', return_code='0', job_id='824686', GAL2='0.67', EG2='1.21', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='8.00e-09', ts2='13.86', photon_index='1.82' WHERE bin_id='1398' AND source_name='4FGL J1451.4+6355' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:47:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 824686: <4FGL_J1451.4+6355_daily_bin1398> in cluster <slac> Done

Job <4FGL_J1451.4+6355_daily_bin1398> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 11:31:30 2021
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:31:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 11:31:30 2021
Terminated at Fri Sep 10 11:47:56 2021
Results reported at Fri Sep 10 11:47:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1451.4+6355_daily_bin1398 222.855 63.9172 601689601 601948801 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 :                                   846.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             299.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            986 sec.

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

