/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 197 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2249.4-1300_daily_bin1163
RA = 342.356, Dec = -13.0006
tmin = 540777601, tmax = 541036801
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='489612', job_status='RUN', time_executed='2021-09-28 21:34:32.041600', time_epoch_executed='1632890072.04' WHERE source_name='4FGL J2249.4-1300' and cadence='daily' and bin_id='1163'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/489612

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/489612/ft1_4FGL_J2249.4-1300_daily_bin1163.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/489612/ft2_4FGL_J2249.4-1300_daily_bin1163.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/489612/ft1_4FGL_J2249.4-1300_daily_bin1163.fits outfile=/scratch/kocevski/489612/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin1163.fits ra=342.356 dec=-13.0006 rad=12.0 tmin=540777601.0 tmax=541036801.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.66
user 3.39
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/489612/ft2_4FGL_J2249.4-1300_daily_bin1163.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/489612/ft2_4FGL_J2249.4-1300_daily_bin1163.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/489612/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin1163.fits evtable="EVENTS" outfile="/scratch/kocevski/489612/ft1_filtered_4FGL_J2249.4-1300_daily_bin1163.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/489612/ft1_filtered_4FGL_J2249.4-1300_daily_bin1163.fits" evtable="EVENTS" scfile=/scratch/kocevski/489612/ft2_4FGL_J2249.4-1300_daily_bin1163.fits sctable="SC_DATA" outfile=/scratch/kocevski/489612/ltcube_540777601_541036801_4FGL_J2249.4-1300_daily_bin1163.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/489612/ft2_4FGL_J2249.4-1300_daily_bin1163.fits
.....................!
real 12.38
user 11.97
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/489612/ft1_filtered_4FGL_J2249.4-1300_daily_bin1163.fits evtable="EVENTS" scfile=/scratch/kocevski/489612/ft2_4FGL_J2249.4-1300_daily_bin1163.fits sctable="SC_DATA" expcube=/scratch/kocevski/489612/ltcube_540777601_541036801_4FGL_J2249.4-1300_daily_bin1163.fits outfile=/scratch/kocevski/489612/expmap_540777601_541036801_4FGL_J2249.4-1300_daily_bin1163.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/489612/ltcube_540777601_541036801_4FGL_J2249.4-1300_daily_bin1163.fits
.....................!
real 190.80
user 185.38
sys 4.80

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J2249.4-1300 @ 342.356 -13.0006

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/489612/ft1_filtered_4FGL_J2249.4-1300_daily_bin1163.fits scfile=/scratch/kocevski/489612/ft2_4FGL_J2249.4-1300_daily_bin1163.fits outfile=/scratch/kocevski/489612/cmap_540777601_541036801_4FGL_J2249.4-1300_daily_bin1163.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=342.356 yref=-13.0006 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/489612/ft1_filtered_4FGL_J2249.4-1300_daily_bin1163.fits scfile=/scratch/kocevski/489612/ft2_4FGL_J2249.4-1300_daily_bin1163.fits outfile=/scratch/kocevski/489612/cmap_HighResolution_540777601_541036801_4FGL_J2249.4-1300_daily_bin1163.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=342.356 yref=-13.0006 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/489612/ft1_filtered_4FGL_J2249.4-1300_daily_bin1163.fits evtable="EVENTS" scfile=/scratch/kocevski/489612/ft2_4FGL_J2249.4-1300_daily_bin1163.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/489612/Model_4FGL_J2249.4-1300_daily_bin1163.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/489612/ft1_filtered_4FGL_J2249.4-1300_daily_bin1163.fits.....................!
real 52.71
user 51.26
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/489612/ft1_filtered_4FGL_J2249.4-1300_daily_bin1163.fits', '/scratch/kocevski/489612/ft2_4FGL_J2249.4-1300_daily_bin1163.fits', expMap='/scratch/kocevski/489612/expmap_540777601_541036801_4FGL_J2249.4-1300_daily_bin1163.fits', expCube='/scratch/kocevski/489612/ltcube_540777601_541036801_4FGL_J2249.4-1300_daily_bin1163.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/489612/Model_4FGL_J2249.4-1300_daily_bin1163.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2249.4-1300'

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  5.757e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
265        Index:  2.408e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
266        Scale:  3.479e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/489612/ft1_filtered_4FGL_J2249.4-1300_daily_bin1163.fits
Spacecraft file(s): /scratch/kocevski/489612/ft2_4FGL_J2249.4-1300_daily_bin1163.fits
Exposure map: /scratch/kocevski/489612/expmap_540777601_541036801_4FGL_J2249.4-1300_daily_bin1163.fits
Exposure cube: /scratch/kocevski/489612/ltcube_540777601_541036801_4FGL_J2249.4-1300_daily_bin1163.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/489612/Model_4FGL_J2249.4-1300_daily_bin1163.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) = 5422.91638104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13027E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    676.23       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.494       1.0000         .10000E-03   10000.    
     6 'norm      '    14.521       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.679       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.5060       1.0000         .10000E-03   10000.    
    12 'Prefactor '    88.325       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.9595       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.5220       1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.928       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    9.0764       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10758E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    27.366       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2518       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5422.885     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2947 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.5221        .21311E-06** at limit **
   2  Prefactor     .10000E-03    88.295       -.43733E-06** at limit **
   3  Prefactor     676.24        219.53        .52212E-06    .19197E-04
   4  Prefactor     .10000E-03    5.4146       -.21519E-05** at limit **
   5  Prefactor     14.530        66.321        .55784E-06   -.16911E-04
   6  norm          14.521        8.3083       -.59869E-06    .64890E-04
   7  Prefactor     15.736        254.85        .88431E-05   -.14087E-05
   8  Prefactor     .10000E-03    6.3155        .25816E-06** at limit **
   9  norm          .10000E-03    .33483       -.38183E-06** at limit **
  10  Prefactor     .10000E-03    303.81       -.41382E-04** at limit **
  11  norm          3.5095        2.4315       -.47164E-06    .24208E-04
  12  Prefactor     88.310        61.405        .23549E-05    .15785E-04
  13  Prefactor     3.9602        8.5920       -.15893E-05   -.45338E-04
  14  Prefactor     .10000E-03    6.1327        .48314E-06** at limit **
  15  norm          6.5220        16.662       -.12379E-05   -.13620E-04
  16  Prefactor     22.945        52.722        .50239E-06   -.28971E-05
  17  Prefactor     .10000E-03    13.487        .32734E-06** at limit **
  18  Prefactor     .10000E-03    8.3118       -.17253E-05** at limit **
  19  norm          9.0771        6.6897       -.36059E-07    .56101E-04
  20  Prefactor     .10001E-03    239.13        .80187E-05** at limit **
  21  Prefactor     27.371        27.089       -.61038E-05   -.18557E-03
  22  Normalizat    1.2518        .28309       -.35148E-05    .17564E-03
  23  Prefactor     1.1598        .20767        .22883E-05   -.19581E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 676.242
  Prefactor  = 0.0001
  Prefactor  = 14.5297
  norm       = 14.5208
  Prefactor  = 15.7364
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  norm       = 3.50945
  Prefactor  = 88.3095
  Prefactor  = 3.96018
  Prefactor  = 0.0001
  norm       = 6.52195
  Prefactor  = 22.9447
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.07714
  Prefactor  = 0.00010001
  Prefactor  = 27.371
  Normalizat = 1.25185
  Prefactor  = 1.15982
 **********
 **   18 **HESSE 
 **********

 FCN=   5422.885     FROM HESSE     STATUS=OK           374 CALLS     3321 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.5451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    91.751        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     676.24        219.50        .79650E-04   -1.0447    
   4  Prefactor     .10000E-03    5.5075        .16687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.530        66.046        .10521E-03   -1.4945    
   6  norm          14.521        8.2842        .10511E-03   -1.4946    
   7  Prefactor     15.736        252.91        .10115E-03   -1.4914    
   8  Prefactor     .10000E-03    6.3248        .18075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .33801        .41573E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    75.852        .85033E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.5095        3.4420        .69642E-04   -1.5333    
  12  Prefactor     88.310        62.235        .42752E-04   -1.3826    
  13  Prefactor     3.9602        8.5756        .20271E-03   -1.5310    
  14  Prefactor     .10000E-03    6.1414        .17812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.5220        16.682        .15715E-03   -1.5197    
  16  Prefactor     22.945        52.782        .83653E-04   -1.4750    
  17  Prefactor     .10000E-03    13.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.3326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9.0771        6.6843        .13303E-03   -1.5105    
  20  Prefactor     .10001E-03    241.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     27.371        27.776        .76581E-04   -1.4661    
  22  Normalizat    1.2518        .33324        .32928E-03   -.85015    
  23  Prefactor     1.1598        .24407        .25734E-03   -.87577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21671e-09
