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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1574
RA = 223.392, Dec = 35.0884
tmin = 647308801, tmax = 647568001
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='836893', job_status='RUN', time_executed='2021-09-10 12:08:23.936566', time_epoch_executed='1631300903.94' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1574'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/836893

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/836893/ft1_4FGL_J1453.5+3505_daily_bin1574.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/836893/ft2_4FGL_J1453.5+3505_daily_bin1574.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/836893/ft1_4FGL_J1453.5+3505_daily_bin1574.fits outfile=/scratch/kocevski/836893/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1574.fits ra=223.392 dec=35.0884 rad=12.0 tmin=647308801.0 tmax=647568001.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.91
user 3.27
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/836893/ft1_filtered_4FGL_J1453.5+3505_daily_bin1574.fits evtable="EVENTS" scfile=/scratch/kocevski/836893/ft2_4FGL_J1453.5+3505_daily_bin1574.fits sctable="SC_DATA" expcube=/scratch/kocevski/836893/ltcube_647308801_647568001_4FGL_J1453.5+3505_daily_bin1574.fits outfile=/scratch/kocevski/836893/expmap_647308801_647568001_4FGL_J1453.5+3505_daily_bin1574.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/836893/ltcube_647308801_647568001_4FGL_J1453.5+3505_daily_bin1574.fits
.....................!
real 191.08
user 186.47
sys 3.96

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/836893/ft1_filtered_4FGL_J1453.5+3505_daily_bin1574.fits scfile=/scratch/kocevski/836893/ft2_4FGL_J1453.5+3505_daily_bin1574.fits outfile=/scratch/kocevski/836893/cmap_647308801_647568001_4FGL_J1453.5+3505_daily_bin1574.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.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.172       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.5456       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.742       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.734       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10510E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.362       1.0000         .10000E-03   10000.    
    11 'norm      '    1.8247       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .44208       1.0000         .10000E-03   10000.    
    17 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.6799       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.3027       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0578       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .92192       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=   6090.919     FROM MIGRAD    STATUS=CONVERGED    750 CALLS     3370 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.167        16.325        .56316E-06    .29137E-04
   2  Prefactor     .10000E-03    12.771        .18034E-06** at limit **
   3  norm          1.5464        3.3070        .39786E-06    .54929E-04
   4  Prefactor     .10000E-03    4.8255       -.89212E-06** at limit **
   5  Prefactor     16.750        13.408        .31552E-06    .78984E-04
   6  Prefactor     14.734        4.9375        .93242E-07    .18598E-04
   7  norm          .10000E-03    3.8774       -.25287E-06** at limit **
   8  Prefactor     .10000E-03    12.759        .97546E-07** at limit **
   9  norm          .10000E-03    8.1956        .13365E-06** at limit **
  10  Prefactor     25.364        32.235       -.21639E-06   -.17628E-04
  11  norm          1.8246        2.4376        .70941E-07    .13558E-04
  12  Prefactor     .10000E-03    27.338       -.28977E-05** at limit **
  13  norm          .10000E-03    3.0609        .37542E-07** at limit **
  14  Prefactor     .10000E-03    13.415        .89480E-06** at limit **
  15  Prefactor     .10000E-03    2.7481        .21266E-07** at limit **
  16  norm          .44189        1.0209        .24757E-06    .13905E-03
  17  norm          .10000E-03    3.1244       -.26857E-05** at limit **
  18  Prefactor     3.6599        6.7888        .34159E-05    .15926E-04
  19  Prefactor     .10000E-03    28.517       -.31696E-05** at limit **
  20  Prefactor     6.3024        9.1854        .37475E-06   -.21324E-04
  21  Prefactor     .10000E-03    21.120        .43071E-06** at limit **
  22  Prefactor     .10000E-03    8.9759       -.62310E-06** at limit **
  23  norm          .10000E-03    .43304        .33255E-07** at limit **
  24  Prefactor     .10000E-03    8.1073        .11797E-06** at limit **
  25  Prefactor     .10000E-03    39.532        .48453E-05** at limit **
  26  Prefactor     .10000E-03    10.968       -.13880E-05** at limit **
  27  norm          .10000E-03    4.3985        .97578E-06** at limit **
  28  Prefactor     .10000E-03    17.475        .22767E-05** at limit **
  29  Normalizat    1.0577        .16537       -.90129E-06   -.49468E-04
  30  Prefactor     .92200        .16200       -.43416E-06   -.92762E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.167
  Prefactor  = 0.0001
  norm       = 1.5464
  Prefactor  = 0.0001
  Prefactor  = 16.7498
  Prefactor  = 14.7344
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 25.3636
  norm       = 1.82458
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.441895
  norm       = 0.000100004
  Prefactor  = 3.65986
  Prefactor  = 0.000100001
  Prefactor  = 6.30244
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05774
  Prefactor  = 0.921995
 **********
 **   18 **HESSE 
 **********

 FCN=   6090.919     FROM HESSE     STATUS=OK           582 CALLS     3952 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.167        16.332        .11986E-03   -1.5039    
   2  Prefactor     .10000E-03    12.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.5464        3.2701        .19873E-03   -1.5459    
   4  Prefactor     .10000E-03    4.8400        .16741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.750        13.440        .97886E-04   -1.4889    
   6  Prefactor     14.734        4.9402        .95068E-04   -1.4940    
   7  norm          .10000E-03    3.8786        .15009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    8.4639        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.364        32.240        .79544E-04   -1.4700    
  11  norm          1.8246        2.4238        .13701E-03   -1.5438    
  12  Prefactor     .10000E-03    27.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.0639        .13335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.767        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.7579        .12622E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .44189        .99237        .11435E-03   -1.5575    
  17  norm          .10000E-03    7.6751        .20660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.6599        7.5004        .10527E-02   -1.5325    
  19  Prefactor     .10000E-03    28.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.3024        9.1728        .15989E-03   -1.5206    
  21  Prefactor     .10000E-03    21.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.0805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .78341        .99241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    8.3127        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    39.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    11.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    4.4230        .16010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    17.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.0577        .19075        .22305E-03   -.91120    
  30  Prefactor     .92200        .18782        .24103E-03   -.95377    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.23335e-10
