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


Performing analysis on: 4FGL_J1451.4+6355_daily_bin1224
RA = 222.855, Dec = 63.9172
tmin = 556588801, tmax = 556848001
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='823776', job_status='RUN', time_executed='2021-09-10 11:29:51.717549', time_epoch_executed='1631298591.72' WHERE source_name='4FGL J1451.4+6355' and cadence='daily' and bin_id='1224'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/823776

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/823776/ft1_4FGL_J1451.4+6355_daily_bin1224.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/823776/ft2_4FGL_J1451.4+6355_daily_bin1224.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/823776/ft1_4FGL_J1451.4+6355_daily_bin1224.fits outfile=/scratch/kocevski/823776/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin1224.fits ra=222.855 dec=63.9172 rad=12.0 tmin=556588801.0 tmax=556848001.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.13
user 3.40
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/823776/ft2_4FGL_J1451.4+6355_daily_bin1224.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/823776/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin1224.fits evtable="EVENTS" outfile="/scratch/kocevski/823776/ft1_filtered_4FGL_J1451.4+6355_daily_bin1224.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.76
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/823776/ft1_filtered_4FGL_J1451.4+6355_daily_bin1224.fits" evtable="EVENTS" scfile=/scratch/kocevski/823776/ft2_4FGL_J1451.4+6355_daily_bin1224.fits sctable="SC_DATA" outfile=/scratch/kocevski/823776/ltcube_556588801_556848001_4FGL_J1451.4+6355_daily_bin1224.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/823776/ft2_4FGL_J1451.4+6355_daily_bin1224.fits
.....................!
real 12.99
user 11.30
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/823776/ft1_filtered_4FGL_J1451.4+6355_daily_bin1224.fits evtable="EVENTS" scfile=/scratch/kocevski/823776/ft2_4FGL_J1451.4+6355_daily_bin1224.fits sctable="SC_DATA" expcube=/scratch/kocevski/823776/ltcube_556588801_556848001_4FGL_J1451.4+6355_daily_bin1224.fits outfile=/scratch/kocevski/823776/expmap_556588801_556848001_4FGL_J1451.4+6355_daily_bin1224.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/823776/ltcube_556588801_556848001_4FGL_J1451.4+6355_daily_bin1224.fits
.....................!
real 195.08
user 185.75
sys 4.94

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/823776/ft1_filtered_4FGL_J1451.4+6355_daily_bin1224.fits scfile=/scratch/kocevski/823776/ft2_4FGL_J1451.4+6355_daily_bin1224.fits outfile=/scratch/kocevski/823776/cmap_556588801_556848001_4FGL_J1451.4+6355_daily_bin1224.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 1.18
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/823776/ft1_filtered_4FGL_J1451.4+6355_daily_bin1224.fits scfile=/scratch/kocevski/823776/ft2_4FGL_J1451.4+6355_daily_bin1224.fits outfile=/scratch/kocevski/823776/cmap_HighResolution_556588801_556848001_4FGL_J1451.4+6355_daily_bin1224.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 1.31
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.891       1.0000         .10000E-03   10000.    
     5 'Prefactor '    66.320       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .11269E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.805       1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.317       1.0000         .10000E-03   10000.    
    11 'Prefactor '    89.277       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .15865E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10787E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    73.100       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10344E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    38.403       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.7105       1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.270       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .70849E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    120.71       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    24.154       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    39.282       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .78395       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0570       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=   2879.464     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     3278 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10087E-03    36.101       -.56575E-06** at limit **
   2  Prefactor     .10026E-03    19.548       -.12848E-04** at limit **
   3  Prefactor     .10000E-03    2.1860        .15422E-07** at limit **
   4  Prefactor     23.898        1.0981        .20019E-06   -.18925E-03
   5  Prefactor     66.315        1.8151       -.48416E-06    .87078E-03
   6  Prefactor     .10000E-03    4.5869        .77875E-07** at limit **
   7  Prefactor     .10052E-03    15.845        .24039E-04** at limit **
   8  norm          .10903E-03    61.285        .50001E-04** at limit **
   9  norm          10.812        1.3527        .87411E-06    .57555E-04
  10  Prefactor     28.337        5.0009        .21310E-05   -.13915E-02
  11  Prefactor     89.264        3.6014       -.11201E-05    .30961E-02
  12  Prefactor     .10000E-03    8.0649       -.24566E-07** at limit **
  13  Prefactor     .10048E-03    423.44       -.52973E-04** at limit **
  14  Prefactor     .10072E-03    32.288       -.39755E-05** at limit **
  15  Prefactor     73.161        14.719        .37966E-05   -.57927E-02
  16  Prefactor     .10410E-03    43.656       -.32296E-04** at limit **
  17  Prefactor     .10057E-03    30.725        .43166E-05** at limit **
  18  Prefactor     38.416        2.8396        .43900E-06    .83040E-04
  19  Prefactor     .10000E-03    9.5221        .15442E-05** at limit **
  20  Prefactor     3.7126        1.0220        .31097E-06   -.12960E-04
  21  Prefactor     24.272        1.0402        .13053E-06   -.14090E-03
  22  Prefactor     .10044E-03    14.126       -.26955E-04** at limit **
  23  norm          .10001E-03    12.800       -.80318E-05** at limit **
  24  Prefactor     120.72        1.6021        .36721E-06   -.14400E-02
  25  Prefactor     .10000E-03    6.1003       -.13758E-06** at limit **
  26  norm          24.152        1.0263        .31210E-07   -.35935E-04
  27  Prefactor     .10008E-03    14.370        .12878E-04** at limit **
  28  Prefactor     39.285        1.2472        .25764E-06   -.22481E-03
  29  Normalizat    .78388        .27550       -.46922E-05   -.14112E-03
  30  Prefactor     1.0569        .29521        .18249E-05   -.17540E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100869
  Prefactor  = 0.000100255
  Prefactor  = 0.0001
  Prefactor  = 23.8976
  Prefactor  = 66.3146
  Prefactor  = 0.0001
  Prefactor  = 0.000100519
  norm       = 0.000109032
  norm       = 10.8119
  Prefactor  = 28.3369
  Prefactor  = 89.2643
  Prefactor  = 0.0001
  Prefactor  = 0.000100485
  Prefactor  = 0.000100722
  Prefactor  = 73.1615
  Prefactor  = 0.000104101
  Prefactor  = 0.000100572
  Prefactor  = 38.4164
  Prefactor  = 0.0001
  Prefactor  = 3.71258
  Prefactor  = 24.2716
  Prefactor  = 0.000100436
  norm       = 0.000100007
  Prefactor  = 120.716
  Prefactor  = 0.0001
  norm       = 24.1518
  Prefactor  = 0.000100084
  Prefactor  = 39.2851
  Normalizat = 0.783876
  Prefactor  = 1.05689
 **********
 **   18 **HESSE 
 **********

 FCN=   2879.464     FROM HESSE     STATUS=OK           648 CALLS     3926 TOTAL
                     EDM=   .72E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10087E-03    39.157        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10026E-03    20.296        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.1770        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.898        20.735        .20488E-02   -1.4730    
   5  Prefactor     66.315        95.622        .12321E-02   -1.4077    
   6  Prefactor     .10000E-03    4.5828        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10052E-03    17.207        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10903E-03    105.06        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.812        11.613        .30471E-02   -1.5050    
  10  Prefactor     28.337        63.390        .18822E-02   -1.4643    
  11  Prefactor     89.264        1620.9        .10631E-02   -1.3816    
  12  Prefactor     .10000E-03    7.9885        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10048E-03    467.65        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10072E-03    91.376        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     73.161        64.036        .11739E-02   -1.3995    
  16  Prefactor     .10410E-03    85.484        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10057E-03    32.545        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     38.416        41.545        .16169E-02   -1.4468    
  19  Prefactor     .10000E-03    9.5066        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.7126        10.142        .52411E-02   -1.5323    
  21  Prefactor     24.272        20.273        .20328E-02   -1.4722    
  22  Prefactor     .10044E-03    15.508        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10001E-03    3.1320        .52301E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     120.72        121.18        .91573E-03   -1.3506    
  25  Prefactor     .10000E-03    6.0903        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          24.152        12.785        .20376E-02   -1.4725    
  27  Prefactor     .10008E-03    14.642        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     39.285        50.634        .15988E-02   -1.4454    
  29  Normalizat    .78388        .25951        .43400E-01   -1.0067    
  30  Prefactor     1.0569        .25891        .39516E-01   -.90856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.24659e-06
