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


Performing analysis on: 4FGL_J1451.4+6355_daily_bin677
RA = 222.855, Dec = 63.9172
tmin = 414806401, tmax = 415065601
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='819835', job_status='RUN', time_executed='2021-09-10 11:17:05.095160', time_epoch_executed='1631297825.1' WHERE source_name='4FGL J1451.4+6355' and cadence='daily' and bin_id='677'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/819835

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/819835/ft1_4FGL_J1451.4+6355_daily_bin677.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/819835/ft2_4FGL_J1451.4+6355_daily_bin677.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/819835/ft1_4FGL_J1451.4+6355_daily_bin677.fits outfile=/scratch/kocevski/819835/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin677.fits ra=222.855 dec=63.9172 rad=12.0 tmin=414806401.0 tmax=415065601.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 6.06
user 5.78
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/819835/ft2_4FGL_J1451.4+6355_daily_bin677.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/819835/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin677.fits evtable="EVENTS" outfile="/scratch/kocevski/819835/ft1_filtered_4FGL_J1451.4+6355_daily_bin677.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.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/819835/ft1_filtered_4FGL_J1451.4+6355_daily_bin677.fits" evtable="EVENTS" scfile=/scratch/kocevski/819835/ft2_4FGL_J1451.4+6355_daily_bin677.fits sctable="SC_DATA" outfile=/scratch/kocevski/819835/ltcube_414806401_415065601_4FGL_J1451.4+6355_daily_bin677.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/819835/ft2_4FGL_J1451.4+6355_daily_bin677.fits
.....................!
real 11.73
user 11.37
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/819835/ft1_filtered_4FGL_J1451.4+6355_daily_bin677.fits evtable="EVENTS" scfile=/scratch/kocevski/819835/ft2_4FGL_J1451.4+6355_daily_bin677.fits sctable="SC_DATA" expcube=/scratch/kocevski/819835/ltcube_414806401_415065601_4FGL_J1451.4+6355_daily_bin677.fits outfile=/scratch/kocevski/819835/expmap_414806401_415065601_4FGL_J1451.4+6355_daily_bin677.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/819835/ltcube_414806401_415065601_4FGL_J1451.4+6355_daily_bin677.fits
.....................!
real 189.80
user 184.82
sys 4.57

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/819835/ft1_filtered_4FGL_J1451.4+6355_daily_bin677.fits scfile=/scratch/kocevski/819835/ft2_4FGL_J1451.4+6355_daily_bin677.fits outfile=/scratch/kocevski/819835/cmap_414806401_415065601_4FGL_J1451.4+6355_daily_bin677.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/819835/ft1_filtered_4FGL_J1451.4+6355_daily_bin677.fits scfile=/scratch/kocevski/819835/ft2_4FGL_J1451.4+6355_daily_bin677.fits outfile=/scratch/kocevski/819835/cmap_HighResolution_414806401_415065601_4FGL_J1451.4+6355_daily_bin677.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.231       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .27287E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .12811E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .24961E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    75.036       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.245       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    105.61       1.0000         .10000E-03   10000.    
    17 'Prefactor '    118.80       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8387       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    75.372       1.0000         .10000E-03   10000.    
    23 'norm      '    6.8036       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    16.157       1.0000         .10000E-03   10000.    
    27 'Prefactor '    23.120       1.0000         .10000E-03   10000.    
    28 'Prefactor '    65.987       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .70946       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.2023       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=   2640.436     FROM MIGRAD    STATUS=CONVERGED    790 CALLS     3998 TOTAL
                     EDM=   .76E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.230        48.835        .33026E-06    .13100E-04
   2  Prefactor     .10000E-03    35.520       -.22932E-06** at limit **
   3  Prefactor     .10000E-03    31.414       -.29786E-05** at limit **
   4  Prefactor     .10000E-03    14.641       -.14238E-06** at limit **
   5  Prefactor     .10000E-03    42.071       -.11483E-06** at limit **
   6  Prefactor     .10000E-03    10.954       -.15658E-06** at limit **
   7  Prefactor     .10000E-03    9.0167       -.14732E-06** at limit **
   8  norm          .10000E-03    78.072       -.63230E-08** at limit **
   9  norm          .10000E-03    374.45        .57471E-05** at limit **
  10  Prefactor     .10000E-03    15.929       -.15645E-07** at limit **
  11  Prefactor     .10000E-03    755.75       -.86294E-08** at limit **
  12  Prefactor     .10000E-03    6.3564        .18760E-05** at limit **
  13  Prefactor     74.840        117.27       -.37772E-06   -.88214E-05
  14  Prefactor     25.234        57.430        .52567E-06    .56742E-06
  15  Prefactor     .10000E-03    58.229       -.82317E-06** at limit **
  16  Prefactor     106.06        180.81        .15383E-05   -.13445E-06
  17  Prefactor     118.81        72.552       -.17865E-06    .97125E-05
  18  Prefactor     .10000E-03    35.130       -.21168E-06** at limit **
  19  Prefactor     1.8349        74.674        .13161E-05    .13369E-04
  20  Prefactor     .10000E-03    12.326        .43302E-06** at limit **
  21  Prefactor     .10000E-03    10.943       -.13707E-08** at limit **
  22  Prefactor     75.366        72.460       -.22468E-07    .10481E-05
  23  norm          6.8032        6.2098        .10006E-06    .30929E-04
  24  Prefactor     .10000E-03    62.974        .15789E-06** at limit **
  25  Prefactor     .10000E-03    6.9397        .15203E-06** at limit **
  26  norm          16.159        15.856        .11397E-06    .22030E-04
  27  Prefactor     22.997        85.958       -.21357E-06    .92888E-05
  28  Prefactor     65.984        74.225        .45786E-06   -.25287E-06
  29  Normalizat    .70954        .27168        .59313E-05    .35108E-04
  30  Prefactor     1.2025        .29968       -.45873E-05    .11644E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.2304
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 74.8404
  Prefactor  = 25.2338
  Prefactor  = 0.0001
  Prefactor  = 106.058
  Prefactor  = 118.81
  Prefactor  = 0.0001
  Prefactor  = 1.83492
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 75.3661
  norm       = 6.8032
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.1595
  Prefactor  = 22.9966
  Prefactor  = 65.9838
  Normalizat = 0.70954
  Prefactor  = 1.20246
 **********
 **   18 **HESSE 
 **********

 FCN=   2640.436     FROM HESSE     STATUS=OK           586 CALLS     4584 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.230        48.812        .84952E-04   -1.4765    
   2  Prefactor     .10000E-03    35.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    31.153        .17306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    42.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.156        .16574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.2159        .15116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    78.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    11.632        .42259E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    755.75        .21466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.8067        .25743E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     74.840        117.48        .23176E-03   -1.3976    
  14  Prefactor     25.234        57.446        .79728E-04   -1.4703    
  15  Prefactor     .10000E-03    58.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     106.06        180.93        .19565E-03   -1.3645    
  17  Prefactor     118.81        72.580        .36919E-04   -1.3524    
  18  Prefactor     .10000E-03    35.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.8349        74.914        .15382E-02   -1.5437    
  20  Prefactor     .10000E-03    12.375        .17650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.953        .16605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     75.366        72.463        .46250E-04   -1.3970    
  23  norm          6.8032        6.2064        .11840E-03   -1.5186    
  24  Prefactor     .10000E-03    62.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    6.9436        .13222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          16.159        15.843        .99643E-04   -1.4904    
  27  Prefactor     22.997        86.034        .83306E-04   -1.4749    
  28  Prefactor     65.984        74.268        .49406E-04   -1.4082    
  29  Normalizat    .70954        .27820        .25707E-03   -1.0352    
  30  Prefactor     1.2025        .30806        .22362E-03   -.86256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50035e-10
