/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 161 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 = 7460
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin696
RA = 223.625, Dec = 51.409
tmin = 419731201, tmax = 419990401
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='850908', job_status='RUN', time_executed='2021-09-10 12:53:57.197835', time_epoch_executed='1631303637.2' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850908

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850908/ft1_4FGL_J1454.4+5124_daily_bin696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850908/ft2_4FGL_J1454.4+5124_daily_bin696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850908/ft1_4FGL_J1454.4+5124_daily_bin696.fits outfile=/scratch/kocevski/850908/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin696.fits ra=223.625 dec=51.409 rad=12.0 tmin=419731201.0 tmax=419990401.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 5.88
user 5.61
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/850908/ft2_4FGL_J1454.4+5124_daily_bin696.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/850908/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin696.fits evtable="EVENTS" outfile="/scratch/kocevski/850908/ft1_filtered_4FGL_J1454.4+5124_daily_bin696.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/850908/ft1_filtered_4FGL_J1454.4+5124_daily_bin696.fits" evtable="EVENTS" scfile=/scratch/kocevski/850908/ft2_4FGL_J1454.4+5124_daily_bin696.fits sctable="SC_DATA" outfile=/scratch/kocevski/850908/ltcube_419731201_419990401_4FGL_J1454.4+5124_daily_bin696.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/850908/ft2_4FGL_J1454.4+5124_daily_bin696.fits
.....................!
real 11.92
user 11.57
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850908/ft1_filtered_4FGL_J1454.4+5124_daily_bin696.fits evtable="EVENTS" scfile=/scratch/kocevski/850908/ft2_4FGL_J1454.4+5124_daily_bin696.fits sctable="SC_DATA" expcube=/scratch/kocevski/850908/ltcube_419731201_419990401_4FGL_J1454.4+5124_daily_bin696.fits outfile=/scratch/kocevski/850908/expmap_419731201_419990401_4FGL_J1454.4+5124_daily_bin696.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/850908/ltcube_419731201_419990401_4FGL_J1454.4+5124_daily_bin696.fits
.....................!
real 190.99
user 186.17
sys 4.46

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/850908/ft1_filtered_4FGL_J1454.4+5124_daily_bin696.fits scfile=/scratch/kocevski/850908/ft2_4FGL_J1454.4+5124_daily_bin696.fits outfile=/scratch/kocevski/850908/cmap_419731201_419990401_4FGL_J1454.4+5124_daily_bin696.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/850908/ft1_filtered_4FGL_J1454.4+5124_daily_bin696.fits scfile=/scratch/kocevski/850908/ft2_4FGL_J1454.4+5124_daily_bin696.fits outfile=/scratch/kocevski/850908/cmap_HighResolution_419731201_419990401_4FGL_J1454.4+5124_daily_bin696.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.56
user 0.41
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/850908/ft1_filtered_4FGL_J1454.4+5124_daily_bin696.fits', '/scratch/kocevski/850908/ft2_4FGL_J1454.4+5124_daily_bin696.fits', expMap='/scratch/kocevski/850908/expmap_419731201_419990401_4FGL_J1454.4+5124_daily_bin696.fits', expCube='/scratch/kocevski/850908/ltcube_419731201_419990401_4FGL_J1454.4+5124_daily_bin696.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/850908/Model_4FGL_J1454.4+5124_daily_bin696.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/850908/ft1_filtered_4FGL_J1454.4+5124_daily_bin696.fits
Spacecraft file(s): /scratch/kocevski/850908/ft2_4FGL_J1454.4+5124_daily_bin696.fits
Exposure map: /scratch/kocevski/850908/expmap_419731201_419990401_4FGL_J1454.4+5124_daily_bin696.fits
Exposure cube: /scratch/kocevski/850908/ltcube_419731201_419990401_4FGL_J1454.4+5124_daily_bin696.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/850908/Model_4FGL_J1454.4+5124_daily_bin696.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 4483.75141382

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .35585E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.4781       1.0000         .10000E-03   10000.    
    10 'Prefactor '    61.885       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.507       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.7580       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.4218       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.4893       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .86574       1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.094       1.0000         .10000E-03   10000.    
    20 'norm      '    .25017E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.5248       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    8.5026       1.0000         .10000E-03   10000.    
    26 'Prefactor '    93.156       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .50982       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.6553       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=   4483.710     FROM MIGRAD    STATUS=CONVERGED    677 CALLS     3970 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    87.171       -.41447E-05** at limit **
   2  norm          .10000E-03    4.0155        .28952E-06** at limit **
   3  Prefactor     .10000E-03    848.28       -.26566E-04** at limit **
   4  Prefactor     .10000E-03    21.803        .14759E-05** at limit **
   5  Prefactor     .10000E-03    27.562       -.16890E-05** at limit **
   6  Prefactor     .10000E-03    4.4806        .81423E-07** at limit **
   7  Prefactor     .10000E-03    13.672       -.17355E-05** at limit **
   8  Prefactor     .10000E-03    2.5407        .62635E-06** at limit **
   9  Prefactor     8.5612        275.84       -.22278E-04   -.75345E-05
  10  Prefactor     61.889        57.990        .17894E-05    .50075E-05
  11  Prefactor     .10000E-03    55.138        .53984E-05** at limit **
  12  Prefactor     20.506        19.872        .44596E-07    .10396E-04
  13  Prefactor     6.5832        1097.3        .13156E-04    .84645E-06
  14  Prefactor     .10000E-03    16.863        .11940E-05** at limit **
  15  Prefactor     .10000E-03    22.979        .67814E-06** at limit **
  16  norm          2.4219        1.8840       -.37024E-07    .15308E-03
  17  Prefactor     4.4487        119.24       -.58496E-06    .10305E-05
  18  Prefactor     .86435        5.5116       -.10926E-05    .44375E-03
  19  Prefactor     15.109        33.278        .90678E-07    .47620E-04
  20  norm          .10000E-03    3.0768        .33595E-06** at limit **
  21  Prefactor     9.5082        10.970       -.15987E-06   -.91898E-04
  22  Prefactor     .10000E-03    27.945       -.18371E-05** at limit **
  23  Prefactor     .10000E-03    11.968        .97547E-06** at limit **
  24  Prefactor     .10000E-03    8.4599        .16523E-06** at limit **
  25  norm          8.5024        8.9992        .11092E-07    .80398E-05
  26  Prefactor     93.137        91.050       -.18569E-05   -.64777E-05
  27  Normalizat    .50983        .24454       -.38006E-05    .81360E-04
  28  Prefactor     1.6553        .25765        .21813E-05   -.78668E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.56121
  Prefactor  = 61.8894
  Prefactor  = 0.0001
  Prefactor  = 20.5058
  Prefactor  = 6.58321
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.42187
  Prefactor  = 4.44867
  Prefactor  = 0.86435
  Prefactor  = 15.1091
  norm       = 0.0001
  Prefactor  = 9.50818
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.50235
  Prefactor  = 93.1374
  Normalizat = 0.509832
  Prefactor  = 1.65528
 **********
 **   18 **HESSE 
 **********

 FCN=   4483.710     FROM HESSE     STATUS=OK           517 CALLS     4487 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    87.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.0229        .13110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    852.44        .21316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    27.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.5024        .13841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.5641        .10443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.5612        272.16        .13768E-03   -1.5123    
  10  Prefactor     61.889        57.682        .51007E-04   -1.4133    
  11  Prefactor     .10000E-03    55.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.506        19.879        .88448E-04   -1.4802    
  13  Prefactor     6.5832        1054.3        .15435E-03   -1.5195    
  14  Prefactor     .10000E-03    16.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    23.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4219        1.8739        .77828E-04   -1.5397    
  17  Prefactor     4.4487        99.591        .19003E-03   -1.5286    
  18  Prefactor     .86435        15.439        .28444E-02   -1.5522    
  19  Prefactor     15.109        30.731        .10309E-03   -1.4930    
  20  norm          .10000E-03    8.0256        .19995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.5082        9.8026        .12985E-03   -1.5091    
  22  Prefactor     .10000E-03    28.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    12.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    8.5054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          8.5024        8.9961        .13748E-03   -1.5125    
  26  Prefactor     93.137        91.007        .41638E-04   -1.3775    
  27  Normalizat    .50983        .27505        .34989E-03   -1.1196    
  28  Prefactor     1.6553        .29575        .22782E-03   -.73279    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87466e-09
