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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin292
RA = 223.625, Dec = 51.409
tmin = 315014401, tmax = 315273601
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='849280', job_status='RUN', time_executed='2021-09-10 12:48:22.636766', time_epoch_executed='1631303302.64' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='292'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849280

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849280/ft1_4FGL_J1454.4+5124_daily_bin292.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849280/ft2_4FGL_J1454.4+5124_daily_bin292.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849280/ft1_4FGL_J1454.4+5124_daily_bin292.fits outfile=/scratch/kocevski/849280/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin292.fits ra=223.625 dec=51.409 rad=12.0 tmin=315014401.0 tmax=315273601.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.52
user 3.30
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849280/ft2_4FGL_J1454.4+5124_daily_bin292.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/849280/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin292.fits evtable="EVENTS" outfile="/scratch/kocevski/849280/ft1_filtered_4FGL_J1454.4+5124_daily_bin292.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/849280/ft1_filtered_4FGL_J1454.4+5124_daily_bin292.fits" evtable="EVENTS" scfile=/scratch/kocevski/849280/ft2_4FGL_J1454.4+5124_daily_bin292.fits sctable="SC_DATA" outfile=/scratch/kocevski/849280/ltcube_315014401_315273601_4FGL_J1454.4+5124_daily_bin292.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/849280/ft2_4FGL_J1454.4+5124_daily_bin292.fits
.....................!
real 11.67
user 11.30
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849280/ft1_filtered_4FGL_J1454.4+5124_daily_bin292.fits evtable="EVENTS" scfile=/scratch/kocevski/849280/ft2_4FGL_J1454.4+5124_daily_bin292.fits sctable="SC_DATA" expcube=/scratch/kocevski/849280/ltcube_315014401_315273601_4FGL_J1454.4+5124_daily_bin292.fits outfile=/scratch/kocevski/849280/expmap_315014401_315273601_4FGL_J1454.4+5124_daily_bin292.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/849280/ltcube_315014401_315273601_4FGL_J1454.4+5124_daily_bin292.fits
.....................!
real 192.45
user 187.19
sys 4.79

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/849280/ft1_filtered_4FGL_J1454.4+5124_daily_bin292.fits scfile=/scratch/kocevski/849280/ft2_4FGL_J1454.4+5124_daily_bin292.fits outfile=/scratch/kocevski/849280/cmap_315014401_315273601_4FGL_J1454.4+5124_daily_bin292.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.35
sys 0.16

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .51794       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10405E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6085       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .23554E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10325E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.980       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.776       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.3734       1.0000         .10000E-03   10000.    
    16 'norm      '    1.4976       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.3651       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10954E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    35.683       1.0000         .10000E-03   10000.    
    23 'Prefactor '    14.220       1.0000         .10000E-03   10000.    
    24 'Prefactor '    8.3870       1.0000         .10000E-03   10000.    
    25 'norm      '    2.8821       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .12579E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1889       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .73967       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=   5464.156     FROM MIGRAD    STATUS=CONVERGED   1238 CALLS     4083 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    23.714        .18142E-02** at limit **
   2  norm          .10000E-03    1.7338        .94584E-03** at limit **
   3  Prefactor     .10001E-03    132.95        .18142E-02** at limit **
   4  Prefactor     .65090        47.060        .14158        .11103E-03
   5  Prefactor     .10000E-03    22.559        .18142E-02** at limit **
   6  Prefactor     .10000E-03    2.0260        .10241E-02** at limit **
   7  Prefactor     .10000E-03    18.694        .18142E-02** at limit **
   8  Prefactor     1.6088        1.5978        .88607E-04   -.27598E-03
   9  Prefactor     .10000E-03    98.677        .63009E-02** at limit **
  10  Prefactor     .10000E-03    11.584        .18142E-02** at limit **
  11  Prefactor     .10000E-03    33.025        .18142E-02** at limit **
  12  Prefactor     30.970        32.153        .71986E-04    .12792E-04
  13  Prefactor     .10000E-03    24.720        .18142E-02** at limit **
  14  Prefactor     19.771        16.557        .90067E-04   -.52005E-04
  15  Prefactor     8.3797        14.624        .13854E-03   -.10176E-04
  16  norm          1.4976        1.0456        .60354E-04   -.30704E-04
  17  Prefactor     6.3596        8.3240        .15909E-03    .14528E-03
  18  Prefactor     .10000E-03    4.2547        .14769E-02** at limit **
  19  Prefactor     .10000E-03    20.464        .34412E-02** at limit **
  20  norm          .10000E-03    1.0382        .73484E-03** at limit **
  21  Prefactor     .10000E-03    4.8943        .15924E-02** at limit **
  22  Prefactor     35.678        28.232        .67088E-04   -.19996E-04
  23  Prefactor     14.236        14.905        .10622E-03   -.70536E-04
  24  Prefactor     8.3946        8.4776        .13843E-03   -.57819E-04
  25  norm          2.8734        9.1175        .23940E-03    .86048E-04
  26  Prefactor     .10000E-03    233.67        .18142E-02** at limit **
  27  Normalizat    1.1888        .20876        .20747E-03   -.44092E-03
  28  Prefactor     .74007        .22748        .28742E-03    .58106E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 0.650901
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.60883
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.9705
  Prefactor  = 0.0001
  Prefactor  = 19.7706
  Prefactor  = 8.37974
  norm       = 1.49757
  Prefactor  = 6.35956
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.6784
  Prefactor  = 14.236
  Prefactor  = 8.39461
  norm       = 2.8734
  Prefactor  = 0.000100001
  Normalizat = 1.18875
  Prefactor  = 0.740065
 **********
 **   18 **HESSE 
 **********

 FCN=   5464.156     FROM HESSE     STATUS=OK           501 CALLS     4584 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    23.714        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.7340        .18917E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    132.95        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .65090        45.934        .14408       -1.5547    
   5  Prefactor     .10000E-03    22.560        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.0261        .20481E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.698        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.6088        1.5973        .35443E-05   -1.5454    
   9  Prefactor     .10000E-03    100.68        .12602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.584        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    33.027        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     30.970        32.150        .28794E-05   -1.4594    
  13  Prefactor     .10000E-03    24.722        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.771        16.557        .36027E-05   -1.4818    
  15  Prefactor     8.3797        14.623        .55416E-05   -1.5129    
  16  norm          1.4976        1.0456        .24141E-05   -1.5463    
  17  Prefactor     6.3596        8.3198        .63637E-05   -1.5204    
  18  Prefactor     .10000E-03    4.2564        .29537E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    20.624        .68825E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.0382        .14697E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.8945        .31849E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     35.678        28.235        .26835E-05   -1.4513    
  23  Prefactor     14.236        14.904        .42486E-05   -1.4953    
  24  Prefactor     8.3946        8.4736        .55370E-05   -1.5128    
  25  norm          2.8734        9.1129        .95761E-05   -1.5369    
  26  Prefactor     .10000E-03    233.71        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1888        .20888        .41495E-04   -.86951    
  28  Prefactor     .74007        .22768        .11497E-04   -1.0198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58029e-09
