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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin763
RA = 223.625, Dec = 51.409
tmin = 437097601, tmax = 437356801
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='851006', job_status='RUN', time_executed='2021-09-10 12:53:16.548632', time_epoch_executed='1631303596.55' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851006

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851006/ft1_4FGL_J1454.4+5124_daily_bin763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851006/ft2_4FGL_J1454.4+5124_daily_bin763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851006/ft1_4FGL_J1454.4+5124_daily_bin763.fits outfile=/scratch/kocevski/851006/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin763.fits ra=223.625 dec=51.409 rad=12.0 tmin=437097601.0 tmax=437356801.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 5.10
user 4.85
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/851006/ft1_filtered_4FGL_J1454.4+5124_daily_bin763.fits" evtable="EVENTS" scfile=/scratch/kocevski/851006/ft2_4FGL_J1454.4+5124_daily_bin763.fits sctable="SC_DATA" outfile=/scratch/kocevski/851006/ltcube_437097601_437356801_4FGL_J1454.4+5124_daily_bin763.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/851006/ft2_4FGL_J1454.4+5124_daily_bin763.fits
.....................!
real 12.35
user 12.01
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851006/ft1_filtered_4FGL_J1454.4+5124_daily_bin763.fits evtable="EVENTS" scfile=/scratch/kocevski/851006/ft2_4FGL_J1454.4+5124_daily_bin763.fits sctable="SC_DATA" expcube=/scratch/kocevski/851006/ltcube_437097601_437356801_4FGL_J1454.4+5124_daily_bin763.fits outfile=/scratch/kocevski/851006/expmap_437097601_437356801_4FGL_J1454.4+5124_daily_bin763.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/851006/ltcube_437097601_437356801_4FGL_J1454.4+5124_daily_bin763.fits
.....................!
real 192.12
user 187.41
sys 4.30

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/851006/ft1_filtered_4FGL_J1454.4+5124_daily_bin763.fits scfile=/scratch/kocevski/851006/ft2_4FGL_J1454.4+5124_daily_bin763.fits outfile=/scratch/kocevski/851006/cmap_437097601_437356801_4FGL_J1454.4+5124_daily_bin763.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851006/ft1_filtered_4FGL_J1454.4+5124_daily_bin763.fits scfile=/scratch/kocevski/851006/ft2_4FGL_J1454.4+5124_daily_bin763.fits outfile=/scratch/kocevski/851006/cmap_HighResolution_437097601_437356801_4FGL_J1454.4+5124_daily_bin763.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10129E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11260E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.785       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.5288       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10434E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11913E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.449       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.212       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .95815       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.019       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11696E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .69100       1.0000         .10000E-03   10000.    
    17 'Prefactor '    29.221       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .21625E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10230E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .35612E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.2795       1.0000         .10000E-03   10000.    
    25 'norm      '    3.0153       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .65004       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .99055       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=   3755.613     FROM MIGRAD    STATUS=CONVERGED    709 CALLS     3521 TOTAL
                     EDM=   .85E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    27.486        .97829E-06** at limit **
   2  norm          .10000E-03    1.2719       -.24527E-07** at limit **
   3  Prefactor     .10000E-03    222.36        .11298E-05** at limit **
   4  Prefactor     25.727        38.404        .22047E-05    .25115E-04
   5  Prefactor     .10000E-03    40.760       -.37901E-05** at limit **
   6  Prefactor     7.5270        5.5436        .87223E-07    .42753E-04
   7  Prefactor     .10000E-03    17.174        .12096E-06** at limit **
   8  Prefactor     .10000E-03    1.2264       -.11044E-06** at limit **
   9  Prefactor     .10000E-03    22.770       -.80222E-06** at limit **
  10  Prefactor     30.452        21.234       -.20543E-07   -.12458E-04
  11  Prefactor     .10000E-03    44.859       -.52994E-06** at limit **
  12  Prefactor     36.228        28.546        .37317E-06   -.22125E-05
  13  Prefactor     .92684        41.899        .20365E-05   -.65517E-04
  14  Prefactor     10.026        17.809       -.46262E-06   -.74943E-04
  15  Prefactor     .10000E-03    50.788        .44316E-05** at limit **
  16  norm          .69021        1.9608       -.19300E-06   -.32362E-03
  17  Prefactor     29.227        14.343        .78518E-07   -.50694E-04
  18  Prefactor     .10000E-03    2.9580       -.32964E-07** at limit **
  19  Prefactor     .10000E-03    5.3841       -.40753E-08** at limit **
  20  norm          .10000E-03    1.8382        .17770E-08** at limit **
  21  Prefactor     .10000E-03    7.2462        .12933E-06** at limit **
  22  Prefactor     .10000E-03    27.574        .65136E-06** at limit **
  23  Prefactor     .10006E-03    11.554       -.19364E-06** at limit **
  24  Prefactor     1.2719        12.528       -.81932E-06    .10142E-04
  25  norm          3.0252        11.181        .44922E-05   -.37232E-04
  26  Prefactor     .10000E-03    101.04       -.39809E-05** at limit **
  27  Normalizat    .65008        .18556       -.39996E-06   -.90846E-04
  28  Prefactor     .99063        .21231       -.36044E-06   -.10171E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.7273
  Prefactor  = 0.0001
  Prefactor  = 7.52703
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.4524
  Prefactor  = 0.0001
  Prefactor  = 36.2282
  Prefactor  = 0.926836
  Prefactor  = 10.0258
  Prefactor  = 0.0001
  norm       = 0.690214
  Prefactor  = 29.2271
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100055
  Prefactor  = 1.27189
  norm       = 3.02516
  Prefactor  = 0.0001
  Normalizat = 0.650082
  Prefactor  = 0.990629
 **********
 **   18 **HESSE 
 **********

 FCN=   3755.613     FROM HESSE     STATUS=OK           527 CALLS     4048 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    27.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.2770        .67480E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    222.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     25.727        38.514        .78889E-04   -1.4693    
   5  Prefactor     .10000E-03    40.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.5270        5.5494        .11934E-03   -1.5159    
   7  Prefactor     .10000E-03    17.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.2425        .66119E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    22.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     30.452        21.204        .72609E-04   -1.4604    
  11  Prefactor     .10000E-03    44.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     36.228        28.588        .66598E-04   -1.4503    
  13  Prefactor     .92684        320.58        .73730E-02   -1.5515    
  14  Prefactor     10.026        17.703        .12659E-03   -1.5075    
  15  Prefactor     .10000E-03    51.772        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .69021        1.9549        .13487E-03   -1.5542    
  17  Prefactor     29.227        14.345        .74116E-04   -1.4626    
  18  Prefactor     .10000E-03    2.9705        .10292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.4197        .13866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.8475        .80970E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    14.953        .29832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    27.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10006E-03    19.045        .59596E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.2719        12.327        .37431E-03   -1.5482    
  25  norm          3.0252        11.248        .11686E-02   -1.5360    
  26  Prefactor     .10000E-03    101.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .65008        .22136        .23314E-03   -1.0590    
  28  Prefactor     .99063        .25490        .22549E-03   -.93043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.805e-10
