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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1551
RA = 223.392, Dec = 35.0884
tmin = 641347201, tmax = 641606401
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='836857', job_status='RUN', time_executed='2021-09-10 12:08:13.060584', time_epoch_executed='1631300893.06' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1551'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/836857

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/836857/ft1_4FGL_J1453.5+3505_daily_bin1551.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/836857/ft2_4FGL_J1453.5+3505_daily_bin1551.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/836857/ft1_4FGL_J1453.5+3505_daily_bin1551.fits outfile=/scratch/kocevski/836857/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1551.fits ra=223.392 dec=35.0884 rad=12.0 tmin=641347201.0 tmax=641606401.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 2.97
user 2.63
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/836857/ft1_filtered_4FGL_J1453.5+3505_daily_bin1551.fits evtable="EVENTS" scfile=/scratch/kocevski/836857/ft2_4FGL_J1453.5+3505_daily_bin1551.fits sctable="SC_DATA" expcube=/scratch/kocevski/836857/ltcube_641347201_641606401_4FGL_J1453.5+3505_daily_bin1551.fits outfile=/scratch/kocevski/836857/expmap_641347201_641606401_4FGL_J1453.5+3505_daily_bin1551.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/836857/ltcube_641347201_641606401_4FGL_J1453.5+3505_daily_bin1551.fits
.....................!
real 191.25
user 185.41
sys 5.37

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/836857/ft1_filtered_4FGL_J1453.5+3505_daily_bin1551.fits scfile=/scratch/kocevski/836857/ft2_4FGL_J1453.5+3505_daily_bin1551.fits outfile=/scratch/kocevski/836857/cmap_641347201_641606401_4FGL_J1453.5+3505_daily_bin1551.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.60
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/836857/ft1_filtered_4FGL_J1453.5+3505_daily_bin1551.fits scfile=/scratch/kocevski/836857/ft2_4FGL_J1453.5+3505_daily_bin1551.fits outfile=/scratch/kocevski/836857/cmap_HighResolution_641347201_641606401_4FGL_J1453.5+3505_daily_bin1551.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.1877       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .47820E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.9760       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2078       1.0000         .10000E-03   10000.    
     7 'norm      '    6.9452       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.0340       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.002       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .42793       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.858       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.318       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.1141       1.0000         .10000E-03   10000.    
    23 'norm      '    .23177       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .49709       1.0000         .10000E-03   10000.    
    25 'Prefactor '    63.114       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    19.466       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.4741       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .58140       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=   9140.225     FROM MIGRAD    STATUS=CONVERGED    784 CALLS     3984 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.3948        .16678E-10** at limit **
   2  Prefactor     .10000E-03    9.4103       -.15718E-06** at limit **
   3  norm          6.1870        3.7101        .36967E-07   -.26394E-04
   4  Prefactor     .10006E-03    10.314        .63163E-06** at limit **
   5  Prefactor     8.9536        15.528        .48815E-06   -.54850E-04
   6  Prefactor     1.2079        2.3703        .21222E-06    .24387E-04
   7  norm          6.9423        8.6911        .11573E-07   -.30821E-04
   8  Prefactor     .10000E-03    7.5429       -.15793E-06** at limit **
   9  norm          .10000E-03    2.6971        .99158E-08** at limit **
  10  Prefactor     .10000E-03    7.2861        .18881E-06** at limit **
  11  norm          5.0347        4.7967        .15053E-05    .18796E-03
  12  Prefactor     .10000E-03    19.267       -.40147E-07** at limit **
  13  norm          .10000E-03    2.5701        .19414E-08** at limit **
  14  Prefactor     29.999        13.215        .10041E-06    .55371E-04
  15  Prefactor     .10000E-03    2.2321        .51408E-07** at limit **
  16  norm          .42904        1.1382       -.92053E-07   -.31619E-03
  17  norm          .10000E-03    1.8402       -.11406E-07** at limit **
  18  Prefactor     .10000E-03    4.4949       -.55236E-06** at limit **
  19  Prefactor     25.834        37.327        .35683E-05    .14765E-04
  20  Prefactor     10.319        9.5890        .13742E-06    .60804E-05
  21  Prefactor     .10000E-03    6.3609       -.43926E-07** at limit **
  22  Prefactor     3.1154        8.9888        .82498E-07    .55540E-04
  23  norm          .23216        .89767        .18757E-06   -.32370E-03
  24  Prefactor     .51025        8.1798        .26731E-06   -.20657E-03
  25  Prefactor     63.105        32.010        .75435E-06    .13955E-04
  26  Prefactor     .10000E-03    36.382        .30723E-06** at limit **
  27  norm          19.468        12.589        .11150E-06   -.27054E-04
  28  Prefactor     .10000E-03    12.006       -.11489E-06** at limit **
  29  Normalizat    1.4742        .15398        .87505E-07    .92905E-04
  30  Prefactor     .58130        .14897       -.82663E-06    .70285E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.18703
  Prefactor  = 0.000100062
  Prefactor  = 8.95356
  Prefactor  = 1.20788
  norm       = 6.9423
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.03472
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 29.9993
  Prefactor  = 0.0001
  norm       = 0.429036
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 25.8342
  Prefactor  = 10.3191
  Prefactor  = 0.0001
  Prefactor  = 3.11543
  norm       = 0.232159
  Prefactor  = 0.510249
  Prefactor  = 63.1053
  Prefactor  = 0.0001
  norm       = 19.4685
  Prefactor  = 0.0001
  Normalizat = 1.47418
  Prefactor  = 0.581303
 **********
 **   18 **HESSE 
 **********

 FCN=   9140.225     FROM HESSE     STATUS=OK           596 CALLS     4580 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.3975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.4639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.1870        3.6939        .13579E-03   -1.5210    
   4  Prefactor     .10006E-03    63.758        .46013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.9536        12.978        .13378E-03   -1.5109    
   6  Prefactor     1.2079        2.3271        .19776E-03   -1.5488    
   7  norm          6.9423        8.6057        .15223E-03   -1.5181    
   8  Prefactor     .10000E-03    7.5615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.7275        .15326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.2859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.0347        4.8304        .89611E-03   -1.5259    
  12  Prefactor     .10000E-03    19.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.5799        .14966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     29.999        13.210        .73147E-04   -1.4612    
  15  Prefactor     .10000E-03    2.2402        .13934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .42904        1.1448        .15362E-03   -1.5577    
  17  norm          .10000E-03    1.8808        .12605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.498        .34028E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     25.834        37.200        .78778E-04   -1.4691    
  20  Prefactor     10.319        9.5831        .12474E-03   -1.5065    
  21  Prefactor     .10000E-03    6.3765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.1154        8.0414        .22977E-03   -1.5355    
  23  norm          .23216        1.0401        .12493E-02   -1.5612    
  24  Prefactor     .51025        20.739        .37420E-02   -1.5565    
  25  Prefactor     63.105        32.178        .25256E-03   -1.4118    
  26  Prefactor     .10000E-03    36.561        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          19.468        12.469        .45390E-03   -1.4825    
  28  Prefactor     .10000E-03    12.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.4742        .18260        .21222E-03   -.78507    
  30  Prefactor     .58130        .17429        .31508E-03   -1.0838    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.56022e-08
