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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin121
RA = 223.625, Dec = 51.409
tmin = 270691201, tmax = 270950401
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='847887', job_status='RUN', time_executed='2021-09-10 12:43:55.145505', time_epoch_executed='1631303035.15' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='121'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847887

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847887/ft1_4FGL_J1454.4+5124_daily_bin121.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847887/ft2_4FGL_J1454.4+5124_daily_bin121.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847887/ft1_4FGL_J1454.4+5124_daily_bin121.fits outfile=/scratch/kocevski/847887/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin121.fits ra=223.625 dec=51.409 rad=12.0 tmin=270691201.0 tmax=270950401.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.63
user 1.45
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847887/ft1_filtered_4FGL_J1454.4+5124_daily_bin121.fits evtable="EVENTS" scfile=/scratch/kocevski/847887/ft2_4FGL_J1454.4+5124_daily_bin121.fits sctable="SC_DATA" expcube=/scratch/kocevski/847887/ltcube_270691201_270950401_4FGL_J1454.4+5124_daily_bin121.fits outfile=/scratch/kocevski/847887/expmap_270691201_270950401_4FGL_J1454.4+5124_daily_bin121.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/847887/ltcube_270691201_270950401_4FGL_J1454.4+5124_daily_bin121.fits
.....................!
real 190.43
user 185.80
sys 4.29

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/847887/ft1_filtered_4FGL_J1454.4+5124_daily_bin121.fits scfile=/scratch/kocevski/847887/ft2_4FGL_J1454.4+5124_daily_bin121.fits outfile=/scratch/kocevski/847887/cmap_270691201_270950401_4FGL_J1454.4+5124_daily_bin121.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/847887/ft1_filtered_4FGL_J1454.4+5124_daily_bin121.fits scfile=/scratch/kocevski/847887/ft2_4FGL_J1454.4+5124_daily_bin121.fits outfile=/scratch/kocevski/847887/cmap_HighResolution_270691201_270950401_4FGL_J1454.4+5124_daily_bin121.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/847887/ft1_filtered_4FGL_J1454.4+5124_daily_bin121.fits evtable="EVENTS" scfile=/scratch/kocevski/847887/ft2_4FGL_J1454.4+5124_daily_bin121.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/847887/Model_4FGL_J1454.4+5124_daily_bin121.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/847887/ft1_filtered_4FGL_J1454.4+5124_daily_bin121.fits.....................!
real 51.21
user 49.92
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.3599       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .50920E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    50.550       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2809       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0844       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10668E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9155       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.6315       1.0000         .10000E-03   10000.    
    11 'Prefactor '    65.177       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.4641       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.1853       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.6168       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .26166E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.8350       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .28078E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.874       1.0000         .10000E-03   10000.    
    24 'Prefactor '    11.540       1.0000         .10000E-03   10000.    
    25 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.3355       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .53114       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=   6325.077     FROM MIGRAD    STATUS=CONVERGED    683 CALLS     3491 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    77.263        .11162E-04** at limit **
   2  norm          3.3590        4.3638        .43414E-06   -.55356E-03
   3  Prefactor     .10000E-03    301.86       -.16441E-03** at limit **
   4  Prefactor     50.504        43.612       -.36745E-04   -.11370E-03
   5  Prefactor     .10000E-03    13.093       -.99304E-06** at limit **
   6  Prefactor     3.2808        3.2473        .35970E-06    .19018E-03
   7  Prefactor     2.0835        29.661       -.22596E-05   -.11199E-03
   8  Prefactor     .10000E-03    1.5830        .88003E-06** at limit **
   9  Prefactor     4.9005        18.730        .84409E-05   -.13952E-03
  10  Prefactor     3.5743        31.136        .92512E-05   -.16088E-03
  11  Prefactor     65.167        59.064       -.66401E-05   -.48709E-04
  12  Prefactor     4.4671        34.772       -.47854E-05   -.25987E-04
  13  Prefactor     .10000E-03    19.068        .41455E-05** at limit **
  14  Prefactor     7.1856        9.4502        .48112E-07   -.61747E-03
  15  Prefactor     .10000E-03    7.0960       -.21755E-06** at limit **
  16  norm          1.6169        1.0840       -.22410E-07   -.13857E-03
  17  Prefactor     .10000E-03    2.7385       -.51244E-07** at limit **
  18  Prefactor     .10003E-03    2.5425        .76570E-06** at limit **
  19  Prefactor     3.8351        4.7917       -.55164E-06   -.27601E-03
  20  norm          .10000E-03    .95474       -.13014E-06** at limit **
  21  Prefactor     .10000E-03    8.2549       -.83234E-06** at limit **
  22  Prefactor     .10000E-03    27.247       -.86238E-05** at limit **
  23  Prefactor     12.893        13.756        .30231E-06    .48471E-03
  24  Prefactor     11.542        7.5705       -.12083E-06   -.13733E-04
  25  norm          .10000E-03    5.4309        .21299E-07** at limit **
  26  Prefactor     .10000E-03    29.922        .26138E-05** at limit **
  27  Normalizat    1.3355        .17196        .16911E-05   -.26588E-03
  28  Prefactor     .53124        .17577        .10404E-06   -.25523E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.35899
  Prefactor  = 0.0001
  Prefactor  = 50.5041
  Prefactor  = 0.0001
  Prefactor  = 3.28079
  Prefactor  = 2.08352
  Prefactor  = 0.000100002
  Prefactor  = 4.90052
  Prefactor  = 3.5743
  Prefactor  = 65.1674
  Prefactor  = 4.46713
  Prefactor  = 0.0001
  Prefactor  = 7.1856
  Prefactor  = 0.0001
  norm       = 1.6169
  Prefactor  = 0.0001
  Prefactor  = 0.000100032
  Prefactor  = 3.83511
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.8929
  Prefactor  = 11.5425
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.33548
  Prefactor  = 0.531243
 **********
 **   18 **HESSE 
 **********

 FCN=   6325.077     FROM HESSE     STATUS=OK           519 CALLS     4010 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    77.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.3590        4.3453        .17907E-03   -1.5341    
   3  Prefactor     .10000E-03    301.14        .21148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     50.504        43.556        .28203E-03   -1.4285    
   5  Prefactor     .10000E-03    13.099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.2808        3.2455        .13733E-03   -1.5346    
   7  Prefactor     2.0835        29.633        .28600E-03   -1.5419    
   8  Prefactor     .10000E-03    2.8268        .18025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9005        18.578        .18141E-03   -1.5265    
  10  Prefactor     3.5743        27.811        .21200E-03   -1.5330    
  11  Prefactor     65.167        59.020        .49710E-04   -1.4092    
  12  Prefactor     4.4671        34.988        .19058E-03   -1.5285    
  13  Prefactor     .10000E-03    19.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.1856        9.4412        .74821E-03   -1.5172    
  15  Prefactor     .10000E-03    7.1271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.6169        1.0834        .33295E-04   -1.5454    
  17  Prefactor     .10000E-03    2.7465        .12850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10003E-03    11.539        .24421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.8351        4.7898        .18734E-03   -1.5316    
  20  norm          .10000E-03    .95620        .75823E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    17.517        .36864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    27.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     12.893        11.592        .11164E-03   -1.4990    
  24  Prefactor     11.542        7.5599        .11793E-03   -1.5028    
  25  norm          .10000E-03    5.4708        .18071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    29.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.3355        .19536        .19514E-03   -.82513    
  28  Prefactor     .53124        .19800        .32471E-03   -1.1056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82651e-09
