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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin528
RA = 223.625, Dec = 51.409
tmin = 376185601, tmax = 376444801
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='849627', job_status='RUN', time_executed='2021-09-10 12:49:37.831071', time_epoch_executed='1631303377.83' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='528'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849627

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849627/ft1_4FGL_J1454.4+5124_daily_bin528.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849627/ft2_4FGL_J1454.4+5124_daily_bin528.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849627/ft1_4FGL_J1454.4+5124_daily_bin528.fits outfile=/scratch/kocevski/849627/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin528.fits ra=223.625 dec=51.409 rad=12.0 tmin=376185601.0 tmax=376444801.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.38
user 3.16
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849627/ft2_4FGL_J1454.4+5124_daily_bin528.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/849627/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin528.fits evtable="EVENTS" outfile="/scratch/kocevski/849627/ft1_filtered_4FGL_J1454.4+5124_daily_bin528.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/849627/ft1_filtered_4FGL_J1454.4+5124_daily_bin528.fits" evtable="EVENTS" scfile=/scratch/kocevski/849627/ft2_4FGL_J1454.4+5124_daily_bin528.fits sctable="SC_DATA" outfile=/scratch/kocevski/849627/ltcube_376185601_376444801_4FGL_J1454.4+5124_daily_bin528.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/849627/ft2_4FGL_J1454.4+5124_daily_bin528.fits
.....................!
real 12.08
user 11.70
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849627/ft1_filtered_4FGL_J1454.4+5124_daily_bin528.fits evtable="EVENTS" scfile=/scratch/kocevski/849627/ft2_4FGL_J1454.4+5124_daily_bin528.fits sctable="SC_DATA" expcube=/scratch/kocevski/849627/ltcube_376185601_376444801_4FGL_J1454.4+5124_daily_bin528.fits outfile=/scratch/kocevski/849627/expmap_376185601_376444801_4FGL_J1454.4+5124_daily_bin528.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/849627/ltcube_376185601_376444801_4FGL_J1454.4+5124_daily_bin528.fits
.....................!
real 190.27
user 184.81
sys 5.06

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/849627/ft1_filtered_4FGL_J1454.4+5124_daily_bin528.fits scfile=/scratch/kocevski/849627/ft2_4FGL_J1454.4+5124_daily_bin528.fits outfile=/scratch/kocevski/849627/cmap_376185601_376444801_4FGL_J1454.4+5124_daily_bin528.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/849627/ft1_filtered_4FGL_J1454.4+5124_daily_bin528.fits scfile=/scratch/kocevski/849627/ft2_4FGL_J1454.4+5124_daily_bin528.fits outfile=/scratch/kocevski/849627/cmap_HighResolution_376185601_376444801_4FGL_J1454.4+5124_daily_bin528.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    41.753       1.0000         .10000E-03   10000.    
     2 'norm      '    4.4298       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0392       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.507       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.2297       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.000       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.3048       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.311       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.782       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.8324       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .17118       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.7422       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.537       1.0000         .10000E-03   10000.    
    20 'norm      '    .45022E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.7254       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.3667       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    48.433       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0730       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .86348       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=   7019.117     FROM MIGRAD    STATUS=CONVERGED    707 CALLS     3568 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          41.753        45.267       -.16033E-07   -.46764E-06
   2  norm          4.4304        3.0570       -.17055E-07    .13452E-04
   3  Prefactor     .10000E-03    116.19        .22556E-06** at limit **
   4  Prefactor     .10000E-03    35.687       -.78330E-07** at limit **
   5  Prefactor     .10000E-03    44.917        .26553E-06** at limit **
   6  Prefactor     3.0398        2.9925        .21422E-06   -.10052E-03
   7  Prefactor     22.519        22.033        .51644E-07   -.18137E-04
   8  Prefactor     5.2310        2.9784        .11609E-08    .14708E-04
   9  Prefactor     21.977        20.672       -.20694E-05    .77104E-04
  10  Prefactor     7.2855        24.746       -.16708E-05    .16280E-04
  11  Prefactor     .10000E-03    16.232        .16211E-06** at limit **
  12  Prefactor     13.321        26.214       -.70680E-07   -.59988E-05
  13  Prefactor     .10000E-03    106.10       -.39269E-05** at limit **
  14  Prefactor     19.780        14.395        .36409E-06   -.85564E-04
  15  Prefactor     .10000E-03    15.247        .43126E-06** at limit **
  16  norm          1.8320        1.2184        .57226E-07   -.27263E-03
  17  Prefactor     .32540        109.28        .11301E-04   -.13115E-03
  18  Prefactor     3.7424        3.5981        .45036E-06   -.15030E-03
  19  Prefactor     11.439        10.466       -.13477E-05   -.75076E-03
  20  norm          .10002E-03    2.2439        .14226E-05** at limit **
  21  Prefactor     1.7449        9.0050       -.42004E-05    .22589E-04
  22  Prefactor     8.3584        16.648        .13734E-05    .75099E-04
  23  Prefactor     .10000E-03    11.252       -.12029E-05** at limit **
  24  Prefactor     .10000E-03    4.3691       -.11186E-07** at limit **
  25  norm          .10000E-03    3.4979       -.95246E-08** at limit **
  26  Prefactor     48.408        64.993       -.24482E-06    .37095E-04
  27  Normalizat    1.0728        .16919       -.48821E-06   -.15322E-03
  28  Prefactor     .86357        .18180        .12292E-05   -.22122E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 41.753
  norm       = 4.43044
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.03984
  Prefactor  = 22.5191
  Prefactor  = 5.23102
  Prefactor  = 21.9766
  Prefactor  = 7.28553
  Prefactor  = 0.0001
  Prefactor  = 13.3209
  Prefactor  = 0.0001
  Prefactor  = 19.7804
  Prefactor  = 0.0001
  norm       = 1.83198
  Prefactor  = 0.3254
  Prefactor  = 3.74236
  Prefactor  = 11.4393
  norm       = 0.000100018
  Prefactor  = 1.74494
  Prefactor  = 8.35841
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 48.4083
  Normalizat = 1.07279
  Prefactor  = 0.863571
 **********
 **   18 **HESSE 
 **********

 FCN=   7019.117     FROM HESSE     STATUS=OK           527 CALLS     4095 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          41.753        45.273        .62038E-04   -1.4415    
   2  norm          4.4304        3.0573        .11752E-03   -1.5287    
   3  Prefactor     .10000E-03    116.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    35.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    45.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.0398        2.9941        .13918E-03   -1.5359    
   7  Prefactor     22.519        22.121        .84430E-04   -1.4759    
   8  Prefactor     5.2310        2.9646        .93869E-04   -1.5250    
   9  Prefactor     21.977        20.426        .85396E-04   -1.4770    
  10  Prefactor     7.2855        24.691        .14840E-03   -1.5168    
  11  Prefactor     .10000E-03    16.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.321        26.259        .10979E-03   -1.4978    
  13  Prefactor     .10000E-03    106.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.780        14.367        .90051E-04   -1.4818    
  15  Prefactor     .10000E-03    15.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.8320        1.2102        .72764E-04   -1.5437    
  17  Prefactor     .32540        144.92        .37742E-02   -1.5594    
  18  Prefactor     3.7424        3.5868        .15039E-03   -1.5321    
  19  Prefactor     11.439        11.564        .11794E-03   -1.5031    
  20  norm          .10002E-03    8.3333        .20172E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.7449        9.1710        .31971E-03   -1.5444    
  22  Prefactor     8.3584        16.511        .13859E-03   -1.5130    
  23  Prefactor     .10000E-03    11.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.4669        .17099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    3.5253        .15301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     48.408        65.009        .57619E-04   -1.4315    
  27  Normalizat    1.0728        .19841        .22467E-03   -.90630    
  28  Prefactor     .86357        .21018        .27804E-03   -.97426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67714e-09
