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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin127
RA = 223.625, Dec = 51.409
tmin = 272246401, tmax = 272505601
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='847896', job_status='RUN', time_executed='2021-09-10 12:43:15.350635', time_epoch_executed='1631302995.35' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='127'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847896

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847896/ft1_4FGL_J1454.4+5124_daily_bin127.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847896/ft2_4FGL_J1454.4+5124_daily_bin127.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847896/ft1_4FGL_J1454.4+5124_daily_bin127.fits outfile=/scratch/kocevski/847896/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin127.fits ra=223.625 dec=51.409 rad=12.0 tmin=272246401.0 tmax=272505601.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 2.49
user 2.28
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847896/ft1_filtered_4FGL_J1454.4+5124_daily_bin127.fits evtable="EVENTS" scfile=/scratch/kocevski/847896/ft2_4FGL_J1454.4+5124_daily_bin127.fits sctable="SC_DATA" expcube=/scratch/kocevski/847896/ltcube_272246401_272505601_4FGL_J1454.4+5124_daily_bin127.fits outfile=/scratch/kocevski/847896/expmap_272246401_272505601_4FGL_J1454.4+5124_daily_bin127.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/847896/ltcube_272246401_272505601_4FGL_J1454.4+5124_daily_bin127.fits
.....................!
real 191.04
user 185.13
sys 5.28

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/847896/ft1_filtered_4FGL_J1454.4+5124_daily_bin127.fits scfile=/scratch/kocevski/847896/ft2_4FGL_J1454.4+5124_daily_bin127.fits outfile=/scratch/kocevski/847896/cmap_272246401_272505601_4FGL_J1454.4+5124_daily_bin127.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=223.625 yref=51.409 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847896/ft1_filtered_4FGL_J1454.4+5124_daily_bin127.fits scfile=/scratch/kocevski/847896/ft2_4FGL_J1454.4+5124_daily_bin127.fits outfile=/scratch/kocevski/847896/cmap_HighResolution_272246401_272505601_4FGL_J1454.4+5124_daily_bin127.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.55
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.9545       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .78129E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    42.909       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.019       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7288       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.2552       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6513       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15625E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.182       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.668       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.605       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.138       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.062       1.0000         .10000E-03   10000.    
    20 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.8967       1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.619       1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.5981       1.0000         .10000E-03   10000.    
    25 'norm      '    8.6053       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0247       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .89882       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=   5372.240     FROM MIGRAD    STATUS=CONVERGED    695 CALLS     3457 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    52.132       -.26556E-06** at limit **
   2  norm          5.9557        5.6068        .27802E-05   -.82636E-03
   3  Prefactor     .10006E-03    758.65       -.11632E-04** at limit **
   4  Prefactor     42.918        48.776       -.83327E-06    .30354E-05
   5  Prefactor     14.000        33.082        .40921E-05    .21341E-03
   6  Prefactor     1.7312        3.0798        .10714E-06   -.44295E-04
   7  Prefactor     3.2310        29.433       -.14656E-05   -.91494E-04
   8  Prefactor     1.6517        2.3553       -.91882E-07   -.16368E-03
   9  Prefactor     .10000E-03    19.512       -.61491E-06** at limit **
  10  Prefactor     .10000E-03    9.8490        .15942E-07** at limit **
  11  Prefactor     .10000E-03    92.914        .82149E-06** at limit **
  12  Prefactor     .10000E-03    8.2049       -.52223E-08** at limit **
  13  Prefactor     .10000E-03    16.965        .16351E-06** at limit **
  14  Prefactor     12.168        16.811       -.33849E-06   -.87991E-04
  15  Prefactor     10.670        10.765        .17505E-06    .10104E-03
  16  norm          .10000E-03    .43635        .22289E-07** at limit **
  17  Prefactor     11.612        15.990        .28275E-07   -.62233E-04
  18  Prefactor     11.140        7.3918        .10732E-05    .79731E-03
  19  Prefactor     10.063        13.906       -.70382E-07   -.11988E-03
  20  norm          .10000E-03    1.2397       -.15728E-07** at limit **
  21  Prefactor     .10000E-03    2.7989       -.11268E-06** at limit **
  22  Prefactor     6.8962        10.463        .58614E-06    .98376E-04
  23  Prefactor     15.621        11.631       -.51436E-06   -.31004E-03
  24  Prefactor     4.5985        7.5226        .21671E-06   -.79000E-04
  25  norm          8.6060        7.6550       -.28175E-07   -.44906E-04
  26  Prefactor     .10000E-03    20.963        .33724E-06** at limit **
  27  Normalizat    1.0242        .18822       -.14394E-06   -.29956E-04
  28  Prefactor     .89925        .19812       -.12159E-05    .11529E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 5.95568
  Prefactor  = 0.000100062
  Prefactor  = 42.9177
  Prefactor  = 13.9998
  Prefactor  = 1.73125
  Prefactor  = 3.23104
  Prefactor  = 1.6517
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.1676
  Prefactor  = 10.6697
  norm       = 0.0001
  Prefactor  = 11.6122
  Prefactor  = 11.1396
  Prefactor  = 10.0634
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.89617
  Prefactor  = 15.6214
  Prefactor  = 4.59852
  norm       = 8.60601
  Prefactor  = 0.0001
  Normalizat = 1.0242
  Prefactor  = 0.899253
 **********
 **   18 **HESSE 
 **********

 FCN=   5372.240     FROM HESSE     STATUS=OK           521 CALLS     3978 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    52.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.9557        5.7774        .82194E-03   -1.5220    
   3  Prefactor     .10006E-03    767.00        .18518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     42.918        48.744        .61199E-04   -1.4397    
   5  Prefactor     14.000        33.991        .10698E-03   -1.4959    
   6  Prefactor     1.7312        3.0390        .16543E-03   -1.5445    
   7  Prefactor     3.2310        30.318        .22447E-03   -1.5348    
   8  Prefactor     1.6517        2.3264        .12731E-03   -1.5451    
   9  Prefactor     .10000E-03    19.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.8553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    93.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.2101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.168        16.840        .11477E-03   -1.5010    
  15  Prefactor     10.670        10.762        .12267E-03   -1.5055    
  16  norm          .10000E-03    .43921        .47266E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.612        15.854        .11759E-03   -1.5026    
  18  Prefactor     11.140        7.5405        .12004E-03   -1.5040    
  19  Prefactor     10.063        13.940        .12632E-03   -1.5073    
  20  norm          .10000E-03    1.2444        .79645E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.8003        .11962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     6.8962        10.471        .15277E-03   -1.5183    
  23  Prefactor     15.621        11.722        .10134E-03   -1.4917    
  24  Prefactor     4.5985        7.5083        .18771E-03   -1.5279    
  25  norm          8.6060        7.6449        .13665E-03   -1.5121    
  26  Prefactor     .10000E-03    20.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0242        .22173        .22801E-03   -.92224    
  28  Prefactor     .89925        .23130        .27098E-03   -.96167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46787e-09
