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


Performing analysis on: 4FGL_J2249.4-1300_daily_bin1644
RA = 342.356, Dec = -13.0006
tmin = 665452801, tmax = 665712001
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='574905', job_status='RUN', time_executed='2022-02-05 00:53:29.975025', time_epoch_executed='1644051209.98' WHERE source_name='4FGL J2249.4-1300' and cadence='daily' and bin_id='1644'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/574905

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/574905/ft1_4FGL_J2249.4-1300_daily_bin1644.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/574905/ft2_4FGL_J2249.4-1300_daily_bin1644.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/574905/ft1_4FGL_J2249.4-1300_daily_bin1644.fits outfile=/scratch/kocevski/574905/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin1644.fits ra=342.356 dec=-13.0006 rad=12.0 tmin=665452801.0 tmax=665712001.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.67
user 3.41
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/574905/ft1_filtered_4FGL_J2249.4-1300_daily_bin1644.fits" evtable="EVENTS" scfile=/scratch/kocevski/574905/ft2_4FGL_J2249.4-1300_daily_bin1644.fits sctable="SC_DATA" outfile=/scratch/kocevski/574905/ltcube_665452801_665712001_4FGL_J2249.4-1300_daily_bin1644.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/574905/ft2_4FGL_J2249.4-1300_daily_bin1644.fits
.....................!
real 12.52
user 12.11
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/574905/ft1_filtered_4FGL_J2249.4-1300_daily_bin1644.fits evtable="EVENTS" scfile=/scratch/kocevski/574905/ft2_4FGL_J2249.4-1300_daily_bin1644.fits sctable="SC_DATA" expcube=/scratch/kocevski/574905/ltcube_665452801_665712001_4FGL_J2249.4-1300_daily_bin1644.fits outfile=/scratch/kocevski/574905/expmap_665452801_665712001_4FGL_J2249.4-1300_daily_bin1644.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/574905/ltcube_665452801_665712001_4FGL_J2249.4-1300_daily_bin1644.fits
.....................!
real 191.88
user 186.08
sys 4.94

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/574905/ft1_filtered_4FGL_J2249.4-1300_daily_bin1644.fits scfile=/scratch/kocevski/574905/ft2_4FGL_J2249.4-1300_daily_bin1644.fits outfile=/scratch/kocevski/574905/cmap_665452801_665712001_4FGL_J2249.4-1300_daily_bin1644.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/574905/ft1_filtered_4FGL_J2249.4-1300_daily_bin1644.fits scfile=/scratch/kocevski/574905/ft2_4FGL_J2249.4-1300_daily_bin1644.fits outfile=/scratch/kocevski/574905/cmap_HighResolution_665452801_665712001_4FGL_J2249.4-1300_daily_bin1644.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/574905/ft1_filtered_4FGL_J2249.4-1300_daily_bin1644.fits evtable="EVENTS" scfile=/scratch/kocevski/574905/ft2_4FGL_J2249.4-1300_daily_bin1644.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/574905/Model_4FGL_J2249.4-1300_daily_bin1644.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/574905/ft1_filtered_4FGL_J2249.4-1300_daily_bin1644.fits.....................!
real 59.24
user 57.99
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9629       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10325E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.1962       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    17.729       1.0000         .10000E-03   10000.    
     7 'Prefactor '    44.316       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10267E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .49476E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .65066       1.0000         .10000E-03   10000.    
    12 'Prefactor '    82.207       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10293E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.6956       1.0000         .10000E-03   10000.    
    15 'norm      '    25.626       1.0000         .10000E-03   10000.    
    16 'Prefactor '    54.161       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.4355       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.9023       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .15242E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.6317       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .78564       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=   6279.285     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2602 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9632        15.785        .59740E-06   -.21242E-05
   2  Prefactor     .10000E-03    28.542       -.27566E-06** at limit **
   3  Prefactor     .10000E-03    36.221        .59933E-07** at limit **
   4  Prefactor     7.1942        5.8992       -.16279E-06   -.19334E-04
   5  Prefactor     .10000E-03    16.869       -.91505E-07** at limit **
   6  norm          17.733        6.4146       -.16552E-07   -.10576E-03
   7  Prefactor     44.052        112.35        .26086E-05   -.95700E-05
   8  Prefactor     .10000E-03    12.445       -.33281E-06** at limit **
   9  norm          .10000E-03    .28741       -.44549E-07** at limit **
  10  Prefactor     .10000E-03    25.944        .59998E-06** at limit **
  11  norm          .64956        1.4814       -.76805E-06   -.15691E-02
  12  Prefactor     82.247        49.760        .26601E-05   -.33458E-03
  13  Prefactor     .10000E-03    13.022        .35434E-08** at limit **
  14  Prefactor     9.6909        13.434        .30169E-06   -.45332E-04
  15  norm          25.625        15.585       -.12840E-08   -.49566E-05
  16  Prefactor     54.318        87.510        .48132E-06   -.14489E-04
  17  Prefactor     8.4348        15.440        .32392E-06    .60378E-04
  18  Prefactor     9.8948        9.8369        .24213E-06    .21709E-04
  19  norm          .10000E-03    1.6570        .11941E-06** at limit **
  20  Prefactor     .10000E-03    84.758       -.30121E-06** at limit **
  21  Prefactor     .10000E-03    4.5670       -.19724E-07** at limit **
  22  Normalizat    1.6308        .29687       -.58184E-05   -.81950E-04
  23  Prefactor     .78644        .20638        .58172E-05   -.13736E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.96321
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.19419
  Prefactor  = 0.0001
  norm       = 17.7326
  Prefactor  = 44.0515
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.649564
  Prefactor  = 82.2472
  Prefactor  = 0.0001
  Prefactor  = 9.69087
  norm       = 25.6252
  Prefactor  = 54.318
  Prefactor  = 8.43477
  Prefactor  = 9.89484
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.63079
  Prefactor  = 0.786439
 **********
 **   18 **HESSE 
 **********

 FCN=   6279.285     FROM HESSE     STATUS=OK           372 CALLS     2974 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9632        15.769        .15204E-03   -1.5180    
   2  Prefactor     .10000E-03    28.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    36.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.1942        5.8829        .14953E-03   -1.5171    
   5  Prefactor     .10000E-03    16.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          17.733        6.4122        .95121E-04   -1.4866    
   7  Prefactor     44.052        112.27        .30112E-03   -1.4380    
   8  Prefactor     .10000E-03    12.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .29213        .41426E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    137.72        .54407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .64956        1.1774        .10835E-02   -1.5547    
  12  Prefactor     82.247        47.968        .44300E-04   -1.3892    
  13  Prefactor     .10000E-03    13.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.6909        13.426        .12870E-03   -1.5085    
  15  norm          25.625        15.587        .79133E-04   -1.4695    
  16  Prefactor     54.318        87.417        .27251E-03   -1.4233    
  17  Prefactor     8.4348        15.448        .69012E-03   -1.5127    
  18  Prefactor     9.8948        9.8199        .63670E-03   -1.5079    
  19  norm          .10000E-03    1.6599        .99655E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    86.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.5697        .16539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.6308        .28902        .27370E-03   -.74167    
  23  Prefactor     .78644        .19945        .27609E-03   -1.0023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.52136e-10
