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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin111
RA = 223.625, Dec = 51.409
tmin = 268099201, tmax = 268358401
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='847873', job_status='RUN', time_executed='2021-09-10 12:43:41.116385', time_epoch_executed='1631303021.12' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='111'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847873

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847873/ft1_4FGL_J1454.4+5124_daily_bin111.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847873/ft2_4FGL_J1454.4+5124_daily_bin111.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847873/ft1_4FGL_J1454.4+5124_daily_bin111.fits outfile=/scratch/kocevski/847873/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin111.fits ra=223.625 dec=51.409 rad=12.0 tmin=268099201.0 tmax=268358401.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.43
user 1.26
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847873/ft2_4FGL_J1454.4+5124_daily_bin111.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/847873/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin111.fits evtable="EVENTS" outfile="/scratch/kocevski/847873/ft1_filtered_4FGL_J1454.4+5124_daily_bin111.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/847873/ft1_filtered_4FGL_J1454.4+5124_daily_bin111.fits" evtable="EVENTS" scfile=/scratch/kocevski/847873/ft2_4FGL_J1454.4+5124_daily_bin111.fits sctable="SC_DATA" outfile=/scratch/kocevski/847873/ltcube_268099201_268358401_4FGL_J1454.4+5124_daily_bin111.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/847873/ft2_4FGL_J1454.4+5124_daily_bin111.fits
.....................!
real 13.21
user 12.83
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847873/ft1_filtered_4FGL_J1454.4+5124_daily_bin111.fits evtable="EVENTS" scfile=/scratch/kocevski/847873/ft2_4FGL_J1454.4+5124_daily_bin111.fits sctable="SC_DATA" expcube=/scratch/kocevski/847873/ltcube_268099201_268358401_4FGL_J1454.4+5124_daily_bin111.fits outfile=/scratch/kocevski/847873/expmap_268099201_268358401_4FGL_J1454.4+5124_daily_bin111.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/847873/ltcube_268099201_268358401_4FGL_J1454.4+5124_daily_bin111.fits
.....................!
real 191.30
user 185.69
sys 5.23

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/847873/ft1_filtered_4FGL_J1454.4+5124_daily_bin111.fits scfile=/scratch/kocevski/847873/ft2_4FGL_J1454.4+5124_daily_bin111.fits outfile=/scratch/kocevski/847873/cmap_268099201_268358401_4FGL_J1454.4+5124_daily_bin111.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847873/ft1_filtered_4FGL_J1454.4+5124_daily_bin111.fits scfile=/scratch/kocevski/847873/ft2_4FGL_J1454.4+5124_daily_bin111.fits outfile=/scratch/kocevski/847873/cmap_HighResolution_268099201_268358401_4FGL_J1454.4+5124_daily_bin111.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/847873/ft1_filtered_4FGL_J1454.4+5124_daily_bin111.fits evtable="EVENTS" scfile=/scratch/kocevski/847873/ft2_4FGL_J1454.4+5124_daily_bin111.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/847873/Model_4FGL_J1454.4+5124_daily_bin111.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/847873/ft1_filtered_4FGL_J1454.4+5124_daily_bin111.fits....................!
real 49.27
user 47.87
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    4.5311       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16281E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .78475       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.626       1.0000         .10000E-03   10000.    
    11 'Prefactor '    60.866       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9599       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.022       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.8388       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.2473       1.0000         .10000E-03   10000.    
    20 'norm      '    1.5862       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.5980       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    13.825       1.0000         .10000E-03   10000.    
    25 'norm      '    9.2221       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2046       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .80130       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=   6079.194     FROM MIGRAD    STATUS=CONVERGED    681 CALLS     3494 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    27.279        .24483E-06** at limit **
   2  norm          4.5296        4.4480        .27013E-07   -.15231E-03
   3  Prefactor     .10000E-03    211.35       -.25284E-06** at limit **
   4  Prefactor     .10000E-03    16.190        .22482E-06** at limit **
   5  Prefactor     .10000E-03    19.130       -.98749E-08** at limit **
   6  Prefactor     .10000E-03    3.6627        .79458E-07** at limit **
   7  Prefactor     .10000E-03    9.1709        .43477E-08** at limit **
   8  Prefactor     .78484        1.8314        .10154E-05    .21058E-03
   9  Prefactor     .10000E-03    13.794       -.94429E-07** at limit **
  10  Prefactor     26.621        27.529       -.10056E-05   -.87950E-04
  11  Prefactor     60.886        56.284        .13103E-06    .16722E-04
  12  Prefactor     2.9509        56.281        .14015E-05   -.18048E-05
  13  Prefactor     .10000E-03    13.796       -.71531E-07** at limit **
  14  Prefactor     15.008        16.680        .11696E-06    .15140E-04
  15  Prefactor     .10000E-03    9.1067        .26432E-06** at limit **
  16  norm          .10000E-03    .88071        .22222E-06** at limit **
  17  Prefactor     .10000E-03    2.4217       -.18319E-07** at limit **
  18  Prefactor     2.8387        3.6011        .69971E-07   -.36455E-04
  19  Prefactor     3.2471        6.4119        .44745E-06   -.10405E-03
  20  norm          1.5863        1.7362       -.14321E-07    .79667E-05
  21  Prefactor     .10000E-03    2.7864       -.42781E-07** at limit **
  22  Prefactor     9.5981        11.483        .91337E-06   -.18782E-03
  23  Prefactor     .10000E-03    5.5930       -.90914E-07** at limit **
  24  Prefactor     13.824        9.3549        .38414E-07   -.15777E-04
  25  norm          9.2215        9.4372        .62203E-07   -.15145E-04
  26  Prefactor     .10000E-03    24.536       -.27105E-06** at limit **
  27  Normalizat    1.2048        .17654       -.10318E-05   -.80571E-04
  28  Prefactor     .80116        .18874        .66379E-06   -.14419E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.52956
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.784841
  Prefactor  = 0.0001
  Prefactor  = 26.6212
  Prefactor  = 60.8863
  Prefactor  = 2.95087
  Prefactor  = 0.0001
  Prefactor  = 15.0077
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.8387
  Prefactor  = 3.24708
  norm       = 1.58625
  Prefactor  = 0.0001
  Prefactor  = 9.59815
  Prefactor  = 0.0001
  Prefactor  = 13.8242
  norm       = 9.22148
  Prefactor  = 0.0001
  Normalizat = 1.20476
  Prefactor  = 0.801164
 **********
 **   18 **HESSE 
 **********

 FCN=   6079.194     FROM HESSE     STATUS=OK           519 CALLS     4013 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    27.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.5296        4.4302        .15532E-03   -1.5282    
   3  Prefactor     .10000E-03    211.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    19.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.7101        .14568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.1940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .78484        1.8289        .16586E-02   -1.5531    
   9  Prefactor     .10000E-03    13.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.621        27.662        .77636E-04   -1.4676    
  11  Prefactor     60.886        56.281        .51430E-04   -1.4146    
  12  Prefactor     2.9509        56.281        .23603E-03   -1.5364    
  13  Prefactor     .10000E-03    13.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.008        16.627        .10334E-03   -1.4933    
  15  Prefactor     .10000E-03    9.1230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.4286        .13977E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.4233        .11848E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.8387        3.5904        .16155E-03   -1.5371    
  19  Prefactor     3.2471        6.3693        .22476E-03   -1.5348    
  20  norm          1.5863        1.7354        .10457E-03   -1.5456    
  21  Prefactor     .10000E-03    2.8007        .12704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.5981        11.274        .64676E-03   -1.5088    
  23  Prefactor     .10000E-03    5.6411        .17996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     13.824        9.3515        .10773E-03   -1.4964    
  25  norm          9.2215        9.4337        .13197E-03   -1.5101    
  26  Prefactor     .10000E-03    24.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.2048        .20356        .21418E-03   -.86456    
  28  Prefactor     .80116        .21852        .28728E-03   -.99685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38372e-10
