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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1530
RA = 223.392, Dec = 35.0884
tmin = 635904001, tmax = 636163201
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='836824', job_status='RUN', time_executed='2021-09-10 12:09:11.607279', time_epoch_executed='1631300951.61' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1530'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/836824

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/836824/ft1_4FGL_J1453.5+3505_daily_bin1530.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/836824/ft2_4FGL_J1453.5+3505_daily_bin1530.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/836824/ft1_4FGL_J1453.5+3505_daily_bin1530.fits outfile=/scratch/kocevski/836824/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1530.fits ra=223.392 dec=35.0884 rad=12.0 tmin=635904001.0 tmax=636163201.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 4.17
user 3.89
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/836824/ft2_4FGL_J1453.5+3505_daily_bin1530.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/836824/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1530.fits evtable="EVENTS" outfile="/scratch/kocevski/836824/ft1_filtered_4FGL_J1453.5+3505_daily_bin1530.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 1.10
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/836824/ft1_filtered_4FGL_J1453.5+3505_daily_bin1530.fits" evtable="EVENTS" scfile=/scratch/kocevski/836824/ft2_4FGL_J1453.5+3505_daily_bin1530.fits sctable="SC_DATA" outfile=/scratch/kocevski/836824/ltcube_635904001_636163201_4FGL_J1453.5+3505_daily_bin1530.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/836824/ft2_4FGL_J1453.5+3505_daily_bin1530.fits
.....................!
real 11.60
user 11.25
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/836824/ft1_filtered_4FGL_J1453.5+3505_daily_bin1530.fits evtable="EVENTS" scfile=/scratch/kocevski/836824/ft2_4FGL_J1453.5+3505_daily_bin1530.fits sctable="SC_DATA" expcube=/scratch/kocevski/836824/ltcube_635904001_636163201_4FGL_J1453.5+3505_daily_bin1530.fits outfile=/scratch/kocevski/836824/expmap_635904001_636163201_4FGL_J1453.5+3505_daily_bin1530.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/836824/ltcube_635904001_636163201_4FGL_J1453.5+3505_daily_bin1530.fits
.....................!
real 191.34
user 186.11
sys 4.75

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/836824/ft1_filtered_4FGL_J1453.5+3505_daily_bin1530.fits scfile=/scratch/kocevski/836824/ft2_4FGL_J1453.5+3505_daily_bin1530.fits outfile=/scratch/kocevski/836824/cmap_635904001_636163201_4FGL_J1453.5+3505_daily_bin1530.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.75
user 0.35
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/836824/ft1_filtered_4FGL_J1453.5+3505_daily_bin1530.fits scfile=/scratch/kocevski/836824/ft2_4FGL_J1453.5+3505_daily_bin1530.fits outfile=/scratch/kocevski/836824/cmap_HighResolution_635904001_636163201_4FGL_J1453.5+3505_daily_bin1530.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.82
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/836824/ft1_filtered_4FGL_J1453.5+3505_daily_bin1530.fits', '/scratch/kocevski/836824/ft2_4FGL_J1453.5+3505_daily_bin1530.fits', expMap='/scratch/kocevski/836824/expmap_635904001_636163201_4FGL_J1453.5+3505_daily_bin1530.fits', expCube='/scratch/kocevski/836824/ltcube_635904001_636163201_4FGL_J1453.5+3505_daily_bin1530.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/836824/Model_4FGL_J1453.5+3505_daily_bin1530.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/836824/ft1_filtered_4FGL_J1453.5+3505_daily_bin1530.fits
Spacecraft file(s): /scratch/kocevski/836824/ft2_4FGL_J1453.5+3505_daily_bin1530.fits
Exposure map: /scratch/kocevski/836824/expmap_635904001_636163201_4FGL_J1453.5+3505_daily_bin1530.fits
Exposure cube: /scratch/kocevski/836824/ltcube_635904001_636163201_4FGL_J1453.5+3505_daily_bin1530.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/836824/Model_4FGL_J1453.5+3505_daily_bin1530.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) = 6724.20563402

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .80294E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.9465       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.297       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.141       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.077       1.0000         .10000E-03   10000.    
     9 'norm      '    7.5876       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10298E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.3020       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.0267       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.9934       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.5946       1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .46684       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10234E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    31.117       1.0000         .10000E-03   10000.    
    23 'norm      '    .87093       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .12039E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    30.311       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .69576       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.3668       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.

 FCN=   6724.142     FROM MIGRAD    STATUS=CONVERGED    750 CALLS     3928 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10008E-03    12.202       -.67459E-06** at limit **
   2  Prefactor     .10000E-03    9.2786       -.72854E-07** at limit **
   3  norm          5.9459        6.3255        .15440E-06    .15827E-04
   4  Prefactor     17.304        14.388       -.17371E-06    .86120E-05
   5  Prefactor     .10000E-03    8.7355        .11309E-07** at limit **
   6  Prefactor     20.144        6.2018        .17246E-07   -.19340E-04
   7  norm          .10000E-03    6.1609       -.13983E-07** at limit **
   8  Prefactor     18.065        28.858        .92443E-07   -.27449E-04
   9  norm          7.5884        7.1182        .23479E-05    .13341E-03
  10  Prefactor     .10000E-03    21.255       -.13721E-06** at limit **
  11  norm          6.2993        4.9283        .68174E-07    .23080E-05
  12  Prefactor     4.0380        113.08        .12050E-05    .92625E-05
  13  norm          .10000E-03    3.2812       -.73010E-07** at limit **
  14  Prefactor     9.9954        12.778        .13627E-05    .30992E-04
  15  Prefactor     .10000E-03    2.2136       -.11823E-07** at limit **
  16  norm          1.5950        1.4445        .73084E-07    .20163E-04
  17  norm          .10000E-03    1.1572        .25664E-07** at limit **
  18  Prefactor     .10000E-03    2.7319        .12441E-07** at limit **
  19  Prefactor     .10000E-03    51.734        .36362E-06** at limit **
  20  Prefactor     .46530        6.6752        .12798E-06    .11481E-04
  21  Prefactor     .10000E-03    55.231        .64124E-06** at limit **
  22  Prefactor     31.112        15.122        .21430E-06   -.16668E-04
  23  norm          .86919        .95821       -.19403E-06   -.93301E-04
  24  Prefactor     .10000E-03    4.9726       -.13129E-05** at limit **
  25  Prefactor     30.248        41.941       -.22510E-06   -.11215E-03
  26  Prefactor     .10000E-03    37.625        .40904E-06** at limit **
  27  norm          .10000E-03    10.725        .25368E-06** at limit **
  28  Prefactor     .10000E-03    21.622        .85465E-07** at limit **
  29  Normalizat    .69481        .20211       -.26671E-05    .87103E-04
  30  Prefactor     1.3678        .18738        .11916E-05   -.61855E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010008
  Prefactor  = 0.0001
  norm       = 5.94594
  Prefactor  = 17.3043
  Prefactor  = 0.0001
  Prefactor  = 20.1436
  norm       = 0.0001
  Prefactor  = 18.065
  norm       = 7.58843
  Prefactor  = 0.0001
  norm       = 6.29932
  Prefactor  = 4.03803
  norm       = 0.0001
  Prefactor  = 9.99537
  Prefactor  = 0.0001
  norm       = 1.59497
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.465299
  Prefactor  = 0.0001
  Prefactor  = 31.1116
  norm       = 0.869191
  Prefactor  = 0.0001
  Prefactor  = 30.2479
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.694812
  Prefactor  = 1.36784
 **********
 **   18 **HESSE 
 **********

 FCN=   6724.142     FROM HESSE     STATUS=OK           590 CALLS     4518 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10008E-03    85.922        .54848E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.2887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.9459        6.3027        .16467E-03   -1.5220    
   4  Prefactor     17.304        14.377        .96301E-04   -1.4876    
   5  Prefactor     .10000E-03    8.7462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.144        6.2079        .89246E-04   -1.4810    
   7  norm          .10000E-03    6.1637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.065        29.098        .94203E-04   -1.4858    
   9  norm          7.5884        7.1464        .72794E-03   -1.5157    
  10  Prefactor     .10000E-03    21.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.2993        4.9338        .15500E-03   -1.5206    
  12  Prefactor     4.0380        112.65        .20096E-03   -1.5306    
  13  norm          .10000E-03    3.2897        .14508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.9954        12.759        .63378E-03   -1.5076    
  15  Prefactor     .10000E-03    2.2161        .11910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.5950        1.4273        .89076E-04   -1.5455    
  17  norm          .10000E-03    1.1654        .86100E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.7351        .13227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    51.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .46530        31.857        .40054E-02   -1.5572    
  21  Prefactor     .10000E-03    56.598        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     31.112        15.057        .71829E-04   -1.4592    
  23  norm          .86919        .91076        .79637E-03   -1.5522    
  24  Prefactor     .10000E-03    4.9696        .17770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     30.248        41.799        .72775E-04   -1.4607    
  26  Prefactor     .10000E-03    38.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    10.780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    21.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .69481        .23348        .30869E-03   -1.0410    
  30  Prefactor     1.3678        .22301        .23305E-03   -.81312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80322e-09
