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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1446
RA = 223.392, Dec = 35.0884
tmin = 614131201, tmax = 614390401
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='836694', job_status='RUN', time_executed='2021-09-10 12:08:08.047098', time_epoch_executed='1631300888.05' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1446'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/836694

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

Retrieving the FT1 file...

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

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

Retrieving 43 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/836694/ft1_4FGL_J1453.5+3505_daily_bin1446.fits


Retrieving the FT1 file...

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

Retrieving 43 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/836694/ft2_4FGL_J1453.5+3505_daily_bin1446.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/836694/ft1_4FGL_J1453.5+3505_daily_bin1446.fits outfile=/scratch/kocevski/836694/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1446.fits ra=223.392 dec=35.0884 rad=12.0 tmin=614131201.0 tmax=614390401.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.82
user 4.40
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/836694/ft1_filtered_4FGL_J1453.5+3505_daily_bin1446.fits" evtable="EVENTS" scfile=/scratch/kocevski/836694/ft2_4FGL_J1453.5+3505_daily_bin1446.fits sctable="SC_DATA" outfile=/scratch/kocevski/836694/ltcube_614131201_614390401_4FGL_J1453.5+3505_daily_bin1446.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/836694/ft2_4FGL_J1453.5+3505_daily_bin1446.fits
.....................!
real 11.21
user 10.57
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/836694/ft1_filtered_4FGL_J1453.5+3505_daily_bin1446.fits evtable="EVENTS" scfile=/scratch/kocevski/836694/ft2_4FGL_J1453.5+3505_daily_bin1446.fits sctable="SC_DATA" expcube=/scratch/kocevski/836694/ltcube_614131201_614390401_4FGL_J1453.5+3505_daily_bin1446.fits outfile=/scratch/kocevski/836694/expmap_614131201_614390401_4FGL_J1453.5+3505_daily_bin1446.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/836694/ltcube_614131201_614390401_4FGL_J1453.5+3505_daily_bin1446.fits
.....................!
real 191.56
user 185.82
sys 5.12

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/836694/ft1_filtered_4FGL_J1453.5+3505_daily_bin1446.fits scfile=/scratch/kocevski/836694/ft2_4FGL_J1453.5+3505_daily_bin1446.fits outfile=/scratch/kocevski/836694/cmap_614131201_614390401_4FGL_J1453.5+3505_daily_bin1446.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.38
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    38.384       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.3785       1.0000         .10000E-03   10000.    
     9 'norm      '    1.9767       1.0000         .10000E-03   10000.    
    10 'Prefactor '    127.09       1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.600       1.0000         .10000E-03   10000.    
    13 'norm      '    5.2302       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.602       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.8510       1.0000         .10000E-03   10000.    
    16 'norm      '    5.3511       1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    39.821       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.5887       1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.7279       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    41.897       1.0000         .10000E-03   10000.    
    27 'norm      '    .30679E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10317E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1101       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .80415       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=   5403.665     FROM MIGRAD    STATUS=CONVERGED    739 CALLS     3881 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.4333        .51028E-06** at limit **
   2  Prefactor     .10000E-03    25.026        .10052E-05** at limit **
   3  norm          .10000E-03    1.7841        .11362E-06** at limit **
   4  Prefactor     .10000E-03    4.9165       -.17762E-06** at limit **
   5  Prefactor     .10000E-03    6.0666        .10212E-06** at limit **
   6  Prefactor     38.388        8.7372       -.17841E-06   -.63652E-04
   7  norm          .10000E-03    6.6872       -.39804E-07** at limit **
   8  Prefactor     4.3728        36.763        .19335E-05   -.27472E-05
   9  norm          1.9811        6.7830        .71664E-05   -.47486E-04
  10  Prefactor     127.08        77.490       -.17883E-05   -.78198E-05
  11  norm          .10000E-03    2.4755        .58109E-07** at limit **
  12  Prefactor     20.532        56.138        .12741E-04   -.51131E-06
  13  norm          5.2288        9.1074        .38115E-07   -.73695E-05
  14  Prefactor     10.606        16.988       -.98092E-06   -.24933E-04
  15  Prefactor     8.8517        7.3324       -.10193E-06   -.28833E-04
  16  norm          5.3518        2.2625       -.30354E-06   -.95223E-04
  17  norm          .10000E-03    1.0533        .57734E-07** at limit **
  18  Prefactor     .10000E-03    2.5772        .79460E-07** at limit **
  19  Prefactor     39.711        86.832        .17218E-04    .37850E-05
  20  Prefactor     .10000E-03    9.8394        .74885E-07** at limit **
  21  Prefactor     .10000E-03    10.445       -.16480E-06** at limit **
  22  Prefactor     .10000E-03    4.9675        .44784E-06** at limit **
  23  norm          2.5889        1.6300       -.45505E-07   -.16066E-03
  24  Prefactor     5.7289        11.373        .24203E-06   -.15210E-04
  25  Prefactor     .10000E-03    12.106        .10769E-06** at limit **
  26  Prefactor     41.884        28.502        .76010E-06   -.11888E-05
  27  norm          .10000E-03    26.620       -.90437E-06** at limit **
  28  Prefactor     .10000E-03    36.788       -.80748E-06** at limit **
  29  Normalizat    1.1097        .20981        .28722E-06   -.79908E-05
  30  Prefactor     .80455        .18841       -.29668E-05   -.48308E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.388
  norm       = 0.0001
  Prefactor  = 4.37281
  norm       = 1.98111
  Prefactor  = 127.081
  norm       = 0.0001
  Prefactor  = 20.5317
  norm       = 5.22879
  Prefactor  = 10.6061
  Prefactor  = 8.85167
  norm       = 5.35184
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.7107
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.58887
  Prefactor  = 5.72887
  Prefactor  = 0.0001
  Prefactor  = 41.8841
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.10971
  Prefactor  = 0.804554
 **********
 **   18 **HESSE 
 **********

 FCN=   5403.665     FROM HESSE     STATUS=OK           584 CALLS     4465 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.4417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    25.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.7925        .95871E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.9199        .15918E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.0735        .17682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     38.388        8.7774        .64693E-04   -1.4468    
   7  norm          .10000E-03    6.7014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.3728        36.725        .19248E-03   -1.5290    
   9  norm          1.9811        6.8441        .14742E-02   -1.5426    
  10  Prefactor     127.08        77.520        .35710E-04   -1.3449    
  11  norm          .10000E-03    2.5015        .11294E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.532        56.350        .88248E-04   -1.4801    
  13  norm          5.2288        9.0964        .17576E-03   -1.5251    
  14  Prefactor     10.606        16.967        .12305E-03   -1.5057    
  15  Prefactor     8.8517        7.3339        .67364E-03   -1.5113    
  16  norm          5.3518        2.2643        .65952E-04   -1.5245    
  17  norm          .10000E-03    1.0569        .73673E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.5815        .11524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     39.711        86.887        .31760E-03   -1.4447    
  20  Prefactor     .10000E-03    9.9586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.9812        .16002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.5889        1.6273        .62092E-04   -1.5386    
  24  Prefactor     5.7289        11.367        .16783E-03   -1.5229    
  25  Prefactor     .10000E-03    12.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     41.884        28.425        .61931E-04   -1.4413    
  27  norm          .10000E-03    26.756        .21380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    36.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.1097        .25474        .25577E-03   -.89441    
  30  Prefactor     .80455        .22616        .28034E-03   -.99561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61624e-11
