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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin703
RA = 223.625, Dec = 51.409
tmin = 421545601, tmax = 421804801
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='850918', job_status='RUN', time_executed='2021-09-10 12:54:56.971797', time_epoch_executed='1631303696.97' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850918

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850918/ft1_4FGL_J1454.4+5124_daily_bin703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850918/ft2_4FGL_J1454.4+5124_daily_bin703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850918/ft1_4FGL_J1454.4+5124_daily_bin703.fits outfile=/scratch/kocevski/850918/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin703.fits ra=223.625 dec=51.409 rad=12.0 tmin=421545601.0 tmax=421804801.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 5.00
user 3.36
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/850918/ft2_4FGL_J1454.4+5124_daily_bin703.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/850918/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin703.fits evtable="EVENTS" outfile="/scratch/kocevski/850918/ft1_filtered_4FGL_J1454.4+5124_daily_bin703.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.52
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/850918/ft1_filtered_4FGL_J1454.4+5124_daily_bin703.fits" evtable="EVENTS" scfile=/scratch/kocevski/850918/ft2_4FGL_J1454.4+5124_daily_bin703.fits sctable="SC_DATA" outfile=/scratch/kocevski/850918/ltcube_421545601_421804801_4FGL_J1454.4+5124_daily_bin703.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/850918/ft2_4FGL_J1454.4+5124_daily_bin703.fits
.....................!
real 12.02
user 11.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850918/ft1_filtered_4FGL_J1454.4+5124_daily_bin703.fits evtable="EVENTS" scfile=/scratch/kocevski/850918/ft2_4FGL_J1454.4+5124_daily_bin703.fits sctable="SC_DATA" expcube=/scratch/kocevski/850918/ltcube_421545601_421804801_4FGL_J1454.4+5124_daily_bin703.fits outfile=/scratch/kocevski/850918/expmap_421545601_421804801_4FGL_J1454.4+5124_daily_bin703.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/850918/ltcube_421545601_421804801_4FGL_J1454.4+5124_daily_bin703.fits
.....................!
real 192.20
user 187.50
sys 4.33

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/850918/ft1_filtered_4FGL_J1454.4+5124_daily_bin703.fits scfile=/scratch/kocevski/850918/ft2_4FGL_J1454.4+5124_daily_bin703.fits outfile=/scratch/kocevski/850918/cmap_421545601_421804801_4FGL_J1454.4+5124_daily_bin703.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850918/ft1_filtered_4FGL_J1454.4+5124_daily_bin703.fits scfile=/scratch/kocevski/850918/ft2_4FGL_J1454.4+5124_daily_bin703.fits outfile=/scratch/kocevski/850918/cmap_HighResolution_421545601_421804801_4FGL_J1454.4+5124_daily_bin703.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.53
user 0.37
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/850918/ft1_filtered_4FGL_J1454.4+5124_daily_bin703.fits', '/scratch/kocevski/850918/ft2_4FGL_J1454.4+5124_daily_bin703.fits', expMap='/scratch/kocevski/850918/expmap_421545601_421804801_4FGL_J1454.4+5124_daily_bin703.fits', expCube='/scratch/kocevski/850918/ltcube_421545601_421804801_4FGL_J1454.4+5124_daily_bin703.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/850918/Model_4FGL_J1454.4+5124_daily_bin703.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/850918/ft1_filtered_4FGL_J1454.4+5124_daily_bin703.fits
Spacecraft file(s): /scratch/kocevski/850918/ft2_4FGL_J1454.4+5124_daily_bin703.fits
Exposure map: /scratch/kocevski/850918/expmap_421545601_421804801_4FGL_J1454.4+5124_daily_bin703.fits
Exposure cube: /scratch/kocevski/850918/ltcube_421545601_421804801_4FGL_J1454.4+5124_daily_bin703.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/850918/Model_4FGL_J1454.4+5124_daily_bin703.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) = 5881.46758465

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10161E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .30488E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    68.895       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10646E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11766E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15502E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11496E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10553E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.2653       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.977       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.4585       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10221E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.8651       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .38390       1.0000         .10000E-03   10000.    
    20 'norm      '    .13967E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10676E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10150E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    27.561       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2643       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .64749       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=   5881.459     FROM MIGRAD    STATUS=CONVERGED    685 CALLS     3483 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    21.711        .62000E-06** at limit **
   2  norm          .10000E-03    .97411       -.73158E-07** at limit **
   3  Prefactor     .10000E-03    133.42       -.29689E-05** at limit **
   4  Prefactor     68.862        62.817        .12025E-05    .16959E-03
   5  Prefactor     .10000E-03    72.914       -.19384E-05** at limit **
   6  Prefactor     .10001E-03    3.6453        .55237E-06** at limit **
   7  Prefactor     .10000E-03    9.0517        .43306E-06** at limit **
   8  Prefactor     .10003E-03    1.7388       -.97810E-06** at limit **
   9  Prefactor     .10000E-03    32.368        .15492E-05** at limit **
  10  Prefactor     .10000E-03    25.791       -.14224E-05** at limit **
  11  Prefactor     .10000E-03    29.808       -.17408E-06** at limit **
  12  Prefactor     .10000E-03    6.9761        .27032E-06** at limit **
  13  Prefactor     7.2591        25.260        .10728E-05    .69923E-04
  14  Prefactor     19.976        15.618        .33776E-06    .16707E-03
  15  Prefactor     .10000E-03    9.8185       -.44257E-06** at limit **
  16  norm          2.4585        1.4858       -.29889E-07    .30250E-03
  17  Prefactor     .10000E-03    6.6114       -.32839E-06** at limit **
  18  Prefactor     2.8657        5.4588        .27310E-06    .11808E-03
  19  Prefactor     .40974        4.6403       -.15128E-05    .57801E-03
  20  norm          .10001E-03    1.8756       -.51955E-06** at limit **
  21  Prefactor     .10000E-03    3.7825        .28580E-07** at limit **
  22  Prefactor     .10000E-03    25.271       -.87144E-06** at limit **
  23  Prefactor     .10000E-03    5.3495        .32480E-06** at limit **
  24  Prefactor     .10000E-03    4.8824        .12021E-06** at limit **
  25  norm          .10000E-03    5.0995       -.27160E-06** at limit **
  26  Prefactor     27.544        67.229       -.40517E-05   -.56669E-04
  27  Normalizat    1.2638        .17543        .21397E-05    .82530E-03
  28  Prefactor     .64779        .18568       -.13521E-05    .51071E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 68.8625
  Prefactor  = 0.000100001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.000100031
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.2591
  Prefactor  = 19.9765
  Prefactor  = 0.0001
  norm       = 2.45846
  Prefactor  = 0.0001
  Prefactor  = 2.86571
  Prefactor  = 0.409736
  norm       = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.5435
  Normalizat = 1.26385
  Prefactor  = 0.647787
 **********
 **   18 **HESSE 
 **********

 FCN=   5881.459     FROM HESSE     STATUS=OK           509 CALLS     3992 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    21.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .97649        .73935E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    133.65        .21383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     68.862        63.592        .48359E-04   -1.4046    
   5  Prefactor     .10000E-03    73.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    11.419        .27838E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.0656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10003E-03    12.574        .16914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    32.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    26.005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    29.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.9768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.2591        25.254        .14881E-03   -1.5169    
  14  Prefactor     19.976        15.636        .44806E-03   -1.4814    
  15  Prefactor     .10000E-03    9.8813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4585        1.4859        .69930E-04   -1.5394    
  17  Prefactor     .10000E-03    6.6588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.8657        5.4322        .23651E-03   -1.5369    
  19  Prefactor     .40974        25.034        .28051E-02   -1.5580    
  20  norm          .10001E-03    10.296        .19866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.8012        .14560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    25.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    5.3620        .17304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.9271        .16540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    5.1564        .16932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     27.544        67.902        .76311E-04   -1.4658    
  27  Normalizat    1.2638        .19661        .19857E-03   -.84652    
  28  Prefactor     .64779        .21114        .29605E-03   -1.0561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.45511e-09
