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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin43
RA = 223.625, Dec = 51.409
tmin = 250473601, tmax = 250732801
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='847772', job_status='RUN', time_executed='2021-09-10 12:41:27.061983', time_epoch_executed='1631302887.06' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='43'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847772

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

Retrieving the FT1 file...

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

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

Retrieving 42 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847772/ft1_4FGL_J1454.4+5124_daily_bin43.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847772/ft2_4FGL_J1454.4+5124_daily_bin43.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847772/ft1_4FGL_J1454.4+5124_daily_bin43.fits outfile=/scratch/kocevski/847772/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin43.fits ra=223.625 dec=51.409 rad=12.0 tmin=250473601.0 tmax=250732801.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.35
user 1.15
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847772/ft1_filtered_4FGL_J1454.4+5124_daily_bin43.fits" evtable="EVENTS" scfile=/scratch/kocevski/847772/ft2_4FGL_J1454.4+5124_daily_bin43.fits sctable="SC_DATA" outfile=/scratch/kocevski/847772/ltcube_250473601_250732801_4FGL_J1454.4+5124_daily_bin43.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/847772/ft2_4FGL_J1454.4+5124_daily_bin43.fits
.....................!
real 12.10
user 11.78
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847772/ft1_filtered_4FGL_J1454.4+5124_daily_bin43.fits evtable="EVENTS" scfile=/scratch/kocevski/847772/ft2_4FGL_J1454.4+5124_daily_bin43.fits sctable="SC_DATA" expcube=/scratch/kocevski/847772/ltcube_250473601_250732801_4FGL_J1454.4+5124_daily_bin43.fits outfile=/scratch/kocevski/847772/expmap_250473601_250732801_4FGL_J1454.4+5124_daily_bin43.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/847772/ltcube_250473601_250732801_4FGL_J1454.4+5124_daily_bin43.fits
.....................!
real 190.94
user 186.14
sys 4.25

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/847772/ft1_filtered_4FGL_J1454.4+5124_daily_bin43.fits scfile=/scratch/kocevski/847772/ft2_4FGL_J1454.4+5124_daily_bin43.fits outfile=/scratch/kocevski/847772/cmap_250473601_250732801_4FGL_J1454.4+5124_daily_bin43.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847772/ft1_filtered_4FGL_J1454.4+5124_daily_bin43.fits scfile=/scratch/kocevski/847772/ft2_4FGL_J1454.4+5124_daily_bin43.fits outfile=/scratch/kocevski/847772/cmap_HighResolution_250473601_250732801_4FGL_J1454.4+5124_daily_bin43.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.9131       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.884       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0096       1.0000         .10000E-03   10000.    
     7 'Prefactor '    35.690       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.5176       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.5274       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.8873       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.1442       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .27962E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.469       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .35454       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.273       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.4092       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    23.199       1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.0015       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    28.036       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .92030       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98048       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=   6734.524     FROM MIGRAD    STATUS=CONVERGED    716 CALLS     4247 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    27.542       -.58099E-08** at limit **
   2  norm          4.9118        4.8418        .15516E-05    .13267E-03
   3  Prefactor     .10000E-03    145.38        .50913E-07** at limit **
   4  Prefactor     .10000E-03    23.794        .30576E-06** at limit **
   5  Prefactor     12.827        40.211       -.52542E-06    .11991E-03
   6  Prefactor     2.0092        2.7780        .15714E-06    .18754E-03
   7  Prefactor     35.686        22.467        .54899E-06   -.13559E-03
   8  Prefactor     5.5179        4.1287        .36620E-06    .10868E-02
   9  Prefactor     .10000E-03    10.640        .66845E-07** at limit **
  10  Prefactor     1.5035        197.10       -.31490E-05    .14198E-04
  11  Prefactor     9.9754        84.734       -.12128E-05    .73486E-04
  12  Prefactor     2.1424        32.433        .93678E-06   -.43225E-04
  13  Prefactor     .10053E-03    16.180       -.96168E-06** at limit **
  14  Prefactor     21.461        17.046        .28412E-06   -.14563E-04
  15  Prefactor     .10000E-03    10.603       -.22963E-06** at limit **
  16  norm          .35460        1.0026        .15362E-06    .67012E-05
  17  Prefactor     18.270        10.834        .20787E-06    .23975E-04
  18  Prefactor     3.4083        5.8000        .38541E-05   -.36044E-04
  19  Prefactor     .10000E-03    10.408       -.98491E-07** at limit **
  20  norm          .10000E-03    .81796        .12168E-07** at limit **
  21  Prefactor     .10000E-03    6.5848        .14197E-06** at limit **
  22  Prefactor     .10000E-03    15.735        .91990E-07** at limit **
  23  Prefactor     23.194        11.753        .61825E-07    .69645E-05
  24  Prefactor     5.0011        4.7615        .48849E-07    .91153E-05
  25  norm          .10000E-03    3.9884        .22948E-08** at limit **
  26  Prefactor     28.032        53.828        .47219E-06   -.30945E-05
  27  Normalizat    .92070        .17159       -.16675E-05    .11044E-03
  28  Prefactor     .98008        .17856        .24357E-06    .11220E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.91184
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.8266
  Prefactor  = 2.00922
  Prefactor  = 35.6861
  Prefactor  = 5.51791
  Prefactor  = 0.0001
  Prefactor  = 1.50348
  Prefactor  = 9.97541
  Prefactor  = 2.14242
  Prefactor  = 0.000100535
  Prefactor  = 21.4607
  Prefactor  = 0.0001
  norm       = 0.354597
  Prefactor  = 18.2703
  Prefactor  = 3.4083
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.1944
  Prefactor  = 5.00112
  norm       = 0.0001
  Prefactor  = 28.0323
  Normalizat = 0.920703
  Prefactor  = 0.980083
 **********
 **   18 **HESSE 
 **********

 FCN=   6734.524     FROM HESSE     STATUS=OK           535 CALLS     4782 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    27.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.9118        4.8272        .83921E-03   -1.5265    
   3  Prefactor     .10000E-03    145.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.827        40.235        .11159E-03   -1.4992    
   6  Prefactor     2.0092        2.7585        .15473E-03   -1.5424    
   7  Prefactor     35.686        22.556        .67082E-04   -1.4512    
   8  Prefactor     5.5179        3.8876        .10494E-03   -1.5238    
   9  Prefactor     .10000E-03    10.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.5035        171.13        .34546E-03   -1.5463    
  11  Prefactor     9.9754        83.329        .12744E-03   -1.5076    
  12  Prefactor     2.1424        32.494        .28145E-03   -1.5415    
  13  Prefactor     .10053E-03    17.099        .11938       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.461        16.955        .86445E-04   -1.4781    
  15  Prefactor     .10000E-03    10.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .35460        1.0505        .13008E-02   -1.5589    
  17  Prefactor     18.270        10.808        .93696E-04   -1.4853    
  18  Prefactor     3.4083        5.8010        .10955E-02   -1.5339    
  19  Prefactor     .10000E-03    10.695        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .81999        .72442E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.6283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    15.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     23.194        11.716        .83163E-04   -1.4744    
  24  Prefactor     5.0011        4.7669        .16983E-03   -1.5261    
  25  norm          .10000E-03    4.0076        .16001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     28.032        53.829        .75662E-04   -1.4649    
  27  Normalizat    .92070        .20252        .23849E-03   -.95736    
  28  Prefactor     .98008        .21152        .25985E-03   -.93396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.45635e-10