Minuit parameter uncertainties:
  1  0.000204586
  2  6.13858e-06
  3  0.00409431
  4  3.88949e-05
  5  3.95031e-05
  6  2.34964e-06
  7  2.12989e-05
  8  1.27145e-05
  9  97.0251
  10  57.7337
  11  0.000210048
  12  19.8859
  13  169.758
  14  3.89789e-05
  15  9.4348e-05
  16  1.87397
  17  42.1766
  18  7.30794
  19  30.7627
  20  2.55388e-05
  21  9.80429
  22  4.33682e-06
  23  4.62729e-05
  24  3.53803e-06
  25  8.99751
  26  91.1434
  27  0.275791
  28  0.296061
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.422e+00  1.874e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.655e+00  2.961e-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:  5.098e-01  2.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.67
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.64e-08 +/- 2.82e-08
Energy Flux (Fixed Index): 2.60e-05 +/- 2.02e-05

TS (Fixed Index): 3.67
Ra Dec: 223.625 51.409
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.48e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/850908/likelihoodResults_419731201_419990401_4FGL_J1454.4+5124_daily_bin696.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) = 4483.55976688
delta logL = 0.150185236752

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4483.55700503
delta logL = 0.152947082751

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8324       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3745       1.0000          .0000       5.0000    
     3 'Normalizat'    .49234       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6651       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=   4483.557     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      237 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8316        27.530        .77070E-02    .20039E-03
   2  alpha         2.3748        3.6485        .29536        .44956E-04
   3  Normalizat    .49175        .86891E-01    .80352E-01    .29285E-04
   4  Prefactor     1.6660        .78083E-01    .51386E-01   -.13501E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.83161
  alpha      = 2.37481
  Normalizat = 0.491755
  Prefactor  = 1.66595
 **********
 **   18 **HESSE 
 **********

 FCN=   4483.557     FROM HESSE     STATUS=OK            31 CALLS      268 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8316        2.0510        .62709E-04   -1.5437    
   2  alpha         2.3748        .78988        .10535E-01   -.50099E-01
   3  Normalizat    .49175        .26487        .35587E-03   -1.1280    
   4  Prefactor     1.6660        .29307        .22715E-03   -.72992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09744e-10
