/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 56 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 = 7416
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1453.5+3505_daily_bin622
RA = 223.392, Dec = 35.0884
tmin = 400550401, tmax = 400809601
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='829866', job_status='RUN', time_executed='2021-09-10 11:49:38.516077', time_epoch_executed='1631299778.52' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='622'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/829866

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/829866/ft1_4FGL_J1453.5+3505_daily_bin622.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/829866/ft2_4FGL_J1453.5+3505_daily_bin622.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/829866/ft1_4FGL_J1453.5+3505_daily_bin622.fits outfile=/scratch/kocevski/829866/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin622.fits ra=223.392 dec=35.0884 rad=12.0 tmin=400550401.0 tmax=400809601.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.88
user 3.32
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/829866/ft2_4FGL_J1453.5+3505_daily_bin622.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/829866/ft2_4FGL_J1453.5+3505_daily_bin622.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/829866/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin622.fits evtable="EVENTS" outfile="/scratch/kocevski/829866/ft1_filtered_4FGL_J1453.5+3505_daily_bin622.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.62
user 0.26
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/829866/ft1_filtered_4FGL_J1453.5+3505_daily_bin622.fits" evtable="EVENTS" scfile=/scratch/kocevski/829866/ft2_4FGL_J1453.5+3505_daily_bin622.fits sctable="SC_DATA" outfile=/scratch/kocevski/829866/ltcube_400550401_400809601_4FGL_J1453.5+3505_daily_bin622.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/829866/ft2_4FGL_J1453.5+3505_daily_bin622.fits
.....................!
real 9.71
user 9.00
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/829866/ft1_filtered_4FGL_J1453.5+3505_daily_bin622.fits evtable="EVENTS" scfile=/scratch/kocevski/829866/ft2_4FGL_J1453.5+3505_daily_bin622.fits sctable="SC_DATA" expcube=/scratch/kocevski/829866/ltcube_400550401_400809601_4FGL_J1453.5+3505_daily_bin622.fits outfile=/scratch/kocevski/829866/expmap_400550401_400809601_4FGL_J1453.5+3505_daily_bin622.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/829866/ltcube_400550401_400809601_4FGL_J1453.5+3505_daily_bin622.fits
.....................!
real 153.01
user 146.07
sys 4.27

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J1453.5+3505 @ 223.392 35.0884

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/829866/ft1_filtered_4FGL_J1453.5+3505_daily_bin622.fits scfile=/scratch/kocevski/829866/ft2_4FGL_J1453.5+3505_daily_bin622.fits outfile=/scratch/kocevski/829866/cmap_400550401_400809601_4FGL_J1453.5+3505_daily_bin622.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.392 yref=35.0884 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.67
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/829866/ft1_filtered_4FGL_J1453.5+3505_daily_bin622.fits scfile=/scratch/kocevski/829866/ft2_4FGL_J1453.5+3505_daily_bin622.fits outfile=/scratch/kocevski/829866/cmap_HighResolution_400550401_400809601_4FGL_J1453.5+3505_daily_bin622.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.392 yref=35.0884 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.52
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/829866/ft1_filtered_4FGL_J1453.5+3505_daily_bin622.fits evtable="EVENTS" scfile=/scratch/kocevski/829866/ft2_4FGL_J1453.5+3505_daily_bin622.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/829866/Model_4FGL_J1453.5+3505_daily_bin622.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/829866/ft1_filtered_4FGL_J1453.5+3505_daily_bin622.fits.....................!
real 38.92
user 36.85
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/829866/ft1_filtered_4FGL_J1453.5+3505_daily_bin622.fits', '/scratch/kocevski/829866/ft2_4FGL_J1453.5+3505_daily_bin622.fits', expMap='/scratch/kocevski/829866/expmap_400550401_400809601_4FGL_J1453.5+3505_daily_bin622.fits', expCube='/scratch/kocevski/829866/ltcube_400550401_400809601_4FGL_J1453.5+3505_daily_bin622.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/829866/Model_4FGL_J1453.5+3505_daily_bin622.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1453.5+3505'

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.970e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/829866/ft1_filtered_4FGL_J1453.5+3505_daily_bin622.fits
Spacecraft file(s): /scratch/kocevski/829866/ft2_4FGL_J1453.5+3505_daily_bin622.fits
Exposure map: /scratch/kocevski/829866/expmap_400550401_400809601_4FGL_J1453.5+3505_daily_bin622.fits
Exposure cube: /scratch/kocevski/829866/ltcube_400550401_400809601_4FGL_J1453.5+3505_daily_bin622.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/829866/Model_4FGL_J1453.5+3505_daily_bin622.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) = 5948.99129426

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1044       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.0436       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.276       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.122       1.0000         .10000E-03   10000.    
     9 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.2593       1.0000         .10000E-03   10000.    
    12 'Prefactor '    35.387       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.3019       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .87892       1.0000         .10000E-03   10000.    
    17 'norm      '    .10126E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.9156       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14059E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.697       1.0000         .10000E-03   10000.    
    23 'norm      '    1.1974       1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.0704       1.0000         .10000E-03   10000.    
    25 'Prefactor '    17.568       1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.3544       1.0000         .10000E-03   10000.    
    27 'norm      '    16.908       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .99875       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .83651       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+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=   5948.980     FROM MIGRAD    STATUS=CONVERGED   1367 CALLS     5108 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1028        39.858        .22554E-02    .27380E-03
   2  Prefactor     .10000E-03    5.6391        .17881E-02** at limit **
   3  norm          6.0435        3.9370        .11853E-03   -.42201E-05
   4  Prefactor     .10000E-03    10.207        .18142E-02** at limit **
   5  Prefactor     20.274        13.631        .88949E-04   -.32208E-04
   6  Prefactor     .10000E-03    2.7657        .24568E-03** at limit **
   7  norm          .10000E-03    4.4755        .15931E-02** at limit **
   8  Prefactor     11.133        21.323        .12013E-03    .10410E-05
   9  norm          .10000E-03    5.5380        .24609E-02** at limit **
  10  Prefactor     .10000E-03    10.017        .18142E-02** at limit **
  11  norm          3.2595        3.6165        .14944E-03    .37277E-04
  12  Prefactor     35.413        32.007        .67367E-04    .20082E-04
  13  norm          .10000E-03    2.2197        .11222E-02** at limit **
  14  Prefactor     7.3046        13.787        .74216E-03    .46981E-04
  15  Prefactor     .10000E-03    3.8968        .14820E-02** at limit **
  16  norm          .87827        1.4551        .11161E-03    .15931E-03
  17  norm          .10000E-03    4.4277        .30962E-02** at limit **
  18  Prefactor     9.9028        9.0902        .12725E-03    .39666E-04
  19  Prefactor     .10000E-03    61.388        .17008    ** at limit **
  20  Prefactor     .10000E-03    18.475        .35142E-02** at limit **
  21  Prefactor     .10000E-03    4.8065        .16506E-02** at limit **
  22  Prefactor     15.700        11.892        .10109E-03    .22379E-04
  23  norm          1.1975        .98758        .62423E-04   -.19669E-03
  24  Prefactor     6.0728        7.7560        .81479E-03   -.71857E-04
  25  Prefactor     17.546        30.822        .95555E-04    .36882E-05
  26  Prefactor     3.3548        15.998        .22097E-03    .55051E-05
  27  norm          16.909        12.376        .97403E-04    .26238E-04
  28  Prefactor     .10000E-03    26.287        .18142E-02** at limit **
  29  Normalizat    .99881        .20253        .22418E-03    .63338E-04
  30  Prefactor     .83639        .19124        .24530E-03    .29013E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.10282
  Prefactor  = 0.0001
  norm       = 6.04354
  Prefactor  = 0.0001
  Prefactor  = 20.2742
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.1329
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.25952
  Prefactor  = 35.4129
  norm       = 0.0001
  Prefactor  = 7.30456
  Prefactor  = 0.0001
  norm       = 0.878268
  norm       = 0.0001
  Prefactor  = 9.90278
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 15.7001
  norm       = 1.19745
  Prefactor  = 6.07276
  Prefactor  = 17.546
  Prefactor  = 3.35475
  norm       = 16.9086
  Prefactor  = 0.0001
  Normalizat = 0.998814
  Prefactor  = 0.836389
 **********
 **   18 **HESSE 
 **********

 FCN=   5948.980     FROM HESSE     STATUS=OK           572 CALLS     5680 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1028        39.835        .45108E-03   -1.5498    
   2  Prefactor     .10000E-03    5.6393        .35763E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.0435        3.9369        .47413E-05   -1.5216    
   4  Prefactor     .10000E-03    10.210        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.274        13.629        .35580E-05   -1.4807    
   6  Prefactor     .10000E-03    2.7658        .49137E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.4756        .31863E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.133        21.322        .48052E-05   -1.5041    
   9  norm          .10000E-03    5.5611        .49219E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.017        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.2595        3.6165        .59776E-05   -1.5347    
  12  Prefactor     35.413        31.992        .26947E-05   -1.4517    
  13  norm          .10000E-03    2.2197        .22444E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.3046        13.780        .29687E-04   -1.5167    
  15  Prefactor     .10000E-03    3.8972        .29640E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .87827        1.4546        .44645E-05   -1.5521    
  17  norm          .10000E-03    4.4406        .61924E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.9028        9.0800        .50902E-05   -1.5078    
  19  Prefactor     .10000E-03    62.356        .16814       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    18.615        .70285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.8066        .33012E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     15.700        11.891        .40437E-05   -1.4915    
  23  norm          1.1975        .98734        .24969E-05   -1.5489    
  24  Prefactor     6.0728        7.7506        .32592E-04   -1.5215    
  25  Prefactor     17.546        30.807        .38222E-05   -1.4870    
  26  Prefactor     3.3548        15.985        .88386E-05   -1.5342    
  27  norm          16.909        12.372        .19481E-04   -1.4885    
  28  Prefactor     .10000E-03    26.291        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .99881        .20261        .89674E-05   -.93070    
  30  Prefactor     .83639        .19141        .98120E-05   -.98401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47972e-10
