/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 18 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 = 7445
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin65
RA = 223.625, Dec = 51.409
tmin = 256176001, tmax = 256435201
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='847804', job_status='RUN', time_executed='2021-09-10 12:41:41.373267', time_epoch_executed='1631302901.37' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='65'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847804

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847804/ft1_4FGL_J1454.4+5124_daily_bin65.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847804/ft2_4FGL_J1454.4+5124_daily_bin65.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847804/ft1_4FGL_J1454.4+5124_daily_bin65.fits outfile=/scratch/kocevski/847804/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin65.fits ra=223.625 dec=51.409 rad=12.0 tmin=256176001.0 tmax=256435201.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 1.44
user 1.27
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847804/ft1_filtered_4FGL_J1454.4+5124_daily_bin65.fits" evtable="EVENTS" scfile=/scratch/kocevski/847804/ft2_4FGL_J1454.4+5124_daily_bin65.fits sctable="SC_DATA" outfile=/scratch/kocevski/847804/ltcube_256176001_256435201_4FGL_J1454.4+5124_daily_bin65.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/847804/ft2_4FGL_J1454.4+5124_daily_bin65.fits
.....................!
real 12.62
user 12.29
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847804/ft1_filtered_4FGL_J1454.4+5124_daily_bin65.fits evtable="EVENTS" scfile=/scratch/kocevski/847804/ft2_4FGL_J1454.4+5124_daily_bin65.fits sctable="SC_DATA" expcube=/scratch/kocevski/847804/ltcube_256176001_256435201_4FGL_J1454.4+5124_daily_bin65.fits outfile=/scratch/kocevski/847804/expmap_256176001_256435201_4FGL_J1454.4+5124_daily_bin65.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/847804/ltcube_256176001_256435201_4FGL_J1454.4+5124_daily_bin65.fits
.....................!
real 190.45
user 185.00
sys 5.02

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/847804/ft1_filtered_4FGL_J1454.4+5124_daily_bin65.fits scfile=/scratch/kocevski/847804/ft2_4FGL_J1454.4+5124_daily_bin65.fits outfile=/scratch/kocevski/847804/cmap_256176001_256435201_4FGL_J1454.4+5124_daily_bin65.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847804/ft1_filtered_4FGL_J1454.4+5124_daily_bin65.fits scfile=/scratch/kocevski/847804/ft2_4FGL_J1454.4+5124_daily_bin65.fits outfile=/scratch/kocevski/847804/cmap_HighResolution_256176001_256435201_4FGL_J1454.4+5124_daily_bin65.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.1151       1.0000         .10000E-03   10000.    
     2 'norm      '    2.7690       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.8267       1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.749       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.917       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.215       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.506       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.4669       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0156       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .20045E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    11.802       1.0000         .10000E-03   10000.    
    25 'norm      '    9.2284       1.0000         .10000E-03   10000.    
    26 'Prefactor '    23.006       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .98047       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0957       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=   7289.352     FROM MIGRAD    STATUS=CONVERGED    690 CALLS     3511 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0791        71.508       -.48105E-04   -.36108E-05
   2  norm          2.7687        3.7705        .82757E-06   -.47587E-03
   3  Prefactor     .10000E-03    247.10        .66459E-05** at limit **
   4  Prefactor     8.8219        34.847       -.18449E-05    .33342E-06
   5  Prefactor     21.749        29.216       -.48055E-06    .99644E-05
   6  Prefactor     .10000E-03    1.7786        .28905E-07** at limit **
   7  Prefactor     .10000E-03    8.8229       -.22783E-05** at limit **
   8  Prefactor     .10000E-03    .67299        .37990E-07** at limit **
   9  Prefactor     17.923        22.780       -.53982E-05    .30854E-04
  10  Prefactor     .10000E-03    10.112       -.61875E-05** at limit **
  11  Prefactor     .10000E-03    63.889        .33240E-06** at limit **
  12  Prefactor     22.214        26.010       -.65521E-06   -.82735E-05
  13  Prefactor     .10000E-03    25.432        .35128E-06** at limit **
  14  Prefactor     12.510        20.181       -.30160E-05   -.48811E-04
  15  Prefactor     6.4676        12.150        .12435E-05   -.16675E-03
  16  norm          1.0158        1.5277       -.32152E-06   -.15078E-02
  17  Prefactor     .10000E-03    2.5983        .16025E-08** at limit **
  18  Prefactor     .10006E-03    3.2449        .19324E-05** at limit **
  19  Prefactor     .10000E-03    5.9990       -.11719E-06** at limit **
  20  norm          .10000E-03    .92242       -.60427E-07** at limit **
  21  Prefactor     .10000E-03    2.2033       -.19424E-07** at limit **
  22  Prefactor     .10000E-03    11.063        .20639E-05** at limit **
  23  Prefactor     .10000E-03    4.8480       -.78359E-07** at limit **
  24  Prefactor     11.801        15.029        .77272E-06   -.52238E-04
  25  norm          9.2283        16.061        .51536E-06   -.65596E-04
  26  Prefactor     22.965        70.299       -.55074E-04    .17657E-05
  27  Normalizat    .98041        .15758        .69284E-06   -.11576E-03
  28  Prefactor     1.0958        .17502        .22043E-05   -.25305E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.0791
  norm       = 2.76873
  Prefactor  = 0.0001
  Prefactor  = 8.82191
  Prefactor  = 21.7488
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.9233
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.2143
  Prefactor  = 0.0001
  Prefactor  = 12.5095
  Prefactor  = 6.46759
  norm       = 1.01581
  Prefactor  = 0.0001
  Prefactor  = 0.00010006
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.8014
  norm       = 9.22833
  Prefactor  = 22.9654
  Normalizat = 0.980407
  Prefactor  = 1.09579
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.352     FROM HESSE     STATUS=OK           521 CALLS     4032 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0791        71.359        .13275E-03   -1.5105    
   2  norm          2.7687        3.7438        .18161E-03   -1.5375    
   3  Prefactor     .10000E-03    247.12        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.8219        34.811        .13491E-03   -1.5114    
   5  Prefactor     21.749        29.213        .85888E-04   -1.4775    
   6  Prefactor     .10000E-03    1.7976        .11114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.8530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .67611        .68303E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.923        22.783        .94621E-04   -1.4861    
  10  Prefactor     .10000E-03    10.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    63.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.214        26.070        .84983E-04   -1.4765    
  13  Prefactor     .10000E-03    25.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.510        19.949        .11327E-03   -1.5000    
  15  Prefactor     6.4676        11.981        .15782E-03   -1.5199    
  16  norm          1.0158        1.3874        .11899E-02   -1.5506    
  17  Prefactor     .10000E-03    2.6046        .13439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10006E-03    9.3543        .29263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.1885        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .92609        .80065E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.2090        .12375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    11.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    4.8706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     11.801        14.939        .11661E-03   -1.5021    
  25  norm          9.2283        15.964        .13193E-03   -1.5100    
  26  Prefactor     22.965        70.446        .83512E-04   -1.4749    
  27  Normalizat    .98041        .19193        .23486E-03   -.93690    
  28  Prefactor     1.0958        .21246        .25552E-03   -.89601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8961e-09