Minuit parameter uncertainties:
  1  6.24888e-05
  2  4.34573
  3  6.25087e-05
  4  43.5836
  5  9.22294e-05
  6  3.24571
  7  15.7242
  8  0.000147779
  9  18.5997
  10  19.9529
  11  59.0732
  12  25.0235
  13  8.6059e-05
  14  9.44319
  15  6.10077e-06
  16  1.08339
  17  3.99442e-06
  18  0.0012145
  19  4.7903
  20  1.1291e-06
  21  1.80199e-06
  22  2.54158e-05
  23  11.5938
  24  7.56049
  25  7.22186e-06
  26  1.5193e-05
  27  0.195471
  28  0.198253
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.617e+00  1.083e+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:  5.312e-01  1.983e-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.335e+00  1.955e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.73
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.43e-08 +/- 1.63e-08
Energy Flux (Fixed Index): 1.74e-05 +/- 1.17e-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) = 6324.86960087
delta logL = 0.207276651205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6324.86613027
delta logL = 0.210747250844

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7673       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6233       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .52822       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6324.866     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      261 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7671        1.2216        .71047E-04    .14738E-02
   2  alpha         1.6228        .51077        .14068E-01    .71027E-04
   3  Normalizat    1.3421        .17813        .19476E-03   -.50107E-03
   4  Prefactor     .52836        .19550        .32558E-03   -.39374E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.76715
  alpha      = 1.6228
  Normalizat = 1.34214
  Prefactor  = 0.528359
 **********
 **   18 **HESSE 
 **********

 FCN=   6324.866     FROM HESSE     STATUS=OK            23 CALLS      284 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7671        1.2233        .14209E-04   -1.5442    
   2  alpha         1.6228        .51151        .56270E-03   -.35851    
   3  Normalizat    1.3421        .17824        .38952E-04   -.82317    
   4  Prefactor     .52836        .19563        .13023E-04   -1.1069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.1119e-10
Minuit parameter uncertainties:
  1  1.22328
  2  0.515674
  3  0.178323
  4  0.195877
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847887': 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) = 6324.8661295
delta logL = 0.210748025988

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.767e+00  1.223e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.623e+00  5.157e-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:  5.284e-01  1.959e-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.342e+00  1.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.15
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.62 +/- 0.52
Photon Flux (Free Index): 1.69e-08 +/- 1.54e-08
Energy Flux (Free Index): 2.87e-05 +/- 3.14e-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/847887/cmap_HighResolution_270691201_270950401_4FGL_J1454.4+5124_daily_bin121.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.43e-08', energy_flux2='2.87e-05', photon_flux_error='1.63e-08', dlogl='2.11e-01', energy_flux='1.74e-05', photon_flux2='1.69e-08', job_status='DONE', time_completed='2021-09-10 12:56:12.489033', photon_index_error2='0.52', photon_index2='1.62', ts='8.73', fit_tolerance='1e-08', GAL='0.53', photon_index_error='0.00', energy_flux_error2='3.14e-05', EG='1.34', time_epoch_completed='1631303772.49', return_code='0', job_id='847887', GAL2='0.53', EG2='1.34', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='1.54e-08', ts2='9.15', photon_index='1.97' WHERE bin_id='121' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:56:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 847887: <4FGL_J1454.4+5124_daily_bin121> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin121 223.625 51.409 270691201 270950401 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 :                                   738.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             287.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            898 sec.

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

