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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin826
RA = 223.625, Dec = 51.409
tmin = 453427201, tmax = 453686401
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='851097', job_status='RUN', time_executed='2021-09-10 12:51:32.239423', time_epoch_executed='1631303492.24' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='826'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851097

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851097/ft1_4FGL_J1454.4+5124_daily_bin826.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851097/ft2_4FGL_J1454.4+5124_daily_bin826.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851097/ft1_4FGL_J1454.4+5124_daily_bin826.fits outfile=/scratch/kocevski/851097/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin826.fits ra=223.625 dec=51.409 rad=12.0 tmin=453427201.0 tmax=453686401.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.69
user 3.45
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/851097/ft1_filtered_4FGL_J1454.4+5124_daily_bin826.fits" evtable="EVENTS" scfile=/scratch/kocevski/851097/ft2_4FGL_J1454.4+5124_daily_bin826.fits sctable="SC_DATA" outfile=/scratch/kocevski/851097/ltcube_453427201_453686401_4FGL_J1454.4+5124_daily_bin826.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/851097/ft2_4FGL_J1454.4+5124_daily_bin826.fits
.....................!
real 12.38
user 12.04
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851097/ft1_filtered_4FGL_J1454.4+5124_daily_bin826.fits evtable="EVENTS" scfile=/scratch/kocevski/851097/ft2_4FGL_J1454.4+5124_daily_bin826.fits sctable="SC_DATA" expcube=/scratch/kocevski/851097/ltcube_453427201_453686401_4FGL_J1454.4+5124_daily_bin826.fits outfile=/scratch/kocevski/851097/expmap_453427201_453686401_4FGL_J1454.4+5124_daily_bin826.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/851097/ltcube_453427201_453686401_4FGL_J1454.4+5124_daily_bin826.fits
.....................!
real 194.83
user 189.04
sys 5.40

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/851097/ft1_filtered_4FGL_J1454.4+5124_daily_bin826.fits scfile=/scratch/kocevski/851097/ft2_4FGL_J1454.4+5124_daily_bin826.fits outfile=/scratch/kocevski/851097/cmap_453427201_453686401_4FGL_J1454.4+5124_daily_bin826.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.15

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .64790E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.109       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10364E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.203       1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.917       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.2744       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10193E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .20437       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.3620       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    8.8531       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .32092       1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.3414       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .83934       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1726       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=   6093.397     FROM MIGRAD    STATUS=CONVERGED    704 CALLS     3580 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    29.315        .12177E-05** at limit **
   2  norm          .10000E-03    3.3882        .24144E-06** at limit **
   3  Prefactor     .10037E-03    2035.2        .41796E-04** at limit **
   4  Prefactor     .10000E-03    14.383       -.26331E-06** at limit **
   5  Prefactor     .10000E-03    15.507        .63029E-06** at limit **
   6  Prefactor     .10000E-03    1.4654       -.49002E-07** at limit **
   7  Prefactor     31.110        22.979       -.60789E-06    .17434E-04
   8  Prefactor     .10000E-03    1.8353        .15336E-06** at limit **
   9  Prefactor     21.182        28.514       -.13504E-05   -.10323E-03
  10  Prefactor     25.920        25.132       -.21428E-05   -.19884E-03
  11  Prefactor     .10000E-03    14.451       -.18320E-06** at limit **
  12  Prefactor     9.2745        14.842       -.37781E-06   -.10145E-04
  13  Prefactor     .10000E-03    10.195        .18292E-06** at limit **
  14  Prefactor     .10001E-03    8.7226        .27655E-06** at limit **
  15  Prefactor     .10000E-03    17.861        .82901E-06** at limit **
  16  norm          .20402        1.7618       -.16155E-05    .13854E-02
  17  Prefactor     4.3627        7.8649       -.13616E-05   -.13157E-03
  18  Prefactor     .10000E-03    2.9265        .11132E-06** at limit **
  19  Prefactor     .10000E-03    1.7324        .12343E-06** at limit **
  20  norm          8.8508        4.6721        .46717E-07    .25938E-03
  21  Prefactor     .10000E-03    5.4565       -.85914E-07** at limit **
  22  Prefactor     .10000E-03    21.868       -.13228E-05** at limit **
  23  Prefactor     .36060        119.47       -.89541E-05    .69160E-04
  24  Prefactor     6.3422        6.0951       -.57123E-06   -.15876E-03
  25  norm          .10000E-03    5.0383       -.11692E-05** at limit **
  26  Prefactor     .10000E-03    166.53        .45026E-05** at limit **
  27  Normalizat    .83924        .17531        .15374E-05    .46050E-03
  28  Prefactor     1.1727        .18725        .55184E-06    .50951E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100366
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.11
  Prefactor  = 0.0001
  Prefactor  = 21.1824
  Prefactor  = 25.9203
  Prefactor  = 0.0001
  Prefactor  = 9.27454
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 0.000100001
  norm       = 0.204025
  Prefactor  = 4.3627
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.85084
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.360605
  Prefactor  = 6.34224
  norm       = 0.0001
  Prefactor  = 0.000100004
  Normalizat = 0.839239
  Prefactor  = 1.1727
 **********
 **   18 **HESSE 
 **********

 FCN=   6093.397     FROM HESSE     STATUS=OK           515 CALLS     4095 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    29.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.4930        .28008E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10037E-03    2100.5        .21023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.4699        .92270E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     31.110        23.138        .71837E-04   -1.4592    
   8  Prefactor     .10000E-03    17.029        .16660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.182        28.639        .86984E-04   -1.4787    
  10  Prefactor     25.920        25.457        .78689E-04   -1.4689    
  11  Prefactor     .10000E-03    14.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.2745        14.842        .13160E-03   -1.5099    
  13  Prefactor     .10000E-03    10.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    38.922        .43635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .20402        2.3735        .16031E-02   -1.5618    
  17  Prefactor     4.3627        7.9198        .19285E-03   -1.5290    
  18  Prefactor     .10000E-03    2.9485        .13037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.7360        .10032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          8.8508        4.6555        .11156E-03   -1.5113    
  21  Prefactor     .10000E-03    5.4738        .17770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    22.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .36060        129.09        .42119E-02   -1.5588    
  24  Prefactor     6.3422        6.0938        .15939E-03   -1.5204    
  25  norm          .10000E-03    5.1183        .17154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    167.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .83924        .21197        .24412E-03   -.98629    
  28  Prefactor     1.1727        .22783        .24162E-03   -.87176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61028e-09
