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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin905
RA = 223.625, Dec = 51.409
tmin = 473904001, tmax = 474163201
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='851213', job_status='RUN', time_executed='2021-09-10 12:54:04.896025', time_epoch_executed='1631303644.9' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='905'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851213

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851213/ft1_4FGL_J1454.4+5124_daily_bin905.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851213/ft2_4FGL_J1454.4+5124_daily_bin905.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851213/ft1_4FGL_J1454.4+5124_daily_bin905.fits outfile=/scratch/kocevski/851213/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin905.fits ra=223.625 dec=51.409 rad=12.0 tmin=473904001.0 tmax=474163201.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.91
user 3.68
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/851213/ft1_filtered_4FGL_J1454.4+5124_daily_bin905.fits" evtable="EVENTS" scfile=/scratch/kocevski/851213/ft2_4FGL_J1454.4+5124_daily_bin905.fits sctable="SC_DATA" outfile=/scratch/kocevski/851213/ltcube_473904001_474163201_4FGL_J1454.4+5124_daily_bin905.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/851213/ft2_4FGL_J1454.4+5124_daily_bin905.fits
.....................!
real 9.27
user 8.97
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851213/ft1_filtered_4FGL_J1454.4+5124_daily_bin905.fits evtable="EVENTS" scfile=/scratch/kocevski/851213/ft2_4FGL_J1454.4+5124_daily_bin905.fits sctable="SC_DATA" expcube=/scratch/kocevski/851213/ltcube_473904001_474163201_4FGL_J1454.4+5124_daily_bin905.fits outfile=/scratch/kocevski/851213/expmap_473904001_474163201_4FGL_J1454.4+5124_daily_bin905.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/851213/ltcube_473904001_474163201_4FGL_J1454.4+5124_daily_bin905.fits
.....................!
real 146.35
user 142.05
sys 3.97

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/851213/ft1_filtered_4FGL_J1454.4+5124_daily_bin905.fits scfile=/scratch/kocevski/851213/ft2_4FGL_J1454.4+5124_daily_bin905.fits outfile=/scratch/kocevski/851213/cmap_473904001_474163201_4FGL_J1454.4+5124_daily_bin905.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.45
user 0.31
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851213/ft1_filtered_4FGL_J1454.4+5124_daily_bin905.fits scfile=/scratch/kocevski/851213/ft2_4FGL_J1454.4+5124_daily_bin905.fits outfile=/scratch/kocevski/851213/cmap_HighResolution_473904001_474163201_4FGL_J1454.4+5124_daily_bin905.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.45
user 0.30
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    2.8272       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.988       1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.477       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.8426       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    56.412       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.110       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.2210       1.0000         .10000E-03   10000.    
    16 'norm      '    2.0464       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.0900       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.289       1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.750       1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.0209       1.0000         .10000E-03   10000.    
    25 'norm      '    7.0390       1.0000         .10000E-03   10000.    
    26 'Prefactor '    56.797       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .76284       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .90255       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=   3749.758     FROM MIGRAD    STATUS=CONVERGED    704 CALLS     3491 TOTAL
                     EDM=   .74E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    56.102        .91092E-06** at limit **
   2  norm          2.8260        6.9524        .49902E-05   -.15796E-03
   3  Prefactor     .10000E-03    252.10       -.49926E-05** at limit **
   4  Prefactor     .10000E-03    81.765       -.92502E-06** at limit **
   5  Prefactor     .10000E-03    18.769       -.53944E-06** at limit **
   6  Prefactor     .10000E-03    6.2762       -.90912E-07** at limit **
   7  Prefactor     .10000E-03    22.057        .13401E-05** at limit **
   8  Prefactor     11.997        5.9597       -.97406E-06   -.46379E-03
   9  Prefactor     33.486        38.988       -.20695E-05   -.73074E-04
  10  Prefactor     3.7053        120.71        .15127E-04    .60941E-05
  11  Prefactor     .10000E-03    24.802       -.13557E-05** at limit **
  12  Prefactor     .10000E-03    11.988        .30598E-07** at limit **
  13  Prefactor     56.413        51.587       -.17581E-06   -.28831E-04
  14  Prefactor     12.114        16.208       -.27619E-07   -.30860E-04
  15  Prefactor     9.2207        15.236        .24200E-06   -.18454E-04
  16  norm          2.0466        1.9362       -.34740E-07   -.15871E-03
  17  Prefactor     .10000E-03    3.4591       -.65587E-07** at limit **
  18  Prefactor     .10000E-03    2.5034       -.24679E-07** at limit **
  19  Prefactor     2.0880        6.2571        .73183E-06   -.13282E-04
  20  norm          .10000E-03    3.0919       -.19518E-06** at limit **
  21  Prefactor     .10000E-03    5.1116       -.24183E-06** at limit **
  22  Prefactor     11.277        21.743        .41305E-08   -.15452E-05
  23  Prefactor     11.763        14.064        .62378E-06    .83819E-05
  24  Prefactor     4.0198        9.5086       -.42445E-06    .36259E-04
  25  norm          7.0380        10.327       -.31067E-06    .51818E-04
  26  Prefactor     56.788        78.278        .13406E-05   -.41462E-05
  27  Normalizat    .76285        .19720       -.13273E-05   -.87397E-04
  28  Prefactor     .90264        .21601       -.17213E-06   -.10919E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.82604
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9975
  Prefactor  = 33.4863
  Prefactor  = 3.70526
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 56.4132
  Prefactor  = 12.1137
  Prefactor  = 9.2207
  norm       = 2.04661
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.08801
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.277
  Prefactor  = 11.7635
  Prefactor  = 4.01984
  norm       = 7.03798
  Prefactor  = 56.788
  Normalizat = 0.762848
  Prefactor  = 0.902637
 **********
 **   18 **HESSE 
 **********

 FCN=   3749.758     FROM HESSE     STATUS=OK           517 CALLS     4008 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    56.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.8260        6.9673        .11668E-02   -1.5372    
   3  Prefactor     .10000E-03    251.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    81.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.4247        .14975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    22.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.997        5.9483        .84001E-04   -1.5015    
   9  Prefactor     33.486        39.078        .69257E-04   -1.4550    
  10  Prefactor     3.7053        120.94        .20588E-03   -1.5323    
  11  Prefactor     .10000E-03    24.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     56.413        51.582        .53410E-04   -1.4204    
  14  Prefactor     12.114        16.185        .11511E-03   -1.5012    
  15  Prefactor     9.2207        15.191        .13198E-03   -1.5101    
  16  norm          2.0466        1.9247        .77627E-04   -1.5422    
  17  Prefactor     .10000E-03    3.4609        .11122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.5138        .94592E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0880        6.2324        .25331E-03   -1.5419    
  20  norm          .10000E-03    3.1568        .20986E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.1281        .13495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.277        21.673        .11923E-03   -1.5036    
  23  Prefactor     11.763        13.990        .11687E-03   -1.5022    
  24  Prefactor     4.0198        9.4158        .20111E-03   -1.5307    
  25  norm          7.0380        10.238        .15120E-03   -1.5177    
  26  Prefactor     56.788        78.302        .53229E-04   -1.4199    
  27  Normalizat    .76285        .23260        .23038E-03   -1.0146    
  28  Prefactor     .90264        .25510        .24276E-03   -.96049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31704e-10