Minuit parameter uncertainties:
  1  8.32748e-06
  2  6.5394e-05
  3  2.91758e-06
  4  2.42043e-06
  5  3.23e-06
  6  8.77766
  7  3.90287e-06
  8  25.3657
  9  6.84681
  10  77.582
  11  4.69505e-06
  12  56.4964
  13  9.09882
  14  16.9748
  15  7.33461
  16  2.26434
  17  2.02256e-06
  18  3.96809e-06
  19  87.1653
  20  3.79388e-05
  21  1.00791e-05
  22  9.17386e-06
  23  1.6273
  24  11.3708
  25  3.46872e-06
  26  28.434
  27  0.000213632
  28  4.32675e-05
  29  0.255021
  30  0.226423
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.061e+01  1.697e+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.046e-01  2.264e-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.110e+00  2.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.52
Ra Dec: 223.392 35.088
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/836694/likelihoodResults_614131201_614390401_4FGL_J1453.5+3505_daily_bin1446.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) = 5403.65036099
delta logL = 0.0142368819006

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5403.6409803
delta logL = 0.0236175754435

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8382       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7092       1.0000          .0000       10.000    
     3 'Normalizat'    1.0981       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81252       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5403.641     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      226 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8178        290.11        .35806E-02    .80311E-04
   2  Index         2.7104        3.6681        .22863        .42421E-04
   3  Normalizat    1.0980        .51179E-01    .58091E-01   -.97669E-04
   4  Prefactor     .81258        .44819E-01    .63103E-01   -.49421E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.8178
  Index      = 2.71044
  Normalizat = 1.098
  Prefactor  = 0.812576
 **********
 **   18 **HESSE 
 **********

 FCN=   5403.641     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8178        28.192        .14322E-03   -1.5149    
   2  Index         2.7104        2.3607        .81244E-02   -.47565    
   3  Normalizat    1.0980        .24931        .25689E-03   -.89816    
   4  Prefactor     .81258        .23176        .27911E-03   -.99266    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08484e-08
Minuit parameter uncertainties:
  1  28.2405
  2  2.48872
  3  0.24958
  4  0.232042
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/836694': 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) = 5403.64097977
delta logL = 0.0236181053815

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  7.818e+00  2.824e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.710e+00  2.489e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  8.126e-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.098e+00  2.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.52
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/836694/cmap_HighResolution_614131201_614390401_4FGL_J1453.5+3505_daily_bin1446.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.84e-03', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2021-09-10 12:20:46.810582', job_id='836694', GAL2='0.81', fit_tolerance='1e-08', EG2='1.10', EG='1.11', time_epoch_completed='1631301646.81', return_code2='0', ts='0.52', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='2.36e-02', ts2='0.57', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1446' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:20:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 836694: <4FGL_J1453.5+3505_daily_bin1446> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1446> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Sep 10 12:07:24 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:07:26 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:26 2021
Terminated at Fri Sep 10 12:20:47 2021
Results reported at Fri Sep 10 12:20:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1446 223.392 35.0884 614131201 614390401 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 :                                   755.29 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             326.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            803 sec.

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

