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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin159
RA = 223.625, Dec = 51.409
tmin = 280540801, tmax = 280800001
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='847946', job_status='RUN', time_executed='2021-09-10 12:43:37.054553', time_epoch_executed='1631303017.05' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='159'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847946

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847946/ft1_4FGL_J1454.4+5124_daily_bin159.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847946/ft2_4FGL_J1454.4+5124_daily_bin159.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847946/ft1_4FGL_J1454.4+5124_daily_bin159.fits outfile=/scratch/kocevski/847946/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin159.fits ra=223.625 dec=51.409 rad=12.0 tmin=280540801.0 tmax=280800001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.51
user 3.29
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847946/ft1_filtered_4FGL_J1454.4+5124_daily_bin159.fits" evtable="EVENTS" scfile=/scratch/kocevski/847946/ft2_4FGL_J1454.4+5124_daily_bin159.fits sctable="SC_DATA" outfile=/scratch/kocevski/847946/ltcube_280540801_280800001_4FGL_J1454.4+5124_daily_bin159.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/847946/ft2_4FGL_J1454.4+5124_daily_bin159.fits
.....................!
real 11.84
user 11.47
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847946/ft1_filtered_4FGL_J1454.4+5124_daily_bin159.fits evtable="EVENTS" scfile=/scratch/kocevski/847946/ft2_4FGL_J1454.4+5124_daily_bin159.fits sctable="SC_DATA" expcube=/scratch/kocevski/847946/ltcube_280540801_280800001_4FGL_J1454.4+5124_daily_bin159.fits outfile=/scratch/kocevski/847946/expmap_280540801_280800001_4FGL_J1454.4+5124_daily_bin159.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/847946/ltcube_280540801_280800001_4FGL_J1454.4+5124_daily_bin159.fits
.....................!
real 191.13
user 186.17
sys 4.57

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/847946/ft1_filtered_4FGL_J1454.4+5124_daily_bin159.fits scfile=/scratch/kocevski/847946/ft2_4FGL_J1454.4+5124_daily_bin159.fits outfile=/scratch/kocevski/847946/cmap_280540801_280800001_4FGL_J1454.4+5124_daily_bin159.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847946/ft1_filtered_4FGL_J1454.4+5124_daily_bin159.fits scfile=/scratch/kocevski/847946/ft2_4FGL_J1454.4+5124_daily_bin159.fits outfile=/scratch/kocevski/847946/cmap_HighResolution_280540801_280800001_4FGL_J1454.4+5124_daily_bin159.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .11052E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11664E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    35.797       1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.372       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11606E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10232E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0291       1.0000         .10000E-03   10000.    
     9 'Prefactor '    34.115       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19023E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.820       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.0560       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .40565       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .98958       1.0000         .10000E-03   10000.    
    20 'norm      '    .75058       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10628E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.932       1.0000         .10000E-03   10000.    
    23 'Prefactor '    30.586       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.5716       1.0000         .10000E-03   10000.    
    25 'norm      '    16.038       1.0000         .10000E-03   10000.    
    26 'Prefactor '    114.65       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.3917       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .55556       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=   6314.420     FROM MIGRAD    STATUS=CONVERGED    695 CALLS     3519 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    22.317       -.12480E-07** at limit **
   2  norm          .10004E-03    2.3085       -.76009E-06** at limit **
   3  Prefactor     .10011E-03    6711.8       -.17334E-04** at limit **
   4  Prefactor     35.787        39.251        .25572E-06   -.76798E-07
   5  Prefactor     36.384        31.187        .11970E-06   -.62342E-04
   6  Prefactor     .10002E-03    2.9606        .10229E-05** at limit **
   7  Prefactor     .10000E-03    21.486        .34972E-06** at limit **
   8  Prefactor     1.0295        1.1818       -.17459E-07    .33250E-04
   9  Prefactor     34.126        23.196        .10395E-06   -.40135E-04
  10  Prefactor     .10000E-03    9.9727        .12204E-06** at limit **
  11  Prefactor     .10000E-03    29.647        .72342E-07** at limit **
  12  Prefactor     .10000E-03    13.972        .16810E-06** at limit **
  13  Prefactor     .10000E-03    56.149        .10264E-05** at limit **
  14  Prefactor     13.821        15.483        .15109E-05    .61153E-04
  15  Prefactor     .10000E-03    7.1530       -.23720E-07** at limit **
  16  norm          2.0559        1.3189       -.80254E-08   -.19236E-03
  17  Prefactor     .10000E-03    4.7419        .34328E-07** at limit **
  18  Prefactor     .40196        3.2713        .20040E-06   -.76542E-04
  19  Prefactor     .98566        4.7612        .17442E-05   -.43828E-03
  20  norm          .74657        2.8798        .19110E-05    .36115E-03
  21  Prefactor     .10000E-03    11.981       -.75375E-06** at limit **
  22  Prefactor     13.931        17.492        .22552E-06   -.34733E-04
  23  Prefactor     30.581        15.764       -.39530E-06   -.18983E-03
  24  Prefactor     3.5715        3.7635       -.62959E-07   -.59549E-04
  25  norm          16.037        9.1236        .11006E-06   -.52657E-04
  26  Prefactor     114.62        85.315        .47080E-06   -.14804E-04
  27  Normalizat    1.3918        .17361       -.93666E-06   -.54533E-03
  28  Prefactor     .55565        .18554       -.14482E-05   -.32366E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.000100039
  Prefactor  = 0.000100113
  Prefactor  = 35.7871
  Prefactor  = 36.3843
  Prefactor  = 0.00010002
  Prefactor  = 0.0001
  Prefactor  = 1.02953
  Prefactor  = 34.1264
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.8213
  Prefactor  = 0.0001
  norm       = 2.05591
  Prefactor  = 0.0001
  Prefactor  = 0.401956
  Prefactor  = 0.985657
  norm       = 0.746571
  Prefactor  = 0.000100001
  Prefactor  = 13.9305
  Prefactor  = 30.581
  Prefactor  = 3.57147
  norm       = 16.0369
  Prefactor  = 114.625
  Normalizat = 1.39178
  Prefactor  = 0.55565
 **********
 **   18 **HESSE 
 **********

 FCN=   6314.420     FROM HESSE     STATUS=OK           527 CALLS     4046 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    22.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10004E-03    11.023        .22156E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10011E-03    6723.3        .18163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     35.787        39.151        .66982E-04   -1.4511    
   5  Prefactor     36.384        31.076        .66452E-04   -1.4501    
   6  Prefactor     .10002E-03    13.396        .25110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    21.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0295        1.1705        .89372E-04   -1.5505    
   9  Prefactor     34.126        23.191        .68609E-04   -1.4539    
  10  Prefactor     .10000E-03    10.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    29.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    56.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.821        15.397        .53872E-03   -1.4964    
  15  Prefactor     .10000E-03    7.1728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.0559        1.3191        .70435E-04   -1.5421    
  17  Prefactor     .10000E-03    4.7680        .16884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .40196        18.382        .27153E-02   -1.5581    
  19  Prefactor     .98566        11.821        .29769E-02   -1.5509    
  20  norm          .74657        2.8989        .25332E-03   -1.5535    
  21  Prefactor     .10000E-03    12.294        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     13.931        17.477        .10731E-03   -1.4961    
  23  Prefactor     30.581        15.666        .72448E-04   -1.4601    
  24  Prefactor     3.5715        3.7670        .15371E-03   -1.5330    
  25  norm          16.037        9.1211        .10001E-03   -1.4907    
  26  Prefactor     114.62        85.343        .18787E-03   -1.3563    
  27  Normalizat    1.3918        .20060        .20236E-03   -.80867    
  28  Prefactor     .55565        .21493        .33940E-03   -1.0949    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.282e-08
