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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin66
RA = 223.625, Dec = 51.409
tmin = 256435201, tmax = 256694401
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='847806', job_status='RUN', time_executed='2021-09-10 12:42:20.878025', time_epoch_executed='1631302940.88' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='66'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847806

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847806/ft1_4FGL_J1454.4+5124_daily_bin66.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847806/ft2_4FGL_J1454.4+5124_daily_bin66.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847806/ft1_4FGL_J1454.4+5124_daily_bin66.fits outfile=/scratch/kocevski/847806/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin66.fits ra=223.625 dec=51.409 rad=12.0 tmin=256435201.0 tmax=256694401.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.76
user 1.26
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847806/ft2_4FGL_J1454.4+5124_daily_bin66.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/847806/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin66.fits evtable="EVENTS" outfile="/scratch/kocevski/847806/ft1_filtered_4FGL_J1454.4+5124_daily_bin66.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.78
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847806/ft1_filtered_4FGL_J1454.4+5124_daily_bin66.fits" evtable="EVENTS" scfile=/scratch/kocevski/847806/ft2_4FGL_J1454.4+5124_daily_bin66.fits sctable="SC_DATA" outfile=/scratch/kocevski/847806/ltcube_256435201_256694401_4FGL_J1454.4+5124_daily_bin66.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/847806/ft2_4FGL_J1454.4+5124_daily_bin66.fits
.....................!
real 13.00
user 12.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847806/ft1_filtered_4FGL_J1454.4+5124_daily_bin66.fits evtable="EVENTS" scfile=/scratch/kocevski/847806/ft2_4FGL_J1454.4+5124_daily_bin66.fits sctable="SC_DATA" expcube=/scratch/kocevski/847806/ltcube_256435201_256694401_4FGL_J1454.4+5124_daily_bin66.fits outfile=/scratch/kocevski/847806/expmap_256435201_256694401_4FGL_J1454.4+5124_daily_bin66.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/847806/ltcube_256435201_256694401_4FGL_J1454.4+5124_daily_bin66.fits
.....................!
real 193.97
user 185.59
sys 4.85

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/847806/ft1_filtered_4FGL_J1454.4+5124_daily_bin66.fits scfile=/scratch/kocevski/847806/ft2_4FGL_J1454.4+5124_daily_bin66.fits outfile=/scratch/kocevski/847806/cmap_256435201_256694401_4FGL_J1454.4+5124_daily_bin66.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847806/ft1_filtered_4FGL_J1454.4+5124_daily_bin66.fits scfile=/scratch/kocevski/847806/ft2_4FGL_J1454.4+5124_daily_bin66.fits outfile=/scratch/kocevski/847806/cmap_HighResolution_256435201_256694401_4FGL_J1454.4+5124_daily_bin66.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.53
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.749       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.5437       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3190       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.714       1.0000         .10000E-03   10000.    
    11 'Prefactor '    50.510       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11069E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.1754       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.115       1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.977       1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.8340       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10234E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .80138       1.0000         .10000E-03   10000.    
    24 'Prefactor '    13.431       1.0000         .10000E-03   10000.    
    25 'norm      '    13.232       1.0000         .10000E-03   10000.    
    26 'Prefactor '    117.44       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .86815       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0152       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=   6846.747     FROM MIGRAD    STATUS=CONVERGED    678 CALLS     3461 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    30.481       -.42974E-05** at limit **
   2  norm          .10000E-03    1.8879        .18902E-07** at limit **
   3  Prefactor     .10000E-03    169.68       -.32200E-05** at limit **
   4  Prefactor     .10000E-03    15.031       -.19790E-07** at limit **
   5  Prefactor     33.746        29.183       -.48891E-06    .16113E-04
   6  Prefactor     .10000E-03    1.9104        .56468E-07** at limit **
   7  Prefactor     4.5396        14.692       -.16694E-05   -.62546E-04
   8  Prefactor     3.3176        2.5557       -.36743E-06   -.14849E-03
   9  Prefactor     .10000E-03    7.5372       -.33422E-07** at limit **
  10  Prefactor     20.706        21.756        .20045E-05    .21670E-04
  11  Prefactor     50.507        45.528       -.12871E-05    .17391E-04
  12  Prefactor     .10000E-03    19.189       -.77474E-05** at limit **
  13  Prefactor     .10000E-03    6.9937       -.25788E-06** at limit **
  14  Prefactor     .10000E-03    9.0709        .40540E-06** at limit **
  15  Prefactor     .10061E-03    10.128       -.26140E-06** at limit **
  16  norm          .10000E-03    .66542        .52393E-08** at limit **
  17  Prefactor     5.1747        6.6644       -.38714E-05   -.10406E-03
  18  Prefactor     11.121        6.7749        .19452E-05    .12622E-03
  19  Prefactor     14.974        7.5307       -.65885E-06    .53635E-04
  20  norm          .10000E-03    1.2375       -.77848E-07** at limit **
  21  Prefactor     7.8225        7.7703        .73046E-06    .42417E-03
  22  Prefactor     .10000E-03    20.185        .95577E-05** at limit **
  23  Prefactor     .79955        9.9097       -.31315E-05   -.27123E-03
  24  Prefactor     13.431        7.9591        .16128E-06    .32740E-04
  25  norm          13.232        9.2720        .21376E-07   -.13275E-04
  26  Prefactor     117.39        90.654       -.44458E-04    .66087E-05
  27  Normalizat    .86861        .16150        .22471E-05    .26904E-03
  28  Prefactor     1.0147        .17480        .61476E-06    .28785E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.7459
  Prefactor  = 0.0001
  Prefactor  = 4.53963
  Prefactor  = 3.31759
  Prefactor  = 0.0001
  Prefactor  = 20.7058
  Prefactor  = 50.5075
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010061
  norm       = 0.0001
  Prefactor  = 5.17469
  Prefactor  = 11.1212
  Prefactor  = 14.9739
  norm       = 0.0001
  Prefactor  = 7.82251
  Prefactor  = 0.0001
  Prefactor  = 0.799555
  Prefactor  = 13.4309
  norm       = 13.2319
  Prefactor  = 117.386
  Normalizat = 0.868606
  Prefactor  = 1.01473
 **********
 **   18 **HESSE 
 **********

 FCN=   6846.747     FROM HESSE     STATUS=OK           521 CALLS     3982 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    30.486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.9081        .11096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    169.69        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.746        29.178        .68978E-04   -1.4545    
   6  Prefactor     .10000E-03    1.9287        .11163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.5396        14.721        .18886E-03   -1.5282    
   8  Prefactor     3.3176        2.5523        .10470E-03   -1.5344    
   9  Prefactor     .10000E-03    7.5425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.706        21.735        .88004E-04   -1.4798    
  11  Prefactor     50.507        45.397        .56428E-04   -1.4285    
  12  Prefactor     .10000E-03    19.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.9941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.1171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10061E-03    64.493        .48186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .69058        .13151E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.1747        6.6594        .17671E-03   -1.5253    
  18  Prefactor     11.121        6.5411        .12017E-03   -1.5041    
  19  Prefactor     14.974        7.5489        .10350E-03   -1.4934    
  20  norm          .10000E-03    1.2437        .89717E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.8225        7.6446        .14326E-03   -1.5149    
  22  Prefactor     .10000E-03    20.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .79955        29.184        .43244E-02   -1.5529    
  24  Prefactor     13.431        7.9611        .10930E-03   -1.4975    
  25  norm          13.232        9.2724        .11011E-03   -1.4980    
  26  Prefactor     117.39        90.420        .18565E-03   -1.3537    
  27  Normalizat    .86861        .18753        .23946E-03   -.97572    
  28  Prefactor     1.0147        .20432        .25453E-03   -.92240    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0208e-08
