/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 0 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 = 7664
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1451.4+6355_daily_bin393
RA = 222.855, Dec = 63.9172
tmin = 341193601, tmax = 341452801
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='819380', job_status='RUN', time_executed='2021-09-10 11:16:22.774334', time_epoch_executed='1631297782.77' WHERE source_name='4FGL J1451.4+6355' and cadence='daily' and bin_id='393'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/819380

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/819380/ft1_4FGL_J1451.4+6355_daily_bin393.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/819380/ft2_4FGL_J1451.4+6355_daily_bin393.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/819380/ft1_4FGL_J1451.4+6355_daily_bin393.fits outfile=/scratch/kocevski/819380/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin393.fits ra=222.855 dec=63.9172 rad=12.0 tmin=341193601.0 tmax=341452801.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.46
user 3.22
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/819380/ft1_filtered_4FGL_J1451.4+6355_daily_bin393.fits evtable="EVENTS" scfile=/scratch/kocevski/819380/ft2_4FGL_J1451.4+6355_daily_bin393.fits sctable="SC_DATA" expcube=/scratch/kocevski/819380/ltcube_341193601_341452801_4FGL_J1451.4+6355_daily_bin393.fits outfile=/scratch/kocevski/819380/expmap_341193601_341452801_4FGL_J1451.4+6355_daily_bin393.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/819380/ltcube_341193601_341452801_4FGL_J1451.4+6355_daily_bin393.fits
.....................!
real 190.71
user 185.05
sys 5.20

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/819380/ft1_filtered_4FGL_J1451.4+6355_daily_bin393.fits scfile=/scratch/kocevski/819380/ft2_4FGL_J1451.4+6355_daily_bin393.fits outfile=/scratch/kocevski/819380/cmap_341193601_341452801_4FGL_J1451.4+6355_daily_bin393.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.56
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/819380/ft1_filtered_4FGL_J1451.4+6355_daily_bin393.fits scfile=/scratch/kocevski/819380/ft2_4FGL_J1451.4+6355_daily_bin393.fits outfile=/scratch/kocevski/819380/cmap_HighResolution_341193601_341452801_4FGL_J1451.4+6355_daily_bin393.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.886       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.7982       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.3509       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.7837       1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.014       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .20394E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.9005       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.268       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.267       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.4348       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.5556       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .23585E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    3.2521       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.0420       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    5.1256       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.2231       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .76256       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=   6315.282     FROM MIGRAD    STATUS=CONVERGED    785 CALLS     3922 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.876        64.384        .43060E-05    .13306E-04
   2  Prefactor     .10000E-03    17.236       -.42942E-06** at limit **
   3  Prefactor     1.7993        5.1413       -.61443E-05    .10051E-03
   4  Prefactor     8.3510        13.066       -.13510E-06    .67044E-04
   5  Prefactor     .10000E-03    85.901        .29838E-05** at limit **
   6  Prefactor     .10001E-03    14.121        .74627E-05** at limit **
   7  Prefactor     .10000E-03    7.4593        .48763E-07** at limit **
   8  norm          .10000E-03    35.843       -.42060E-06** at limit **
   9  norm          2.7837        2.9635        .36069E-07   -.73674E-04
  10  Prefactor     21.015        23.546        .91098E-06   -.45151E-04
  11  Prefactor     .10008E-03    516.60        .38669E-04** at limit **
  12  Prefactor     4.9006        2.8493       -.21575E-06    .25561E-03
  13  Prefactor     .10000E-03    11.358       -.34163E-06** at limit **
  14  Prefactor     31.264        44.763       -.45532E-06    .42187E-05
  15  Prefactor     .10000E-03    7.3786        .10812E-06** at limit **
  16  Prefactor     11.267        22.715       -.50642E-06    .24252E-04
  17  Prefactor     .10000E-03    21.572        .14542E-05** at limit **
  18  Prefactor     .10000E-03    11.616        .49070E-06** at limit **
  19  Prefactor     .10000E-03    9.9120        .48844E-06** at limit **
  20  Prefactor     3.4348        6.4223       -.27173E-05    .38442E-03
  21  Prefactor     3.5567        13.938       -.14005E-04   -.44819E-05
  22  Prefactor     .10000E-03    246.89        .70456E-04** at limit **
  23  norm          3.2520        2.3398       -.20048E-06    .15323E-03
  24  Prefactor     .10000E-03    35.771       -.20887E-06** at limit **
  25  Prefactor     6.0423        5.4826       -.23327E-07   -.55069E-04
  26  norm          .10000E-03    5.3410        .33727E-06** at limit **
  27  Prefactor     5.1277        32.953       -.21080E-05    .25289E-04
  28  Prefactor     .10000E-03    16.111       -.49870E-06** at limit **
  29  Normalizat    1.2230        .16602        .17221E-05   -.28446E-03
  30  Prefactor     .76260        .16932        .10357E-05   -.13691E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.8764
  Prefactor  = 0.0001
  Prefactor  = 1.79926
  Prefactor  = 8.35096
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.7837
  Prefactor  = 21.0146
  Prefactor  = 0.000100081
  Prefactor  = 4.90056
  Prefactor  = 0.0001
  Prefactor  = 31.2638
  Prefactor  = 0.0001
  Prefactor  = 11.2671
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 3.43477
  Prefactor  = 3.55674
  Prefactor  = 0.000100003
  norm       = 3.25205
  Prefactor  = 0.0001
  Prefactor  = 6.04228
  norm       = 0.0001
  Prefactor  = 5.1277
  Prefactor  = 0.0001
  Normalizat = 1.22302
  Prefactor  = 0.762598
 **********
 **   18 **HESSE 
 **********

 FCN=   6315.282     FROM HESSE     STATUS=OK           584 CALLS     4506 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.876        64.233        .63467E-04   -1.4444    
   2  Prefactor     .10000E-03    17.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7993        5.1243        .27841E-03   -1.5440    
   4  Prefactor     8.3510        13.042        .13873E-03   -1.5130    
   5  Prefactor     .10000E-03    86.346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    14.835        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.6307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    35.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.7837        2.9624        .13731E-03   -1.5374    
  10  Prefactor     21.015        23.532        .87375E-04   -1.4791    
  11  Prefactor     .10008E-03    521.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.9006        2.8467        .98879E-04   -1.5265    
  13  Prefactor     .10000E-03    11.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.264        44.765        .71655E-04   -1.4589    
  15  Prefactor     .10000E-03    7.3814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.267        22.704        .11935E-03   -1.5037    
  17  Prefactor     .10000E-03    21.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.147        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.4348        6.3786        .21824E-03   -1.5337    
  21  Prefactor     3.5567        13.577        .21435E-03   -1.5331    
  22  Prefactor     .10000E-03    236.78        .71137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.2520        2.3371        .99783E-04   -1.5347    
  24  Prefactor     .10000E-03    35.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     6.0423        5.4720        .16335E-03   -1.5216    
  26  norm          .10000E-03    5.4661        .35784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     5.1277        32.880        .17758E-03   -1.5255    
  28  Prefactor     .10000E-03    16.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.2230        .19009        .20682E-03   -.85894    
  30  Prefactor     .76260        .19367        .27001E-03   -1.0112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15533e-09