Minuit parameter uncertainties:
  1  48.8997
  2  1.5557e-05
  3  5.05688e-05
  4  2.4443e-05
  5  2.87028e-05
  6  5.98415e-06
  7  2.83026e-05
  8  3.02306e-06
  9  4.03757e-06
  10  1.58022e-06
  11  6.5136e-06
  12  0.000110688
  13  117.849
  14  57.5721
  15  0.000167918
  16  181.888
  17  72.6349
  18  3.02677e-05
  19  23.4796
  20  4.88246e-05
  21  2.70439e-06
  22  72.5479
  23  6.20696
  24  4.08452e-05
  25  9.00406e-06
  26  15.8472
  27  86.5033
  28  74.3724
  29  0.278759
  30  0.308524
Done.

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

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.188e+02  7.263e+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:  1.202e+00  3.085e-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.095e-01  2.788e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.57
Ra Dec: 222.855 63.917
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 1.19e-07 +/- 7.26e-08
Energy Flux (Fixed Index): 1.33e-04 +/- 8.12e-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) = 2637.85666588
delta logL = 2.57954853928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2637.85401713
delta logL = 2.58219728654

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.518       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9215       1.0000          .0000       10.000    
     3 'Normalizat'    .59771       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2696       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2637.854     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      290 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.513        30.841        .73470E-04    .25114E-03
   2  Index         2.9216        .90177        .15532E-02    .39585E-04
   3  Normalizat    .59768        .28389        .27707E-03   -.37507E-03
   4  Prefactor     1.2696        .30902        .21756E-03   -.63579E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.5135
  Index      = 2.92164
  Normalizat = 0.597682
  Prefactor  = 1.26959
 **********
 **   18 **HESSE 
 **********

 FCN=   2637.854     FROM HESSE     STATUS=OK            25 CALLS      315 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.513        19.500        .29388E-05   -1.5029    
   2  Index         2.9216        .57169        .62126E-04   -.42868    
   3  Normalizat    .59768        .28075        .55413E-04   -1.0808    
   4  Prefactor     1.2696        .30678        .43513E-04   -.84216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.97954e-10