Minuit parameter uncertainties:
  1  0.00524943
  2  3.02907e-05
  3  6.30338
  4  14.38
  5  2.24925e-05
  6  6.20809
  7  3.15896e-06
  8  29.1211
  9  7.14722
  10  1.31956e-05
  11  4.93407
  12  42.7451
  13  8.77367e-06
  14  12.7627
  15  3.03186e-06
  16  1.42735
  17  5.22763e-08
  18  3.78824e-08
  19  0.000139079
  20  7.70353
  21  6.54933e-05
  22  15.0584
  23  0.910779
  24  3.37624e-06
  25  41.8396
  26  1.03064e-05
  27  2.6866e-05
  28  8.33338e-06
  29  0.233814
  30  0.223165
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  9.995e+00  1.276e+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:  1.368e+00  2.232e-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:  6.948e-01  2.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/836824/likelihoodResults_635904001_636163201_4FGL_J1453.5+3505_daily_bin1530.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) = 6723.85347771
delta logL = 0.288402809366

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6723.8409905
delta logL = 0.300890021465

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.091       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6897       1.0000          .0000       10.000    
     3 'Normalizat'    .71060       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3586       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=   6723.841     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      251 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.095        15.874        .11520E-03    .12434E-04
   2  Index         1.6899        .80877        .12012E-01   -.10312E-04
   3  Normalizat    .71065        .20479        .30541E-03   -.25312E-04
   4  Prefactor     1.3586        .21040        .23365E-03    .79642E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0945
  Index      = 1.68994
  Normalizat = 0.710648
  Prefactor  = 1.35857
 **********
 **   18 **HESSE 
 **********

 FCN=   6723.841     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.095        16.234        .46082E-05   -1.5012    
   2  Index         1.6899        .82707        .48049E-03   -.72350    
   3  Normalizat    .71065        .20495        .12217E-04   -1.0347    
   4  Prefactor     1.3586        .21057        .46730E-04   -.81582    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62493e-11
