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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1017
RA = 223.392, Dec = 35.0884
tmin = 502934401, tmax = 503193601
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='834420', job_status='RUN', time_executed='2021-09-10 12:04:34.497260', time_epoch_executed='1631300674.5' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1017'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834420

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834420/ft1_4FGL_J1453.5+3505_daily_bin1017.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834420/ft2_4FGL_J1453.5+3505_daily_bin1017.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834420/ft1_4FGL_J1453.5+3505_daily_bin1017.fits outfile=/scratch/kocevski/834420/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1017.fits ra=223.392 dec=35.0884 rad=12.0 tmin=502934401.0 tmax=503193601.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.37
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834420/ft1_filtered_4FGL_J1453.5+3505_daily_bin1017.fits evtable="EVENTS" scfile=/scratch/kocevski/834420/ft2_4FGL_J1453.5+3505_daily_bin1017.fits sctable="SC_DATA" expcube=/scratch/kocevski/834420/ltcube_502934401_503193601_4FGL_J1453.5+3505_daily_bin1017.fits outfile=/scratch/kocevski/834420/expmap_502934401_503193601_4FGL_J1453.5+3505_daily_bin1017.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/834420/ltcube_502934401_503193601_4FGL_J1453.5+3505_daily_bin1017.fits
.....................!
real 195.22
user 184.84
sys 5.35

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/834420/ft1_filtered_4FGL_J1453.5+3505_daily_bin1017.fits scfile=/scratch/kocevski/834420/ft2_4FGL_J1453.5+3505_daily_bin1017.fits outfile=/scratch/kocevski/834420/cmap_502934401_503193601_4FGL_J1453.5+3505_daily_bin1017.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.63
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834420/ft1_filtered_4FGL_J1453.5+3505_daily_bin1017.fits scfile=/scratch/kocevski/834420/ft2_4FGL_J1453.5+3505_daily_bin1017.fits outfile=/scratch/kocevski/834420/cmap_HighResolution_502934401_503193601_4FGL_J1453.5+3505_daily_bin1017.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.57
user 0.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10926E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.118       1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11268E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10501E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8464       1.0000         .10000E-03   10000.    
     7 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.2415       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.6829       1.0000         .10000E-03   10000.    
    12 'Prefactor '    41.203       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.767       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .54035       1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.538       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.9674       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.2130       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .92310       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=   6195.893     FROM MIGRAD    STATUS=CONVERGED    732 CALLS     3828 TOTAL
                     EDM=   .54E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    34.884       -.80235E-07** at limit **
   2  Prefactor     20.107        23.926       -.20746E-06   -.29548E-04
   3  norm          .10000E-03    1.6552       -.14561E-07** at limit **
   4  Prefactor     .10000E-03    17.064       -.66881E-06** at limit **
   5  Prefactor     .10000E-03    15.727       -.38797E-06** at limit **
   6  Prefactor     3.8440        4.1705        .15821E-06   -.34510E-04
   7  norm          .10000E-03    6.2569       -.73521E-07** at limit **
   8  Prefactor     .10000E-03    21.511        .73518E-07** at limit **
   9  norm          1.2391        8.5405        .30564E-05   -.57517E-04
  10  Prefactor     .10000E-03    24.129       -.62476E-07** at limit **
  11  norm          6.6832        4.5479        .47623E-07   -.83120E-05
  12  Prefactor     41.176        34.955       -.44544E-06   -.14756E-03
  13  norm          .10000E-03    2.7853       -.32357E-07** at limit **
  14  Prefactor     27.760        16.523       -.43172E-06   -.11124E-03
  15  Prefactor     .10000E-03    5.8252       -.97334E-07** at limit **
  16  norm          .54088        1.2975        .49183E-06   -.61163E-05
  17  norm          .10000E-03    1.7833       -.22256E-08** at limit **
  18  Prefactor     16.542        9.3841        .11970E-06   -.45089E-04
  19  Prefactor     .10000E-03    36.133       -.27036E-07** at limit **
  20  Prefactor     .10000E-03    4.2761        .65959E-07** at limit **
  21  Prefactor     .10000E-03    5.4709        .19968E-08** at limit **
  22  Prefactor     .10000E-03    13.799        .20520E-06** at limit **
  23  norm          3.9666        1.5745        .82925E-10   -.16196E-03
  24  Prefactor     .10000E-03    22.107        .27979E-06** at limit **
  25  Prefactor     .10000E-03    30.755        .25867E-06** at limit **
  26  Prefactor     .10000E-03    5.6826        .48239E-07** at limit **
  27  norm          .10000E-03    3.5813        .28372E-07** at limit **
  28  Prefactor     .10000E-03    10.325        .54075E-08** at limit **
  29  Normalizat    1.2135        .18923        .20659E-06   -.17591E-03
  30  Prefactor     .92256        .17777       -.10867E-05   -.71320E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 20.1073
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.84396
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.23907
  Prefactor  = 0.0001
  norm       = 6.68324
  Prefactor  = 41.1756
  norm       = 0.0001
  Prefactor  = 27.7604
  Prefactor  = 0.0001
  norm       = 0.540877
  norm       = 0.0001
  Prefactor  = 16.5424
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.96656
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.21354
  Prefactor  = 0.922562
 **********
 **   18 **HESSE 
 **********

 FCN=   6195.893     FROM HESSE     STATUS=OK           572 CALLS     4400 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    35.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.107        23.879        .89297E-04   -1.4811    
   3  norm          .10000E-03    1.6721        .98872E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.8440        4.1831        .15885E-03   -1.5316    
   7  norm          .10000E-03    6.2622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    21.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2391        8.5397        .40234E-03   -1.5485    
  10  Prefactor     .10000E-03    24.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.6832        4.5500        .13411E-03   -1.5191    
  12  Prefactor     41.176        35.271        .62449E-04   -1.4424    
  13  norm          .10000E-03    2.7863        .12830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     27.760        16.543        .76027E-04   -1.4654    
  15  Prefactor     .10000E-03    5.8759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .54088        1.2607        .13104E-03   -1.5561    
  17  norm          .10000E-03    1.7901        .10230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.542        9.3511        .98486E-04   -1.4894    
  19  Prefactor     .10000E-03    36.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.2968        .15898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.4742        .17981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.9666        1.5650        .58471E-04   -1.5310    
  24  Prefactor     .10000E-03    22.440        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    30.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    5.6868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    3.5834        .14548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    10.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.2135        .22114        .23889E-03   -.86186    
  30  Prefactor     .92256        .20594        .26662E-03   -.95357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12605e-10
