/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 21 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7640
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2249.4-1300_daily_bin1522
RA = 342.356, Dec = -13.0006
tmin = 633830401, tmax = 634089601
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='491065', job_status='RUN', time_executed='2021-09-28 21:36:17.785203', time_epoch_executed='1632890177.79' WHERE source_name='4FGL J2249.4-1300' and cadence='daily' and bin_id='1522'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/491065

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/491065/ft1_4FGL_J2249.4-1300_daily_bin1522.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/491065/ft2_4FGL_J2249.4-1300_daily_bin1522.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/491065/ft1_4FGL_J2249.4-1300_daily_bin1522.fits outfile=/scratch/kocevski/491065/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin1522.fits ra=342.356 dec=-13.0006 rad=12.0 tmin=633830401.0 tmax=634089601.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.79
user 3.40
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/491065/ft1_filtered_4FGL_J2249.4-1300_daily_bin1522.fits" evtable="EVENTS" scfile=/scratch/kocevski/491065/ft2_4FGL_J2249.4-1300_daily_bin1522.fits sctable="SC_DATA" outfile=/scratch/kocevski/491065/ltcube_633830401_634089601_4FGL_J2249.4-1300_daily_bin1522.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/491065/ft2_4FGL_J2249.4-1300_daily_bin1522.fits
.....................!
real 12.35
user 11.42
sys 0.91

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/491065/ft1_filtered_4FGL_J2249.4-1300_daily_bin1522.fits evtable="EVENTS" scfile=/scratch/kocevski/491065/ft2_4FGL_J2249.4-1300_daily_bin1522.fits sctable="SC_DATA" expcube=/scratch/kocevski/491065/ltcube_633830401_634089601_4FGL_J2249.4-1300_daily_bin1522.fits outfile=/scratch/kocevski/491065/expmap_633830401_634089601_4FGL_J2249.4-1300_daily_bin1522.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/491065/ltcube_633830401_634089601_4FGL_J2249.4-1300_daily_bin1522.fits
.....................!
real 190.38
user 186.08
sys 3.96

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/491065/ft1_filtered_4FGL_J2249.4-1300_daily_bin1522.fits scfile=/scratch/kocevski/491065/ft2_4FGL_J2249.4-1300_daily_bin1522.fits outfile=/scratch/kocevski/491065/cmap_633830401_634089601_4FGL_J2249.4-1300_daily_bin1522.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/491065/ft1_filtered_4FGL_J2249.4-1300_daily_bin1522.fits scfile=/scratch/kocevski/491065/ft2_4FGL_J2249.4-1300_daily_bin1522.fits outfile=/scratch/kocevski/491065/cmap_HighResolution_633830401_634089601_4FGL_J2249.4-1300_daily_bin1522.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.53
user 0.42
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/491065/ft1_filtered_4FGL_J2249.4-1300_daily_bin1522.fits evtable="EVENTS" scfile=/scratch/kocevski/491065/ft2_4FGL_J2249.4-1300_daily_bin1522.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/491065/Model_4FGL_J2249.4-1300_daily_bin1522.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/491065/ft1_filtered_4FGL_J2249.4-1300_daily_bin1522.fits.....................!
real 51.32
user 50.10
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.501       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0084       1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.086       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.8513       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .54482E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    67.836       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .19689       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.1231       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .21769E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.451       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    30.661       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.0774       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.2499       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .56294E-01   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1821       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76522       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5669.722     FROM MIGRAD    STATUS=CONVERGED    962 CALLS     3416 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.503        10.846        .12364E-03    .23116E-03
   2  Prefactor     3.0069        18.804        .23401E-03    .18559E-04
   3  Prefactor     35.067        69.514        .67656E-04   -.33607E-06
   4  Prefactor     2.8510        3.2109        .13454E-03    .47657E-04
   5  Prefactor     .10000E-03    16.619        .18142E-02** at limit **
   6  norm          .10010E-03    18.826        .19860E-02** at limit **
   7  Prefactor     67.815        74.538        .48732E-04   -.12178E-04
   8  Prefactor     .10000E-03    3.0769        .12892E-02** at limit **
   9  norm          .19715        .66833        .10792E-03   -.14896E-03
  10  Prefactor     .10000E-03    13.895        .18142E-02** at limit **
  11  norm          1.1239        .92540        .57416E-04    .35344E-03
  12  Prefactor     .10093E-03    28.912        .89899E-01** at limit **
  13  Prefactor     17.451        11.101        .95877E-04    .12728E-03
  14  Prefactor     .10000E-03    14.955        .36285E-03** at limit **
  15  norm          30.661        16.030        .72359E-04   -.18857E-03
  16  Prefactor     .10000E-03    136.02        .18142E-02** at limit **
  17  Prefactor     .10000E-03    18.556        .18142E-02** at limit **
  18  Prefactor     .10000E-03    4.7701        .16019E-02** at limit **
  19  norm          3.0750        4.9210        .20462E-03   -.52559E-04
  20  Prefactor     4.3572        354.01        .19545E-03   -.46068E-04
  21  Prefactor     .10942E-03    57.716        .83395E-01** at limit **
  22  Normalizat    1.1818        .23297        .24268E-03   -.46426E-04
  23  Prefactor     .76529        .17709        .22671E-03   -.30336E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5026
  Prefactor  = 3.00686
  Prefactor  = 35.0668
  Prefactor  = 2.85101
  Prefactor  = 0.0001
  norm       = 0.000100095
  Prefactor  = 67.8153
  Prefactor  = 0.0001
  norm       = 0.197152
  Prefactor  = 0.0001
  norm       = 1.1239
  Prefactor  = 0.00010093
  Prefactor  = 17.4508
  Prefactor  = 0.0001
  norm       = 30.6612
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.075
  Prefactor  = 4.35716
  Prefactor  = 0.00010942
  Normalizat = 1.18183
  Prefactor  = 0.765286
 **********
 **   18 **HESSE 
 **********

 FCN=   5669.722     FROM HESSE     STATUS=OK           366 CALLS     3782 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.503        10.846        .49456E-05   -1.5060    
   2  Prefactor     3.0069        18.791        .93603E-05   -1.5361    
   3  Prefactor     35.067        69.468        .27062E-05   -1.4523    
   4  Prefactor     2.8510        3.2100        .53818E-05   -1.5370    
   5  Prefactor     .10000E-03    16.619        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10010E-03    18.983        .39720E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     67.815        74.523        .97465E-05   -1.4059    
   8  Prefactor     .10000E-03    3.0769        .25784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .19715        .66822        .43167E-05   -1.5619    
  10  Prefactor     .10000E-03    13.897        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1239        .92352        .22966E-05   -1.5496    
  12  Prefactor     .10093E-03    26.522        .94987E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.451        11.100        .19175E-04   -1.4872    
  14  Prefactor     .10000E-03    14.955        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          30.661        16.030        .14472E-04   -1.4600    
  16  Prefactor     .10000E-03    136.07        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    18.557        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.7707        .32038E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.0750        4.9208        .81850E-05   -1.5357    
  20  Prefactor     4.3572        334.52        .78180E-05   -1.5290    
  21  Prefactor     .10942E-03    46.579        .91635E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1818        .23317        .97070E-05   -.87166    
  23  Prefactor     .76529        .17724        .45343E-04   -1.0102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.1522e-09