Minuit parameter uncertainties:
  1  5.45237e-07
  2  3.35417e-06
  3  3.69408
  4  0.00397101
  5  12.9825
  6  2.32727
  7  8.60719
  8  8.06482e-07
  9  3.38814e-07
  10  9.31122e-07
  11  4.83079
  12  1.25785e-06
  13  3.97607e-08
  14  13.2117
  15  3.21365e-06
  16  1.14487
  17  3.4761e-06
  18  0.000170834
  19  37.2339
  20  9.58452
  21  2.18777e-06
  22  8.0442
  23  0.982629
  24  6.50785
  25  32.1865
  26  2.40027e-05
  27  12.4703
  28  2.1745e-06
  29  0.182677
  30  0.174454
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  3.000e+01  1.321e+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:  5.813e-01  1.745e-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.474e+00  1.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.82
Ra Dec: 223.392 35.088
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 6.85e-08 +/- 3.02e-08
Energy Flux (Fixed Index): 2.36e-05 +/- 1.04e-05

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) = 9139.64239521
delta logL = 0.5823118796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9139.59317998
delta logL = 0.631527101166

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.349       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9520       1.0000          .0000       10.000    
     3 'Normalizat'    1.5040       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56348       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=   9139.593     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      280 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.350        17.908        .65580E-04   -.31759E-03
   2  Index         1.9520        .35980        .66919E-02   -.15296E-03
   3  Normalizat    1.5040        .17365        .21055E-03    .86911E-04
   4  Prefactor     .56348        .16851        .31972E-03    .63151E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.3496
  Index      = 1.95199
  Normalizat = 1.50404
  Prefactor  = 0.563481
 **********
 **   18 **HESSE 
 **********

 FCN=   9139.593     FROM HESSE     STATUS=OK            23 CALLS      303 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.350        17.876        .13116E-04   -1.4485    
   2  Index         1.9520        .35897        .26768E-03   -.65556    
   3  Normalizat    1.5040        .17374        .42110E-04   -.77665    
   4  Prefactor     .56348        .16861        .12789E-04   -1.0915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99629e-10
Minuit parameter uncertainties:
  1  17.8789
  2  0.359459
  3  0.173806
  4  0.168763
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/836857': 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) = 9139.59317998
delta logL = 0.631527101586

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  3.735e+01  1.788e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  1.952e+00  3.595e-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:  5.635e-01  1.688e-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.504e+00  1.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.05
Ra Dec: 223.392 35.088
Photon Index (Free Index): 1.95 +/- 0.36
Photon Flux (Free Index): 4.49e-08 +/- 3.03e-08
Energy Flux (Free Index): 3.51e-05 +/- 2.33e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/836857/cmap_HighResolution_641347201_641606401_4FGL_J1453.5+3505_daily_bin1551.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.85e-08', energy_flux2='3.51e-05', photon_flux_error='3.02e-08', dlogl='6.32e-01', energy_flux='2.36e-05', photon_flux2='4.49e-08', job_status='DONE', time_completed='2021-09-10 12:24:05.301200', photon_index_error2='0.36', photon_index2='1.95', ts='17.82', fit_tolerance='1e-08', GAL='0.58', photon_index_error='0.00', energy_flux_error2='2.33e-05', EG='1.47', time_epoch_completed='1631301845.3', return_code='0', job_id='836857', GAL2='0.56', EG2='1.50', return_code2='0', energy_flux_error='1.04e-05', photon_flux_error2='3.03e-08', ts2='19.05', photon_index='2.36' WHERE bin_id='1551' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:24:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 836857: <4FGL_J1453.5+3505_daily_bin1551> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1551> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Sep 10 12:07:39 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:07:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:07:40 2021
Terminated at Fri Sep 10 12:24:06 2021
Results reported at Fri Sep 10 12:24:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1551 223.392 35.0884 641347201 641606401 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 :                                   948.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             345.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            987 sec.

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

