/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 32 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 = 7419
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1453.5+3505_daily_bin88
RA = 223.392, Dec = 35.0884
tmin = 262137601, tmax = 262396801
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='826729', job_status='RUN', time_executed='2021-09-10 11:40:02.375429', time_epoch_executed='1631299202.38' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='88'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/826729

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/826729/ft1_4FGL_J1453.5+3505_daily_bin88.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/826729/ft2_4FGL_J1453.5+3505_daily_bin88.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/826729/ft1_4FGL_J1453.5+3505_daily_bin88.fits outfile=/scratch/kocevski/826729/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin88.fits ra=223.392 dec=35.0884 rad=12.0 tmin=262137601.0 tmax=262396801.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.10
user 1.25
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/826729/ft1_filtered_4FGL_J1453.5+3505_daily_bin88.fits" evtable="EVENTS" scfile=/scratch/kocevski/826729/ft2_4FGL_J1453.5+3505_daily_bin88.fits sctable="SC_DATA" outfile=/scratch/kocevski/826729/ltcube_262137601_262396801_4FGL_J1453.5+3505_daily_bin88.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/826729/ft2_4FGL_J1453.5+3505_daily_bin88.fits
.....................!
real 17.58
user 12.16
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/826729/ft1_filtered_4FGL_J1453.5+3505_daily_bin88.fits evtable="EVENTS" scfile=/scratch/kocevski/826729/ft2_4FGL_J1453.5+3505_daily_bin88.fits sctable="SC_DATA" expcube=/scratch/kocevski/826729/ltcube_262137601_262396801_4FGL_J1453.5+3505_daily_bin88.fits outfile=/scratch/kocevski/826729/expmap_262137601_262396801_4FGL_J1453.5+3505_daily_bin88.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/826729/ltcube_262137601_262396801_4FGL_J1453.5+3505_daily_bin88.fits
.....................!
real 202.52
user 185.08
sys 5.16

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/826729/ft1_filtered_4FGL_J1453.5+3505_daily_bin88.fits scfile=/scratch/kocevski/826729/ft2_4FGL_J1453.5+3505_daily_bin88.fits outfile=/scratch/kocevski/826729/cmap_262137601_262396801_4FGL_J1453.5+3505_daily_bin88.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.60
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/826729/ft1_filtered_4FGL_J1453.5+3505_daily_bin88.fits scfile=/scratch/kocevski/826729/ft2_4FGL_J1453.5+3505_daily_bin88.fits outfile=/scratch/kocevski/826729/cmap_HighResolution_262137601_262396801_4FGL_J1453.5+3505_daily_bin88.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.75
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.373       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.142       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10355E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.5915       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.949       1.0000         .10000E-03   10000.    
    13 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.2853       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10547E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.0697       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    88.697       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    19.528       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .78977       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    9.8496       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .95622       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .92255       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=   5655.843     FROM MIGRAD    STATUS=CONVERGED    728 CALLS     3855 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.385        22.008        .31239E-05   -.49346E-04
   2  Prefactor     .10000E-03    16.722        .69615E-05** at limit **
   3  norm          .10000E-03    1.1994       -.54507E-07** at limit **
   4  Prefactor     10.148        10.812       -.22312E-05   -.20736E-03
   5  Prefactor     .10000E-03    9.3005        .23816E-05** at limit **
   6  Prefactor     .10000E-03    1.4830       -.10478E-06** at limit **
   7  norm          .10000E-03    5.8748        .31982E-05** at limit **
   8  Prefactor     .10000E-03    11.073        .19312E-05** at limit **
   9  norm          .10000E-03    2.3811       -.14867E-07** at limit **
  10  Prefactor     .10000E-03    15.581       -.32705E-05** at limit **
  11  norm          4.5916        3.7750        .15864E-06   -.52673E-04
  12  Prefactor     26.959        25.976        .65952E-05   -.52505E-04
  13  norm          .10000E-03    6.2175       -.30231E-05** at limit **
  14  Prefactor     9.2660        15.268        .56692E-05   -.48586E-03
  15  Prefactor     .10000E-03    5.4010       -.25495E-05** at limit **
  16  norm          .10002E-03    .80786        .27117E-05** at limit **
  17  norm          3.0707        3.3390       -.12701E-05    .22282E-03
  18  Prefactor     .10000E-03    8.4404       -.33510E-05** at limit **
  19  Prefactor     88.584        78.088       -.10795E-03   -.27768E-03
  20  Prefactor     .10000E-03    2.0730        .69938E-08** at limit **
  21  Prefactor     .10000E-03    6.1362       -.36408E-06** at limit **
  22  Prefactor     .10000E-03    13.338       -.76845E-05** at limit **
  23  norm          19.528        2.6072        .22138E-06   -.10879E-02
  24  Prefactor     .10000E-03    5.5962        .27854E-05** at limit **
  25  Prefactor     .78228        23.626       -.41069E-05    .78109E-04
  26  Prefactor     .10000E-03    64.907        .73595E-08** at limit **
  27  norm          9.8607        19.070        .89030E-05   -.70305E-04
  28  Prefactor     .10000E-03    9.9992        .43430E-05** at limit **
  29  Normalizat    .95562        .18635        .18003E-05   -.80921E-03
  30  Prefactor     .92293        .17994        .23127E-05   -.58705E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 21.3848
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.1482
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.59159
  Prefactor  = 26.9591
  norm       = 0.0001
  Prefactor  = 9.26595
  Prefactor  = 0.0001
  norm       = 0.000100018
  norm       = 3.0707
  Prefactor  = 0.0001
  Prefactor  = 88.5841
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 19.5284
  Prefactor  = 0.0001
  Prefactor  = 0.782277
  Prefactor  = 0.0001
  norm       = 9.8607
  Prefactor  = 0.0001
  Normalizat = 0.955624
  Prefactor  = 0.922932
 **********
 **   18 **HESSE 
 **********

 FCN=   5655.843     FROM HESSE     STATUS=OK           576 CALLS     4431 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.385        22.047        .86638E-04   -1.4783    
   2  Prefactor     .10000E-03    16.780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.2030        .80419E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.148        10.825        .12582E-03   -1.5071    
   5  Prefactor     .10000E-03    9.3196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.5102        .89402E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.8789        .17801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.3872        .11331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.5916        3.7773        .12841E-03   -1.5279    
  12  Prefactor     26.959        26.000        .77171E-04   -1.4669    
  13  norm          .10000E-03    6.2754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.2660        15.170        .13152E-03   -1.5099    
  15  Prefactor     .10000E-03    5.4313        .17044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10002E-03    15.963        .12707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.0707        3.3282        .13855E-03   -1.5357    
  18  Prefactor     .10000E-03    8.5237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     88.584        78.188        .21331E-03   -1.3823    
  20  Prefactor     .10000E-03    2.0760        .10574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.1408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          19.528        2.6056        .41855E-04   -1.4824    
  24  Prefactor     .10000E-03    5.6089        .17360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .78228        142.72        .70609E-02   -1.5531    
  26  Prefactor     .10000E-03    65.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          9.8607        18.992        .12768E-03   -1.5080    
  28  Prefactor     .10000E-03    9.9997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .95562        .21408        .25274E-03   -.94532    
  30  Prefactor     .92293        .20773        .25839E-03   -.95344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65759e-09
