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


Performing analysis on: 4FGL_J2249.4-1300_daily_bin1588
RA = 342.356, Dec = -13.0006
tmin = 650937601, tmax = 651196801
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='491164', job_status='RUN', time_executed='2021-09-28 21:39:51.740710', time_epoch_executed='1632890391.74' WHERE source_name='4FGL J2249.4-1300' and cadence='daily' and bin_id='1588'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/491164

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/491164/ft1_4FGL_J2249.4-1300_daily_bin1588.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/491164/ft2_4FGL_J2249.4-1300_daily_bin1588.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/491164/ft1_4FGL_J2249.4-1300_daily_bin1588.fits outfile=/scratch/kocevski/491164/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin1588.fits ra=342.356 dec=-13.0006 rad=12.0 tmin=650937601.0 tmax=651196801.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.62
user 3.42
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/491164/ft2_4FGL_J2249.4-1300_daily_bin1588.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/491164/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin1588.fits evtable="EVENTS" outfile="/scratch/kocevski/491164/ft1_filtered_4FGL_J2249.4-1300_daily_bin1588.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/491164/ft1_filtered_4FGL_J2249.4-1300_daily_bin1588.fits" evtable="EVENTS" scfile=/scratch/kocevski/491164/ft2_4FGL_J2249.4-1300_daily_bin1588.fits sctable="SC_DATA" outfile=/scratch/kocevski/491164/ltcube_650937601_651196801_4FGL_J2249.4-1300_daily_bin1588.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/491164/ft2_4FGL_J2249.4-1300_daily_bin1588.fits
.....................!
real 11.66
user 11.30
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/491164/ft1_filtered_4FGL_J2249.4-1300_daily_bin1588.fits evtable="EVENTS" scfile=/scratch/kocevski/491164/ft2_4FGL_J2249.4-1300_daily_bin1588.fits sctable="SC_DATA" expcube=/scratch/kocevski/491164/ltcube_650937601_651196801_4FGL_J2249.4-1300_daily_bin1588.fits outfile=/scratch/kocevski/491164/expmap_650937601_651196801_4FGL_J2249.4-1300_daily_bin1588.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/491164/ltcube_650937601_651196801_4FGL_J2249.4-1300_daily_bin1588.fits
.....................!
real 189.86
user 185.14
sys 4.41

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/491164/ft1_filtered_4FGL_J2249.4-1300_daily_bin1588.fits scfile=/scratch/kocevski/491164/ft2_4FGL_J2249.4-1300_daily_bin1588.fits outfile=/scratch/kocevski/491164/cmap_650937601_651196801_4FGL_J2249.4-1300_daily_bin1588.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/491164/ft1_filtered_4FGL_J2249.4-1300_daily_bin1588.fits scfile=/scratch/kocevski/491164/ft2_4FGL_J2249.4-1300_daily_bin1588.fits outfile=/scratch/kocevski/491164/cmap_HighResolution_650937601_651196801_4FGL_J2249.4-1300_daily_bin1588.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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/491164/ft1_filtered_4FGL_J2249.4-1300_daily_bin1588.fits evtable="EVENTS" scfile=/scratch/kocevski/491164/ft2_4FGL_J2249.4-1300_daily_bin1588.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/491164/Model_4FGL_J2249.4-1300_daily_bin1588.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/491164/ft1_filtered_4FGL_J2249.4-1300_daily_bin1588.fits.....................!
real 39.82
user 38.53
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/491164/ft1_filtered_4FGL_J2249.4-1300_daily_bin1588.fits', '/scratch/kocevski/491164/ft2_4FGL_J2249.4-1300_daily_bin1588.fits', expMap='/scratch/kocevski/491164/expmap_650937601_651196801_4FGL_J2249.4-1300_daily_bin1588.fits', expCube='/scratch/kocevski/491164/ltcube_650937601_651196801_4FGL_J2249.4-1300_daily_bin1588.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/491164/Model_4FGL_J2249.4-1300_daily_bin1588.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/491164/ft1_filtered_4FGL_J2249.4-1300_daily_bin1588.fits
Spacecraft file(s): /scratch/kocevski/491164/ft2_4FGL_J2249.4-1300_daily_bin1588.fits
Exposure map: /scratch/kocevski/491164/expmap_650937601_651196801_4FGL_J2249.4-1300_daily_bin1588.fits
Exposure cube: /scratch/kocevski/491164/ltcube_650937601_651196801_4FGL_J2249.4-1300_daily_bin1588.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/491164/Model_4FGL_J2249.4-1300_daily_bin1588.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) = 4061.49346597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.096       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .52498E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.764       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.9894       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.2247       1.0000         .10000E-03   10000.    
     7 'Prefactor '    68.340       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .96863E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10704E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10341E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    70.043       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10327E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .61373       1.0000         .10000E-03   10000.    
    15 'norm      '    2.0995       1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.933       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    9.1123       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .62267       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0733       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=   4061.436     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2598 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.093        16.085        .32984E-07    .21960E-04
   2  Prefactor     .10000E-03    13.034       -.34879E-06** at limit **
   3  Prefactor     17.889        73.846        .52151E-06    .81504E-04
   4  Prefactor     3.9869        4.9535        .43736E-06   -.86667E-04
   5  Prefactor     .10000E-03    36.235       -.16199E-06** at limit **
   6  norm          8.2239        4.7670        .91516E-07    .99391E-04
   7  Prefactor     68.273        75.842       -.47361E-06   -.57603E-04
   8  Prefactor     .10000E-03    6.1011       -.12252E-06** at limit **
   9  norm          .97095E-01    .72149        .73531E-07   -.40508E-04
  10  Prefactor     .10000E-03    10.827       -.10924E-05** at limit **
  11  norm          .10000E-03    .66878       -.20066E-05** at limit **
  12  Prefactor     70.016        33.123        .38079E-05    .89238E-03
  13  Prefactor     .10000E-03    12.918       -.10747E-05** at limit **
  14  Prefactor     .62122        9.1927        .61534E-06   -.16152E-03
  15  norm          2.0964        19.045        .65575E-06   -.26149E-04
  16  Prefactor     14.996        66.444        .10833E-05   -.17011E-04
  17  Prefactor     .10000E-03    22.905       -.28101E-06** at limit **
  18  Prefactor     .10000E-03    18.591        .52196E-05** at limit **
  19  norm          9.1145        6.8955        .10843E-06   -.34345E-03
  20  Prefactor     .10000E-03    52.328       -.28132E-07** at limit **
  21  Prefactor     .10000E-03    5.9622       -.11866E-07** at limit **
  22  Normalizat    .62229        .23535       -.16811E-05    .20993E-03
  23  Prefactor     1.0736        .17819        .11979E-05    .21386E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.0934
  Prefactor  = 0.000100004
  Prefactor  = 17.8895
  Prefactor  = 3.98689
  Prefactor  = 0.0001
  norm       = 8.22392
  Prefactor  = 68.2725
  Prefactor  = 0.0001
  norm       = 0.0970953
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 70.0165
  Prefactor  = 0.0001
  Prefactor  = 0.621219
  norm       = 2.09636
  Prefactor  = 14.9963
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 9.11455
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.622289
  Prefactor  = 1.07364
 **********
 **   18 **HESSE 
 **********

 FCN=   4061.436     FROM HESSE     STATUS=OK           372 CALLS     2970 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.093        16.085        .85212E-04   -1.4768    
   2  Prefactor     .10000E-03    70.005        .42055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.889        73.433        .95028E-04   -1.4862    
   4  Prefactor     3.9869        4.7100        .14268E-03   -1.5309    
   5  Prefactor     .10000E-03    36.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.2239        4.7588        .99097E-04   -1.5134    
   7  Prefactor     68.273        75.836        .24277E-03   -1.4054    
   8  Prefactor     .10000E-03    6.1072        .15374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .97095E-01    2.6799        .10106E-02   -1.5646    
  10  Prefactor     .10000E-03    10.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .80783        .96369E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     70.016        36.045        .47964E-04   -1.4032    
  13  Prefactor     .10000E-03    13.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .62122        23.794        .36997E-02   -1.5550    
  15  norm          2.0964        19.085        .28482E-03   -1.5418    
  16  Prefactor     14.996        66.164        .10365E-03   -1.4933    
  17  Prefactor     .10000E-03    23.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.018        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9.1145        6.8740        .13277E-03   -1.5104    
  20  Prefactor     .10000E-03    52.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.9670        .15198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .62229        .27055        .31397E-03   -1.0705    
  23  Prefactor     1.0736        .20916        .19177E-03   -.90314    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18434e-08