Minuit parameter uncertainties:
  1  0.0116714
  2  0.00455592
  3  6.71639e-06
  4  20.7417
  5  95.8448
  6  1.15689e-05
  7  0.00597835
  8  0.0617152
  9  11.6159
  10  63.5414
  11  786.951
  12  1.26007e-05
  13  0.0303593
  14  0.0162653
  15  64.0967
  16  0.0375004
  17  0.00863408
  18  41.576
  19  0.00010769
  20  10.1463
  21  20.2789
  22  0.00520364
  23  0.000297414
  24  121.434
  25  5.41493e-05
  26  12.7864
  27  0.00221983
  28  50.6896
  29  0.259916
  30  0.259216
Done.

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

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.006e-04  8.634e-03  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.057e+00  2.592e-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.839e-01  2.599e-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: 6.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/823776/likelihoodResults_556588801_556848001_4FGL_J1451.4+6355_daily_bin1224.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) = 2879.46448303
delta logL = -0.000144872489273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2879.46433826
delta logL = -1.03283582575e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8946       1.0000          .0000       10.000    
     3 'Normalizat'    .78388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0569       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=   2879.464     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      228 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.7804        .90712E-02** at limit **
   2  Index         1.8738        8.2550        .50000        .44253E-05
   3  Normalizat    .78388        .28739E-02    .43400E-01    .14599E-04
   4  Prefactor     1.0569        .30842E-02    .39522E-01    .65809E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.87381
  Normalizat = 0.783876
  Prefactor  = 1.05689
 **********
 **   18 **HESSE 
 **********

 FCN=   2879.464     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      261 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    58.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8738        5.9076        .50000       -.67544    
   3  Normalizat    .78388        .78686E-02    .25432E-03   -1.0067    
   4  Prefactor     1.0569        .84476E-02    .23708E-03   -.90856    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.53995e-09
Minuit parameter uncertainties:
  1  0.000544675
  2  51.9316
  3  0.00786865
  4  0.00844761
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/823776': 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) = 2879.46433819
delta logL = -3.39709913533e-08

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.000e-04  5.447e-04  1.000e-04  1.000e+04 ( 1.000e-14)
350        Index:  1.874e+00  5.193e+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.057e+00  8.448e-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:  7.839e-01  7.869e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/823776/cmap_HighResolution_556588801_556848001_4FGL_J1451.4+6355_daily_bin1224.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.60e-03', job_status='DONE', photon_flux_upper_limit='6.23e-08', time_completed='2021-09-10 11:40:12.322229', job_id='823776', GAL2='1.06', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1631299212.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='-3.40e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1224' AND source_name='4FGL J1451.4+6355' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:40:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 823776: <4FGL_J1451.4+6355_daily_bin1224> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1451.4+6355_daily_bin1224 222.855 63.9172 556588801 556848001 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 :                                   596.35 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             284.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            702 sec.

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

