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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin549
RA = 223.392, Dec = 35.0884
tmin = 381628801, tmax = 381888001
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='829753', job_status='RUN', time_executed='2021-09-10 11:49:09.180591', time_epoch_executed='1631299749.18' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='549'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/829753

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/829753/ft1_4FGL_J1453.5+3505_daily_bin549.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/829753/ft2_4FGL_J1453.5+3505_daily_bin549.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/829753/ft1_4FGL_J1453.5+3505_daily_bin549.fits outfile=/scratch/kocevski/829753/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin549.fits ra=223.392 dec=35.0884 rad=12.0 tmin=381628801.0 tmax=381888001.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.33
user 3.93
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/829753/ft1_filtered_4FGL_J1453.5+3505_daily_bin549.fits" evtable="EVENTS" scfile=/scratch/kocevski/829753/ft2_4FGL_J1453.5+3505_daily_bin549.fits sctable="SC_DATA" outfile=/scratch/kocevski/829753/ltcube_381628801_381888001_4FGL_J1453.5+3505_daily_bin549.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/829753/ft2_4FGL_J1453.5+3505_daily_bin549.fits
.....................!
real 12.47
user 11.97
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/829753/ft1_filtered_4FGL_J1453.5+3505_daily_bin549.fits evtable="EVENTS" scfile=/scratch/kocevski/829753/ft2_4FGL_J1453.5+3505_daily_bin549.fits sctable="SC_DATA" expcube=/scratch/kocevski/829753/ltcube_381628801_381888001_4FGL_J1453.5+3505_daily_bin549.fits outfile=/scratch/kocevski/829753/expmap_381628801_381888001_4FGL_J1453.5+3505_daily_bin549.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/829753/ltcube_381628801_381888001_4FGL_J1453.5+3505_daily_bin549.fits
.....................!
real 193.67
user 187.57
sys 4.76

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/829753/ft1_filtered_4FGL_J1453.5+3505_daily_bin549.fits scfile=/scratch/kocevski/829753/ft2_4FGL_J1453.5+3505_daily_bin549.fits outfile=/scratch/kocevski/829753/cmap_381628801_381888001_4FGL_J1453.5+3505_daily_bin549.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.56
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.8295       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.2523       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.0607       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.366       1.0000         .10000E-03   10000.    
     9 'norm      '    .83494       1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.450       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    14.593       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.542       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.355       1.0000         .10000E-03   10000.    
    16 'norm      '    2.4622       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .42685       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11306E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.9124       1.0000         .10000E-03   10000.    
    23 'norm      '    3.0118       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .45303E-01   1.0000         .10000E-03   10000.    
    25 'Prefactor '    51.881       1.0000         .10000E-03   10000.    
    26 'Prefactor '    10.810       1.0000         .10000E-03   10000.    
    27 'norm      '    21.782       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0475       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .73716       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5950.738     FROM MIGRAD    STATUS=CONVERGED     95 CALLS     3247 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    2.1418        .66245E-05** at limit **
   2  Prefactor     .10000E-03    4.7522       -.41934E-05** at limit **
   3  norm          8.8305        3.4336       -.25135E-07   -.16831E-03
   4  Prefactor     .10001E-03    3.7065        .40466E-05** at limit **
   5  Prefactor     6.2532        1.0076        .67475E-07   -.24469E-04
   6  Prefactor     8.0603        2.8828        .94248E-07   -.11811E-04
   7  norm          .10000E-03    4.6668       -.27878E-05** at limit **
   8  Prefactor     22.351        1.4352       -.41909E-06    .31027E-03
   9  norm          .83460        1.1726        .95676E-06    .21849E-03
  10  Prefactor     18.454        1.0512        .47129E-06   -.80432E-03
  11  norm          .10000E-03    1.2420        .32064E-06** at limit **
  12  Prefactor     .10024E-03    9.5755       -.20961E-04** at limit **
  13  norm          14.593        1.0091       -.19107E-06   -.31273E-03
  14  Prefactor     12.551        1.3102       -.21102E-05    .88277E-03
  15  Prefactor     13.355        1.0188       -.74294E-07   -.27356E-03
  16  norm          2.4623        1.6177        .11094E-06   -.61644E-04
  17  norm          .10000E-03    1.1190       -.12005E-06** at limit **
  18  Prefactor     .10000E-03    9.2178       -.10160E-04** at limit **
  19  Prefactor     .10003E-03    27.923        .63262E-04** at limit **
  20  Prefactor     .42782        .73394        .21039E-05    .27853E-03
  21  Prefactor     .10016E-03    15.305       -.40510E-04** at limit **
  22  Prefactor     9.8945        1.2736        .16144E-05   -.30988E-04
  23  norm          3.0096        1.3031        .12351E-05    .25619E-03
  24  Prefactor     .10000E-03    174.79       -.33112E-04** at limit **
  25  Prefactor     51.854        1.9045        .86568E-06   -.57226E-02
  26  Prefactor     10.827        1.4127        .93412E-06   -.11908E-02
  27  norm          21.776        1.3879       -.14709E-05    .18756E-02
  28  Prefactor     .10004E-03    15.288        .50844E-04** at limit **
  29  Normalizat    1.0476        .19574        .57564E-05    .44297E-04
  30  Prefactor     .73704        .18716       -.17714E-05    .62039E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010002
  Prefactor  = 0.0001
  norm       = 8.83052
  Prefactor  = 0.000100009
  Prefactor  = 6.25315
  Prefactor  = 8.06026
  norm       = 0.000100004
  Prefactor  = 22.351
  norm       = 0.834605
  Prefactor  = 18.4539
  norm       = 0.0001
  Prefactor  = 0.000100238
  norm       = 14.5931
  Prefactor  = 12.5509
  Prefactor  = 13.3551
  norm       = 2.46234
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100026
  Prefactor  = 0.427815
  Prefactor  = 0.000100165
  Prefactor  = 9.89454
  norm       = 3.00959
  Prefactor  = 0.000100002
  Prefactor  = 51.8543
  Prefactor  = 10.8271
  norm       = 21.776
  Prefactor  = 0.000100043
  Normalizat = 1.04761
  Prefactor  = 0.737039
 **********
 **   18 **HESSE 
 **********

 FCN=   5950.738     FROM HESSE     STATUS=OK           658 CALLS     3905 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    5.1201        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.7823        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.8305        4.6120        .33723E-02   -1.5114    
   4  Prefactor     .10001E-03    4.9957        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.2532        11.738        .40135E-02   -1.5208    
   6  Prefactor     8.0603        4.6915        .35305E-02   -1.5140    
   7  norm          .10000E-03    5.2369        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.351        26.135        .21174E-02   -1.4762    
   9  norm          .83460        9.3840        .12569E-01   -1.5525    
  10  Prefactor     18.454        43.034        .23311E-02   -1.4849    
  11  norm          .10000E-03    1.2389        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10024E-03    19.168        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          14.593        9.2017        .26212E-02   -1.4944    
  14  Prefactor     12.551        13.400        .28277E-02   -1.4999    
  15  Prefactor     13.355        9.5326        .27401E-02   -1.4977    
  16  norm          2.4623        1.7734        .65157E-02   -1.5394    
  17  norm          .10000E-03    1.1126        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.9610        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10003E-03    29.426        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .42782        4.8354        .52443E-01   -1.5577    
  21  Prefactor     .10016E-03    22.596        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.8945        9.7382        .31819E-02   -1.5079    
  23  norm          3.0096        1.4734        .58467E-02   -1.5361    
  24  Prefactor     .10000E-03    7.6924        .92471E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     51.854        42.132        .13920E-02   -1.4267    
  26  Prefactor     10.827        30.606        .30464E-02   -1.5050    
  27  norm          21.776        23.182        .21456E-02   -1.4774    
  28  Prefactor     .10004E-03    17.334        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.0476        .18131        .40725E-01   -.91452    
  30  Prefactor     .73704        .16584        .42894E-01   -1.0209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0733e-07
