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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin499
RA = 223.392, Dec = 35.0884
tmin = 368668801, tmax = 368928001
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='828563', job_status='RUN', time_executed='2021-09-10 11:43:37.262546', time_epoch_executed='1631299417.26' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='499'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/828563

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/828563/ft1_4FGL_J1453.5+3505_daily_bin499.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/828563/ft2_4FGL_J1453.5+3505_daily_bin499.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/828563/ft1_4FGL_J1453.5+3505_daily_bin499.fits outfile=/scratch/kocevski/828563/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin499.fits ra=223.392 dec=35.0884 rad=12.0 tmin=368668801.0 tmax=368928001.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.94
user 3.07
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/828563/ft1_filtered_4FGL_J1453.5+3505_daily_bin499.fits" evtable="EVENTS" scfile=/scratch/kocevski/828563/ft2_4FGL_J1453.5+3505_daily_bin499.fits sctable="SC_DATA" outfile=/scratch/kocevski/828563/ltcube_368668801_368928001_4FGL_J1453.5+3505_daily_bin499.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/828563/ft2_4FGL_J1453.5+3505_daily_bin499.fits
.....................!
real 11.89
user 11.48
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/828563/ft1_filtered_4FGL_J1453.5+3505_daily_bin499.fits evtable="EVENTS" scfile=/scratch/kocevski/828563/ft2_4FGL_J1453.5+3505_daily_bin499.fits sctable="SC_DATA" expcube=/scratch/kocevski/828563/ltcube_368668801_368928001_4FGL_J1453.5+3505_daily_bin499.fits outfile=/scratch/kocevski/828563/expmap_368668801_368928001_4FGL_J1453.5+3505_daily_bin499.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/828563/ltcube_368668801_368928001_4FGL_J1453.5+3505_daily_bin499.fits
.....................!
real 191.91
user 184.99
sys 5.42

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/828563/ft1_filtered_4FGL_J1453.5+3505_daily_bin499.fits scfile=/scratch/kocevski/828563/ft2_4FGL_J1453.5+3505_daily_bin499.fits outfile=/scratch/kocevski/828563/cmap_368668801_368928001_4FGL_J1453.5+3505_daily_bin499.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.92
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/828563/ft1_filtered_4FGL_J1453.5+3505_daily_bin499.fits scfile=/scratch/kocevski/828563/ft2_4FGL_J1453.5+3505_daily_bin499.fits outfile=/scratch/kocevski/828563/cmap_HighResolution_368668801_368928001_4FGL_J1453.5+3505_daily_bin499.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.58
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    40.181       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2354       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10701E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .46113E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.8675       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.249       1.0000         .10000E-03   10000.    
    13 'norm      '    7.9945       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.7771       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.5191       1.0000         .10000E-03   10000.    
    16 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10127E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29687E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.6362       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10292E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    18.584       1.0000         .10000E-03   10000.    
    23 'norm      '    6.8309       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    37.094       1.0000         .10000E-03   10000.    
    27 'norm      '    1.5100       1.0000         .10000E-03   10000.    
    28 'Prefactor '    6.3942       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .84763       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.2139       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=   6601.844     FROM MIGRAD    STATUS=CONVERGED    774 CALLS     3965 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.8441       -.24945E-06** at limit **
   2  Prefactor     .10000E-03    9.0572        .14600E-06** at limit **
   3  norm          40.180        8.1679        .59873E-07   -.94278E-04
   4  Prefactor     .10000E-03    5.4148       -.15664E-06** at limit **
   5  Prefactor     .10000E-03    6.1236        .57588E-07** at limit **
   6  Prefactor     3.2342        4.3164        .28425E-06   -.85672E-04
   7  norm          .10000E-03    5.1735       -.35382E-07** at limit **
   8  Prefactor     .10000E-03    52.325        .49366E-05** at limit **
   9  norm          .10081E-03    2.9730        .46632E-06** at limit **
  10  Prefactor     .10000E-03    19.753        .18275E-05** at limit **
  11  norm          5.8674        4.4868        .11112E-06   -.26921E-04
  12  Prefactor     16.272        24.306        .51164E-06   -.69554E-05
  13  norm          7.9945        7.5630       -.46085E-06    .10652E-03
  14  Prefactor     3.7783        14.453       -.49533E-06   -.96471E-05
  15  Prefactor     4.5198        5.7106        .29252E-05   -.44322E-03
  16  norm          .10000E-03    .57335       -.44132E-06** at limit **
  17  norm          .10000E-03    2.6357       -.93418E-07** at limit **
  18  Prefactor     .10000E-03    5.4849        .76547E-06** at limit **
  19  Prefactor     .10000E-03    22.000        .56206E-06** at limit **
  20  Prefactor     2.6352        9.7127        .85217E-06   -.17502E-04
  21  Prefactor     .10000E-03    18.221       -.20894E-05** at limit **
  22  Prefactor     18.604        14.844       -.78114E-06   -.26600E-03
  23  norm          6.8310        1.6123        .15691E-07    .20010E-03
  24  Prefactor     .10000E-03    3.5208        .65290E-07** at limit **
  25  Prefactor     .10000E-03    48.097       -.62526E-05** at limit **
  26  Prefactor     37.151        30.951        .34719E-05    .23433E-03
  27  norm          1.4872        73.391       -.42821E-05   -.12309E-03
  28  Prefactor     6.3967        17.031        .49836E-07   -.11598E-05
  29  Normalizat    .84765        .18422       -.87363E-06   -.21845E-04
  30  Prefactor     1.2139        .18241       -.43676E-06   -.43124E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 40.1804
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.23416
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100809
  Prefactor  = 0.0001
  norm       = 5.86739
  Prefactor  = 16.2723
  norm       = 7.99448
  Prefactor  = 3.77828
  Prefactor  = 4.51977
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 2.63518
  Prefactor  = 0.0001
  Prefactor  = 18.6044
  norm       = 6.831
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.151
  norm       = 1.4872
  Prefactor  = 6.39675
  Normalizat = 0.847655
  Prefactor  = 1.21391
 **********
 **   18 **HESSE 
 **********

 FCN=   6601.844     FROM HESSE     STATUS=OK           604 CALLS     4569 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.8512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.0678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          40.180        8.1648        .63235E-04   -1.4439    
   4  Prefactor     .10000E-03    5.4230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.1341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.2342        4.3161        .18123E-03   -1.5348    
   7  norm          .10000E-03    5.1760        .18049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    52.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10081E-03    4.7033        .49413E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.8674        4.4880        .14521E-03   -1.5223    
  12  Prefactor     16.272        24.296        .99358E-04   -1.4901    
  13  norm          7.9945        7.5704        .70903E-03   -1.5142    
  14  Prefactor     3.7783        14.374        .20772E-03   -1.5319    
  15  Prefactor     4.5198        6.0142        .94692E-03   -1.5283    
  16  norm          .10000E-03    .85271        .11795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.6882        .25666E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.9299        .57779E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    22.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.6352        9.7149        .25113E-03   -1.5383    
  21  Prefactor     .10000E-03    18.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     18.604        15.131        .92907E-04   -1.4845    
  23  norm          6.8310        1.6113        .47682E-04   -1.5185    
  24  Prefactor     .10000E-03    3.5293        .14876E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    48.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     37.151        32.625        .65805E-04   -1.4488    
  27  norm          1.4872        78.163        .34811E-03   -1.5464    
  28  Prefactor     6.3967        17.024        .15873E-03   -1.5202    
  29  Normalizat    .84765        .21309        .27893E-03   -.98325    
  30  Prefactor     1.2139        .21330        .24683E-03   -.85904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6808e-09