Minuit parameter uncertainties:
  1  16.0882
  2  0.00105296
  3  72.6436
  4  4.7104
  5  4.85094e-05
  6  4.75903
  7  75.9435
  8  3.01952e-06
  9  1.01973
  10  5.08895e-05
  11  3.22016e-05
  12  36.0562
  13  9.09074e-06
  14  7.69199
  15  12.6557
  16  63.1162
  17  3.45628e-05
  18  0.000543238
  19  6.87457
  20  0.000157496
  21  1.85994e-06
  22  0.271128
  23  0.209316
Done.

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

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  5.089e-05  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.074e+00  2.093e-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:  6.223e-01  2.711e-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.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/491164/likelihoodResults_650937601_651196801_4FGL_J2249.4-1300_daily_bin1588.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) = 4061.43648162
delta logL = -0.000438079051037

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4061.43604329
delta logL = 2.54722181126e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3686       1.0000          .0000       10.000    
     3 'Normalizat'    .62230       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0736       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=   4061.436     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      208 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1542        .90712E-02** at limit **
   2  Index         2.3319        6.3803        .50000        .24800E-04
   3  Normalizat    .62229        .22756E-02    .70935E-01    .24929E-04
   4  Prefactor     1.0736        .17957E-02    .38688E-01   -.72395E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.33194
  Normalizat = 0.622287
  Prefactor  = 1.07364
 **********
 **   18 **HESSE 
 **********

 FCN=   4061.436     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      239 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3319        5.2564        .50000       -.56287    
   3  Normalizat    .62229        .71548E-02    .31398E-03   -1.0705    
   4  Prefactor     1.0736        .56572E-02    .19177E-03   -.90314    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.45198e-08
Minuit parameter uncertainties:
  1  0.000203401
  2  34.558
  3  0.00715484
  4  0.00565717
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/491164': 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) = 4061.43604304
delta logL = 4.98107510793e-07

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  2.034e-04  1.000e-04  1.000e+04 ( 1.000e-14)
265        Index:  2.332e+00  3.456e+01  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.074e+00  5.657e-03  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:  6.223e-01  7.155e-03  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/491164/cmap_HighResolution_650937601_651196801_4FGL_J2249.4-1300_daily_bin1588.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.78e-03', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2021-09-28 21:48:12.784577', job_id='491164', GAL2='1.07', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1632890892.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='4.98e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1588' AND source_name='4FGL J2249.4-1300' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 21:48:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 491164: <4FGL_J2249.4-1300_daily_bin1588> in cluster <slac> Done

Job <4FGL_J2249.4-1300_daily_bin1588> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 21:35:51 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 21:35:53 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:35:53 2021
Terminated at Tue Sep 28 21:48:13 2021
Results reported at Tue Sep 28 21:48:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2249.4-1300_daily_bin1588 342.356 -13.0006 650937601 651196801 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 :                                   498.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             232.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            742 sec.

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

