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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin290
RA = 223.625, Dec = 51.409
tmin = 314496001, tmax = 314755201
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='849277', job_status='RUN', time_executed='2021-09-10 12:46:19.562099', time_epoch_executed='1631303179.56' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='290'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849277

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849277/ft1_4FGL_J1454.4+5124_daily_bin290.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849277/ft2_4FGL_J1454.4+5124_daily_bin290.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849277/ft1_4FGL_J1454.4+5124_daily_bin290.fits outfile=/scratch/kocevski/849277/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin290.fits ra=223.625 dec=51.409 rad=12.0 tmin=314496001.0 tmax=314755201.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.38
user 3.15
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/849277/ft2_4FGL_J1454.4+5124_daily_bin290.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849277/ft2_4FGL_J1454.4+5124_daily_bin290.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/849277/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin290.fits evtable="EVENTS" outfile="/scratch/kocevski/849277/ft1_filtered_4FGL_J1454.4+5124_daily_bin290.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849277/ft1_filtered_4FGL_J1454.4+5124_daily_bin290.fits" evtable="EVENTS" scfile=/scratch/kocevski/849277/ft2_4FGL_J1454.4+5124_daily_bin290.fits sctable="SC_DATA" outfile=/scratch/kocevski/849277/ltcube_314496001_314755201_4FGL_J1454.4+5124_daily_bin290.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/849277/ft2_4FGL_J1454.4+5124_daily_bin290.fits
.....................!
real 12.11
user 11.73
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849277/ft1_filtered_4FGL_J1454.4+5124_daily_bin290.fits evtable="EVENTS" scfile=/scratch/kocevski/849277/ft2_4FGL_J1454.4+5124_daily_bin290.fits sctable="SC_DATA" expcube=/scratch/kocevski/849277/ltcube_314496001_314755201_4FGL_J1454.4+5124_daily_bin290.fits outfile=/scratch/kocevski/849277/expmap_314496001_314755201_4FGL_J1454.4+5124_daily_bin290.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/849277/ltcube_314496001_314755201_4FGL_J1454.4+5124_daily_bin290.fits
.....................!
real 191.78
user 185.57
sys 5.83

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 202 point sources and 0 extended sources

