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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin598
RA = 223.392, Dec = 35.0884
tmin = 394329601, tmax = 394588801
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='829823', job_status='RUN', time_executed='2021-09-10 11:47:28.801889', time_epoch_executed='1631299648.8' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='598'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/829823

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/829823/ft1_4FGL_J1453.5+3505_daily_bin598.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/829823/ft2_4FGL_J1453.5+3505_daily_bin598.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/829823/ft1_4FGL_J1453.5+3505_daily_bin598.fits outfile=/scratch/kocevski/829823/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin598.fits ra=223.392 dec=35.0884 rad=12.0 tmin=394329601.0 tmax=394588801.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 7.38
user 7.09
sys 0.26

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/829823/ft1_filtered_4FGL_J1453.5+3505_daily_bin598.fits evtable="EVENTS" scfile=/scratch/kocevski/829823/ft2_4FGL_J1453.5+3505_daily_bin598.fits sctable="SC_DATA" expcube=/scratch/kocevski/829823/ltcube_394329601_394588801_4FGL_J1453.5+3505_daily_bin598.fits outfile=/scratch/kocevski/829823/expmap_394329601_394588801_4FGL_J1453.5+3505_daily_bin598.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/829823/ltcube_394329601_394588801_4FGL_J1453.5+3505_daily_bin598.fits
.....................!
real 190.17
user 185.21
sys 4.53

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/829823/ft1_filtered_4FGL_J1453.5+3505_daily_bin598.fits scfile=/scratch/kocevski/829823/ft2_4FGL_J1453.5+3505_daily_bin598.fits outfile=/scratch/kocevski/829823/cmap_394329601_394588801_4FGL_J1453.5+3505_daily_bin598.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/829823/ft1_filtered_4FGL_J1453.5+3505_daily_bin598.fits scfile=/scratch/kocevski/829823/ft2_4FGL_J1453.5+3505_daily_bin598.fits outfile=/scratch/kocevski/829823/cmap_HighResolution_394329601_394588801_4FGL_J1453.5+3505_daily_bin598.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/829823/ft1_filtered_4FGL_J1453.5+3505_daily_bin598.fits evtable="EVENTS" scfile=/scratch/kocevski/829823/ft2_4FGL_J1453.5+3505_daily_bin598.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/829823/Model_4FGL_J1453.5+3505_daily_bin598.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/829823/ft1_filtered_4FGL_J1453.5+3505_daily_bin598.fits.....................!
real 47.02
user 45.66
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/829823/ft1_filtered_4FGL_J1453.5+3505_daily_bin598.fits', '/scratch/kocevski/829823/ft2_4FGL_J1453.5+3505_daily_bin598.fits', expMap='/scratch/kocevski/829823/expmap_394329601_394588801_4FGL_J1453.5+3505_daily_bin598.fits', expCube='/scratch/kocevski/829823/ltcube_394329601_394588801_4FGL_J1453.5+3505_daily_bin598.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/829823/Model_4FGL_J1453.5+3505_daily_bin598.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/829823/ft1_filtered_4FGL_J1453.5+3505_daily_bin598.fits
Spacecraft file(s): /scratch/kocevski/829823/ft2_4FGL_J1453.5+3505_daily_bin598.fits
Exposure map: /scratch/kocevski/829823/expmap_394329601_394588801_4FGL_J1453.5+3505_daily_bin598.fits
Exposure cube: /scratch/kocevski/829823/ltcube_394329601_394588801_4FGL_J1453.5+3505_daily_bin598.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/829823/Model_4FGL_J1453.5+3505_daily_bin598.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5600.53140945

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.753       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3390       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.539       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.290       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10410E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10649E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .11028E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    123.31       1.0000         .10000E-03   10000.    
    11 'norm      '    4.6398       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .73050E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    4.6022       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.8177       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.4205       1.0000         .10000E-03   10000.    
    17 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.6239       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.2490       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10637E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    7.4056       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.5888       1.0000         .10000E-03   10000.    
    25 'Prefactor '    41.035       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .11713E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    5.2484       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.2742       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .78656       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=   5600.478     FROM MIGRAD    STATUS=CONVERGED    771 CALLS     3966 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.753        19.436        .41497E-07   -.19203E-04
   2  Prefactor     1.3258        62.017        .17793E-06   -.25183E-05
   3  norm          .10000E-03    1.3966       -.82323E-07** at limit **
   4  Prefactor     14.547        28.029        .85788E-06    .30056E-05
   5  Prefactor     10.282        25.682       -.24418E-06   -.26140E-04
   6  Prefactor     .10000E-03    1.4725       -.13085E-06** at limit **
   7  norm          .10000E-03    17.468       -.93087E-06** at limit **
   8  Prefactor     .10000E-03    24.179       -.15784E-05** at limit **
   9  norm          .10000E-03    6.4641       -.10018E-05** at limit **
  10  Prefactor     123.32        70.816       -.44775E-06    .33435E-04
  11  norm          4.6409        5.4957        .11163E-06    .13812E-03
  12  Prefactor     .10000E-03    146.39       -.34921E-04** at limit **
  13  norm          4.6107        12.362        .15723E-05   -.14349E-03
  14  Prefactor     1.8065        31.246       -.14490E-05    .89227E-04
  15  Prefactor     .10000E-03    4.6012       -.92903E-07** at limit **
  16  norm          1.4200        1.8836        .98019E-07   -.12307E-03
  17  norm          .10000E-03    1.9246       -.52253E-06** at limit **
  18  Prefactor     8.6207        8.3454        .53058E-06   -.19285E-04
  19  Prefactor     .10000E-03    97.677       -.20992E-05** at limit **
  20  Prefactor     1.2508        4.9118        .64702E-05   -.31835E-04
  21  Prefactor     .10000E-03    24.350       -.16989E-05** at limit **
  22  Prefactor     .10000E-03    25.015       -.12270E-05** at limit **
  23  norm          7.4079        2.7159        .57739E-06    .26738E-04
  24  Prefactor     2.5714        31.826       -.68374E-05   -.17458E-04
  25  Prefactor     41.059        36.313        .22908E-05    .29102E-04
  26  Prefactor     .10000E-03    19.109        .41147E-06** at limit **
  27  norm          5.2462        15.375        .74236E-06   -.73819E-04
  28  Prefactor     .10000E-03    12.004       -.65362E-07** at limit **
  29  Normalizat    1.2747        .20528        .11046E-05    .26514E-03
  30  Prefactor     .78591        .19082       -.40117E-06    .24632E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 21.753
  Prefactor  = 1.32584
  norm       = 0.0001
  Prefactor  = 14.5473
  Prefactor  = 10.2824
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 123.319
  norm       = 4.64094
  Prefactor  = 0.0001
  norm       = 4.61066
  Prefactor  = 1.80649
  Prefactor  = 0.0001
  norm       = 1.41999
  norm       = 0.0001
  Prefactor  = 8.62073
  Prefactor  = 0.000100001
  Prefactor  = 1.25078
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.40794
  Prefactor  = 2.57145
  Prefactor  = 41.0589
  Prefactor  = 0.0001
  norm       = 5.24617
  Prefactor  = 0.0001
  Normalizat = 1.27468
  Prefactor  = 0.785909
 **********
 **   18 **HESSE 
 **********

 FCN=   5600.478     FROM HESSE     STATUS=OK           590 CALLS     4556 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.753        19.428        .85879E-04   -1.4775    
   2  Prefactor     1.3258        59.607        .37891E-03   -1.5478    
   3  norm          .10000E-03    1.4001        .86361E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.547        27.238        .10504E-03   -1.4945    
   5  Prefactor     10.282        25.368        .12491E-03   -1.5067    
   6  Prefactor     .10000E-03    1.4819        .88685E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    17.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    24.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.5309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     123.32        70.769        .36246E-04   -1.3482    
  11  norm          4.6409        5.4979        .18187E-03   -1.5277    
  12  Prefactor     .10000E-03    303.16        .86527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.6107        12.190        .18762E-03   -1.5278    
  14  Prefactor     1.8065        30.635        .30977E-03   -1.5439    
  15  Prefactor     .10000E-03    4.6182        .15663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.4200        1.8564        .11094E-03   -1.5470    
  17  norm          .10000E-03    1.9381        .10125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.6207        8.3193        .13650E-03   -1.5121    
  19  Prefactor     .10000E-03    97.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.2508        7.3873        .19606E-02   -1.5484    
  21  Prefactor     .10000E-03    24.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    25.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          7.4079        2.6707        .52827E-04   -1.5164    
  24  Prefactor     2.5714        30.869        .25361E-03   -1.5387    
  25  Prefactor     41.059        36.139        .31288E-03   -1.4426    
  26  Prefactor     .10000E-03    19.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          5.2462        15.309        .17545E-03   -1.5250    
  28  Prefactor     .10000E-03    12.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.2747        .24954        .24097E-03   -.84325    
  30  Prefactor     .78591        .23174        .28547E-03   -1.0025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65598e-09
