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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1035
RA = 223.392, Dec = 35.0884
tmin = 507600001, tmax = 507859201
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='834446', job_status='RUN', time_executed='2021-09-10 12:04:28.408736', time_epoch_executed='1631300668.41' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1035'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834446

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834446/ft1_4FGL_J1453.5+3505_daily_bin1035.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834446/ft2_4FGL_J1453.5+3505_daily_bin1035.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834446/ft1_4FGL_J1453.5+3505_daily_bin1035.fits outfile=/scratch/kocevski/834446/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1035.fits ra=223.392 dec=35.0884 rad=12.0 tmin=507600001.0 tmax=507859201.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.43
user 3.35
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/834446/ft2_4FGL_J1453.5+3505_daily_bin1035.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/834446/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1035.fits evtable="EVENTS" outfile="/scratch/kocevski/834446/ft1_filtered_4FGL_J1453.5+3505_daily_bin1035.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.60
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834446/ft1_filtered_4FGL_J1453.5+3505_daily_bin1035.fits" evtable="EVENTS" scfile=/scratch/kocevski/834446/ft2_4FGL_J1453.5+3505_daily_bin1035.fits sctable="SC_DATA" outfile=/scratch/kocevski/834446/ltcube_507600001_507859201_4FGL_J1453.5+3505_daily_bin1035.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/834446/ft2_4FGL_J1453.5+3505_daily_bin1035.fits
.....................!
real 12.97
user 11.27
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834446/ft1_filtered_4FGL_J1453.5+3505_daily_bin1035.fits evtable="EVENTS" scfile=/scratch/kocevski/834446/ft2_4FGL_J1453.5+3505_daily_bin1035.fits sctable="SC_DATA" expcube=/scratch/kocevski/834446/ltcube_507600001_507859201_4FGL_J1453.5+3505_daily_bin1035.fits outfile=/scratch/kocevski/834446/expmap_507600001_507859201_4FGL_J1453.5+3505_daily_bin1035.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/834446/ltcube_507600001_507859201_4FGL_J1453.5+3505_daily_bin1035.fits
.....................!
real 199.82
user 185.67
sys 4.18

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/834446/ft1_filtered_4FGL_J1453.5+3505_daily_bin1035.fits scfile=/scratch/kocevski/834446/ft2_4FGL_J1453.5+3505_daily_bin1035.fits outfile=/scratch/kocevski/834446/cmap_507600001_507859201_4FGL_J1453.5+3505_daily_bin1035.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.53
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7476       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.7672       1.0000         .10000E-03   10000.    
     3 'norm      '    7.6131       1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.010       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6564       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.174       1.0000         .10000E-03   10000.    
     7 'norm      '    .26841       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10234E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.1291       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.077       1.0000         .10000E-03   10000.    
    11 'norm      '    11.269       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.597       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.2736       1.0000         .10000E-03   10000.    
    16 'norm      '    1.5191       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10490E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    46.080       1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.565       1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.405       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.6512       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.6194       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10340E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .86249       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .82420       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=   5672.308     FROM MIGRAD    STATUS=CONVERGED    777 CALLS     3943 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7469        13.280        .14767E-06   -.13293E-04
   2  Prefactor     7.7557        19.724       -.47546E-05   -.16978E-03
   3  norm          7.6129        4.0100       -.17631E-06   -.32842E-03
   4  Prefactor     25.096        25.658       -.26224E-05   -.42092E-03
   5  Prefactor     1.6174        119.81        .13236E-04   -.83747E-04
   6  Prefactor     10.174        4.9907        .26468E-06   -.44797E-04
   7  norm          .16557        13.787        .35359E-05   -.46126E-03
   8  Prefactor     .10000E-03    50.051       -.83677E-05** at limit **
   9  norm          4.1307        5.1322       -.11536E-05   -.26939E-03
  10  Prefactor     13.055        49.147       -.12171E-04   -.57770E-04
  11  norm          11.269        6.0999       -.32675E-06   -.12206E-03
  12  Prefactor     .10000E-03    27.819       -.24805E-05** at limit **
  13  norm          .10000E-03    2.3272        .51824E-07** at limit **
  14  Prefactor     30.597        14.989       -.95116E-07   -.49667E-04
  15  Prefactor     6.2734        4.9519       -.79170E-06   -.17639E-03
  16  norm          1.5187        1.2635       -.26690E-07   -.96581E-04
  17  norm          .10000E-03    .99613       -.91829E-08** at limit **
  18  Prefactor     .10002E-03    4.8412        .68946E-06** at limit **
  19  Prefactor     46.117        57.690        .11386E-04    .11334E-03
  20  Prefactor     11.562        10.480        .22181E-06   -.13910E-04
  21  Prefactor     17.416        18.324       -.42600E-06   -.12975E-03
  22  Prefactor     .10000E-03    5.2771        .61564E-07** at limit **
  23  norm          3.6510        1.9918       -.17260E-06   -.29991E-03
  24  Prefactor     1.6177        17.096        .21246E-05   -.27772E-04
  25  Prefactor     .10000E-03    11.099       -.25435E-06** at limit **
  26  Prefactor     .10000E-03    32.416        .53428E-05** at limit **
  27  norm          .10000E-03    12.728        .25818E-06** at limit **
  28  Prefactor     .10000E-03    11.678        .31099E-06** at limit **
  29  Normalizat    .86245        .18416       -.11646E-05   -.25143E-03
  30  Prefactor     .82434        .17296       -.16428E-06   -.25635E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.74691
  Prefactor  = 7.7557
  norm       = 7.6129
  Prefactor  = 25.0955
  Prefactor  = 1.61739
  Prefactor  = 10.174
  norm       = 0.165574
  Prefactor  = 0.0001
  norm       = 4.13074
  Prefactor  = 13.055
  norm       = 11.2694
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 30.5965
  Prefactor  = 6.27342
  norm       = 1.51868
  norm       = 0.0001
  Prefactor  = 0.00010002
  Prefactor  = 46.1173
  Prefactor  = 11.5619
  Prefactor  = 17.4159
  Prefactor  = 0.0001
  norm       = 3.65096
  Prefactor  = 1.61774
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.862446
  Prefactor  = 0.824345
 **********
 **   18 **HESSE 
 **********

 FCN=   5672.308     FROM HESSE     STATUS=OK           598 CALLS     4541 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7469        13.259        .16754E-03   -1.5228    
   2  Prefactor     7.7557        19.733        .14388E-03   -1.5151    
   3  norm          7.6129        4.0079        .10519E-03   -1.5156    
   4  Prefactor     25.096        26.614        .80100E-04   -1.4706    
   5  Prefactor     1.6174        124.31        .32790E-03   -1.5454    
   6  Prefactor     10.174        5.0147        .11031E-03   -1.5070    
   7  norm          .16557        16.141        .87523E-01   -1.5627    
   8  Prefactor     .10000E-03    50.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.1307        5.1177        .18067E-03   -1.5301    
  10  Prefactor     13.055        49.020        .11077E-03   -1.4985    
  11  norm          11.269        6.1119        .11934E-03   -1.5036    
  12  Prefactor     .10000E-03    27.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.3274        .11221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     30.597        15.003        .72435E-04   -1.4601    
  15  Prefactor     6.2734        4.9519        .14361E-03   -1.5207    
  16  norm          1.5187        1.2519        .73365E-04   -1.5461    
  17  norm          .10000E-03    1.0015        .73379E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10002E-03    38.443        .31247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     46.117        57.820        .59065E-04   -1.4349    
  20  Prefactor     11.562        10.497        .11780E-03   -1.5028    
  21  Prefactor     17.416        17.923        .96004E-04   -1.4873    
  22  Prefactor     .10000E-03    5.2934        .16872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.6510        1.9190        .58749E-04   -1.5326    
  24  Prefactor     1.6177        15.883        .33261E-03   -1.5454    
  25  Prefactor     .10000E-03    11.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    32.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    12.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    11.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .86245        .21521        .24569E-03   -.97793    
  30  Prefactor     .82434        .20172        .24819E-03   -.98837    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1243e-09