Minuit parameter uncertainties:
  1  4.45185e-06
  2  2.56789e-06
  3  8.165
  4  2.04611e-06
  5  1.52967e-06
  6  4.31647
  7  2.88973e-07
  8  4.94605e-05
  9  0.00390141
  10  1.59321e-05
  11  4.48822
  12  24.3109
  13  7.57131
  14  14.3869
  15  6.01501
  16  1.42374e-05
  17  1.05234e-05
  18  0.000420073
  19  6.90588e-06
  20  9.7207
  21  8.33406e-05
  22  15.1341
  23  1.61133
  24  1.30761e-06
  25  0.00015886
  26  32.6407
  27  21.5923
  28  17.0371
  29  0.213299
  30  0.213456
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  3.778e+00  1.439e+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.214e+00  2.135e-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:  8.477e-01  2.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/828563/likelihoodResults_368668801_368928001_4FGL_J1453.5+3505_daily_bin499.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) = 6601.72235023
delta logL = 0.121449122571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6601.66573178
delta logL = 0.178067567878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95341       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6586       1.0000          .0000       10.000    
     3 'Normalizat'    .82155       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2311       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=   6601.666     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      240 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94155        31.786        .13000E-01    .20643E-02
   2  Index         3.6631        3.4325        .14831        .21462E-03
   3  Normalizat    .82169        .33961E-01    .64010E-01   -.31821E-03
   4  Prefactor     1.2310        .35367E-01    .55490E-01   -.21041E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.941554
  Index      = 3.66308
  Normalizat = 0.82169
  Prefactor  = 1.23101
 **********
 **   18 **HESSE 
 **********

 FCN=   6601.666     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94155        118.96        .12248E-03   -1.5514    
   2  Index         3.6631        5.7381        .86073E-02   -.27068    
   3  Normalizat    .82169        .16342        .28315E-03   -.99269    
   4  Prefactor     1.2310        .16859        .24535E-03   -.85382    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.00964e-09
Minuit parameter uncertainties:
  1  21.2088
  2  10.9529
  3  0.163517
  4  0.168661
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/828563': 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) = 6601.66572782
delta logL = 0.178071530475

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  9.416e-01  2.121e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  3.663e+00  1.095e+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.231e+00  1.687e-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:  8.217e-01  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 223.392 35.088

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/828563/cmap_HighResolution_368668801_368928001_4FGL_J1453.5+3505_daily_bin499.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.56e-03', job_status='DONE', photon_flux_upper_limit='8.51e-08', time_completed='2021-09-10 11:58:27.887884', job_id='828563', GAL2='1.23', fit_tolerance='1e-08', EG2='0.82', EG='0.85', time_epoch_completed='1631300307.89', return_code2='102', ts='0.08', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='1.78e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='499' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:58:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 828563: <4FGL_J1453.5+3505_daily_bin499> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin499> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 11:42:08 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:42: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 11:42:09 2021
Terminated at Fri Sep 10 11:58:28 2021
Results reported at Fri Sep 10 11:58:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin499 223.392 35.0884 368668801 368928001 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 :                                   886.00 sec.
    Max Memory :                                 1122 MB
    Average Memory :                             320.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            980 sec.

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