Minuit parameter uncertainties:
  1  50.9905
  2  3.74413
  3  3.95318e-05
  4  34.8912
  5  29.2322
  6  1.92732e-06
  7  8.32514e-06
  8  4.08527e-06
  9  22.7942
  10  4.22406e-05
  11  0.000203478
  12  26.0837
  13  0.000197247
  14  19.9593
  15  11.985
  16  1.38744
  17  1.38625e-06
  18  0.00150453
  19  2.17725e-05
  20  3.41915e-06
  21  6.12788e-06
  22  3.50357e-05
  23  1.62072e-05
  24  14.9438
  25  15.9712
  26  70.7026
  27  0.192066
  28  0.212627
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.016e+00  1.387e+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.096e+00  2.126e-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.804e-01  1.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/847804/likelihoodResults_256176001_256435201_4FGL_J1454.4+5124_daily_bin65.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) = 7289.33640641
delta logL = 0.0155681536226

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7289.33520576
delta logL = 0.0167688034016

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0795       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8305       1.0000          .0000       5.0000    
     3 'Normalizat'    .98250       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0946       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=   7289.335     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0793        45.177        .11604E-01    .98205E-03
   2  alpha         1.8306        3.0153        .43192        .84325E-05
   3  Normalizat    .98247        .43052E-01    .45947E-01    .22056E-04
   4  Prefactor     1.0946        .46843E-01    .57809E-01   -.35951E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.07934
  alpha      = 1.83056
  Normalizat = 0.98247
  Prefactor  = 1.09464
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.335     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0793        1.4493        .11644E-03   -1.5500    
   2  alpha         1.8306        .73254        .18360E-01   -.27109    
   3  Normalizat    .98247        .18266        .23465E-03   -.93620    
   4  Prefactor     1.0946        .21040        .25564E-03   -.89638    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11443e-10
Minuit parameter uncertainties:
  1  1.44933
  2  0.74433
  3  0.182776
  4  0.210556
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847804': 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) = 7289.33520575
delta logL = 0.0167688179727

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.079e+00  1.449e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.831e+00  7.443e-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:  1.095e+00  2.106e-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.825e-01  1.828e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.72
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/847804/cmap_HighResolution_256176001_256435201_4FGL_J1454.4+5124_daily_bin65.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-05', job_status='DONE', photon_flux_upper_limit='6.32e-08', time_completed='2021-09-10 12:56:39.732940', job_id='847804', GAL2='1.09', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1631303799.73', return_code2='0', ts='0.72', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.68e-02', ts2='0.75', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='65' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:56:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 847804: <4FGL_J1454.4+5124_daily_bin65> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin65> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:10 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:41:11 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:41:11 2021
Terminated at Fri Sep 10 12:56:40 2021
Results reported at Fri Sep 10 12:56:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin65 223.625 51.409 256176001 256435201 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 :                                   897.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            930 sec.

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

