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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin211
RA = 223.625, Dec = 51.409
tmin = 294019201, tmax = 294278401
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='848021', job_status='RUN', time_executed='2021-09-10 12:43:45.496774', time_epoch_executed='1631303025.5' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='211'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/848021

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/848021/ft1_4FGL_J1454.4+5124_daily_bin211.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/848021/ft2_4FGL_J1454.4+5124_daily_bin211.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/848021/ft1_4FGL_J1454.4+5124_daily_bin211.fits outfile=/scratch/kocevski/848021/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin211.fits ra=223.625 dec=51.409 rad=12.0 tmin=294019201.0 tmax=294278401.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.14
user 2.93
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/848021/ft2_4FGL_J1454.4+5124_daily_bin211.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/848021/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin211.fits evtable="EVENTS" outfile="/scratch/kocevski/848021/ft1_filtered_4FGL_J1454.4+5124_daily_bin211.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/848021/ft1_filtered_4FGL_J1454.4+5124_daily_bin211.fits" evtable="EVENTS" scfile=/scratch/kocevski/848021/ft2_4FGL_J1454.4+5124_daily_bin211.fits sctable="SC_DATA" outfile=/scratch/kocevski/848021/ltcube_294019201_294278401_4FGL_J1454.4+5124_daily_bin211.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/848021/ft2_4FGL_J1454.4+5124_daily_bin211.fits
.....................!
real 11.72
user 11.36
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/848021/ft1_filtered_4FGL_J1454.4+5124_daily_bin211.fits evtable="EVENTS" scfile=/scratch/kocevski/848021/ft2_4FGL_J1454.4+5124_daily_bin211.fits sctable="SC_DATA" expcube=/scratch/kocevski/848021/ltcube_294019201_294278401_4FGL_J1454.4+5124_daily_bin211.fits outfile=/scratch/kocevski/848021/expmap_294019201_294278401_4FGL_J1454.4+5124_daily_bin211.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/848021/ltcube_294019201_294278401_4FGL_J1454.4+5124_daily_bin211.fits
.....................!
real 190.46
user 185.13
sys 4.96

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/848021/ft1_filtered_4FGL_J1454.4+5124_daily_bin211.fits scfile=/scratch/kocevski/848021/ft2_4FGL_J1454.4+5124_daily_bin211.fits outfile=/scratch/kocevski/848021/cmap_294019201_294278401_4FGL_J1454.4+5124_daily_bin211.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/848021/ft1_filtered_4FGL_J1454.4+5124_daily_bin211.fits scfile=/scratch/kocevski/848021/ft2_4FGL_J1454.4+5124_daily_bin211.fits outfile=/scratch/kocevski/848021/cmap_HighResolution_294019201_294278401_4FGL_J1454.4+5124_daily_bin211.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .16820E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    323.69       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.209       1.0000         .10000E-03   10000.    
     5 'Prefactor '    51.530       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.815       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10258E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.534       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10827E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.1389       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10523E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.909       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.156       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.323       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.7562       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .86356       1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.645       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10677E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    15.636       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .93886       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .80843       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=   6029.128     FROM MIGRAD    STATUS=CONVERGED    667 CALLS     3490 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    30.993       -.83805E-05** at limit **
   2  norm          .10000E-03    1.9525       -.22622E-06** at limit **
   3  Prefactor     323.79        343.82        .58592E-04   -.14833E-06
   4  Prefactor     16.222        43.827        .27199E-04    .11448E-04
   5  Prefactor     51.522        42.524       -.90520E-05   -.18988E-04
   6  Prefactor     .10000E-03    3.2239        .16436E-06** at limit **
   7  Prefactor     16.819        18.024        .31446E-05   -.23399E-04
   8  Prefactor     .10000E-03    1.3578       -.30728E-06** at limit **
   9  Prefactor     19.536        24.226        .34451E-05    .31839E-04
  10  Prefactor     .10000E-03    16.772       -.53947E-06** at limit **
  11  Prefactor     .10000E-03    17.759        .41512E-05** at limit **
  12  Prefactor     5.1366        22.645       -.39404E-05   -.35003E-04
  13  Prefactor     .10000E-03    15.039       -.64838E-05** at limit **
  14  Prefactor     14.910        13.671        .48959E-06   -.19271E-04
  15  Prefactor     .10000E-03    6.6903       -.17734E-06** at limit **
  16  norm          .10000E-03    .40865        .13885E-08** at limit **
  17  Prefactor     17.162        10.876       -.14386E-06   -.29636E-04
  18  Prefactor     13.323        6.3094        .13356E-06   -.12387E-04
  19  Prefactor     .10000E-03    4.0378       -.13557E-06** at limit **
  20  norm          .10000E-03    1.6819       -.40968E-08** at limit **
  21  Prefactor     8.7520        8.7770        .18802E-06    .77762E-04
  22  Prefactor     .86000        11.679       -.14276E-05    .77139E-04
  23  Prefactor     12.648        11.804        .71707E-06    .15948E-03
  24  Prefactor     .10001E-03    4.0635        .82285E-06** at limit **
  25  norm          15.643        8.7999        .14072E-07   -.33085E-03
  26  Prefactor     .10000E-03    28.523        .84505E-05** at limit **
  27  Normalizat    .93844        .16274       -.16352E-05    .16449E-03
  28  Prefactor     .80894        .17533        .57090E-07   -.12229E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 323.79
  Prefactor  = 16.2223
  Prefactor  = 51.5221
  Prefactor  = 0.0001
  Prefactor  = 16.8189
  Prefactor  = 0.0001
  Prefactor  = 19.5365
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.13661
  Prefactor  = 0.0001
  Prefactor  = 14.9099
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.1616
  Prefactor  = 13.3227
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.75196
  Prefactor  = 0.860002
  Prefactor  = 12.6477
  Prefactor  = 0.000100006
  norm       = 15.6434
  Prefactor  = 0.0001
  Normalizat = 0.938435
  Prefactor  = 0.808936
 **********
 **   18 **HESSE 
 **********

 FCN=   6029.128     FROM HESSE     STATUS=OK           525 CALLS     4015 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    30.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.2282        .20994E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     323.79        343.26        .11301E-03   -1.2089    
   4  Prefactor     16.222        43.762        .99480E-04   -1.4902    
   5  Prefactor     51.522        42.663        .55869E-04   -1.4271    
   6  Prefactor     .10000E-03    3.3492        .27199E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.819        18.078        .97671E-04   -1.4888    
   8  Prefactor     .10000E-03    1.3997        .17623E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.536        24.304        .90622E-04   -1.4824    
  10  Prefactor     .10000E-03    16.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    17.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.1366        22.669        .17735E-03   -1.5255    
  13  Prefactor     .10000E-03    15.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.910        13.677        .10373E-03   -1.4936    
  15  Prefactor     .10000E-03    6.7038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .41692        .48447E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.162        10.888        .96697E-04   -1.4879    
  18  Prefactor     13.323        6.3101        .10974E-03   -1.4978    
  19  Prefactor     .10000E-03    4.0659        .15218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.5648        .18583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.7520        8.3786        .13546E-03   -1.5116    
  22  Prefactor     .86000        84.364        .46839E-02   -1.5522    
  23  Prefactor     12.648        11.835        .11265E-03   -1.4997    
  24  Prefactor     .10001E-03    11.924        .29061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          15.643        8.4034        .10129E-03   -1.4917    
  26  Prefactor     .10000E-03    28.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .93844        .19383        .21767E-03   -.95122    
  28  Prefactor     .80894        .20776        .26437E-03   -.99400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36981e-09
