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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1141
RA = 223.392, Dec = 35.0884
tmin = 535075201, tmax = 535334401
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='834571', job_status='RUN', time_executed='2021-09-10 12:05:53.271206', time_epoch_executed='1631300753.27' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1141'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834571

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834571/ft1_4FGL_J1453.5+3505_daily_bin1141.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834571/ft2_4FGL_J1453.5+3505_daily_bin1141.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834571/ft1_4FGL_J1453.5+3505_daily_bin1141.fits outfile=/scratch/kocevski/834571/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1141.fits ra=223.392 dec=35.0884 rad=12.0 tmin=535075201.0 tmax=535334401.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 6.15
user 4.71
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834571/ft1_filtered_4FGL_J1453.5+3505_daily_bin1141.fits" evtable="EVENTS" scfile=/scratch/kocevski/834571/ft2_4FGL_J1453.5+3505_daily_bin1141.fits sctable="SC_DATA" outfile=/scratch/kocevski/834571/ltcube_535075201_535334401_4FGL_J1453.5+3505_daily_bin1141.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/834571/ft2_4FGL_J1453.5+3505_daily_bin1141.fits
.....................!
real 12.27
user 11.56
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834571/ft1_filtered_4FGL_J1453.5+3505_daily_bin1141.fits evtable="EVENTS" scfile=/scratch/kocevski/834571/ft2_4FGL_J1453.5+3505_daily_bin1141.fits sctable="SC_DATA" expcube=/scratch/kocevski/834571/ltcube_535075201_535334401_4FGL_J1453.5+3505_daily_bin1141.fits outfile=/scratch/kocevski/834571/expmap_535075201_535334401_4FGL_J1453.5+3505_daily_bin1141.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/834571/ltcube_535075201_535334401_4FGL_J1453.5+3505_daily_bin1141.fits
.....................!
real 193.52
user 185.10
sys 4.00

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/834571/ft1_filtered_4FGL_J1453.5+3505_daily_bin1141.fits scfile=/scratch/kocevski/834571/ft2_4FGL_J1453.5+3505_daily_bin1141.fits outfile=/scratch/kocevski/834571/cmap_535075201_535334401_4FGL_J1453.5+3505_daily_bin1141.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834571/ft1_filtered_4FGL_J1453.5+3505_daily_bin1141.fits scfile=/scratch/kocevski/834571/ft2_4FGL_J1453.5+3505_daily_bin1141.fits outfile=/scratch/kocevski/834571/cmap_HighResolution_535075201_535334401_4FGL_J1453.5+3505_daily_bin1141.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.59
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.4783       1.0000         .10000E-03   10000.    
     3 'norm      '    7.5284       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.175       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.5579       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.7542       1.0000         .10000E-03   10000.    
     7 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.5593       1.0000         .10000E-03   10000.    
     9 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.480       1.0000         .10000E-03   10000.    
    11 'norm      '    7.4003       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .87020       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5760       1.0000         .10000E-03   10000.    
    19 'Prefactor '    30.252       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.9206       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    4.3737       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .35377       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.5768       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=   5632.741     FROM MIGRAD    STATUS=CONVERGED    739 CALLS     3889 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.401       -.66001E-06** at limit **
   2  Prefactor     2.4762        21.705        .62206E-05   -.16012E-04
   3  norm          7.5286        5.0260       -.15078E-06    .26506E-04
   4  Prefactor     19.153        25.034        .34899E-05    .49949E-04
   5  Prefactor     9.5774        25.512       -.56921E-05   -.28974E-04
   6  Prefactor     7.7540        5.4763        .74835E-06    .10395E-04
   7  norm          .10000E-03    5.6344        .54004E-06** at limit **
   8  Prefactor     8.5571        21.602        .90026E-06    .10981E-04
   9  norm          .10000E-03    5.8644       -.78548E-06** at limit **
  10  Prefactor     15.478        41.407        .94036E-06    .13305E-04
  11  norm          7.4007        6.2773        .88885E-07    .14539E-05
  12  Prefactor     .10000E-03    51.865        .26787E-06** at limit **
  13  norm          .10000E-03    4.7874       -.13655E-06** at limit **
  14  Prefactor     .10000E-03    25.468       -.19690E-05** at limit **
  15  Prefactor     .10000E-03    4.6448        .18108E-06** at limit **
  16  norm          .10000E-03    .72120       -.79654E-07** at limit **
  17  norm          .87073        4.5408        .19308E-06   -.56160E-04
  18  Prefactor     5.5770        10.102        .10240E-05   -.27907E-03
  19  Prefactor     30.240        46.748        .26671E-05    .16276E-04
  20  Prefactor     .10000E-03    12.054       -.65394E-06** at limit **
  21  Prefactor     .10000E-03    4.7907       -.15572E-06** at limit **
  22  Prefactor     .10000E-03    21.772        .19654E-05** at limit **
  23  norm          4.9207        1.6501        .31741E-07    .11340E-04
  24  Prefactor     .10000E-03    7.9865        .10145E-06** at limit **
  25  Prefactor     .10000E-03    14.042        .90693E-06** at limit **
  26  Prefactor     .10000E-03    8.3033        .31520E-06** at limit **
  27  norm          4.3737        7.5896        .11242E-07   -.16834E-04
  28  Prefactor     .10000E-03    9.0850        .26820E-06** at limit **
  29  Normalizat    .35382        .20720       -.19165E-05    .11289E-04
  30  Prefactor     1.5768        .20359        .23644E-06    .53043E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 2.47616
  norm       = 7.5286
  Prefactor  = 19.1527
  Prefactor  = 9.57744
  Prefactor  = 7.754
  norm       = 0.0001
  Prefactor  = 8.55708
  norm       = 0.0001
  Prefactor  = 15.4783
  norm       = 7.40069
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.870732
  Prefactor  = 5.577
  Prefactor  = 30.24
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.92066
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.37366
  Prefactor  = 0.0001
  Normalizat = 0.35382
  Prefactor  = 1.57675
 **********
 **   18 **HESSE 
 **********

 FCN=   5632.741     FROM HESSE     STATUS=OK           586 CALLS     4475 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.4762        21.457        .12985E-02   -1.5393    
   3  norm          7.5286        5.0145        .12913E-03   -1.5159    
   4  Prefactor     19.153        24.941        .91465E-04   -1.4832    
   5  Prefactor     9.5774        25.471        .12962E-03   -1.5089    
   6  Prefactor     7.7540        5.4529        .67015E-03   -1.5151    
   7  norm          .10000E-03    5.6138        .17358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.5571        21.547        .13702E-03   -1.5123    
   9  norm          .10000E-03    5.9820        .17708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.478        41.365        .10180E-03   -1.4921    
  11  norm          7.4007        6.2933        .14743E-03   -1.5164    
  12  Prefactor     .10000E-03    52.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.8043        .16036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    25.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.6845        .15788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .74760        .12423E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .87073        4.1147        .26877E-03   -1.5521    
  18  Prefactor     5.5770        9.7745        .85067E-03   -1.5236    
  19  Prefactor     30.240        46.727        .72845E-04   -1.4608    
  20  Prefactor     .10000E-03    12.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.7922        .16042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    22.380        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.9207        1.6437        .52724E-04   -1.5264    
  24  Prefactor     .10000E-03    8.0380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    14.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    8.3075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          4.3737        7.5736        .19259E-03   -1.5290    
  28  Prefactor     .10000E-03    9.0870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .35382        .21786        .38455E-03   -1.1976    
  30  Prefactor     1.5768        .22034        .20602E-03   -.75412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51318e-10