Minuit parameter uncertainties:
  1  22.0551
  2  5.33302e-05
  3  3.30111e-06
  4  10.8273
  5  1.07105e-05
  6  1.17877e-05
  7  4.76795e-07
  8  1.64156e-05
  9  1.01974e-05
  10  1.04195e-05
  11  3.77748
  12  26.0108
  13  2.63772e-05
  14  15.1759
  15  1.63743e-05
  16  0.00106278
  17  3.32843
  18  0.000115724
  19  78.2793
  20  3.93275e-06
  21  3.07936e-05
  22  0.000173485
  23  2.60561
  24  6.47089e-06
  25  21.1827
  26  0.000131713
  27  19.0033
  28  3.34305e-06
  29  0.214269
  30  0.207914
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  9.266e+00  1.518e+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:  9.229e-01  2.079e-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:  9.556e-01  2.143e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/826729/likelihoodResults_262137601_262396801_4FGL_J1453.5+3505_daily_bin88.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) = 5655.06814705
delta logL = 0.774489900105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5655.06657204
delta logL = 0.776064917412

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .98065       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1107       1.0000          .0000       10.000    
     3 'Normalizat'    .88949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96719       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=   5655.067     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      300 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98523        11.625        .12765E-01    .20640E-02
   2  Index         4.1089        2.4132        .12362        .28019E-03
   3  Normalizat    .88924        .42609E-01    .44767E-01    .80672E-04
   4  Prefactor     .96748        .43005E-01    .45856E-01   -.22299E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.985231
  Index      = 4.10888
  Normalizat = 0.889243
  Prefactor  = 0.967483
 **********
 **   18 **HESSE 
 **********

 FCN=   5655.067     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      333 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98523        30.287        .58304E-03   -1.5509    
   2  Index         4.1089        6.9298        .43810E-02   -.17918    
   3  Normalizat    .88924        .16615        .26069E-03   -.96839    
   4  Prefactor     .96748        .16621        .25304E-03   -.93821    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.75789e-10
Minuit parameter uncertainties:
  1  10.9307
  2  5.28685
  3  0.166247
  4  0.166298
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/826729': 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) = 5655.06657003
delta logL = 0.77606692077

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  9.852e-01  1.093e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  4.109e+00  5.287e+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:  9.675e-01  1.663e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  8.892e-01  1.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.15
Ra Dec: 223.392 35.088
Photon Index (Free Index): 4.11 +/- 5.29
Photon Flux (Free Index): 6.88e-08 +/- 5.31e-08
Energy Flux (Free Index): 1.01e-05 +/- 1.07e-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/826729/cmap_HighResolution_262137601_262396801_4FGL_J1453.5+3505_daily_bin88.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.89e-03', comment='SUCCESS', energy_flux2='1.01e-05', dlogl='7.76e-01', photon_flux2='6.88e-08', job_status='DONE', time_completed='2021-09-10 11:53:46.993479', photon_index_error2='5.29', photon_index2='4.11', ts='0.48', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='1.07e-05', EG='0.96', time_epoch_completed='1631300026.99', return_code='0', job_id='826729', GAL2='0.97', EG2='0.89', return_code2='102', photon_flux_error2='5.31e-08', ts2='2.15', photon_index='2.36' WHERE bin_id='88' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:53:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 826729: <4FGL_J1453.5+3505_daily_bin88> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin88> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 11:38:25 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:38: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 11:38:26 2021
Terminated at Fri Sep 10 11:53:47 2021
Results reported at Fri Sep 10 11:53:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin88 223.392 35.0884 262137601 262396801 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 :                                   790.30 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             337.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            922 sec.

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

