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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin623
RA = 223.392, Dec = 35.0884
tmin = 400809601, tmax = 401068801
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='829867', job_status='RUN', time_executed='2021-09-10 11:47:21.682369', time_epoch_executed='1631299641.68' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='623'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/829867

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/829867/ft1_4FGL_J1453.5+3505_daily_bin623.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/829867/ft2_4FGL_J1453.5+3505_daily_bin623.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/829867/ft1_4FGL_J1453.5+3505_daily_bin623.fits outfile=/scratch/kocevski/829867/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin623.fits ra=223.392 dec=35.0884 rad=12.0 tmin=400809601.0 tmax=401068801.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 3.43
user 3.17
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/829867/ft1_filtered_4FGL_J1453.5+3505_daily_bin623.fits evtable="EVENTS" scfile=/scratch/kocevski/829867/ft2_4FGL_J1453.5+3505_daily_bin623.fits sctable="SC_DATA" expcube=/scratch/kocevski/829867/ltcube_400809601_401068801_4FGL_J1453.5+3505_daily_bin623.fits outfile=/scratch/kocevski/829867/expmap_400809601_401068801_4FGL_J1453.5+3505_daily_bin623.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/829867/ltcube_400809601_401068801_4FGL_J1453.5+3505_daily_bin623.fits
.....................!
real 190.89
user 185.86
sys 4.43

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/829867/ft1_filtered_4FGL_J1453.5+3505_daily_bin623.fits scfile=/scratch/kocevski/829867/ft2_4FGL_J1453.5+3505_daily_bin623.fits outfile=/scratch/kocevski/829867/cmap_400809601_401068801_4FGL_J1453.5+3505_daily_bin623.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.62
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/829867/ft1_filtered_4FGL_J1453.5+3505_daily_bin623.fits scfile=/scratch/kocevski/829867/ft2_4FGL_J1453.5+3505_daily_bin623.fits outfile=/scratch/kocevski/829867/cmap_HighResolution_400809601_401068801_4FGL_J1453.5+3505_daily_bin623.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=223.392 yref=35.0884 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.3356       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.007       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9105       1.0000         .10000E-03   10000.    
     7 'norm      '    13.987       1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.280       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.4992       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.496       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.4674       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.3916       1.0000         .10000E-03   10000.    
    16 'norm      '    .10741E-03   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.209       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.2636       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.6529       1.0000         .10000E-03   10000.    
    23 'norm      '    6.3619       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    49.218       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .76169       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0711       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=   5773.178     FROM MIGRAD    STATUS=CONVERGED    737 CALLS     3854 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.7248        .17372E-06** at limit **
   2  Prefactor     .10000E-03    5.6335       -.32026E-06** at limit **
   3  norm          1.3353        2.3351        .24058E-06    .10468E-04
   4  Prefactor     .10000E-03    5.8049       -.18037E-06** at limit **
   5  Prefactor     20.010        13.850        .29155E-06   -.68632E-05
   6  Prefactor     1.9106        2.0759        .83081E-07   -.10833E-04
   7  norm          13.986        11.478        .44081E-07   -.90356E-05
   8  Prefactor     18.277        23.688        .28963E-06   -.57284E-04
   9  norm          .10000E-03    1.8811       -.13946E-07** at limit **
  10  Prefactor     .10000E-03    13.574        .30494E-06** at limit **
  11  norm          5.4987        4.5812        .17788E-05   -.24586E-03
  12  Prefactor     .10000E-03    7.2728        .71846E-06** at limit **
  13  norm          10.496        7.5119       -.34092E-07   -.38534E-04
  14  Prefactor     9.4713        11.871        .10215E-05   -.18574E-03
  15  Prefactor     9.4041        7.3011       -.85484E-06   -.64319E-03
  16  norm          .10000E-03    .85787        .12064E-05** at limit **
  17  norm          .10000E-03    1.2612       -.45159E-07** at limit **
  18  Prefactor     .10000E-03    3.3361       -.14886E-06** at limit **
  19  Prefactor     25.278        71.357        .10261E-04    .10274E-03
  20  Prefactor     6.2632        6.2569        .24247E-05   -.21330E-03
  21  Prefactor     .10000E-03    32.124       -.18254E-06** at limit **
  22  Prefactor     1.6517        13.185        .22291E-05   -.29327E-04
  23  norm          6.3619        1.5672        .14715E-07   -.45235E-03
  24  Prefactor     .10000E-03    2.7036        .24342E-07** at limit **
  25  Prefactor     .10000E-03    13.408        .16998E-06** at limit **
  26  Prefactor     .10000E-03    13.217        .42056E-06** at limit **
  27  norm          .10000E-03    9.9532       -.46468E-06** at limit **
  28  Prefactor     49.217        54.623        .22937E-06   -.31806E-04
  29  Normalizat    .76182        .17895       -.16976E-05   -.31884E-03
  30  Prefactor     1.0711        .17789       -.10031E-05   -.27362E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.33531
  Prefactor  = 0.0001
  Prefactor  = 20.0099
  Prefactor  = 1.91058
  norm       = 13.9864
  Prefactor  = 18.2775
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.49871
  Prefactor  = 0.0001
  norm       = 10.4957
  Prefactor  = 9.47128
  Prefactor  = 9.40407
  norm       = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.278
  Prefactor  = 6.26324
  Prefactor  = 0.0001
  Prefactor  = 1.6517
  norm       = 6.3619
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 49.2171
  Normalizat = 0.761819
  Prefactor  = 1.07106
 **********
 **   18 **HESSE 
 **********

 FCN=   5773.178     FROM HESSE     STATUS=OK           584 CALLS     4438 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.7277        .16133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.6384        .17617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.3353        2.2890        .14850E-03   -1.5477    
   4  Prefactor     .10000E-03    5.8147        .17865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.010        13.890        .89545E-04   -1.4813    
   6  Prefactor     1.9106        2.0759        .11036E-03   -1.5432    
   7  norm          13.986        11.475        .10710E-03   -1.4960    
   8  Prefactor     18.277        23.783        .93678E-04   -1.4853    
   9  norm          .10000E-03    1.8863        .10176E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.4987        4.6234        .72056E-03   -1.5239    
  12  Prefactor     .10000E-03    7.2954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.496        7.5128        .12367E-03   -1.5060    
  14  Prefactor     9.4713        11.866        .65122E-03   -1.5092    
  15  Prefactor     9.4041        7.2737        .13077E-03   -1.5095    
  16  norm          .10000E-03    1.3481        .12681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.2670        .83249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.3405        .13524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     25.278        73.650        .79784E-04   -1.4702    
  20  Prefactor     6.2632        6.3255        .80196E-03   -1.5207    
  21  Prefactor     .10000E-03    32.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.6517        13.128        .32834E-03   -1.5451    
  23  norm          6.3619        1.5674        .44858E-04   -1.5203    
  24  Prefactor     .10000E-03    2.7080        .12195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    13.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    13.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    10.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     49.217        54.573        .57160E-04   -1.4304    
  29  Normalizat    .76182        .20822        .25641E-03   -1.0150    
  30  Prefactor     1.0711        .20695        .22799E-03   -.90397    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63724e-09