Minuit parameter uncertainties:
  1  1.07003e-05
  2  14.585
  3  5.0148
  4  24.9542
  5  25.4994
  6  5.4533
  7  1.55117e-05
  8  21.5668
  9  1.90545e-06
  10  41.4418
  11  6.2939
  12  1.07281e-05
  13  1.08757e-06
  14  5.42043e-07
  15  1.19338e-06
  16  1.85011e-06
  17  3.78585
  18  9.77725
  19  46.7839
  20  2.77035e-06
  21  1.66416e-06
  22  3.38943e-06
  23  1.64369
  24  1.50387e-06
  25  1.37441e-05
  26  3.0099e-06
  27  7.57527
  28  3.06778e-06
  29  0.218384
  30  0.220471
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  5.420e-07  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.577e+00  2.205e-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:  3.538e-01  2.184e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/834571/likelihoodResults_535075201_535334401_4FGL_J1453.5+3505_daily_bin1141.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) = 5632.74117357
delta logL = -0.000183959614333

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5632.74098942
delta logL = 1.92547304323e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7474       1.0000          .0000       10.000    
     3 'Normalizat'    .35382       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5768       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=   5632.741     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      258 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .66142E-01    .90712E-01** at limit **
   2  Index         2.7480        8.1772        .50000       -.23506E-06
   3  Normalizat    .35382        .49924E-03    .86814E-01    .29351E-03
   4  Prefactor     1.5767        .53525E-03    .46612E-01    .33306E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.74803
  Normalizat = 0.353822
  Prefactor  = 1.57675
 **********
 **   18 **HESSE 
 **********

 FCN=   5632.741     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      291 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    58.774        .32244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7480        5.6282        .50000       -.46721    
   3  Normalizat    .35382        .60756E-02    .38455E-03   -1.1976    
   4  Prefactor     1.5767        .65308E-02    .20602E-03   -.75412    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.91134e-10
Minuit parameter uncertainties:
  1  0.000687147
  2  197.73
  3  0.00607563
  4  0.00653078
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834571': 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) = 5632.74098939
delta logL = 2.21047230298e-07

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  6.871e-04  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.748e+00  1.977e+02  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.577e+00  6.531e-03  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:  3.538e-01  6.076e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 223.392 35.088

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/834571/cmap_HighResolution_535075201_535334401_4FGL_J1453.5+3505_daily_bin1141.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.02e-03', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2021-09-10 12:19:22.713748', job_id='834571', GAL2='1.58', fit_tolerance='1e-08', EG2='0.35', EG='0.35', time_epoch_completed='1631301562.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.58', dlogl='2.21e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1141' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:19:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 834571: <4FGL_J1453.5+3505_daily_bin1141> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1141> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:03:04 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:03:05 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:03:05 2021
Terminated at Fri Sep 10 12:19:23 2021
Results reported at Fri Sep 10 12:19:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1141 223.392 35.0884 535075201 535334401 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 :                                   799.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            979 sec.

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