Minuit parameter uncertainties:
  1  13.266
  2  19.7493
  3  4.00806
  4  26.627
  5  28.4201
  6  5.01487
  7  3.26952
  8  0.000118823
  9  5.11823
  10  49.1715
  11  6.1122
  12  7.32571e-05
  13  3.0268e-06
  14  15.0048
  15  4.95226
  16  1.25191
  17  3.12841e-07
  18  0.00176179
  19  57.8908
  20  10.4991
  21  17.9289
  22  8.56765e-06
  23  1.91905
  24  10.1412
  25  9.61843e-06
  26  0.000153354
  27  1.59598e-05
  28  9.55094e-06
  29  0.215423
  30  0.201897
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  3.060e+01  1.500e+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:  8.243e-01  2.019e-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:  8.624e-01  2.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.85
Ra Dec: 223.392 35.088
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 6.99e-08 +/- 3.43e-08
Energy Flux (Fixed Index): 2.41e-05 +/- 1.18e-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) = 5672.24852313
delta logL = 0.0598791143875

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5672.2368254
delta logL = 0.071576850296

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.697       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1946       1.0000          .0000       10.000    
     3 'Normalizat'    .87361       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81778       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=   5672.237     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      271 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.703        20.163        .68032E-04    .48194E-04
   2  Index         2.1942        .45247        .55921E-02    .30364E-03
   3  Normalizat    .87358        .19801        .24436E-03    .43268E-04
   4  Prefactor     .81789        .19434        .24911E-03   -.58735E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.7027
  Index      = 2.19418
  Normalizat = 0.873575
  Prefactor  = 0.81789
 **********
 **   18 **HESSE 
 **********

 FCN=   5672.237     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.703        19.849        .13606E-04   -1.4529    
   2  Index         2.1942        .44523        .11184E-02   -.59579    
   3  Normalizat    .87358        .19814        .97743E-05   -.97395    
   4  Prefactor     .81789        .19450        .99645E-05   -.99072    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.48401e-11
