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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1021
RA = 223.392, Dec = 35.0884
tmin = 503971201, tmax = 504230401
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='834426', job_status='RUN', time_executed='2021-09-10 12:05:00.544266', time_epoch_executed='1631300700.54' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1021'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834426

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834426/ft1_4FGL_J1453.5+3505_daily_bin1021.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834426/ft2_4FGL_J1453.5+3505_daily_bin1021.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834426/ft1_4FGL_J1453.5+3505_daily_bin1021.fits outfile=/scratch/kocevski/834426/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1021.fits ra=223.392 dec=35.0884 rad=12.0 tmin=503971201.0 tmax=504230401.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 8.80
user 3.84
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834426/ft1_filtered_4FGL_J1453.5+3505_daily_bin1021.fits" evtable="EVENTS" scfile=/scratch/kocevski/834426/ft2_4FGL_J1453.5+3505_daily_bin1021.fits sctable="SC_DATA" outfile=/scratch/kocevski/834426/ltcube_503971201_504230401_4FGL_J1453.5+3505_daily_bin1021.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/834426/ft2_4FGL_J1453.5+3505_daily_bin1021.fits
.....................!
real 13.80
user 11.43
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834426/ft1_filtered_4FGL_J1453.5+3505_daily_bin1021.fits evtable="EVENTS" scfile=/scratch/kocevski/834426/ft2_4FGL_J1453.5+3505_daily_bin1021.fits sctable="SC_DATA" expcube=/scratch/kocevski/834426/ltcube_503971201_504230401_4FGL_J1453.5+3505_daily_bin1021.fits outfile=/scratch/kocevski/834426/expmap_503971201_504230401_4FGL_J1453.5+3505_daily_bin1021.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/834426/ltcube_503971201_504230401_4FGL_J1453.5+3505_daily_bin1021.fits
.....................!
real 202.32
user 187.46
sys 4.33

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/834426/ft1_filtered_4FGL_J1453.5+3505_daily_bin1021.fits scfile=/scratch/kocevski/834426/ft2_4FGL_J1453.5+3505_daily_bin1021.fits outfile=/scratch/kocevski/834426/cmap_503971201_504230401_4FGL_J1453.5+3505_daily_bin1021.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 3.95
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834426/ft1_filtered_4FGL_J1453.5+3505_daily_bin1021.fits scfile=/scratch/kocevski/834426/ft2_4FGL_J1453.5+3505_daily_bin1021.fits outfile=/scratch/kocevski/834426/cmap_HighResolution_503971201_504230401_4FGL_J1453.5+3505_daily_bin1021.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 2.40
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.2614       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.3846       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2892       1.0000         .10000E-03   10000.    
     7 'norm      '    24.960       1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.630       1.0000         .10000E-03   10000.    
     9 'norm      '    .22636E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.9375       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.3827       1.0000         .10000E-03   10000.    
    17 'norm      '    3.3831       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.8578       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    21.723       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .26414E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    1.4875       1.0000         .10000E-03   10000.    
    24 'Prefactor '    12.171       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10320E-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.3197       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .78459       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=   5730.705     FROM MIGRAD    STATUS=CONVERGED    772 CALLS     3945 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.0092        .90712E-02** at limit **
   2  Prefactor     7.2612        10.151        .37212E-02    .21902E-04
   3  norm          .10000E-03    2.8531        .90712E-02** at limit **
   4  Prefactor     .10000E-03    13.137        .90712E-02** at limit **
   5  Prefactor     8.3828        20.190        .34611E-02    .62060E-04
   6  Prefactor     2.2883        3.3854        .67827E-02    .32516E-03
   7  norm          24.967        22.767        .20045E-02    .27306E-03
   8  Prefactor     25.624        26.772        .19782E-02    .12183E-03
   9  norm          .10000E-03    4.3387        .54677E-01** at limit **
  10  Prefactor     .10001E-03    16.866        .90712E-02** at limit **
  11  norm          6.9372        5.3938        .38079E-02    .65006E-03
  12  Prefactor     .10000E-03    149.60        .90712E-02** at limit **
  13  norm          .10000E-03    10.796        .90712E-02** at limit **
  14  Prefactor     .10000E-03    11.413        .90712E-02** at limit **
  15  Prefactor     .10000E-03    6.0849        .90712E-02** at limit **
  16  norm          2.3824        2.1653        .66342E-02    .35931E-03
  17  norm          3.3828        3.3630        .54995E-02    .13607E-03
  18  Prefactor     8.8548        8.3156        .33669E-02   -.20638E-04
  19  Prefactor     .10000E-03    27.831        .90712E-02** at limit **
  20  Prefactor     .10000E-03    4.3311        .90712E-02** at limit **
  21  Prefactor     21.700        32.344        .21485E-02    .10766E-02
  22  Prefactor     .10002E-03    10.914        .99812E-01** at limit **
  23  norm          1.4812        2.3925        .87907E-02    .88566E-03
  24  Prefactor     12.201        16.195        .28706E-02   -.11032E-02
  25  Prefactor     .10002E-03    15.844        .90712E-02** at limit **
  26  Prefactor     .10000E-03    7.1001        .90712E-02** at limit **
  27  norm          .10000E-03    5.0389        .90712E-02** at limit **
  28  Prefactor     .10000E-03    16.772        .90712E-02** at limit **
  29  Normalizat    1.3200        .19803        .53341E-01   -.88560E-05
  30  Prefactor     .78435        .18066        .64001E-01    .31478E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 7.26119
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.38284
  Prefactor  = 2.28828
  norm       = 24.9671
  Prefactor  = 25.6242
  norm       = 0.000100001
  Prefactor  = 0.000100005
  norm       = 6.93721
  Prefactor  = 0.000100003
  norm       = 0.000100003
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 2.38235
  norm       = 3.38283
  Prefactor  = 8.85481
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.6996
  Prefactor  = 0.000100023
  norm       = 1.4812
  Prefactor  = 12.2012
  Prefactor  = 0.000100024
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Normalizat = 1.32001
  Prefactor  = 0.784345
 **********
 **   18 **HESSE 
 **********

 FCN=   5730.705     FROM HESSE     STATUS=OK           580 CALLS     4525 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.0152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.2612        10.144        .14885E-03   -1.5169    
   3  norm          .10000E-03    2.9359        .24951E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.3828        20.166        .13845E-03   -1.5129    
   6  Prefactor     2.2883        3.3766        .16201E-03   -1.5405    
   7  norm          24.967        22.667        .80180E-04   -1.4708    
   8  Prefactor     25.624        26.868        .79127E-04   -1.4695    
   9  norm          .10000E-03    12.940        .30430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    16.873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.9372        5.3967        .14863E-03   -1.5181    
  12  Prefactor     .10000E-03    151.48        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    11.137        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.1312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.3824        2.1531        .99403E-04   -1.5399    
  17  norm          3.3828        3.3513        .13252E-03   -1.5340    
  18  Prefactor     8.8548        8.2179        .13467E-03   -1.5113    
  19  Prefactor     .10000E-03    27.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.3484        .15384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     21.700        30.651        .85938E-04   -1.4776    
  22  Prefactor     .10002E-03    70.213        .44146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.4812        2.2480        .95343E-04   -1.5465    
  24  Prefactor     12.201        15.380        .11482E-03   -1.5009    
  25  Prefactor     .10002E-03    15.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    7.1035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    5.0427        .16596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    16.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.3200        .23680        .23585E-03   -.82971    
  30  Prefactor     .78435        .21451        .28311E-03   -1.0031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10385e-08
