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


Performing analysis on: 4FGL_J1451.4+6355_daily_bin615
RA = 222.855, Dec = 63.9172
tmin = 398736001, tmax = 398995201
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='819744', job_status='RUN', time_executed='2021-09-10 11:16:59.968451', time_epoch_executed='1631297819.97' WHERE source_name='4FGL J1451.4+6355' and cadence='daily' and bin_id='615'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/819744

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/819744/ft1_4FGL_J1451.4+6355_daily_bin615.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/819744/ft2_4FGL_J1451.4+6355_daily_bin615.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/819744/ft1_4FGL_J1451.4+6355_daily_bin615.fits outfile=/scratch/kocevski/819744/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin615.fits ra=222.855 dec=63.9172 rad=12.0 tmin=398736001.0 tmax=398995201.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.16
user 5.87
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/819744/ft2_4FGL_J1451.4+6355_daily_bin615.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/819744/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin615.fits evtable="EVENTS" outfile="/scratch/kocevski/819744/ft1_filtered_4FGL_J1451.4+6355_daily_bin615.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/819744/ft1_filtered_4FGL_J1451.4+6355_daily_bin615.fits" evtable="EVENTS" scfile=/scratch/kocevski/819744/ft2_4FGL_J1451.4+6355_daily_bin615.fits sctable="SC_DATA" outfile=/scratch/kocevski/819744/ltcube_398736001_398995201_4FGL_J1451.4+6355_daily_bin615.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/819744/ft2_4FGL_J1451.4+6355_daily_bin615.fits
.....................!
real 11.82
user 11.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/819744/ft1_filtered_4FGL_J1451.4+6355_daily_bin615.fits evtable="EVENTS" scfile=/scratch/kocevski/819744/ft2_4FGL_J1451.4+6355_daily_bin615.fits sctable="SC_DATA" expcube=/scratch/kocevski/819744/ltcube_398736001_398995201_4FGL_J1451.4+6355_daily_bin615.fits outfile=/scratch/kocevski/819744/expmap_398736001_398995201_4FGL_J1451.4+6355_daily_bin615.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/819744/ltcube_398736001_398995201_4FGL_J1451.4+6355_daily_bin615.fits
.....................!
real 190.70
user 185.22
sys 4.90

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/819744/ft1_filtered_4FGL_J1451.4+6355_daily_bin615.fits scfile=/scratch/kocevski/819744/ft2_4FGL_J1451.4+6355_daily_bin615.fits outfile=/scratch/kocevski/819744/cmap_398736001_398995201_4FGL_J1451.4+6355_daily_bin615.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/819744/ft1_filtered_4FGL_J1451.4+6355_daily_bin615.fits scfile=/scratch/kocevski/819744/ft2_4FGL_J1451.4+6355_daily_bin615.fits outfile=/scratch/kocevski/819744/cmap_HighResolution_398736001_398995201_4FGL_J1451.4+6355_daily_bin615.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=222.855 yref=63.9172 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.175       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.4466       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0897       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2957       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .46039E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.696       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.7691       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.8220       1.0000         .10000E-03   10000.    
    22 'Prefactor '    77.218       1.0000         .10000E-03   10000.    
    23 'norm      '    .10120E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    197.09       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .87407       1.0000         .10000E-03   10000.    
    26 'norm      '    17.302       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .90365       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1545       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=   4773.918     FROM MIGRAD    STATUS=CONVERGED    774 CALLS     3909 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.181        40.088       -.64001E-06    .83241E-04
   2  Prefactor     .10000E-03    16.170       -.28085E-06** at limit **
   3  Prefactor     5.4466        7.9712        .32611E-06    .34042E-03
   4  Prefactor     .10000E-03    25.412       -.20708E-05** at limit **
   5  Prefactor     .10000E-03    52.640       -.89026E-06** at limit **
   6  Prefactor     2.0899        39.549       -.30979E-05    .86361E-04
   7  Prefactor     .10000E-03    4.0224       -.19927E-06** at limit **
   8  norm          .10000E-03    60.477       -.40993E-07** at limit **
   9  norm          .10000E-03    1.7657       -.10762E-06** at limit **
  10  Prefactor     .10000E-03    16.088       -.21372E-06** at limit **
  11  Prefactor     .10000E-03    375.28       -.35359E-06** at limit **
  12  Prefactor     4.2958        2.8595        .19215E-06   -.53560E-03
  13  Prefactor     .10000E-03    12.035       -.16826E-06** at limit **
  14  Prefactor     .10000E-03    60.129       -.24518E-06** at limit **
  15  Prefactor     .10000E-03    35.020       -.13518E-06** at limit **
  16  Prefactor     .10000E-03    16.042       -.95498E-07** at limit **
  17  Prefactor     .10000E-03    200.87        .10151E-04** at limit **
  18  Prefactor     .10000E-03    11.091       -.15211E-06** at limit **
  19  Prefactor     25.697        18.191       -.15892E-06    .58436E-05
  20  Prefactor     5.7706        13.470        .47812E-06   -.54517E-04
  21  Prefactor     8.8202        17.701       -.84683E-07   -.21346E-04
  22  Prefactor     77.221        53.857        .22395E-06   -.33528E-04
  23  norm          .10000E-03    4.0570       -.61890E-06** at limit **
  24  Prefactor     197.09        144.95        .56985E-06   -.62909E-05
  25  Prefactor     .87114        26.757       -.54373E-05    .16569E-03
  26  norm          17.312        14.377        .32301E-05    .50155E-03
  27  Prefactor     .10000E-03    20.263       -.23300E-06** at limit **
  28  Prefactor     .10000E-03    30.177       -.15698E-06** at limit **
  29  Normalizat    .90349        .20948        .13931E-05    .14858E-03
  30  Prefactor     1.1546        .21757       -.42636E-06    .27243E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.1808
  Prefactor  = 0.0001
  Prefactor  = 5.44657
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 2.08993
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 4.29576
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 25.6969
  Prefactor  = 5.77058
  Prefactor  = 8.82024
  Prefactor  = 77.2206
  norm       = 0.0001
  Prefactor  = 197.087
  Prefactor  = 0.87114
  norm       = 17.3118
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.903495
  Prefactor  = 1.15462
 **********
 **   18 **HESSE 
 **********

 FCN=   4773.918     FROM HESSE     STATUS=OK           576 CALLS     4485 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.181        40.051        .63240E-04   -1.4439    
   2  Prefactor     .10000E-03    16.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.4466        8.2393        .13428E-03   -1.5241    
   4  Prefactor     .10000E-03    25.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    52.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0899        42.450        .14279E-02   -1.5419    
   7  Prefactor     .10000E-03    4.0417        .13530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    60.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.7831        .89651E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    375.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.2958        2.8504        .92354E-04   -1.5293    
  13  Prefactor     .10000E-03    12.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    60.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    35.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    196.14        .62311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     25.697        18.072        .79026E-04   -1.4694    
  20  Prefactor     5.7706        13.381        .83609E-03   -1.5227    
  21  Prefactor     8.8202        17.655        .13495E-03   -1.5114    
  22  Prefactor     77.221        53.688        .45698E-04   -1.3948    
  23  norm          .10000E-03    4.1807        .27085E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     197.09        145.03        .28778E-04   -1.2891    
  25  Prefactor     .87114        124.51        .46394E-02   -1.5521    
  26  norm          17.312        18.160        .96288E-04   -1.4876    
  27  Prefactor     .10000E-03    20.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    30.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .90349        .25439        .25451E-03   -.96337    
  30  Prefactor     1.1546        .26442        .24735E-03   -.87739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51563e-09
