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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin141
RA = 223.625, Dec = 51.409
tmin = 275875201, tmax = 276134401
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='847916', job_status='RUN', time_executed='2021-09-10 12:45:00.686362', time_epoch_executed='1631303100.69' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='141'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847916

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

Retrieving the FT1 file...

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

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

Retrieving 42 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847916/ft1_4FGL_J1454.4+5124_daily_bin141.fits


Retrieving the FT1 file...

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

Retrieving 42 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847916/ft2_4FGL_J1454.4+5124_daily_bin141.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847916/ft1_4FGL_J1454.4+5124_daily_bin141.fits outfile=/scratch/kocevski/847916/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin141.fits ra=223.625 dec=51.409 rad=12.0 tmin=275875201.0 tmax=276134401.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.18
user 2.95
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847916/ft1_filtered_4FGL_J1454.4+5124_daily_bin141.fits evtable="EVENTS" scfile=/scratch/kocevski/847916/ft2_4FGL_J1454.4+5124_daily_bin141.fits sctable="SC_DATA" expcube=/scratch/kocevski/847916/ltcube_275875201_276134401_4FGL_J1454.4+5124_daily_bin141.fits outfile=/scratch/kocevski/847916/expmap_275875201_276134401_4FGL_J1454.4+5124_daily_bin141.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/847916/ltcube_275875201_276134401_4FGL_J1454.4+5124_daily_bin141.fits
.....................!
real 190.79
user 185.99
sys 4.44

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/847916/ft1_filtered_4FGL_J1454.4+5124_daily_bin141.fits scfile=/scratch/kocevski/847916/ft2_4FGL_J1454.4+5124_daily_bin141.fits outfile=/scratch/kocevski/847916/cmap_275875201_276134401_4FGL_J1454.4+5124_daily_bin141.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847916/ft1_filtered_4FGL_J1454.4+5124_daily_bin141.fits scfile=/scratch/kocevski/847916/ft2_4FGL_J1454.4+5124_daily_bin141.fits outfile=/scratch/kocevski/847916/cmap_HighResolution_275875201_276134401_4FGL_J1454.4+5124_daily_bin141.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=223.625 yref=51.409 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.3340       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .22530       1.0000         .10000E-03   10000.    
    10 'Prefactor '    34.682       1.0000         .10000E-03   10000.    
    11 'Prefactor '    66.474       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.717       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.2425       1.0000         .10000E-03   10000.    
    16 'norm      '    1.8622       1.0000         .10000E-03   10000.    
    17 'Prefactor '    29.184       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.5675       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.9519       1.0000         .10000E-03   10000.    
    20 'norm      '    3.5124       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.5313       1.0000         .10000E-03   10000.    
    22 'Prefactor '    52.695       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    9.7070       1.0000         .10000E-03   10000.    
    26 'Prefactor '    35.385       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2392       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .57734       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=   5590.370     FROM MIGRAD    STATUS=CONVERGED    737 CALLS     3559 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    23.926        .74842E-06** at limit **
   2  norm          .10000E-03    1.3709       -.37830E-07** at limit **
   3  Prefactor     .10000E-03    191.18        .65205E-05** at limit **
   4  Prefactor     .10000E-03    11.628        .22613E-06** at limit **
   5  Prefactor     .10000E-03    37.180       -.43354E-06** at limit **
   6  Prefactor     .10000E-03    1.5847        .19107E-07** at limit **
   7  Prefactor     5.3322        15.530       -.34528E-05   -.53009E-04
   8  Prefactor     .10000E-03    1.0117        .66350E-07** at limit **
   9  Prefactor     .10079E-03    26.480       -.21066E-08** at limit **
  10  Prefactor     34.707        24.949       -.20849E-05   -.15188E-04
  11  Prefactor     66.472        46.189       -.27969E-05    .31333E-05
  12  Prefactor     10.714        21.050       -.77258E-05   -.17409E-04
  13  Prefactor     .10000E-03    12.379       -.23887E-06** at limit **
  14  Prefactor     .10000E-03    5.2396        .13324E-07** at limit **
  15  Prefactor     5.2472        15.816       -.57145E-05   -.84894E-04
  16  norm          1.8620        1.3213        .14162E-06    .92322E-04
  17  Prefactor     29.184        13.141        .13742E-05   -.56142E-04
  18  Prefactor     4.5628        6.7300        .10998E-05   -.22460E-03
  19  Prefactor     5.9518        8.6620        .50614E-05   -.18926E-03
  20  norm          3.5126        3.4789       -.24411E-06    .19202E-04
  21  Prefactor     6.5388        10.524        .82395E-06   -.11192E-03
  22  Prefactor     52.696        26.335        .92450E-07    .24582E-05
  23  Prefactor     .10000E-03    16.068       -.33949E-06** at limit **
  24  Prefactor     .10000E-03    4.9627       -.77316E-07** at limit **
  25  norm          9.7059        10.357        .15130E-06   -.68371E-04
  26  Prefactor     35.380        75.070       -.10270E-04   -.88029E-06
  27  Normalizat    1.2392        .18220       -.17416E-06    .12698E-04
  28  Prefactor     .57736        .19023        .96649E-06   -.35567E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.33219
  Prefactor  = 0.0001
  Prefactor  = 0.000100789
  Prefactor  = 34.7065
  Prefactor  = 66.4724
  Prefactor  = 10.7143
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.24723
  norm       = 1.86197
  Prefactor  = 29.1839
  Prefactor  = 4.56284
  Prefactor  = 5.95182
  norm       = 3.5126
  Prefactor  = 6.53877
  Prefactor  = 52.6957
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.70586
  Prefactor  = 35.3797
  Normalizat = 1.23925
  Prefactor  = 0.577355
 **********
 **   18 **HESSE 
 **********

 FCN=   5590.370     FROM HESSE     STATUS=OK           529 CALLS     4088 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    23.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.3801        .85465E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    191.19        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    37.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.5882        .91895E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.3322        15.611        .17402E-03   -1.5246    
   8  Prefactor     .10000E-03    1.0188        .73223E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10079E-03    37.315        .94423E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     34.707        25.057        .68046E-04   -1.4529    
  11  Prefactor     66.472        46.187        .49226E-04   -1.4076    
  12  Prefactor     10.714        21.123        .12239E-03   -1.5053    
  13  Prefactor     .10000E-03    12.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.2456        .16711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.2472        15.755        .17555E-03   -1.5250    
  16  norm          1.8620        1.3175        .68821E-04   -1.5435    
  17  Prefactor     29.184        13.120        .74163E-04   -1.4627    
  18  Prefactor     4.5628        6.6619        .18835E-03   -1.5281    
  19  Prefactor     5.9518        8.5459        .16459E-03   -1.5220    
  20  norm          3.5126        3.4592        .12355E-03   -1.5333    
  21  Prefactor     6.5388        10.397        .15703E-03   -1.5196    
  22  Prefactor     52.696        26.292        .55251E-04   -1.4255    
  23  Prefactor     .10000E-03    16.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.9795        .16235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          9.7059        10.356        .12862E-03   -1.5085    
  26  Prefactor     35.380        75.141        .67369E-04   -1.4518    
  27  Normalizat    1.2392        .21001        .20483E-03   -.85398    
  28  Prefactor     .57736        .21561        .31981E-03   -1.0855    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17557e-10