Minuit parameter uncertainties:
  1  19.8532
  2  0.44609
  3  0.198305
  4  0.194668
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834446': 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) = 5672.23682468
delta logL = 0.071577562424

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  3.470e+01  1.985e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.194e+00  4.461e-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:  8.179e-01  1.947e-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:  8.736e-01  1.983e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.96
Ra Dec: 223.392 35.088
Photon Index (Free Index): 2.19 +/- 0.45
Photon Flux (Free Index): 6.00e-08 +/- 4.03e-08
Energy Flux (Free Index): 2.73e-05 +/- 1.74e-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/834446/cmap_HighResolution_507600001_507859201_4FGL_J1453.5+3505_daily_bin1035.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.99e-08', energy_flux2='2.73e-05', photon_flux_error='3.43e-08', dlogl='7.16e-02', energy_flux='2.41e-05', photon_flux2='6.00e-08', job_status='DONE', time_completed='2021-09-10 12:16:09.606002', photon_index_error2='0.45', photon_index2='2.19', ts='13.85', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='0.86', time_epoch_completed='1631301369.61', return_code='0', job_id='834446', GAL2='0.82', EG2='0.87', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='4.03e-08', ts2='13.96', photon_index='2.36' WHERE bin_id='1035' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:16:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 834446: <4FGL_J1453.5+3505_daily_bin1035> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1035 223.392 35.0884 507600001 507859201 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 :                                   686.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            798 sec.

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