Minuit parameter uncertainties:
  1  0.000126153
  2  4.43054
  3  0.00033594
  4  8.37674e-05
  5  5.9503e-05
  6  2.11981e-06
  7  1.6875e-05
  8  1.82898
  9  1.46653e-05
  10  27.6756
  11  56.33
  12  25.8019
  13  1.62699e-05
  14  16.6316
  15  1.50292e-06
  16  2.58279e-05
  17  1.24799e-07
  18  3.59072
  19  6.37061
  20  1.73541
  21  2.69457e-07
  22  11.2764
  23  1.28736e-07
  24  9.35248
  25  9.4352
  26  0.00011874
  27  0.203689
  28  0.218753
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  2.583e-05  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.012e-01  2.188e-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.205e+00  2.037e-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: 5.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.65e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/847873/likelihoodResults_268099201_268358401_4FGL_J1454.4+5124_daily_bin111.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) = 6079.19748694
delta logL = -0.0033382374404

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6079.19414598
delta logL = 2.71919725492e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10277E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0206       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2048       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80123       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6079.189     FROM MIGRAD    STATUS=FAILED       212 CALLS      374 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49652E-01    2.0013        .80632E-03   -.51975E-02
   2  alpha         2.8032        3.7719        .50724E-01    .16063E-03
   3  Normalizat    1.2026        .19465        .21434E-03    .42185E-03
   4  Prefactor     .80121        .21701        .28724E-03    .11609E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6079.189     FROM SIMPLEX   STATUS=UNCHANGED     88 CALLS      462 TOTAL
                     EDM=   .93E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49652E-01    2.0013        .10913E-03   -1.5752    
   2  alpha         2.8032        3.7719        .19845E-02    .12159    
   3  Normalizat    1.2026        .19465        .77143E-04   -.86524    
   4  Prefactor     .80121        .21701        .77288E-04   -.99684    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6079.189     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      492 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49657E-01    1.6705        .16126E-03   -.13747E-04
   2  alpha         2.8032        3.7060        .10145E-01   -.10837E-05
   3  Normalizat    1.2025        .19502        .42867E-04    .83805E-05
   4  Prefactor     .80121        .21717        .11489E-04    .47495E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0496571
  alpha      = 2.80323
  Normalizat = 1.20255
  Prefactor  = 0.801211
 **********
 **   18 **HESSE 
 **********

 FCN=   6079.189     FROM HESSE     STATUS=OK            27 CALLS      519 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49657E-01    1.6209        .64505E-05   -1.5752    
   2  alpha         2.8032        3.6937        .40579E-03    .12159    
   3  Normalizat    1.2025        .19506        .85735E-05   -.86524    
   4  Prefactor     .80121        .21715        .22979E-05   -.99684    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45429e-12
Minuit parameter uncertainties:
  1  0.566852
  2  2.74789
  3  0.19518
  4  0.217385
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847873': 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) = 6079.18942876
delta logL = 0.00471994274176

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.012e-01  2.174e-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.203e+00  1.952e-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/847873/cmap_HighResolution_268099201_268358401_4FGL_J1454.4+5124_daily_bin111.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-05', job_status='DONE', photon_flux_upper_limit='5.10e-08', time_completed='2021-09-10 12:57:35.553271', job_id='847873', GAL2='0.80', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1631303855.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='4.72e-03', ts2='0.01', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='111' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:57:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 847873: <4FGL_J1454.4+5124_daily_bin111> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin111 223.625 51.409 268099201 268358401 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 :                                   835.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             293.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            982 sec.

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