Minuit parameter uncertainties:
  1  19.4335
  2  17.7979
  3  6.29234e-06
  4  27.2617
  5  25.3945
  6  5.48552e-06
  7  0.000127878
  8  0.000124426
  9  1.83399e-06
  10  70.8171
  11  5.49852
  12  0.000474625
  13  12.1967
  14  14.8869
  15  3.64008e-05
  16  1.85652
  17  1.23923e-07
  18  8.32038
  19  0.000688791
  20  6.08034
  21  0.00013165
  22  6.62996e-05
  23  2.67078
  24  17.83
  25  36.1583
  26  5.4186e-05
  27  15.3206
  28  5.57161e-06
  29  0.249778
  30  0.232031
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.806e+00  1.489e+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.859e-01  2.320e-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.275e+00  2.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/829823/likelihoodResults_394329601_394588801_4FGL_J1453.5+3505_daily_bin598.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) = 5600.35188727
delta logL = 0.126320716369

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5600.34364753
delta logL = 0.134560454216

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8252       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7394       1.0000          .0000       10.000    
     3 'Normalizat'    1.2801       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77662       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=   5600.344     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      286 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8255        17.274        .14334E-03   -.27442E-03
   2  Index         1.7395        .93441        .13872E-01   -.73674E-04
   3  Normalizat    1.2802        .23362        .24049E-03    .33138E-04
   4  Prefactor     .77654        .22425        .28694E-03    .39422E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.8255
  Index      = 1.73953
  Normalizat = 1.28024
  Prefactor  = 0.776544
 **********
 **   18 **HESSE 
 **********

 FCN=   5600.344     FROM HESSE     STATUS=OK            23 CALLS      309 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8255        17.452        .57337E-05   -1.5148    
   2  Index         1.7395        .94432        .55489E-03   -.71034    
   3  Normalizat    1.2802        .23386        .96196E-05   -.84158    
   4  Prefactor     .77654        .22449        .11478E-04   -1.0060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.49687e-10
Minuit parameter uncertainties:
  1  17.4629
  2  0.954366
  3  0.234048
  4  0.224751
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/829823': 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) = 5600.34364743
delta logL = 0.134560559267

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  7.826e+00  1.746e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  1.740e+00  9.544e-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:  7.765e-01  2.248e-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.280e+00  2.340e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/829823/cmap_HighResolution_394329601_394588801_4FGL_J1453.5+3505_daily_bin598.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.26e-03', job_status='DONE', photon_flux_upper_limit='9.41e-08', time_completed='2021-09-10 12:00:50.919904', job_id='829823', GAL2='0.78', fit_tolerance='1e-08', EG2='1.28', EG='1.27', time_epoch_completed='1631300450.92', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.35e-01', ts2='0.29', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='598' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:00:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 829823: <4FGL_J1453.5+3505_daily_bin598> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin598> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 10 11:46:20 2021
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:46:21 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:21 2021
Terminated at Fri Sep 10 12:00:54 2021
Results reported at Fri Sep 10 12:00:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin598 223.392 35.0884 394329601 394588801 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 :                                   798.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             320.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            874 sec.

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