Minuit parameter uncertainties:
  1  1.98751e-07
  2  7.75882e-07
  3  8.08281e-06
  4  4.98658e-06
  5  0.000101118
  6  5.55121e-06
  7  15.6229
  8  6.67026e-06
  9  0.0108561
  10  25.065
  11  46.2119
  12  21.138
  13  4.33297e-06
  14  2.30235e-05
  15  15.7678
  16  1.31747
  17  13.121
  18  6.66296
  19  8.54769
  20  3.45937
  21  10.4001
  22  26.2982
  23  5.45654e-05
  24  9.01623e-06
  25  10.3583
  26  75.3435
  27  0.210158
  28  0.215922
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.862e+00  1.317e+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.774e-01  2.159e-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.239e+00  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.92
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.80e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 2.00e-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) = 5590.35220574
delta logL = 0.017882487532

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5590.34720708
delta logL = 0.022881153699

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7254       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0887       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2359       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57919       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=   5590.347     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      198 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7256        26.549        .79928E-02    .37584E-04
   2  alpha         2.0887        3.4532        .31940        .33407E-04
   3  Normalizat    1.2358        .70368E-01    .34064E-01   -.29053E-06
   4  Prefactor     .57930        .65944E-01    .72124E-01    .26560E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.72556
  alpha      = 2.08873
  Normalizat = 1.23584
  Prefactor  = 0.5793
 **********
 **   18 **HESSE 
 **********

 FCN=   5590.347     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7256        1.4260        .65278E-04   -1.5445    
   2  alpha         2.0887        .57766        .11301E-01   -.16526    
   3  Normalizat    1.2358        .19289        .20504E-03   -.85502    
   4  Prefactor     .57930        .21285        .31928E-03   -1.0847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61846e-12
Minuit parameter uncertainties:
  1  1.42607
  2  0.583081
  3  0.193002
  4  0.21315
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847916': 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) = 5590.34720691
delta logL = 0.0228813229996

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.726e+00  1.426e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.089e+00  5.831e-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.793e-01  2.131e-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.236e+00  1.930e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.96
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.09 +/- 0.58
Photon Flux (Free Index): 3.14e-08 +/- 2.64e-08
Energy Flux (Free Index): 1.76e-05 +/- 1.61e-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/847916/cmap_HighResolution_275875201_276134401_4FGL_J1454.4+5124_daily_bin141.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.80e-08', energy_flux2='1.76e-05', photon_flux_error='1.98e-08', dlogl='2.29e-02', energy_flux='2.00e-05', photon_flux2='3.14e-08', job_status='DONE', time_completed='2021-09-10 12:56:34.778657', photon_index_error2='0.58', photon_index2='2.09', ts='5.92', fit_tolerance='1e-08', GAL='0.58', photon_index_error='0.00', energy_flux_error2='1.61e-05', EG='1.24', time_epoch_completed='1631303794.78', return_code='0', job_id='847916', GAL2='0.58', EG2='1.24', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='2.64e-08', ts2='5.96', photon_index='1.97' WHERE bin_id='141' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:56:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 847916: <4FGL_J1454.4+5124_daily_bin141> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin141 223.625 51.409 275875201 276134401 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 :                                   694.06 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             237.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            918 sec.

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

