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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin447
RA = 223.625, Dec = 51.409
tmin = 355190401, tmax = 355449601
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='849510', job_status='RUN', time_executed='2021-09-10 12:46:37.815578', time_epoch_executed='1631303197.82' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='447'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849510

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849510/ft1_4FGL_J1454.4+5124_daily_bin447.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849510/ft2_4FGL_J1454.4+5124_daily_bin447.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849510/ft1_4FGL_J1454.4+5124_daily_bin447.fits outfile=/scratch/kocevski/849510/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin447.fits ra=223.625 dec=51.409 rad=12.0 tmin=355190401.0 tmax=355449601.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.35
user 3.14
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849510/ft2_4FGL_J1454.4+5124_daily_bin447.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/849510/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin447.fits evtable="EVENTS" outfile="/scratch/kocevski/849510/ft1_filtered_4FGL_J1454.4+5124_daily_bin447.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.48
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849510/ft1_filtered_4FGL_J1454.4+5124_daily_bin447.fits" evtable="EVENTS" scfile=/scratch/kocevski/849510/ft2_4FGL_J1454.4+5124_daily_bin447.fits sctable="SC_DATA" outfile=/scratch/kocevski/849510/ltcube_355190401_355449601_4FGL_J1454.4+5124_daily_bin447.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/849510/ft2_4FGL_J1454.4+5124_daily_bin447.fits
.....................!
real 11.60
user 11.22
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849510/ft1_filtered_4FGL_J1454.4+5124_daily_bin447.fits evtable="EVENTS" scfile=/scratch/kocevski/849510/ft2_4FGL_J1454.4+5124_daily_bin447.fits sctable="SC_DATA" expcube=/scratch/kocevski/849510/ltcube_355190401_355449601_4FGL_J1454.4+5124_daily_bin447.fits outfile=/scratch/kocevski/849510/expmap_355190401_355449601_4FGL_J1454.4+5124_daily_bin447.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/849510/ltcube_355190401_355449601_4FGL_J1454.4+5124_daily_bin447.fits
.....................!
real 192.40
user 187.34
sys 4.71

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/849510/ft1_filtered_4FGL_J1454.4+5124_daily_bin447.fits scfile=/scratch/kocevski/849510/ft2_4FGL_J1454.4+5124_daily_bin447.fits outfile=/scratch/kocevski/849510/cmap_355190401_355449601_4FGL_J1454.4+5124_daily_bin447.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/849510/ft1_filtered_4FGL_J1454.4+5124_daily_bin447.fits scfile=/scratch/kocevski/849510/ft2_4FGL_J1454.4+5124_daily_bin447.fits outfile=/scratch/kocevski/849510/cmap_HighResolution_355190401_355449601_4FGL_J1454.4+5124_daily_bin447.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .37284E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.373       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2238       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    43.189       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.503       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.139       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .31094E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.3633       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.3921       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.1495       1.0000         .10000E-03   10000.    
    20 'norm      '    1.4893       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.8280       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.8371       1.0000         .10000E-03   10000.    
    25 'norm      '    2.8239       1.0000         .10000E-03   10000.    
    26 'Prefactor '    42.165       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0280       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .88453       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=   5765.601     FROM MIGRAD    STATUS=CONVERGED    691 CALLS     3516 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    28.978        .44231E-05** at limit **
   2  norm          .10000E-03    2.2457       -.31963E-06** at limit **
   3  Prefactor     .10000E-03    198.20        .61629E-05** at limit **
   4  Prefactor     39.363        43.038        .31221E-05   -.32165E-04
   5  Prefactor     .10000E-03    12.508        .27298E-06** at limit **
   6  Prefactor     1.2239        2.8278        .26457E-07    .95478E-05
   7  Prefactor     .10000E-03    4.3877        .89643E-07** at limit **
   8  Prefactor     .10000E-03    1.1517       -.25739E-06** at limit **
   9  Prefactor     .10000E-03    13.016        .47021E-06** at limit **
  10  Prefactor     .10000E-03    23.587       -.34083E-05** at limit **
  11  Prefactor     43.185        49.734        .19645E-05    .14408E-04
  12  Prefactor     28.502        24.696       -.85349E-08    .35390E-04
  13  Prefactor     .10000E-03    12.346       -.90346E-06** at limit **
  14  Prefactor     22.145        15.150        .17681E-05    .14873E-03
  15  Prefactor     .10005E-03    57.933        .30638E-04** at limit **
  16  norm          7.3652        2.2281        .43721E-06    .21420E-02
  17  Prefactor     3.3896        7.1196        .45992E-05    .77175E-03
  18  Prefactor     .10000E-03    4.6416        .35756E-06** at limit **
  19  Prefactor     7.1516        8.9835        .22951E-06    .62337E-03
  20  norm          1.4893        2.2426        .13001E-06    .99329E-04
  21  Prefactor     .10000E-03    1.9393       -.61576E-07** at limit **
  22  Prefactor     7.8278        17.929        .40705E-06    .25950E-04
  23  Prefactor     .10000E-03    4.4643       -.23442E-06** at limit **
  24  Prefactor     2.8371        5.0236        .78494E-06   -.65759E-04
  25  norm          2.8236        5.2213       -.46275E-06    .50909E-04
  26  Prefactor     42.165        64.188        .11144E-06   -.17819E-05
  27  Normalizat    1.0280        .17254        .98105E-06    .74979E-03
  28  Prefactor     .88454        .19029       -.38436E-06    .61340E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 39.3633
  Prefactor  = 0.0001
  Prefactor  = 1.22387
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.1851
  Prefactor  = 28.5022
  Prefactor  = 0.0001
  Prefactor  = 22.1447
  Prefactor  = 0.000100046
  norm       = 7.3652
  Prefactor  = 3.38964
  Prefactor  = 0.0001
  Prefactor  = 7.15157
  norm       = 1.48932
  Prefactor  = 0.0001
  Prefactor  = 7.82778
  Prefactor  = 0.0001
  Prefactor  = 2.83712
  norm       = 2.82358
  Prefactor  = 42.1645
  Normalizat = 1.02801
  Prefactor  = 0.884541
 **********
 **   18 **HESSE 
 **********

 FCN=   5765.601     FROM HESSE     STATUS=OK           515 CALLS     4031 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    28.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    32.202        .21844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    197.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     39.363        42.913        .63878E-04   -1.4452    
   5  Prefactor     .10000E-03    12.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.2239        2.7726        .18894E-03   -1.5487    
   7  Prefactor     .10000E-03    4.3895        .15533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.1725        .79576E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     43.185        49.714        .61002E-04   -1.4393    
  12  Prefactor     28.502        24.730        .75042E-04   -1.4640    
  13  Prefactor     .10000E-03    12.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.145        15.110        .85128E-04   -1.4766    
  15  Prefactor     .10005E-03    67.501        .48478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.3652        2.1915        .59038E-04   -1.5165    
  17  Prefactor     3.3896        9.1180        .10984E-02   -1.5340    
  18  Prefactor     .10000E-03    4.6845        .15945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.1516        8.9524        .75010E-03   -1.5173    
  20  norm          1.4893        2.2129        .13513E-03   -1.5464    
  21  Prefactor     .10000E-03    1.9405        .10325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8278        17.906        .14332E-03   -1.5148    
  23  Prefactor     .10000E-03    4.4777        .15657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     2.8371        4.9949        .21281E-03   -1.5371    
  25  norm          2.8236        5.1973        .22235E-03   -1.5372    
  26  Prefactor     42.165        64.186        .61735E-04   -1.4408    
  27  Normalizat    1.0280        .20259        .22143E-03   -.92098    
  28  Prefactor     .88454        .22409        .26867E-03   -.96683    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72056e-09