Minuit parameter uncertainties:
  1  19.5111
  2  0.573203
  3  0.281425
  4  0.307215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/819835': 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) = 2637.85401708
delta logL = 2.58219734106

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.151e+01  1.951e+01  1.000e-04  1.000e+04 ( 1.000e-14)
350        Index:  2.922e+00  5.732e-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:  1.270e+00  3.072e-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:  5.977e-01  2.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.96
Ra Dec: 222.855 63.917
Photon Index (Free Index): 2.92 +/- 0.57
Photon Flux (Free Index): 2.84e-07 +/- 1.37e-07
Energy Flux (Free Index): 5.90e-05 +/- 2.76e-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/819835/cmap_HighResolution_414806401_415065601_4FGL_J1451.4+6355_daily_bin677.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.19e-07', energy_flux2='5.90e-05', photon_flux_error='7.26e-08', dlogl='2.58e+00', energy_flux='1.33e-04', photon_flux2='2.84e-07', job_status='DONE', time_completed='2021-09-10 11:26:32.579133', photon_index_error2='0.57', photon_index2='2.92', ts='4.57', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='2.76e-05', EG='0.71', time_epoch_completed='1631298392.58', return_code='0', job_id='819835', GAL2='1.27', EG2='0.60', return_code2='0', energy_flux_error='8.12e-05', photon_flux_error2='1.37e-07', ts2='9.96', photon_index='1.82' WHERE bin_id='677' AND source_name='4FGL J1451.4+6355' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:26:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 819835: <4FGL_J1451.4+6355_daily_bin677> in cluster <slac> Done

Job <4FGL_J1451.4+6355_daily_bin677> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 11:16:48 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:16:50 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:16:50 2021
Terminated at Fri Sep 10 11:26:33 2021
Results reported at Fri Sep 10 11:26:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1451.4+6355_daily_bin677 222.855 63.9172 414806401 415065601 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 :                                   564.41 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             290.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   582 sec.
    Turnaround time :                            585 sec.

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