Minuit parameter uncertainties:
  1  2.22307e-05
  2  9.65551e-07
  3  7.77901e-05
  4  38.5511
  5  0.000123094
  6  5.54981
  7  4.25073e-06
  8  4.66605e-06
  9  3.04799e-05
  10  21.2097
  11  1.21312e-05
  12  28.5988
  13  34.6611
  14  17.7122
  15  2.57089e-05
  16  1.9551
  17  14.347
  18  1.55138e-06
  19  1.80222e-06
  20  9.77692e-07
  21  6.62944e-05
  22  1.99211e-05
  23  0.00205044
  24  7.92105
  25  11.2563
  26  0.000151922
  27  0.22166
  28  0.255206
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  6.902e-01  1.955e+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:  9.906e-01  2.552e-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:  6.501e-01  2.217e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 223.625 51.409
Photon Flux Upper Limit: 8.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.73e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/851006/likelihoodResults_437097601_437356801_4FGL_J1454.4+5124_daily_bin763.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3754.41381013
delta logL = 1.19951793568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3754.40534473
delta logL = 1.2079833372

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27494       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4098       1.0000          .0000       5.0000    
     3 'Normalizat'    .59138       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0245       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=   3754.405     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      214 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27507        3.8954        .50826E-02    .83585E-03
   2  alpha         3.4097        3.9960        .19226        .49896E-04
   3  Normalizat    .59140        .51719E-01    .40821E-01    .13972E-04
   4  Prefactor     1.0246        .60456E-01    .41716E-01    .86444E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.275065
  alpha      = 3.40965
  Normalizat = 0.591397
  Prefactor  = 1.02463
 **********
 **   18 **HESSE 
 **********

 FCN=   3754.405     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27507        1.3050        .22936E-04   -1.5603    
   2  alpha         3.4097        1.7821        .78787E-02    .37241    
   3  Normalizat    .59140        .21870        .24281E-03   -1.0835    
   4  Prefactor     1.0246        .25591        .22147E-03   -.91913    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06981e-08
Minuit parameter uncertainties:
  1  1.1981
  2  2.02944
  3  0.219015
  4  0.256215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851006': 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) = 3754.40534416
delta logL = 1.20798391208

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.025e+00  2.562e-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:  5.914e-01  2.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.66
Ra Dec: 223.625 51.409
Photon Index (Free Index): 3.41 +/- 2.03
Photon Flux (Free Index): 6.75e-08 +/- 5.04e-08
Energy Flux (Free Index): 1.21e-05 +/- 1.11e-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/851006/cmap_HighResolution_437097601_437356801_4FGL_J1454.4+5124_daily_bin763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-05', comment='SUCCESS', energy_flux2='1.21e-05', dlogl='1.21e+00', photon_flux2='6.75e-08', job_status='DONE', time_completed='2021-09-10 13:03:56.625173', photon_index_error2='2.03', photon_index2='3.41', ts='0.15', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='8.00e-08', energy_flux_error2='1.11e-05', EG='0.65', time_epoch_completed='1631304236.63', return_code='0', job_id='851006', GAL2='1.02', EG2='0.59', return_code2='0', photon_flux_error2='5.04e-08', ts2='2.66', photon_index='1.97' WHERE bin_id='763' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:03:56 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin763 223.625 51.409 437097601 437356801 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 :                                   639.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             295.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            764 sec.

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