Minuit parameter uncertainties:
  1  7.98599e-05
  2  1.55924e-06
  3  0.000958703
  4  63.6548
  5  0.000415406
  6  0.000502999
  7  2.18039e-05
  8  0.00123988
  9  0.000219607
  10  0.00017
  11  3.37306e-05
  12  1.59591e-05
  13  25.2908
  14  15.6392
  15  5.46252e-05
  16  1.48596
  17  1.26172e-05
  18  5.43308
  19  6.40739
  20  0.000555081
  21  2.62518e-06
  22  0.000162209
  23  1.32562e-05
  24  1.02451e-07
  25  2.38934e-05
  26  68.0932
  27  0.19673
  28  0.2114
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.458e+00  1.486e+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:  6.478e-01  2.114e-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:  1.264e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.39
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.70e-08 +/- 2.23e-08
Energy Flux (Fixed Index): 2.64e-05 +/- 1.60e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5881.39853071
delta logL = 0.0603951626017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5881.39771394
delta logL = 0.0612119262933

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5139       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7828       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2707       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64534       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=   5881.398     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      224 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5127        42.746        .64423E-02   -.43041E-04
   2  alpha         1.7823        2.8161        .36914        .30787E-05
   3  Normalizat    1.2708        .13209        .33352E-01   -.80322E-07
   4  Prefactor     .64513        .86264E-01    .67053E-01    .18799E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.51273
  alpha      = 1.78231
  Normalizat = 1.27084
  Prefactor  = 0.645131
 **********
 **   18 **HESSE 
 **********

 FCN=   5881.398     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .42E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5127        1.5805        .74022E-04   -1.5391    
   2  alpha         1.7823        .52516        .12761E-01   -.29117    
   3  Normalizat    1.2708        .18995        .19815E-03   -.84441    
   4  Prefactor     .64513        .20949        .29672E-03   -1.0572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.18217e-13