Minuit parameter uncertainties:
  1  15.7783
  2  4.1582e-05
  3  3.72349e-07
  4  5.8834
  5  1.96894e-06
  6  6.41245
  7  112.812
  8  7.99934e-06
  9  1.89475e-07
  10  0.000974408
  11  1.17742
  12  47.9908
  13  8.27056e-06
  14  13.4299
  15  15.5896
  16  87.6244
  17  15.4552
  18  9.82147
  19  8.76106e-06
  20  4.57621e-05
  21  1.83823e-06
  22  0.289316
  23  0.199635
Done.

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

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  9.744e-04  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.864e-01  1.996e-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.631e+00  2.893e-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.48e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/574905/likelihoodResults_665452801_665712001_4FGL_J2249.4-1300_daily_bin1644.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) = 6279.28465749
delta logL = -3.44215759469e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6279.28465697
delta logL = -3.39072839779e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95963E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4092       1.0000          .0000       10.000    
     3 'Normalizat'    1.6305       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78661       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6279.069     FROM MIGRAD    STATUS=CONVERGED    146 CALLS      321 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .67415        66.316        .45339E-03   -.14126E-02
   2  Index         3.5220        6.7575        .53565E-02   -.16080E-03
   3  Normalizat    1.5707        .20243        .27743E-03    .30123E-03
   4  Prefactor     .80739        .14591        .27225E-03    .57532E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.67415
  Index      = 3.52204
  Normalizat = 1.57075
  Prefactor  = 0.807389
 **********
 **   18 **HESSE 
 **********

 FCN=   6279.069     FROM HESSE     STATUS=OK            25 CALLS      346 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .67415        4.0033        .18136E-04   -1.5544    
   2  Index         3.5220        1.5254        .21426E-03   -.30008    
   3  Normalizat    1.5707        .27937        .55486E-04   -.75809    
   4  Prefactor     .80739        .19743        .54450E-04   -.99457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02818e-09
Minuit parameter uncertainties:
  1  3.28569
  2  1.55259
  3  0.279645
  4  0.197602
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/574905': 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): 0
logL (Free Index) = 6279.06910964
delta logL = 0.215513425816

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  6.741e-01  3.286e+00  1.000e-04  1.000e+04 ( 1.000e-14)
265        Index:  3.522e+00  1.553e+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:  8.074e-01  1.976e-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.571e+00  2.796e-01  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/574905/cmap_HighResolution_665452801_665712001_4FGL_J2249.4-1300_daily_bin1644.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', job_status='DONE', photon_flux_upper_limit='1.48e-07', time_completed='2022-02-05 01:03:58.609778', job_id='574905', GAL2='0.81', fit_tolerance='1e-08', EG2='1.57', EG='1.63', time_epoch_completed='1644051838.61', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='2.16e-01', ts2='0.47', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1644' AND source_name='4FGL J2249.4-1300' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb  5 01:03:58 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 574905: <4FGL_J2249.4-1300_daily_bin1644> in cluster <slac> Done

Job <4FGL_J2249.4-1300_daily_bin1644> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sat Feb  5 00:51:44 2022
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb  5 00:53:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb  5 00:53:15 2022
Terminated at Sat Feb  5 01:03:59 2022
Results reported at Sat Feb  5 01:03:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2249.4-1300_daily_bin1644 342.356 -13.0006 665452801 665712001 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 :                                   630.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   643 sec.
    Turnaround time :                            735 sec.

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