Minuit parameter uncertainties:
  1  2.05105
  2  0.80369
  3  0.265555
  4  0.293376
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850908': 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) = 4483.55700105
delta logL = 0.15295106032

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.832e+00  2.051e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.375e+00  8.037e-01  0.000e+00  5.000e+00 ( 1.000e+00)
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.666e+00  2.934e-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:  4.918e-01  2.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.96
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.37 +/- 0.80
Photon Flux (Free Index): 5.47e-08 +/- 5.14e-08
Energy Flux (Free Index): 1.97e-05 +/- 1.62e-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/850908/cmap_HighResolution_419731201_419990401_4FGL_J1454.4+5124_daily_bin696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.48e-05', comment='SUCCESS', photon_flux='3.64e-08', energy_flux2='1.97e-05', photon_flux_error='2.82e-08', dlogl='1.53e-01', energy_flux='2.60e-05', photon_flux2='5.47e-08', job_status='DONE', time_completed='2021-09-10 13:05:45.793878', photon_index_error2='0.80', photon_index2='2.37', ts='3.67', fit_tolerance='1e-08', GAL='1.66', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='1.62e-05', EG='0.51', time_epoch_completed='1631304345.79', return_code='0', job_id='850908', GAL2='1.67', EG2='0.49', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='5.14e-08', ts2='3.96', photon_index='1.97' WHERE bin_id='696' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:05:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 850908: <4FGL_J1454.4+5124_daily_bin696> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin696> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:51:06 2021
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:51:08 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:51:08 2021
Terminated at Fri Sep 10 13:05:46 2021
Results reported at Fri Sep 10 13:05:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin696 223.625 51.409 419731201 419990401 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 :                                   708.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             285.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            880 sec.

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

