/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 5 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 = 7443
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin49
RA = 223.625, Dec = 51.409
tmin = 252028801, tmax = 252288001
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='847781', job_status='RUN', time_executed='2021-09-10 12:41:29.929969', time_epoch_executed='1631302889.93' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='49'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847781

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847781/ft1_4FGL_J1454.4+5124_daily_bin49.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847781/ft2_4FGL_J1454.4+5124_daily_bin49.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847781/ft1_4FGL_J1454.4+5124_daily_bin49.fits outfile=/scratch/kocevski/847781/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin49.fits ra=223.625 dec=51.409 rad=12.0 tmin=252028801.0 tmax=252288001.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 1.42
user 1.25
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847781/ft2_4FGL_J1454.4+5124_daily_bin49.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/847781/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin49.fits evtable="EVENTS" outfile="/scratch/kocevski/847781/ft1_filtered_4FGL_J1454.4+5124_daily_bin49.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/847781/ft1_filtered_4FGL_J1454.4+5124_daily_bin49.fits" evtable="EVENTS" scfile=/scratch/kocevski/847781/ft2_4FGL_J1454.4+5124_daily_bin49.fits sctable="SC_DATA" outfile=/scratch/kocevski/847781/ltcube_252028801_252288001_4FGL_J1454.4+5124_daily_bin49.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/847781/ft2_4FGL_J1454.4+5124_daily_bin49.fits
.....................!
real 12.34
user 11.96
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847781/ft1_filtered_4FGL_J1454.4+5124_daily_bin49.fits evtable="EVENTS" scfile=/scratch/kocevski/847781/ft2_4FGL_J1454.4+5124_daily_bin49.fits sctable="SC_DATA" expcube=/scratch/kocevski/847781/ltcube_252028801_252288001_4FGL_J1454.4+5124_daily_bin49.fits outfile=/scratch/kocevski/847781/expmap_252028801_252288001_4FGL_J1454.4+5124_daily_bin49.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/847781/ltcube_252028801_252288001_4FGL_J1454.4+5124_daily_bin49.fits
.....................!
real 192.39
user 185.65
sys 6.31

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/847781/ft1_filtered_4FGL_J1454.4+5124_daily_bin49.fits scfile=/scratch/kocevski/847781/ft2_4FGL_J1454.4+5124_daily_bin49.fits outfile=/scratch/kocevski/847781/cmap_252028801_252288001_4FGL_J1454.4+5124_daily_bin49.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847781/ft1_filtered_4FGL_J1454.4+5124_daily_bin49.fits scfile=/scratch/kocevski/847781/ft2_4FGL_J1454.4+5124_daily_bin49.fits outfile=/scratch/kocevski/847781/cmap_HighResolution_252028801_252288001_4FGL_J1454.4+5124_daily_bin49.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/847781/ft1_filtered_4FGL_J1454.4+5124_daily_bin49.fits evtable="EVENTS" scfile=/scratch/kocevski/847781/ft2_4FGL_J1454.4+5124_daily_bin49.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/847781/Model_4FGL_J1454.4+5124_daily_bin49.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/847781/ft1_filtered_4FGL_J1454.4+5124_daily_bin49.fits.....................!
real 48.91
user 47.51
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    20.959       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10324E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.185       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .97208       1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.519       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .31769E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.8056       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.5823       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.6225       1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10253E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.066       1.0000         .10000E-03   10000.    
    24 'Prefactor '    8.2875       1.0000         .10000E-03   10000.    
    25 'norm      '    10.511       1.0000         .10000E-03   10000.    
    26 'Prefactor '    49.929       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0103       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .65315       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=   5972.489     FROM MIGRAD    STATUS=CONVERGED    672 CALLS     3457 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    50.780        .22621E-06** at limit **
   2  norm          20.959        5.7232        .55851E-07    .12724E-04
   3  Prefactor     .10023E-03    344.07       -.95608E-05** at limit **
   4  Prefactor     21.187        23.720        .88029E-08    .89792E-05
   5  Prefactor     .10000E-03    46.869       -.55948E-06** at limit **
   6  Prefactor     .97200        2.8455        .11353E-05    .48246E-03
   7  Prefactor     26.519        20.090       -.10122E-06   -.36991E-04
   8  Prefactor     .10000E-03    .63568        .52059E-08** at limit **
   9  Prefactor     .10000E-03    5.5843        .17691E-08** at limit **
  10  Prefactor     .10000E-03    15.034        .38778E-07** at limit **
  11  Prefactor     .10000E-03    67.762        .65676E-06** at limit **
  12  Prefactor     .10000E-03    6.2549        .88772E-07** at limit **
  13  Prefactor     .10000E-03    8.6600       -.77870E-07** at limit **
  14  Prefactor     .10045E-03    7.8917       -.21839E-05** at limit **
  15  Prefactor     .10000E-03    6.9509       -.18884E-07** at limit **
  16  norm          .10000E-03    .40114       -.21026E-09** at limit **
  17  Prefactor     5.8059        6.9561        .19277E-05    .65031E-04
  18  Prefactor     6.5814        5.2472        .97300E-07    .21917E-04
  19  Prefactor     6.6228        6.6647        .25376E-05    .98788E-04
  20  norm          .10000E-03    1.2662        .27668E-07** at limit **
  21  Prefactor     .10000E-03    7.8980        .25420E-06** at limit **
  22  Prefactor     .10000E-03    6.3895       -.33318E-07** at limit **
  23  Prefactor     15.064        11.338        .33339E-06    .99269E-05
  24  Prefactor     8.2877        7.3000       -.31960E-06   -.92768E-05
  25  norm          10.511        9.5044        .10732E-05    .20448E-04
  26  Prefactor     49.932        51.338        .25933E-06    .17019E-04
  27  Normalizat    1.0103        .15426       -.10281E-05    .16600E-03
  28  Prefactor     .65299        .16249       -.36927E-06    .55187E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 20.959
  Prefactor  = 0.000100225
  Prefactor  = 21.1868
  Prefactor  = 0.0001
  Prefactor  = 0.971996
  Prefactor  = 26.5193
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100452
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.80594
  Prefactor  = 6.58141
  Prefactor  = 6.62277
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.0643
  Prefactor  = 8.28775
  norm       = 10.5113
  Prefactor  = 49.9317
  Normalizat = 1.01032
  Prefactor  = 0.652989
 **********
 **   18 **HESSE 
 **********

 FCN=   5972.489     FROM HESSE     STATUS=OK           517 CALLS     3974 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    50.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          20.959        5.7378        .87490E-04   -1.4792    
   3  Prefactor     .10023E-03    345.49        .20741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.187        23.717        .87021E-04   -1.4787    
   5  Prefactor     .10000E-03    47.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .97200        2.5831        .21572E-02   -1.5511    
   7  Prefactor     26.519        20.061        .77792E-04   -1.4678    
   8  Prefactor     .10000E-03    .63920        .60146E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.5882        .17836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    68.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.2593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.6626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10045E-03    49.112        .39079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.9798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .40822        .47778E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.8059        6.9214        .83342E-03   -1.5226    
  18  Prefactor     6.5814        5.2471        .15182E-03   -1.5195    
  19  Prefactor     6.6228        6.6430        .77968E-03   -1.5193    
  20  norm          .10000E-03    1.2742        .84842E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.1525        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.3952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     15.064        11.305        .10319E-03   -1.4932    
  24  Prefactor     8.2877        7.2973        .13926E-03   -1.5132    
  25  norm          10.511        9.4947        .61793E-03   -1.5059    
  26  Prefactor     49.932        51.346        .56754E-04   -1.4294    
  27  Normalizat    1.0103        .18636        .20518E-03   -.92685    
  28  Prefactor     .65299        .19538        .27709E-03   -1.0540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.90152e-09