Minuit parameter uncertainties:
  1  4.75205e-06
  2  0.00130376
  3  0.0422516
  4  39.1787
  5  31.0895
  6  0.00102976
  7  4.95036e-05
  8  1.17055
  9  23.197
  10  1.70413e-05
  11  4.21081e-06
  12  3.12946e-05
  13  0.000178911
  14  15.4019
  15  3.59951e-06
  16  1.31916
  17  5.60833e-06
  18  5.43753
  19  6.82824
  20  2.8994
  21  0.000168081
  22  17.4837
  23  15.6684
  24  3.76723
  25  9.12193
  26  85.4346
  27  0.200712
  28  0.21525
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.056e+00  1.319e+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.557e-01  2.153e-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.392e+00  2.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.13
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.09e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 2.21e-05 +/- 1.42e-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) = 6314.35640842
delta logL = 0.0633723606134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6314.3553754
delta logL = 0.0644053849892

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1165       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7793       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3967       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55462       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=   6314.355     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      213 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1167        47.677        .70881E-02   -.68159E-04
   2  alpha         1.7794        2.6879        .28997        .14943E-04
   3  Normalizat    1.3967        .14819        .45720E-01   -.19643E-05
   4  Prefactor     .55462        .11799        .76738E-01    .34374E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.1167
  alpha      = 1.77942
  Normalizat = 1.39671
  Prefactor  = 0.554617
 **********
 **   18 **HESSE 
 **********

 FCN=   6314.355     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .30E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1167        1.4109        .74712E-04   -1.5417    
   2  alpha         1.7794        .53222        .14528E-01   -.29238    
   3  Normalizat    1.3967        .19106        .20210E-03   -.80724    
   4  Prefactor     .55462        .21181        .33979E-03   -1.0953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00774e-13
Minuit parameter uncertainties:
  1  1.41095
  2  0.536706
  3  0.191159
  4  0.212116
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847946': 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) = 6314.35537533
delta logL = 0.0644054544409

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.117e+00  1.411e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.779e+00  5.367e-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.546e-01  2.121e-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.397e+00  1.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.26
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.78 +/- 0.54
Photon Flux (Free Index): 2.43e-08 +/- 2.37e-08
Energy Flux (Free Index): 2.72e-05 +/- 2.55e-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/847946/cmap_HighResolution_280540801_280800001_4FGL_J1454.4+5124_daily_bin159.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.09e-08', energy_flux2='2.72e-05', photon_flux_error='1.98e-08', dlogl='6.44e-02', energy_flux='2.21e-05', photon_flux2='2.43e-08', job_status='DONE', time_completed='2021-09-10 12:56:21.810116', photon_index_error2='0.54', photon_index2='1.78', ts='9.13', fit_tolerance='1e-08', GAL='0.56', photon_index_error='0.00', energy_flux_error2='2.55e-05', EG='1.39', time_epoch_completed='1631303781.81', return_code='0', job_id='847946', GAL2='0.55', EG2='1.40', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='2.37e-08', ts2='9.26', photon_index='1.97' WHERE bin_id='159' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:56:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 847946: <4FGL_J1454.4+5124_daily_bin159> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin159 223.625 51.409 280540801 280800001 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 :                                   762.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             244.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            904 sec.

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