Minuit parameter uncertainties:
  1  13.265
  2  5.25465e-06
  3  3.93707
  4  2.31333e-05
  5  13.6311
  6  3.24657e-05
  7  1.58256e-06
  8  21.3368
  9  1.52229e-05
  10  1.3897e-05
  11  3.6167
  12  32.0079
  13  6.15036e-07
  14  13.7864
  15  6.91601e-07
  16  1.45468
  17  8.30351e-06
  18  9.0813
  19  0.000140562
  20  0.000504903
  21  1.82494e-07
  22  11.8927
  23  0.987354
  24  7.75186
  25  30.8346
  26  14.6521
  27  12.3734
  28  3.87372e-06
  29  0.202768
  30  0.191566
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  7.305e+00  1.379e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  8.364e-01  1.916e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  9.988e-01  2.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 223.392 35.088
Photon Flux Upper Limit: 8.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/829866/likelihoodResults_400550401_400809601_4FGL_J1453.5+3505_daily_bin622.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) = 5947.67072517
delta logL = 1.30931633064

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5947.62567788
delta logL = 1.35436361916

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95335       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1443       1.0000          .0000       10.000    
     3 'Normalizat'    .92002       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88705       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5947.626     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      256 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94621        8.9621        .10539E-01   -.19454E-02
   2  Index         4.1481        2.3195        .10309       -.10656E-03
   3  Normalizat    .92039        .42564E-01    .45157E-01   -.13268E-03
   4  Prefactor     .88668        .43081E-01    .44840E-01   -.37688E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.946211
  Index      = 4.14814
  Normalizat = 0.920391
  Prefactor  = 0.886677
 **********
 **   18 **HESSE 
 **********

 FCN=   5947.626     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      289 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94621        19.963        .47689E-04   -1.5513    
   2  Index         4.1481        3.7990        .39021E-02   -.17121    
   3  Normalizat    .92039        .17445        .23213E-03   -.95747    
   4  Prefactor     .88668        .17420        .23890E-03   -.96608    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.57807e-10