Minuit parameter uncertainties:
  1  1.15601e-05
  2  3.22844e-06
  3  0.00230292
  4  10.9438
  5  6.75684e-05
  6  3.77025e-06
  7  8.51784e-05
  8  1.59736
  9  0.000319768
  10  1.59776e-05
  11  7.58268e-05
  12  32.1675
  13  9.75292e-05
  14  16.5609
  15  14.6295
  16  1.04557
  17  8.32134
  18  1.8981e-06
  19  3.23598e-05
  20  5.93792e-07
  21  2.2839e-06
  22  28.2456
  23  14.9079
  24  8.47481
  25  9.11728
  26  0.00072467
  27  0.209026
  28  0.227973
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.498e+00  1.046e+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:  7.401e-01  2.280e-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.189e+00  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.39
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.25e-08 +/- 1.57e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 1.12e-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) = 5463.44301983
delta logL = 0.712869924364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5463.43968623
delta logL = 0.71620352149

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4890       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3250       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1981       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73657       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=   5463.440     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      198 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4888        1.0587        .87846E-03   -.24817E-02
   2  alpha         1.3251        .42503        .34000       -.22551E-04
   3  Normalizat    1.1980        .17172        .34939E-01    .20515E-05
   4  Prefactor     .73662        .19304        .65115E-01    .19036E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.48878
  alpha      = 1.3251
  Normalizat = 1.198
  Prefactor  = 0.736619
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4888        1.1347        .17569E-03   -1.5464    
   2  alpha         1.3251        .49105        .13912E-01   -.48925    
   3  Normalizat    1.1980        .20163        .20681E-03   -.86665    
   4  Prefactor     .73662        .22641        .28807E-03   -1.0211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04693e-12
Minuit parameter uncertainties:
  1  1.13476
  2  0.495196
  3  0.201759
  4  0.226692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849280': 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) = 5463.43968608
delta logL = 0.716203675204

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.489e+00  1.135e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.325e+00  4.952e-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:  7.366e-01  2.267e-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.198e+00  2.018e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.83
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.33 +/- 0.50
Photon Flux (Free Index): 1.13e-08 +/- 9.78e-09
Energy Flux (Free Index): 4.55e-05 +/- 5.37e-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/849280/cmap_HighResolution_315014401_315273601_4FGL_J1454.4+5124_daily_bin292.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.25e-08', energy_flux2='4.55e-05', photon_flux_error='1.57e-08', dlogl='7.16e-01', energy_flux='1.61e-05', photon_flux2='1.13e-08', job_status='DONE', time_completed='2021-09-10 13:00:33.684396', photon_index_error2='0.50', photon_index2='1.33', ts='12.39', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='5.37e-05', EG='1.19', time_epoch_completed='1631304033.68', return_code='0', job_id='849280', GAL2='0.74', EG2='1.20', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='9.78e-09', ts2='13.83', photon_index='1.97' WHERE bin_id='292' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:00:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 849280: <4FGL_J1454.4+5124_daily_bin292> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin292 223.625 51.409 315014401 315273601 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 :                                   730.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             308.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            871 sec.

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