Minuit parameter uncertainties:
  1  10.8477
  2  15.0402
  3  69.6289
  4  3.21024
  5  4.85355e-06
  6  0.00269096
  7  74.6262
  8  3.44033e-06
  9  0.66824
  10  5.17905e-05
  11  0.923534
  12  0.00993599
  13  11.1017
  14  5.99103e-05
  15  16.0318
  16  0.000423743
  17  6.46407e-06
  18  9.39088e-06
  19  4.92148
  20  76.8046
  21  0.0419254
  22  0.233377
  23  0.177375
Done.

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

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  5.179e-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:  7.653e-01  1.774e-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.182e+00  2.334e-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: 9.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/491065/likelihoodResults_633830401_634089601_4FGL_J2249.4-1300_daily_bin1522.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) = 5669.72210095
delta logL = -0.000343152149981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5669.72175774
delta logL = 5.12927726959e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10340E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3715       1.0000          .0000       10.000    
     3 'Normalizat'    1.1818       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76532       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=   5669.722     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6698        .90712E-02** at limit **
   2  Index         2.3373        5.2080        .50000        .17947E-04
   3  Normalizat    1.1818        .15742E-02    .54882E-01   -.27003E-05
   4  Prefactor     .76529        .12162E-02    .43264E-01   -.21289E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.33734
  Normalizat = 1.18183
  Prefactor  = 0.765286
 **********
 **   18 **HESSE 
 **********

 FCN=   5669.722     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      240 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3373        5.7704        .50000       -.56159    
   3  Normalizat    1.1818        .55211E-02    .24268E-03   -.87166    
   4  Prefactor     .76529        .42660E-02    .22671E-03   -1.0102    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.44474e-08
Minuit parameter uncertainties:
  1  1.25205e-05
  2  28.4401
  3  0.0055211
  4  0.004266
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/491065': 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) = 5669.72175745
delta logL = 3.40068254445e-07

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  1.252e-05  1.000e-04  1.000e+04 ( 1.000e-14)
265        Index:  2.337e+00  2.844e+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:  7.653e-01  4.266e-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:  1.182e+00  5.521e-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/491065/cmap_HighResolution_633830401_634089601_4FGL_J2249.4-1300_daily_bin1522.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.16e-08', time_completed='2021-09-28 21:46:50.172621', job_id='491065', GAL2='0.77', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1632890810.17', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='3.40e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1522' AND source_name='4FGL J2249.4-1300' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 21:46:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 491065: <4FGL_J2249.4-1300_daily_bin1522> in cluster <slac> Done

Job <4FGL_J2249.4-1300_daily_bin1522> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 21:35:42 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 21:35:45 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:45 2021
Terminated at Tue Sep 28 21:46:50 2021
Results reported at Tue Sep 28 21:46:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2249.4-1300_daily_bin1522 342.356 -13.0006 633830401 634089601 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 :                                   626.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             324.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   665 sec.
    Turnaround time :                            668 sec.

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