Minuit parameter uncertainties:
  1  8.69529
  2  4.33833
  3  0.174556
  4  0.174312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/829866': 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) = 5947.62567068
delta logL = 1.35437081522

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  9.462e-01  8.695e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  4.148e+00  4.338e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  8.867e-01  1.743e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  9.204e-01  1.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.25
Ra Dec: 223.392 35.088
Photon Index (Free Index): 4.15 +/- 4.34
Photon Flux (Free Index): 7.18e-08 +/- 4.70e-08
Energy Flux (Free Index): 1.05e-05 +/- 9.66e-06

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/829866/cmap_HighResolution_400550401_400809601_4FGL_J1453.5+3505_daily_bin622.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.65e-03', comment='SUCCESS', energy_flux2='1.05e-05', dlogl='1.35e+00', photon_flux2='7.18e-08', job_status='DONE', time_completed='2021-09-10 12:01:56.072322', photon_index_error2='4.34', photon_index2='4.15', ts='0.34', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='8.63e-08', energy_flux_error2='9.66e-06', EG='1.00', time_epoch_completed='1631300516.07', return_code='0', job_id='829866', GAL2='0.89', EG2='0.92', return_code2='102', photon_flux_error2='4.70e-08', ts2='3.25', photon_index='2.36' WHERE bin_id='622' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:01:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 829866: <4FGL_J1453.5+3505_daily_bin622> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin622> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 10 11:46:23 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:46:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 11:46:25 2021
Terminated at Fri Sep 10 12:01:57 2021
Results reported at Fri Sep 10 12:01:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin622 223.392 35.0884 400550401 400809601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1453.5+3505 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   727.44 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            934 sec.

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