Minuit parameter uncertainties:
  1  1.50282e-05
  2  0.000406985
  3  219.784
  4  9.07153e-06
  5  62.0695
  6  8.28488
  7  126.812
  8  9.68268e-06
  9  9.37777e-07
  10  0.00110749
  11  3.44223
  12  62.2814
  13  8.57824
  14  1.25165e-05
  15  16.6937
  16  52.8899
  17  4.26649e-05
  18  1.11272e-05
  19  6.68487
  20  0.00313132
  21  27.7893
  22  0.333807
  23  0.244307
Done.

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

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  1.107e-03  1.000e-04  1.000e+04 ( 1.000e-14)
265        Index:  2.408e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
266        Scale:  3.479e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  1.160e+00  2.443e-01  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  1.252e+00  3.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 342.356 -13.001
Photon Flux Upper Limit: 1.83e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.41e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/489612/likelihoodResults_540777601_541036801_4FGL_J2249.4-1300_daily_bin1163.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) = 5422.88538145
delta logL = -1.55815487233e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5422.88538145
delta logL = -1.55788156917e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96356E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4081       1.0000          .0000       10.000    
     3 'Normalizat'    1.2518       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5422.885     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      251 TOTAL
                     EDM=   .14E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .39614E-01    .90713E-01** at limit **
   2  Index         2.5364        1.9887        .50000       -.82896E-06
   3  Normalizat    1.2518        .35517E-03    .74405E-01    .93165E-05
   4  Prefactor     1.1598        .26966E-03    .58194E-01    .11090E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.53642
  Normalizat = 1.25184
  Prefactor  = 1.15983
 **********
 **   18 **HESSE 
 **********

 FCN=   5422.885     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      294 TOTAL
                     EDM=   .14E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .63578E-01    .71085E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5364        2.0443        .50000       -.51521    
   3  Normalizat    1.2518        .36534E-03    .32928E-03   -.85016    
   4  Prefactor     1.1598        .27759E-03    .25734E-03   -.87577    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.44143e-13