Minuit parameter uncertainties:
  1  1.37585e-05
  2  1.95437e-05
  3  2.28916
  4  8.12378e-06
  5  13.8919
  6  2.07602
  7  11.4773
  8  23.795
  9  2.61019e-06
  10  4.20417e-05
  11  4.62367
  12  6.21876e-05
  13  7.51344
  14  11.869
  15  7.27434
  16  0.000118596
  17  2.93832e-07
  18  8.40171e-06
  19  73.917
  20  6.32619
  21  4.85823e-05
  22  9.31556
  23  1.56745
  24  1.85081e-06
  25  2.65171e-05
  26  4.24407e-06
  27  7.30849e-05
  28  54.6288
  29  0.208442
  30  0.207107
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  9.471e+00  1.187e+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:  1.071e+00  2.071e-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:  7.618e-01  2.084e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.11
Ra Dec: 223.392 35.088
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 2.16e-08 +/- 2.71e-08
Energy Flux (Fixed Index): 7.46e-06 +/- 9.35e-06

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

Saving results to:
/scratch/kocevski/829867/likelihoodResults_400809601_401068801_4FGL_J1453.5+3505_daily_bin623.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) = 5772.93989758
delta logL = 0.238420807455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5772.92849054
delta logL = 0.249827846841

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.374       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6662       1.0000          .0000       10.000    
     3 'Normalizat'    .77797       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0613       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=   5772.928     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      253 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.374        14.607        .11879E-03    .13399E-05
   2  Index         1.6662        .88675        .12232E-01   -.62420E-05
   3  Normalizat    .77799        .19347        .25398E-03   -.15040E-04
   4  Prefactor     1.0613        .20135        .22888E-03   -.21955E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3741
  Index      = 1.6662
  Normalizat = 0.777992
  Prefactor  = 1.06129
 **********
 **   18 **HESSE 
 **********

 FCN=   5772.928     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .57E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.374        14.806        .47515E-05   -1.5033    
   2  Index         1.6662        .89887        .48928E-03   -.72985    
   3  Normalizat    .77799        .19367        .10159E-04   -1.0089    
   4  Prefactor     1.0613        .20156        .91552E-05   -.90713    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66584e-13
Minuit parameter uncertainties:
  1  14.8105
  2  0.907822
  3  0.193842
  4  0.201706
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/829867': 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) = 5772.92849053
delta logL = 0.249827851244

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.137e+01  1.481e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  1.666e+00  9.078e-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:  1.061e+00  2.017e-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:  7.780e-01  1.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.61
Ra Dec: 223.392 35.088
Photon Index (Free Index): 1.67 +/- 0.91
Photon Flux (Free Index): 9.68e-09 +/- 1.77e-08
Energy Flux (Free Index): 1.76e-05 +/- 3.52e-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/829867/cmap_HighResolution_400809601_401068801_4FGL_J1453.5+3505_daily_bin623.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.98e-03', comment='SUCCESS', photon_flux='2.16e-08', energy_flux2='1.76e-05', photon_flux_error='2.71e-08', dlogl='2.50e-01', energy_flux='7.46e-06', photon_flux2='9.68e-09', job_status='DONE', time_completed='2021-09-10 12:00:30.599735', photon_index_error2='0.91', photon_index2='1.67', ts='1.11', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='9.06e-08', energy_flux_error2='3.52e-05', EG='0.76', time_epoch_completed='1631300430.6', return_code='0', job_id='829867', GAL2='1.06', EG2='0.78', return_code2='0', energy_flux_error='9.35e-06', photon_flux_error2='1.77e-08', ts2='1.61', photon_index='2.36' WHERE bin_id='623' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:00:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 829867: <4FGL_J1453.5+3505_daily_bin623> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin623> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 10 11:46:23 2021
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:46:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 11:46:25 2021
Terminated at Fri Sep 10 12:00:31 2021
Results reported at Fri Sep 10 12:00:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin623 223.392 35.0884 400809601 401068801 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 :                                   786.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            848 sec.

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