Minuit parameter uncertainties:
  1  0.00063815
  2  7.24321e-05
  3  4.61216
  4  0.000431919
  5  11.7421
  6  4.69174
  7  0.00029378
  8  26.148
  9  5.59789
  10  43.1059
  11  2.08011e-06
  12  0.00427236
  13  9.20262
  14  13.4028
  15  9.53373
  16  1.77346
  17  1.99938e-07
  18  7.80621e-07
  19  0.00174539
  20  2.87653
  21  0.00386104
  22  9.73973
  23  1.47337
  24  0.000239056
  25  42.1562
  26  30.6503
  27  23.1919
  28  0.00173285
  29  0.181413
  30  0.165949
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.255e+01  1.340e+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:  7.370e-01  1.659e-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:  1.048e+00  1.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.33
Ra Dec: 223.392 35.088
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 2.87e-08 +/- 3.06e-08
Energy Flux (Fixed Index): 9.88e-06 +/- 1.06e-05

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

Saving results to:
/scratch/kocevski/829753/likelihoodResults_381628801_381888001_4FGL_J1453.5+3505_daily_bin549.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) = 5950.39434732
delta logL = 0.343420540419

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5950.3893712
delta logL = 0.348396653986

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7627       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1004       1.0000          .0000       10.000    
     3 'Normalizat'    1.0191       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75485       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=   5950.389     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      268 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7577        119.27        .41828E-02    .28527E-03
   2  Index         3.1014        3.5971        .11586        .13862E-03
   3  Normalizat    1.0190        .63068E-01    .43491E-01    .47360E-05
   4  Prefactor     .75499        .56717E-01    .43127E-01    .13167E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.75768
  Index      = 3.10144
  Normalizat = 1.01902
  Prefactor  = 0.754987
 **********
 **   18 **HESSE 
 **********

 FCN=   5950.389     FROM HESSE     STATUS=OK            33 CALLS      301 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7577        15.239        .14626E-03   -1.5228    
   2  Index         3.1014        1.4281        .59349E-02   -.38948    
   3  Normalizat    1.0190        .19568        .23016E-03   -.92396    
   4  Prefactor     .75499        .18952        .25948E-03   -1.0141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05258e-08