Minuit parameter uncertainties:
  1  5.27405e-06
  2  7.70373e-06
  3  2.30392e-05
  4  9.53625e-06
  5  29.1906
  6  3.01014e-06
  7  14.7326
  8  2.55235
  9  8.00514e-06
  10  21.7437
  11  45.4276
  12  4.23324e-05
  13  1.41005e-06
  14  2.38411e-05
  15  0.0125547
  16  5.14249e-06
  17  6.66039
  18  6.54148
  19  7.54942
  20  4.05905e-06
  21  7.64559
  22  5.25256e-05
  23  9.66554
  24  7.96177
  25  9.27339
  26  90.527
  27  0.187672
  28  0.204481
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  5.142e-06  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.015e+00  2.045e-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:  8.686e-01  1.877e-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.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/847806/likelihoodResults_256435201_256694401_4FGL_J1454.4+5124_daily_bin66.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) = 6846.75387925
delta logL = -0.00686119792226

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6846.74701794
delta logL = 1.12879206426e-07

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.9746       1.0000          .0000       5.0000    
     3 'Normalizat'    .86861       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0147       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=   6846.646     FROM MIGRAD    STATUS=CONVERGED    129 CALLS      277 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23728E-02    .48573E-02    .13163E-02** at limit **
   2  alpha         5.0000        4.0155        .50000    ** at limit **
   3  Normalizat    .84238        .18388        .23946E-03    .30057E-03
   4  Prefactor     1.0326        .20552        .25453E-03    .41392E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00237277
  alpha      = 5
  Normalizat = 0.842382
  Prefactor  = 1.03257
 **********
 **   18 **HESSE 
 **********

 FCN=   6846.646     FROM HESSE     STATUS=OK            33 CALLS      310 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23728E-02    .55171E-02    .81484E-04   -1.5717    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        4.0244        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .84238        .18939        .95784E-05   -.98515    
   4  Prefactor     1.0326        .20791        .50906E-04   -.91652    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64727e-09
Minuit parameter uncertainties:
  1  0.00551709
  2  0.000455954
  3  0.189535
  4  0.208077
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847806': 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) = 6846.64607438
delta logL = 0.100943668978

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.373e-03  5.517e-03  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  5.000e+00  4.560e-04  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.033e+00  2.081e-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:  8.424e-01  1.895e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/847806/cmap_HighResolution_256435201_256694401_4FGL_J1454.4+5124_daily_bin66.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.79e-05', job_status='DONE', photon_flux_upper_limit='3.90e-08', time_completed='2021-09-10 12:57:01.683190', job_id='847806', GAL2='1.03', fit_tolerance='1e-08', EG2='0.84', EG='0.87', time_epoch_completed='1631303821.68', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.01e-01', ts2='0.23', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='66' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:57:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 847806: <4FGL_J1454.4+5124_daily_bin66> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin66 223.625 51.409 256435201 256694401 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 :                                   875.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             291.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   950 sec.
    Turnaround time :                            952 sec.

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