Minuit parameter uncertainties:
  1  45.3099
  2  3.05736
  3  0.000600263
  4  1.58503e-05
  5  5.61208e-05
  6  2.99423
  7  22.1289
  8  2.96465
  9  20.432
  10  24.7255
  11  8.33785e-05
  12  26.2821
  13  0.000399358
  14  14.3693
  15  4.16958e-06
  16  1.21025
  17  13.7657
  18  3.58698
  19  11.5665
  20  0.000773054
  21  8.00239
  22  16.5204
  23  0.000130311
  24  2.4697e-06
  25  1.05056e-07
  26  65.1044
  27  0.198545
  28  0.210372
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.832e+00  1.210e+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:  8.636e-01  2.104e-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.073e+00  1.985e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.90
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.75e-08 +/- 1.82e-08
Energy Flux (Fixed Index): 1.97e-05 +/- 1.30e-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) = 7018.92295045
delta logL = 0.193673955411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7018.9136956
delta logL = 0.202928807145

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4686       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2785       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0649       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86724       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=   7018.914     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      261 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4686        1.2371        .62014E-04    .58205E-03
   2  alpha         2.2784        .51389        .10592E-01    .24355E-04
   3  Normalizat    1.0649        .18306        .22534E-03   -.57162E-04
   4  Prefactor     .86722        .20599        .27743E-03   -.61714E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.46857
  alpha      = 2.27844
  Normalizat = 1.06488
  Prefactor  = 0.867216
 **********
 **   18 **HESSE 
 **********

 FCN=   7018.914     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4686        1.1884        .24806E-05   -1.5466    
   2  alpha         2.2784        .49383        .42368E-03   -.88739E-01
   3  Normalizat    1.0649        .18319        .90134E-05   -.90887    
   4  Prefactor     .86722        .20617        .11097E-04   -.97296    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68568e-11
Minuit parameter uncertainties:
  1  1.1884
  2  0.497129
  3  0.183297
  4  0.206351
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849627': 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) = 7018.91369559
delta logL = 0.202928820933

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.672e-01  2.064e-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.065e+00  1.833e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.29
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.28 +/- 0.50
Photon Flux (Free Index): 3.69e-08 +/- 2.68e-08
Energy Flux (Free Index): 1.51e-05 +/- 1.09e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/849627/cmap_HighResolution_376185601_376444801_4FGL_J1454.4+5124_daily_bin528.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.75e-08', energy_flux2='1.51e-05', photon_flux_error='1.82e-08', dlogl='2.03e-01', energy_flux='1.97e-05', photon_flux2='3.69e-08', job_status='DONE', time_completed='2021-09-10 13:02:58.709775', photon_index_error2='0.50', photon_index2='2.28', ts='4.90', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.09e-05', EG='1.07', time_epoch_completed='1631304178.71', return_code='0', job_id='849627', GAL2='0.87', EG2='1.06', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='2.68e-08', ts2='5.29', photon_index='1.97' WHERE bin_id='528' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:02:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 849627: <4FGL_J1454.4+5124_daily_bin528> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin528 223.625 51.409 376185601 376444801 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 :                                   800.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             284.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   991 sec.
    Turnaround time :                            993 sec.

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