Minuit parameter uncertainties:
  1  2.93816e-05
  2  2.12818
  3  0.00036534
  4  0.000277588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/489612': 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) = 5422.88536579
delta logL = 7.53607309889e-08

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  2.938e-05  1.000e-04  1.000e+04 ( 1.000e-14)
265        Index:  2.536e+00  2.128e+00  0.000e+00  1.000e+01 (-1.000e+00)
266        Scale:  3.479e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  1.160e+00  2.776e-04  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  1.252e+00  3.653e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.356 -13.001

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/489612/cmap_HighResolution_540777601_541036801_4FGL_J2249.4-1300_daily_bin1163.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-02', job_status='DONE', photon_flux_upper_limit='1.83e-07', time_completed='2021-09-28 21:44:35.263840', job_id='489612', GAL2='1.16', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1632890675.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='7.54e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1163' AND source_name='4FGL J2249.4-1300' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 21:44:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 489612: <4FGL_J2249.4-1300_daily_bin1163> in cluster <slac> Done

Job <4FGL_J2249.4-1300_daily_bin1163> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 21:31:03 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 21:31:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 21:31:05 2021
Terminated at Tue Sep 28 21:44:36 2021
Results reported at Tue Sep 28 21:44:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2249.4-1300_daily_bin1163 342.356 -13.0006 540777601 541036801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2249.4-1300 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   599.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             255.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            813 sec.

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