Minuit parameter uncertainties:
  1  0.000154148
  2  5.73794
  3  0.0177402
  4  23.728
  5  0.000286966
  6  2.58342
  7  20.0656
  8  3.07111e-07
  9  1.32363e-06
  10  1.73181e-05
  11  0.000624424
  12  1.92034e-05
  13  2.11727e-05
  14  0.00942815
  15  1.34677e-05
  16  7.83865e-07
  17  6.9224
  18  5.2475
  19  6.64376
  20  8.07041e-07
  21  2.66723e-05
  22  1.47774e-05
  23  11.3066
  24  7.29809
  25  9.49605
  26  51.392
  27  0.18648
  28  0.195583
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.010e+00  1.865e-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.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/847781/likelihoodResults_252028801_252288001_4FGL_J1454.4+5124_daily_bin49.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) = 5972.48929008
delta logL = -5.33085740244e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5972.48923314
delta logL = 3.63289200322e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9287       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0103       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65301       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=   5972.489     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      214 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.9291        .90712E-02** at limit **
   2  alpha         1.5788        3.7227        .42599       -.52094E-07
   3  Normalizat    1.0103        .15096E-01    .45804E-01   -.15115E-03
   4  Prefactor     .65299        .16796E-01    .62634E-01   -.75984E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.57877
  Normalizat = 1.01032
  Prefactor  = 0.65299
 **********
 **   18 **HESSE 
 **********

 FCN=   5972.489     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      245 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    80.411        .52190E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5788        4.2093        .50000       -.37739    
   3  Normalizat    1.0103        .63617E-01    .20518E-03   -.92685    
   4  Prefactor     .65299        .70693E-01    .27709E-03   -1.0540    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.32658e-07
Minuit parameter uncertainties:
  1  4.41493e-05
  2  637.879
  3  0.063622
  4  0.0707031
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847781': 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): 102
logL (Free Index) = 5972.48921699
delta logL = 1.97800727619e-05

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  4.415e-05  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.579e+00  6.379e+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:  6.530e-01  7.070e-02  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.010e+00  6.362e-02  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/847781/cmap_HighResolution_252028801_252288001_4FGL_J1454.4+5124_daily_bin49.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.17e-05', job_status='DONE', photon_flux_upper_limit='3.03e-08', time_completed='2021-09-10 12:54:42.390767', job_id='847781', GAL2='0.65', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1631303682.39', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.98e-05', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='49' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:54:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0141>
Subject: Job 847781: <4FGL_J1454.4+5124_daily_bin49> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin49> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:08 2021
Job was executed on host(s) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:41:09 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:09 2021
Terminated at Fri Sep 10 12:54:43 2021
Results reported at Fri Sep 10 12:54:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin49 223.625 51.409 252028801 252288001 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 :                                   791.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             335.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            815 sec.

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