Minuit parameter uncertainties:
  1  16.2403
  2  0.833933
  3  0.205175
  4  0.210699
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/836824': 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) = 6723.8409903
delta logL = 0.300890221909

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.209e+01  1.624e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  1.690e+00  8.339e-01  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:  1.359e+00  2.107e-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:  7.106e-01  2.052e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.51
Ra Dec: 223.392 35.088
Photon Index (Free Index): 1.69 +/- 0.83
Photon Flux (Free Index): 1.05e-08 +/- 2.00e-08
Energy Flux (Free Index): 1.78e-05 +/- 3.02e-05

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/836824/cmap_HighResolution_635904001_636163201_4FGL_J1453.5+3505_daily_bin1530.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.25e-03', comment='SUCCESS', energy_flux2='1.78e-05', dlogl='3.01e-01', photon_flux2='1.05e-08', job_status='DONE', time_completed='2021-09-10 12:23:47.261511', photon_index_error2='0.83', photon_index2='1.69', ts='0.92', fit_tolerance='1e-08', GAL='1.37', photon_index_error='0.00', photon_flux_upper_limit='9.41e-08', energy_flux_error2='3.02e-05', EG='0.69', time_epoch_completed='1631301827.26', return_code='0', job_id='836824', GAL2='1.36', EG2='0.71', return_code2='0', photon_flux_error2='2.00e-08', ts2='1.51', photon_index='2.36' WHERE bin_id='1530' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:23:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 836824: <4FGL_J1453.5+3505_daily_bin1530> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1530> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Sep 10 12:07:37 2021
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:07:39 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:07:39 2021
Terminated at Fri Sep 10 12:23:48 2021
Results reported at Fri Sep 10 12:23:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1530 223.392 35.0884 635904001 636163201 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 :                                   869.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             310.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   968 sec.
    Turnaround time :                            971 sec.

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