Minuit parameter uncertainties:
  1  1.58056
  2  0.529467
  3  0.190051
  4  0.209741
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850918': 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) = 5881.39771272
delta logL = 0.0612131484531

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.513e+00  1.581e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.782e+00  5.295e-01  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:  6.451e-01  2.097e-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:  1.271e+00  1.901e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.52
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.78 +/- 0.53
Photon Flux (Free Index): 2.90e-08 +/- 2.76e-08
Energy Flux (Free Index): 3.22e-05 +/- 2.88e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/850918/cmap_HighResolution_421545601_421804801_4FGL_J1454.4+5124_daily_bin703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.70e-08', energy_flux2='3.22e-05', photon_flux_error='2.23e-08', dlogl='6.12e-02', energy_flux='2.64e-05', photon_flux2='2.90e-08', job_status='DONE', time_completed='2021-09-10 13:06:43.669511', photon_index_error2='0.53', photon_index2='1.78', ts='14.39', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', energy_flux_error2='2.88e-05', EG='1.26', time_epoch_completed='1631304403.67', return_code='0', job_id='850918', GAL2='0.65', EG2='1.27', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='2.76e-08', ts2='14.52', photon_index='1.97' WHERE bin_id='703' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:06:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 850918: <4FGL_J1454.4+5124_daily_bin703> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin703> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:51:07 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:51:09 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:51:09 2021
Terminated at Fri Sep 10 13:06:44 2021
Results reported at Fri Sep 10 13:06:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin703 223.625 51.409 421545601 421804801 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 :                                   705.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             276.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            937 sec.

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