Setting source of interest to:
4FGL J1454.4+5124 @ 223.625 51.409

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/849277/ft1_filtered_4FGL_J1454.4+5124_daily_bin290.fits scfile=/scratch/kocevski/849277/ft2_4FGL_J1454.4+5124_daily_bin290.fits outfile=/scratch/kocevski/849277/cmap_314496001_314755201_4FGL_J1454.4+5124_daily_bin290.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=223.625 yref=51.409 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849277/ft1_filtered_4FGL_J1454.4+5124_daily_bin290.fits scfile=/scratch/kocevski/849277/ft2_4FGL_J1454.4+5124_daily_bin290.fits outfile=/scratch/kocevski/849277/cmap_HighResolution_314496001_314755201_4FGL_J1454.4+5124_daily_bin290.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=223.625 yref=51.409 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/849277/ft1_filtered_4FGL_J1454.4+5124_daily_bin290.fits evtable="EVENTS" scfile=/scratch/kocevski/849277/ft2_4FGL_J1454.4+5124_daily_bin290.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/849277/Model_4FGL_J1454.4+5124_daily_bin290.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/849277/ft1_filtered_4FGL_J1454.4+5124_daily_bin290.fits.....................!
real 54.94
user 53.52
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/849277/ft1_filtered_4FGL_J1454.4+5124_daily_bin290.fits', '/scratch/kocevski/849277/ft2_4FGL_J1454.4+5124_daily_bin290.fits', expMap='/scratch/kocevski/849277/expmap_314496001_314755201_4FGL_J1454.4+5124_daily_bin290.fits', expCube='/scratch/kocevski/849277/ltcube_314496001_314755201_4FGL_J1454.4+5124_daily_bin290.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/849277/Model_4FGL_J1454.4+5124_daily_bin290.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1454.4+5124'

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.118e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/849277/ft1_filtered_4FGL_J1454.4+5124_daily_bin290.fits
Spacecraft file(s): /scratch/kocevski/849277/ft2_4FGL_J1454.4+5124_daily_bin290.fits
Exposure map: /scratch/kocevski/849277/expmap_314496001_314755201_4FGL_J1454.4+5124_daily_bin290.fits
Exposure cube: /scratch/kocevski/849277/ltcube_314496001_314755201_4FGL_J1454.4+5124_daily_bin290.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/849277/Model_4FGL_J1454.4+5124_daily_bin290.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) = 7012.73781598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .51404       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    73.858       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.1489       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .56297       1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.882       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .18186E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.9225       1.0000         .10000E-03   10000.    
    16 'norm      '    .25777       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10605E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.6474       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.3326       1.0000         .10000E-03   10000.    
    20 'norm      '    3.9011       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    44.595       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .13688E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10204E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    11.441       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .20009E-02   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .92389       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0934       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7012.711     FROM MIGRAD    STATUS=CONVERGED    722 CALLS     3681 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    24.462       -.26779E-08** at limit **
   2  norm          .52334        2.0810       -.31153E-07   -.13877E-04
   3  Prefactor     .10000E-03    156.53        .11721E-06** at limit **
   4  Prefactor     .10000E-03    17.889        .16335E-06** at limit **
   5  Prefactor     73.819        46.633       -.41960E-06   -.80001E-04
   6  Prefactor     .10000E-03    4.7765        .13006E-05** at limit **
   7  Prefactor     5.1441        13.987        .21144E-06   -.62037E-04
   8  Prefactor     .56419        1.3814        .83667E-06    .52577E-03
   9  Prefactor     30.873        20.044       -.61670E-06   -.12053E-03
  10  Prefactor     .10000E-03    13.623       -.13281E-06** at limit **
  11  Prefactor     .10000E-03    21.410        .27958E-06** at limit **
  12  Prefactor     .10000E-03    4.2849        .10156E-07** at limit **
  13  Prefactor     .10000E-03    13.861        .39051E-07** at limit **
  14  Prefactor     .10006E-03    71.994        .48623E-05** at limit **
  15  Prefactor     9.9153        14.990       -.26555E-06   -.49081E-04
  16  norm          .25586        1.0331       -.28611E-06    .29210E-03
  17  Prefactor     .10000E-03    17.707        .11911E-05** at limit **
  18  Prefactor     4.6450        5.6352       -.70050E-07   -.12493E-03
  19  Prefactor     6.3297        7.0157        .11592E-06   -.12157E-03
  20  norm          3.8995        3.4176       -.19399E-06   -.38931E-03
  21  Prefactor     .10000E-03    4.4669        .30347E-07** at limit **
  22  Prefactor     44.602        23.055       -.38838E-06   -.23820E-03
  23  Prefactor     .10003E-03    14.050       -.23246E-06** at limit **
  24  Prefactor     .10002E-03    5.9451        .72022E-06** at limit **
  25  norm          11.438        8.3311       -.22634E-06   -.36408E-03
  26  Prefactor     .10003E-03    334.86        .73061E-05** at limit **
  27  Normalizat    .92397        .17365       -.23314E-05   -.18673E-03
  28  Prefactor     1.0931        .19427        .22635E-05   -.30008E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.523342
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 73.8192
  Prefactor  = 0.0001
  Prefactor  = 5.14411
  Prefactor  = 0.564189
  Prefactor  = 30.8726
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100057
  Prefactor  = 9.91526
  norm       = 0.255858
  Prefactor  = 0.0001
  Prefactor  = 4.64502
  Prefactor  = 6.32969
  norm       = 3.89953
  Prefactor  = 0.0001
  Prefactor  = 44.6018
  Prefactor  = 0.000100025
  Prefactor  = 0.000100024
  norm       = 11.4383
  Prefactor  = 0.000100032
  Normalizat = 0.923965
  Prefactor  = 1.09313
 **********
 **   18 **HESSE 
 **********

 FCN=   7012.711     FROM HESSE     STATUS=OK           525 CALLS     4206 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    24.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .52334        6.3562        .22390E-02   -1.5563    
   3  Prefactor     .10000E-03    156.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     73.819        47.010        .46718E-04   -1.3987    
   6  Prefactor     .10000E-03    4.9911        .35946E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.1441        14.010        .17717E-03   -1.5254    
   8  Prefactor     .56419        1.3656        .15752E-02   -1.5558    
   9  Prefactor     30.873        20.155        .72101E-04   -1.4596    
  10  Prefactor     .10000E-03    13.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    21.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.2861        .16930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10006E-03    85.764        .46806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.9153        14.660        .12721E-03   -1.5078    
  16  norm          .25586        1.6945        .15287E-02   -1.5607    
  17  Prefactor     .10000E-03    18.300        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.6450        5.6095        .18669E-03   -1.5277    
  19  Prefactor     6.3297        7.0283        .15951E-03   -1.5205    
  20  norm          3.8995        3.3512        .13627E-03   -1.5313    
  21  Prefactor     .10000E-03    4.4936        .17245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     44.602        21.838        .60036E-04   -1.4371    
  23  Prefactor     .10003E-03    47.744        .41873E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10002E-03    16.895        .33585E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.438        7.9457        .11844E-03   -1.5031    
  26  Prefactor     .10003E-03    348.97        .40457E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .92397        .19646        .23851E-03   -.95623    
  28  Prefactor     1.0931        .21684        .25754E-03   -.89687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16723e-08