Minuit parameter uncertainties:
  1  0.000496123
  2  0.000240409
  3  0.00183652
  4  42.9465
  5  0.000106967
  6  2.77289
  7  1.53951e-05
  8  2.21375e-05
  9  9.45773e-05
  10  3.25175e-05
  11  49.7613
  12  24.7387
  13  5.16156e-05
  14  15.113
  15  0.00353221
  16  2.19152
  17  9.12174
  18  2.90239e-05
  19  8.95405
  20  2.21305
  21  4.36821e-06
  22  17.9183
  23  1.3418e-05
  24  4.9956
  25  5.19811
  26  64.2911
  27  0.202739
  28  0.224321
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  7.365e+00  2.192e+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.845e-01  2.243e-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.028e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 49.30
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.11e-07 +/- 3.29e-08
Energy Flux (Fixed Index): 7.92e-05 +/- 2.36e-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) = 5765.42655738
delta logL = 0.174420041056

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5765.39333547
delta logL = 0.207641949023

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.9760       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8038       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0438       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87600       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=   5765.393     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      198 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.9791        5.1883        .35493E-02    .35864E-04
   2  alpha         1.8035        .49135        .16847        .60042E-04
   3  Normalizat    1.0437        .17058        .40993E-01   -.98957E-05
   4  Prefactor     .87608        .19019        .44698E-01   -.28413E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.97913
  alpha      = 1.8035
  Normalizat = 1.04366
  Prefactor  = 0.876083
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.9791        2.5338        .63487E-04   -1.5143    
   2  alpha         1.8035        .25589        .69893E-02   -.28234    
   3  Normalizat    1.0437        .19556        .22012E-03   -.91582    
   4  Prefactor     .87608        .22132        .26997E-03   -.96982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55497e-11
Minuit parameter uncertainties:
  1  2.53382
  2  0.25638
  3  0.195696
  4  0.221551
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849510': 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) = 5765.39333416
delta logL = 0.207643253677

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  7.979e+00  2.534e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.803e+00  2.564e-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.761e-01  2.216e-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.044e+00  1.957e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 49.75
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.80 +/- 0.26
Photon Flux (Free Index): 9.47e-08 +/- 3.77e-08
Energy Flux (Free Index): 9.96e-05 +/- 4.91e-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/849510/cmap_HighResolution_355190401_355449601_4FGL_J1454.4+5124_daily_bin447.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.11e-07', energy_flux2='9.96e-05', photon_flux_error='3.29e-08', dlogl='2.08e-01', energy_flux='7.92e-05', photon_flux2='9.47e-08', job_status='DONE', time_completed='2021-09-10 12:58:20.691529', photon_index_error2='0.26', photon_index2='1.80', ts='49.30', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='4.91e-05', EG='1.03', time_epoch_completed='1631303900.69', return_code='0', job_id='849510', GAL2='0.88', EG2='1.04', return_code2='0', energy_flux_error='2.36e-05', photon_flux_error2='3.77e-08', ts2='49.75', photon_index='1.97' WHERE bin_id='447' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:58:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 849510: <4FGL_J1454.4+5124_daily_bin447> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin447> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:19 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:20 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:20 2021
Terminated at Fri Sep 10 12:58:21 2021
Results reported at Fri Sep 10 12:58:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin447 223.625 51.409 355190401 355449601 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 :                                   702.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            722 sec.

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