Minuit parameter uncertainties:
  1  15.249
  2  1.45186
  3  0.195815
  4  0.189682
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/829753': 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) = 5950.38936909
delta logL = 0.34839876862

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  5.758e+00  1.525e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  3.101e+00  1.452e+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:  7.550e-01  1.897e-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:  1.019e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.06
Ra Dec: 223.392 35.088
Photon Index (Free Index): 3.10 +/- 1.45
Photon Flux (Free Index): 5.14e-08 +/- 4.61e-08
Energy Flux (Free Index): 9.78e-06 +/- 8.70e-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/829753/cmap_HighResolution_381628801_381888001_4FGL_J1453.5+3505_daily_bin549.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.58e-03', comment='SUCCESS', photon_flux='2.87e-08', energy_flux2='9.78e-06', photon_flux_error='3.06e-08', dlogl='3.48e-01', energy_flux='9.88e-06', photon_flux2='5.14e-08', job_status='DONE', time_completed='2021-09-10 12:02:18.783575', photon_index_error2='1.45', photon_index2='3.10', ts='1.33', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='9.84e-08', energy_flux_error2='8.70e-06', EG='1.05', time_epoch_completed='1631300538.78', return_code='0', job_id='829753', GAL2='0.75', EG2='1.02', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='4.61e-08', ts2='2.06', photon_index='2.36' WHERE bin_id='549' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:02:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 829753: <4FGL_J1453.5+3505_daily_bin549> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin549 223.392 35.0884 381628801 381888001 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 :                                   787.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             255.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   963 sec.
    Turnaround time :                            964 sec.

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