Minuit parameter uncertainties:
  1  40.0778
  2  5.81243e-05
  3  8.24103
  4  0.000450525
  5  0.000170795
  6  18.8529
  7  1.58569e-05
  8  1.36006e-05
  9  4.85541e-06
  10  3.70727e-05
  11  0.00235164
  12  2.85053
  13  1.44278e-05
  14  6.85678e-05
  15  2.38948e-06
  16  5.46032e-06
  17  0.00184643
  18  1.76636e-05
  19  18.0755
  20  13.3875
  21  17.6654
  22  53.722
  23  4.23739e-05
  24  145.292
  25  20.8724
  26  18.1656
  27  2.37557e-05
  28  5.20715e-05
  29  0.254724
  30  0.264722
Done.

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

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.000e-04  1.846e-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.155e+00  2.647e-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:  9.035e-01  2.547e-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.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/819744/likelihoodResults_398736001_398995201_4FGL_J1451.4+6355_daily_bin615.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) = 4773.91846521
delta logL = -2.34293438552e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4773.9184652
delta logL = -2.34255021496e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96357E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8225       1.0000          .0000       10.000    
     3 'Normalizat'    .90350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1546       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=   4773.909     FROM MIGRAD    STATUS=CONVERGED    120 CALLS      290 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4868        1532.5        .90713E-02    .32171E-03
   2  Index         2.2420        7.4199        .99018E-01    .12373E-03
   3  Normalizat    .90160        .49081E-01    .44946E-01   -.11020E-03
   4  Prefactor     1.1527        .54916E-01    .55980E-01   -.78275E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.48679
  Index      = 2.24198
  Normalizat = 0.901603
  Prefactor  = 1.1527
 **********
 **   18 **HESSE 
 **********

 FCN=   4773.909     FROM HESSE     STATUS=OK            33 CALLS      323 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4868        103.63        .36285E-03   -1.5464    
   2  Index         2.2420        3.3105        .22123E-01   -.58429    
   3  Normalizat    .90160        .24136        .25477E-03   -.96404    
   4  Prefactor     1.1527        .26424        .24754E-03   -.87800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05756e-07
Minuit parameter uncertainties:
  1  24.8697
  2  3.82439
  3  0.241651
  4  0.26454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/819744': 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) = 4773.90922131
delta logL = 0.00922046792402

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.487e+00  2.487e+01  1.000e-04  1.000e+04 ( 1.000e-14)
350        Index:  2.242e+00  3.824e+00  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.153e+00  2.645e-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:  9.016e-01  2.417e-01  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/819744/cmap_HighResolution_398736001_398995201_4FGL_J1451.4+6355_daily_bin615.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.89e-03', job_status='DONE', photon_flux_upper_limit='6.63e-08', time_completed='2021-09-10 11:31:12.994846', job_id='819744', GAL2='1.15', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1631298672.99', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='9.22e-03', ts2='0.02', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='615' AND source_name='4FGL J1451.4+6355' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:31:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 819744: <4FGL_J1451.4+6355_daily_bin615> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1451.4+6355_daily_bin615 222.855 63.9172 398736001 398995201 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 :                                   848.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             313.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            872 sec.

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