Minuit parameter uncertainties:
  1  2.6218e-07
  2  4.82754
  3  5.84951e-05
  4  8.00222e-05
  5  40.3199
  6  2.75872
  7  22.5616
  8  3.88783
  9  3.21123e-05
  10  32.1739
  11  57.7714
  12  16.6976
  13  0.00604994
  14  16.9589
  15  7.6746e-05
  16  1.05054
  17  10.8092
  18  5.80196
  19  2.389e-05
  20  5.16585e-07
  21  1.98487e-05
  22  2.56657e-05
  23  11.7174
  24  4.76725
  25  2.2362e-06
  26  53.9228
  27  0.202689
  28  0.211699
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.546e-01  1.051e+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:  9.801e-01  2.117e-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.207e-01  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/847772/likelihoodResults_250473601_250732801_4FGL_J1454.4+5124_daily_bin43.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) = 6734.38303786
delta logL = 0.141226155267

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6734.38008099
delta logL = 0.144183033488

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31769       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6468       1.0000          .0000       5.0000    
     3 'Normalizat'    .91243       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98247       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=   6734.380     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      210 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31723        7.1298        .18122E-01    .22921E-02
   2  alpha         2.6505        3.7113        .41242        .50405E-04
   3  Normalizat    .91236        .20759E-01    .45060E-01   -.82329E-04
   4  Prefactor     .98256        .23373E-01    .46048E-01   -.68151E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.317226
  alpha      = 2.65046
  Normalizat = 0.912357
  Prefactor  = 0.982564
 **********
 **   18 **HESSE 
 **********

 FCN=   6734.380     FROM HESSE     STATUS=OK            35 CALLS      245 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31723        1.2172        .81311E-03   -1.5595    
   2  alpha         2.6505        1.7863        .18280E-01    .60221E-01
   3  Normalizat    .91236        .18640        .23940E-03   -.96027    
   4  Prefactor     .98256        .20907        .25944E-03   -.93313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.86383e-11
Minuit parameter uncertainties:
  1  1.21725
  2  1.99091
  3  0.186535
  4  0.209243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847772': 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) = 6734.3800746
delta logL = 0.144189421469

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.172e-01  1.217e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.650e+00  1.991e+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:  9.826e-01  2.092e-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.124e-01  1.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/847772/cmap_HighResolution_250473601_250732801_4FGL_J1454.4+5124_daily_bin43.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-05', job_status='DONE', photon_flux_upper_limit='5.17e-08', time_completed='2021-09-10 12:57:09.049540', job_id='847772', GAL2='0.98', fit_tolerance='1e-08', EG2='0.91', EG='0.92', time_epoch_completed='1631303829.05', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.44e-01', ts2='0.43', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='43' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:57:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 847772: <4FGL_J1454.4+5124_daily_bin43> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin43 223.625 51.409 250473601 250732801 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 :                                   941.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             310.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            962 sec.

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