Minuit parameter uncertainties:
  1  2.04838e-05
  2  10.1469
  3  1.02862e-06
  4  6.09446e-05
  5  20.1824
  6  3.3769
  7  22.6751
  8  26.881
  9  0.000207327
  10  0.000588389
  11  5.39705
  12  0.00142101
  13  0.000377892
  14  0.000341278
  15  2.8686e-06
  16  2.1532
  17  3.35144
  18  8.21896
  19  4.54264e-05
  20  5.05582e-06
  21  30.6731
  22  0.00256814
  23  2.2481
  24  15.3848
  25  0.00123678
  26  9.06435e-06
  27  3.15543e-06
  28  0.000379924
  29  0.236992
  30  0.214737
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  3.413e-04  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:  7.843e-01  2.147e-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.320e+00  2.370e-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: 7.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/834426/likelihoodResults_503971201_504230401_4FGL_J1453.5+3505_daily_bin1021.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) = 5730.70534039
delta logL = -0.000414838285906

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5730.70492689
delta logL = -1.33821595227e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11805E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3499       1.0000          .0000       10.000    
     3 'Normalizat'    1.3198       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78457       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=   5730.705     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      249 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10061E-03    142.92        .18142E-02** at limit **
   2  Index         2.3065        6.9314        .50000        .69599E-05
   3  Normalizat    1.3200        .16979E-01    .23585E-03    .94962E-05
   4  Prefactor     .78434        .16234E-01    .28311E-03    .75092E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010061
  Index      = 2.30648
  Normalizat = 1.32001
  Prefactor  = 0.784345
 **********
 **   18 **HESSE 
 **********

 FCN=   5730.705     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10061E-03    615.90        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3065        8.6839        .50000       -.56890    
   3  Normalizat    1.3200        .37323E-01    .94338E-05   -.82971    
   4  Prefactor     .78434        .35683E-01    .11324E-04   -1.0031    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.97735e-09
Minuit parameter uncertainties:
  1  0.039178
  2  1021.7
  3  0.0373241
  4  0.0356843
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834426': 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) = 5730.70492546
delta logL = 8.41946530272e-08

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.006e-04  3.918e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.306e+00  1.022e+03  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:  7.843e-01  3.568e-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.320e+00  3.732e-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/834426/cmap_HighResolution_503971201_504230401_4FGL_J1453.5+3505_daily_bin1021.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.78e-03', job_status='DONE', photon_flux_upper_limit='7.50e-08', time_completed='2021-09-10 12:19:11.956438', job_id='834426', GAL2='0.78', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1631301551.96', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='8.42e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1021' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:19:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 834426: <4FGL_J1453.5+3505_daily_bin1021> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1021 223.392 35.0884 503971201 504230401 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 :                                   776.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   980 sec.
    Turnaround time :                            982 sec.

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