Minuit parameter uncertainties:
  1  64.3447
  2  6.85566e-05
  3  5.12552
  4  13.0465
  5  2.36513e-05
  6  0.00062392
  7  5.14248e-05
  8  4.22757e-05
  9  2.96258
  10  23.5426
  11  0.0131252
  12  2.84678
  13  2.42118e-05
  14  44.8135
  15  3.62193e-06
  16  22.7218
  17  5.82303e-05
  18  1.33008e-05
  19  0.000181401
  20  6.37983
  21  13.5883
  22  0.0017732
  23  2.33717
  24  7.70421e-05
  25  5.47241
  26  2.82462e-05
  27  25.99
  28  4.9407e-05
  29  0.190202
  30  0.193844
Done.

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

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.000e-04  5.823e-05  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:  7.626e-01  1.938e-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.223e+00  1.902e-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: 4.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/819380/likelihoodResults_341193601_341452801_4FGL_J1451.4+6355_daily_bin393.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) = 6315.28198635
delta logL = -0.000218718139877

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6315.28177252
delta logL = -4.89163539896e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42985E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9203       1.0000          .0000       10.000    
     3 'Normalizat'    1.2230       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76260       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=   6315.282     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    33.746        .10615E-01** at limit **
   2  Index         1.9238        5.9255        .50000       -.28727E-04
   3  Normalizat    1.2230        .41958E-02    .34349E-01    .63069E-04
   4  Prefactor     .76260        .44547E-02    .43228E-01    .18941E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100031
  Index      = 1.92376
  Normalizat = 1.22302
  Prefactor  = 0.762599
 **********
 **   18 **HESSE 
 **********

 FCN=   6315.282     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      266 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    6666.3        .42461E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9238        8.0871        .50000       -.66270    
   3  Normalizat    1.2230        .52808E-01    .20682E-03   -.85894    
   4  Prefactor     .76260        .56028E-01    .27001E-03   -1.0112    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.60841e-09
Minuit parameter uncertainties:
  1  0.0217868
  2  44.2865
  3  0.0528104
  4  0.0560318
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/819380': 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) = 6315.28176698
delta logL = 6.45685759082e-07

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.000e-04  2.179e-02  1.000e-04  1.000e+04 ( 1.000e-14)
350        Index:  1.924e+00  4.429e+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:  7.626e-01  5.603e-02  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.223e+00  5.281e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/819380/cmap_HighResolution_341193601_341452801_4FGL_J1451.4+6355_daily_bin393.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-03', job_status='DONE', photon_flux_upper_limit='4.48e-08', time_completed='2021-09-10 11:32:42.561695', job_id='819380', GAL2='0.76', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1631298762.56', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='6.46e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='393' AND source_name='4FGL J1451.4+6355' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:32:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 819380: <4FGL_J1451.4+6355_daily_bin393> in cluster <slac> Done

Job <4FGL_J1451.4+6355_daily_bin393> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 11:16:12 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:16:14 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:14 2021
Terminated at Fri Sep 10 11:32:44 2021
Results reported at Fri Sep 10 11:32:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1451.4+6355_daily_bin393 222.855 63.9172 341193601 341452801 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 :                                   976.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             333.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   989 sec.
    Turnaround time :                            992 sec.

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