Minuit parameter uncertainties:
  1  2.20447e-06
  2  9.38096e-05
  3  345.452
  4  43.8489
  5  42.6885
  6  2.58182e-05
  7  18.0835
  8  3.71779e-05
  9  24.3164
  10  0.000117177
  11  1.42664e-06
  12  21.5949
  13  3.72068e-05
  14  13.6795
  15  3.71948e-06
  16  3.92843e-07
  17  10.8897
  18  6.31046
  19  7.27368e-06
  20  1.44287e-06
  21  8.37974
  22  17.0594
  23  11.8369
  24  0.00052775
  25  8.40401
  26  6.03028e-06
  27  0.193971
  28  0.207965
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  3.928e-07  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.089e-01  2.080e-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:  9.384e-01  1.940e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/848021/likelihoodResults_294019201_294278401_4FGL_J1454.4+5124_daily_bin211.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) = 6029.12758115
delta logL = -1.62775277204e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6029.12756495
delta logL = -7.41320036468e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9693       1.0000          .0000       5.0000    
     3 'Normalizat'    .93847       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80893       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6029.128     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      222 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .43773        .48446E-03** at limit **
   2  alpha         1.9971        2.5463        .16956       -.57796E-07
   3  Normalizat    .93843        .17880        .21767E-03   -.12681E-03
   4  Prefactor     .80894        .20409        .26437E-03   -.10200E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.99711
  Normalizat = 0.938433
  Prefactor  = 0.808938
 **********
 **   18 **HESSE 
 **********

 FCN=   6029.128     FROM HESSE     STATUS=OK            25 CALLS      247 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .41707        .96892E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9971        3.4090        .67823E-02   -.20254    
   3  Normalizat    .93843        .17900        .87068E-05   -.95123    
   4  Prefactor     .80894        .20432        .10575E-04   -.99400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82108e-11
Minuit parameter uncertainties:
  1  5.98392e-07
  2  111.992
  3  0.179115
  4  0.204507
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/848021': 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) = 6029.12756484
delta logL = 3.40432961821e-08

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  5.984e-07  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.997e+00  1.120e+02  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.089e-01  2.045e-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:  9.384e-01  1.791e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/848021/cmap_HighResolution_294019201_294278401_4FGL_J1454.4+5124_daily_bin211.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.18e-05', job_status='DONE', photon_flux_upper_limit='3.05e-08', time_completed='2021-09-10 12:57:25.013306', job_id='848021', GAL2='0.81', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1631303845.01', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.40e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='211' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:57:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 848021: <4FGL_J1454.4+5124_daily_bin211> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin211> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:24 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:41:26 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:41:26 2021
Terminated at Fri Sep 10 12:57:25 2021
Results reported at Fri Sep 10 12:57:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin211 223.625 51.409 294019201 294278401 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 :                                   818.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             306.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            961 sec.

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