Minuit parameter uncertainties:
  1  2.30648e-05
  2  23.8903
  3  3.73296e-07
  4  2.45978e-05
  5  9.86427e-06
  6  4.18344
  7  6.24946e-06
  8  3.10317e-05
  9  6.50686
  10  1.7704e-05
  11  4.55022
  12  35.2884
  13  2.03173e-06
  14  16.5461
  15  1.28193e-05
  16  1.26076
  17  8.00531e-07
  18  9.35191
  19  3.5119e-05
  20  3.84432e-06
  21  6.88387e-06
  22  2.45259e-05
  23  1.56505
  24  1.46964e-05
  25  8.46243e-05
  26  3.97178e-06
  27  2.58069e-07
  28  6.58669e-06
  29  0.221315
  30  0.206116
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  2.776e+01  1.655e+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:  9.226e-01  2.061e-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.214e+00  2.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.94
Ra Dec: 223.392 35.088
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 6.34e-08 +/- 3.78e-08
Energy Flux (Fixed Index): 2.19e-05 +/- 1.30e-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) = 6195.86755234
delta logL = 0.0256294626352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6195.86298946
delta logL = 0.0301923402367

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.706       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2284       1.0000          .0000       10.000    
     3 'Normalizat'    1.2232       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91639       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=   6195.863     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      281 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.708        21.724        .72306E-04    .95910E-05
   2  Index         2.2284        .55316        .70353E-02    .31028E-03
   3  Normalizat    1.2232        .21070        .23809E-03   -.11364E-04
   4  Prefactor     .91641        .20557        .26739E-03   -.33589E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.7078
  Index      = 2.22836
  Normalizat = 1.22324
  Prefactor  = 0.916411
 **********
 **   18 **HESSE 
 **********

 FCN=   6195.863     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .42E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.708        21.261        .28923E-05   -1.4599    
   2  Index         2.2284        .54081        .14071E-02   -.58755    
   3  Normalizat    1.2232        .21068        .95235E-05   -.85888    
   4  Prefactor     .91641        .20565        .10695E-04   -.95570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.20305e-12
Minuit parameter uncertainties:
  1  21.2665
  2  0.542342
  3  0.210822
  4  0.205822
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834420': 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) = 6195.86298943
delta logL = 0.0301923703428

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  3.071e+01  2.127e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.228e+00  5.423e-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:  9.164e-01  2.058e-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.223e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.98
Ra Dec: 223.392 35.088
Photon Index (Free Index): 2.23 +/- 0.54
Photon Flux (Free Index): 5.61e-08 +/- 4.49e-08
Energy Flux (Free Index): 2.39e-05 +/- 1.77e-05

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/834420/cmap_HighResolution_502934401_503193601_4FGL_J1453.5+3505_daily_bin1017.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.34e-08', energy_flux2='2.39e-05', photon_flux_error='3.78e-08', dlogl='3.02e-02', energy_flux='2.19e-05', photon_flux2='5.61e-08', job_status='DONE', time_completed='2021-09-10 12:16:50.127586', photon_index_error2='0.54', photon_index2='2.23', ts='6.94', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.77e-05', EG='1.21', time_epoch_completed='1631301410.13', return_code='0', job_id='834420', GAL2='0.92', EG2='1.22', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='4.49e-08', ts2='6.98', photon_index='2.36' WHERE bin_id='1017' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:16:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 834420: <4FGL_J1453.5+3505_daily_bin1017> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1017> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:02:50 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:02:50 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:02:50 2021
Terminated at Fri Sep 10 12:16:50 2021
Results reported at Fri Sep 10 12:16:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1017 223.392 35.0884 502934401 503193601 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 :                                   724.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             335.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            840 sec.

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