Minuit parameter uncertainties:
  1  8.29684e-05
  2  5.77791
  3  0.0139826
  4  48.7889
  5  34.0376
  6  3.03931
  7  19.8079
  8  2.32649
  9  0.000113539
  10  2.53147e-06
  11  0.000237213
  12  2.81873e-06
  13  3.27924e-05
  14  16.8463
  15  10.7637
  16  6.87629e-08
  17  15.8597
  18  7.54114
  19  13.9449
  20  1.38721e-06
  21  6.15665e-06
  22  10.4734
  23  11.7235
  24  7.50979
  25  7.64577
  26  6.7169e-05
  27  0.221931
  28  0.231556
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  6.876e-08  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:  8.993e-01  2.316e-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.024e+00  2.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/847896/likelihoodResults_272246401_272505601_4FGL_J1454.4+5124_daily_bin127.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): 102
logL (Free Index) = 5372.24017467
delta logL = -2.6687501304e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5372.24014517
delta logL = 2.81782286038e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9330       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0242       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89926       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=   5372.240     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      202 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.6920        .90712E-02** at limit **
   2  alpha         1.5683        2.6105        .42576       -.20833E-06
   3  Normalizat    1.0242        .19085E-01    .42797E-01    .14973E-03
   4  Prefactor     .89925        .21506E-01    .44996E-01    .16507E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.56832
  Normalizat = 1.0242
  Prefactor  = 0.899253
 **********
 **   18 **HESSE 
 **********

 FCN=   5372.240     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .70947        .51164E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5683        3.0693        .17030       -.38189    
   3  Normalizat    1.0242        .19920        .22801E-03   -.92224    
   4  Prefactor     .89925        .22438        .27098E-03   -.96167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.70034e-11
Minuit parameter uncertainties:
  1  3.67046e-06
  2  77.0205
  3  0.199349
  4  0.224612
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847896': 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) = 5372.24013133
delta logL = 1.66579766301e-05

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  3.670e-06  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.568e+00  7.702e+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:  8.993e-01  2.246e-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.024e+00  1.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 223.625 51.409

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/847896/cmap_HighResolution_272246401_272505601_4FGL_J1454.4+5124_daily_bin127.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.54e-05', job_status='DONE', photon_flux_upper_limit='3.55e-08', time_completed='2021-09-10 12:55:49.914790', job_id='847896', GAL2='0.90', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1631303749.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.67e-05', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='127' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:55:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 847896: <4FGL_J1454.4+5124_daily_bin127> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin127> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:16 2021
Job was executed on host(s) <bullet0069>, 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:55:50 2021
Results reported at Fri Sep 10 12:55:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin127 223.625 51.409 272246401 272505601 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 :                                   754.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            874 sec.

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