Minuit parameter uncertainties:
  1  3.16495e-05
  2  6.96926
  3  0.000439251
  4  6.27686e-06
  5  3.14671e-06
  6  6.06521e-06
  7  5.76487e-05
  8  5.94856
  9  39.1075
  10  42.4298
  11  2.57109e-06
  12  1.05903e-06
  13  51.6228
  14  16.1907
  15  15.197
  16  1.92476
  17  5.16274e-06
  18  1.19058e-06
  19  6.23429
  20  1.40074e-05
  21  2.4138e-05
  22  21.6882
  23  13.9937
  24  9.41926
  25  10.2402
  26  78.4442
  27  0.232904
  28  0.255434
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.047e+00  1.925e+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.026e-01  2.554e-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:  7.628e-01  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.54
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.08e-08 +/- 2.89e-08
Energy Flux (Fixed Index): 2.20e-05 +/- 2.07e-05

TS (Fixed Index): 2.54
Ra Dec: 223.625 51.409
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/851213/likelihoodResults_473904001_474163201_4FGL_J1454.4+5124_daily_bin905.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) = 3749.57549812
delta logL = 0.182619225737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3749.57125586
delta logL = 0.186861482842

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4248       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4342       1.0000          .0000       5.0000    
     3 'Normalizat'    .74484       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91333       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=   3749.571     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      226 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4242        25.009        .90552E-02    .21243E-03
   2  alpha         2.4345        3.7135        .26783        .36574E-04
   3  Normalizat    .74475        .58950E-01    .42886E-01   -.32646E-05
   4  Prefactor     .91365        .61857E-01    .45175E-01   -.13022E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.42424
  alpha      = 2.43448
  Normalizat = 0.744753
  Prefactor  = 0.913651
 **********
 **   18 **HESSE 
 **********

 FCN=   3749.571     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4242        2.0192        .58760E-04   -1.5469    
   2  alpha         2.4345        .84976        .95070E-02   -.26212E-01
   3  Normalizat    .74475        .22269        .23276E-03   -1.0215    
   4  Prefactor     .91365        .25284        .24135E-03   -.95666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64733e-09
Minuit parameter uncertainties:
  1  2.01934
  2  0.867045
  3  0.222963
  4  0.253169
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851213': 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) = 3749.57125375
delta logL = 0.186863597688

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.424e+00  2.019e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.434e+00  8.670e-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:  9.137e-01  2.532e-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:  7.448e-01  2.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.91
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.43 +/- 0.87
Photon Flux (Free Index): 4.75e-08 +/- 4.56e-08
Energy Flux (Free Index): 1.59e-05 +/- 1.58e-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/851213/cmap_HighResolution_473904001_474163201_4FGL_J1454.4+5124_daily_bin905.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.16e-05', comment='SUCCESS', photon_flux='3.08e-08', energy_flux2='1.59e-05', photon_flux_error='2.89e-08', dlogl='1.87e-01', energy_flux='2.20e-05', photon_flux2='4.75e-08', job_status='DONE', time_completed='2021-09-10 13:02:12.534636', photon_index_error2='0.87', photon_index2='2.43', ts='2.54', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.00e-07', energy_flux_error2='1.58e-05', EG='0.76', time_epoch_completed='1631304132.53', return_code='0', job_id='851213', GAL2='0.91', EG2='0.74', return_code2='0', energy_flux_error='2.07e-05', photon_flux_error2='4.56e-08', ts2='2.91', photon_index='1.97' WHERE bin_id='905' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:02:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 851213: <4FGL_J1454.4+5124_daily_bin905> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin905 223.625 51.409 473904001 474163201 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 :                                   485.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             264.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   643 sec.
    Turnaround time :                            646 sec.

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