Minuit parameter uncertainties:
  1  9.72137e-06
  2  3.64786
  3  0.000242512
  4  3.06008e-05
  5  47.0341
  6  7.59795e-05
  7  14.0188
  8  1.36567
  9  20.1597
  10  1.09658e-05
  11  4.87347e-06
  12  6.83797e-08
  13  6.08954e-06
  14  0.00441897
  15  14.6652
  16  1.3167
  17  0.000160081
  18  5.61014
  19  7.02924
  20  3.35133
  21  1.07313e-06
  22  21.8418
  23  0.00219421
  24  0.00126197
  25  7.94645
  26  0.00675184
  27  0.19661
  28  0.217013
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.559e-01  1.317e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.093e+00  2.170e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  9.240e-01  1.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 223.625 51.409
Photon Flux Upper Limit: 5.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.82e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/849277/likelihoodResults_314496001_314755201_4FGL_J1454.4+5124_daily_bin290.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): 0
logL (Free Index) = 7012.53419802
delta logL = 0.177218464023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7012.53176043
delta logL = 0.179656055631

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28991       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7497       1.0000          .0000       5.0000    
     3 'Normalizat'    .91312       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0956       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7012.532     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      207 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28950        7.4504        .10381E-01    .23489E-02
   2  alpha         2.7510        3.7544        .41414        .45220E-04
   3  Normalizat    .91325        .23362E-01    .45069E-01   -.31023E-05
   4  Prefactor     1.0955        .27214E-01    .58155E-01    .45675E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.289504
  alpha      = 2.75104
  Normalizat = 0.913254
  Prefactor  = 1.09546
 **********
 **   18 **HESSE 
 **********

 FCN=   7012.532     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28950        1.0287        .74945E-04   -1.5600    
   2  alpha         2.7510        1.6012        .16848E-01    .10058    
   3  Normalizat    .91325        .18525        .23967E-03   -.95996    
   4  Prefactor     1.0955        .21531        .25717E-03   -.89612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54033e-11
Minuit parameter uncertainties:
  1  1.02875
  2  1.73955
  3  0.185379
  4  0.215476
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849277': 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) = 7012.53175913
delta logL = 0.179657358646

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.895e-01  1.029e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.751e+00  1.740e+00  0.000e+00  5.000e+00 ( 1.000e+00)
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.095e+00  2.155e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  9.133e-01  1.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 223.625 51.409

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/849277/cmap_HighResolution_314496001_314755201_4FGL_J1454.4+5124_daily_bin290.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.82e-05', job_status='DONE', photon_flux_upper_limit='5.35e-08', time_completed='2021-09-10 13:01:53.109909', job_id='849277', GAL2='1.10', fit_tolerance='1e-08', EG2='0.91', EG='0.92', time_epoch_completed='1631304113.11', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.80e-01', ts2='0.41', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='290' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:01:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 849277: <4FGL_J1454.4+5124_daily_bin290> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin290> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:03 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:46:05 2021
Terminated at Fri Sep 10 13:01:53 2021
Results reported at Fri Sep 10 13:01:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin290 223.625 51.409 314496001 314755201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1454.4+5124 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   931.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             335.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            950 sec.

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