Minuit parameter uncertainties:
  1  0.000206946
  2  2.77869e-06
  3  0.0576057
  4  3.7285e-05
  5  7.17302e-05
  6  2.00843e-06
  7  23.1442
  8  9.21182e-06
  9  28.6576
  10  25.4679
  11  2.04488e-05
  12  14.8476
  13  1.53345e-05
  14  0.00150314
  15  0.000196803
  16  1.39148
  17  7.92168
  18  5.50284e-06
  19  6.51957e-06
  20  4.65572
  21  6.00077e-06
  22  0.000198112
  23  13.6737
  24  6.09442
  25  6.06433e-05
  26  0.001545
  27  0.212176
  28  0.228016
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.040e-01  1.391e+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:  1.173e+00  2.280e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  8.392e-01  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/851097/likelihoodResults_453427201_453686401_4FGL_J1454.4+5124_daily_bin826.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): 102
logL (Free Index) = 6093.26864308
delta logL = 0.128451343036

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6093.06739979
delta logL = 0.329694626029

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32652E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .79910       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2037       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=   6093.067     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      264 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32637E-02    .23771        .98673E-03    .44016E-02
   2  alpha         5.0000        2.9830        .46267    ** at limit **
   3  Normalizat    .79906        .74383E-01    .43599E-01   -.70071E-04
   4  Prefactor     1.2038        .78981E-01    .54032E-01   -.58542E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00326371
  alpha      = 5
  Normalizat = 0.799064
  Prefactor  = 1.2038
 **********
 **   18 **HESSE 
 **********

 FCN=   6093.067     FROM HESSE     STATUS=OK            37 CALLS      301 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32637E-02    .49507E-02    .59208E-04   -1.5697    
   2  alpha         5.0000        3.3378        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .79906        .19922        .24955E-03   -1.0010    
   4  Prefactor     1.2038        .22531        .23890E-03   -.86215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.78419e-11
Minuit parameter uncertainties:
  1  0.00495067
  2  2.44692e-07
  3  0.1994
  4  0.225493
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851097': 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) = 6093.06739859
delta logL = 0.329695832078

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.264e-03  4.951e-03  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  5.000e+00  2.447e-07  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.204e+00  2.255e-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.991e-01  1.994e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 223.625 51.409

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/851097/cmap_HighResolution_453427201_453686401_4FGL_J1454.4+5124_daily_bin826.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-05', job_status='DONE', photon_flux_upper_limit='5.75e-08', time_completed='2021-09-10 13:05:25.726670', job_id='851097', GAL2='1.20', fit_tolerance='1e-08', EG2='0.80', EG='0.84', time_epoch_completed='1631304325.73', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='3.30e-01', ts2='0.71', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='826' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:05:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 851097: <4FGL_J1454.4+5124_daily_bin826> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin826 223.625 51.409 453427201 453686401 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 :                                   832.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             340.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            847 sec.

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