Minuit parameter uncertainties:
  1  16.3386
  2  1.08134e-05
  3  3.27051
  4  3.19157e-05
  5  13.4428
  6  4.94033
  7  8.01945e-06
  8  1.65811e-05
  9  2.9945e-05
  10  32.2622
  11  2.42394
  12  0.000207701
  13  1.52881e-06
  14  5.28936e-05
  15  1.02253e-06
  16  0.99241
  17  0.000356881
  18  7.50228
  19  0.000273745
  20  9.17489
  21  8.37415e-05
  22  8.79169e-07
  23  3.99586e-06
  24  7.68801e-06
  25  0.000485895
  26  6.30019e-05
  27  3.80298e-05
  28  0.000164606
  29  0.190873
  30  0.187956
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  5.289e-05  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.220e-01  1.880e-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.058e+00  1.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/836893/likelihoodResults_647308801_647568001_4FGL_J1453.5+3505_daily_bin1574.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): 102
logL (Free Index) = 6090.9189454
delta logL = -0.00034657091237

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6090.91859882
delta logL = 1.0027179087e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3797       1.0000          .0000       10.000    
     3 'Normalizat'    1.0578       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92199       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=   6090.919     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      245 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10132E-03    57.457        .36285E-02** at limit **
   2  Index         2.4400        6.7028        .50000       -.89970E-05
   3  Normalizat    1.0577        .80332E-02    .22305E-03    .59837E-04
   4  Prefactor     .92200        .82029E-02    .24103E-03    .39998E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010132
  Index      = 2.44005
  Normalizat = 1.05774
  Prefactor  = 0.921996
 **********
 **   18 **HESSE 
 **********

 FCN=   6090.919     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10132E-03    379.66        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4400        7.3705        .50000       -.53750    
   3  Normalizat    1.0577        .21220E-01    .89221E-05   -.91120    
   4  Prefactor     .92200        .21667E-01    .96411E-05   -.95377    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.81707e-08
Minuit parameter uncertainties:
  1  0.0450675
  2  687.773
  3  0.0212202
  4  0.0216672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/836893': 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): 102
logL (Free Index) = 6090.9185987
delta logL = 1.30435182655e-07

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.013e-04  4.507e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.440e+00  6.878e+02  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.220e-01  2.167e-02  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.058e+00  2.122e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/836893/cmap_HighResolution_647308801_647568001_4FGL_J1453.5+3505_daily_bin1574.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-03', job_status='DONE', photon_flux_upper_limit='5.59e-08', time_completed='2021-09-10 12:21:43.709531', job_id='836893', GAL2='0.92', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1631301703.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.30e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1574' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:21:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 836893: <4FGL_J1453.5+3505_daily_bin1574> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1574 223.392 35.0884 647308801 647568001 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 :                                   797.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            842 sec.

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

