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


Performing analysis on: 4FGL_J2249.4-1300_daily_bin1551
RA = 342.356, Dec = -13.0006
tmin = 641347201, tmax = 641606401
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='491109', job_status='RUN', time_executed='2021-09-28 21:36:38.499783', time_epoch_executed='1632890198.5' WHERE source_name='4FGL J2249.4-1300' and cadence='daily' and bin_id='1551'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/491109

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/491109/ft1_4FGL_J2249.4-1300_daily_bin1551.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/491109/ft2_4FGL_J2249.4-1300_daily_bin1551.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/491109/ft1_4FGL_J2249.4-1300_daily_bin1551.fits outfile=/scratch/kocevski/491109/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin1551.fits ra=342.356 dec=-13.0006 rad=12.0 tmin=641347201.0 tmax=641606401.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 2.83
user 2.60
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/491109/ft1_filtered_4FGL_J2249.4-1300_daily_bin1551.fits" evtable="EVENTS" scfile=/scratch/kocevski/491109/ft2_4FGL_J2249.4-1300_daily_bin1551.fits sctable="SC_DATA" outfile=/scratch/kocevski/491109/ltcube_641347201_641606401_4FGL_J2249.4-1300_daily_bin1551.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/491109/ft2_4FGL_J2249.4-1300_daily_bin1551.fits
.....................!
real 12.17
user 11.82
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/491109/ft1_filtered_4FGL_J2249.4-1300_daily_bin1551.fits evtable="EVENTS" scfile=/scratch/kocevski/491109/ft2_4FGL_J2249.4-1300_daily_bin1551.fits sctable="SC_DATA" expcube=/scratch/kocevski/491109/ltcube_641347201_641606401_4FGL_J2249.4-1300_daily_bin1551.fits outfile=/scratch/kocevski/491109/expmap_641347201_641606401_4FGL_J2249.4-1300_daily_bin1551.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/491109/ltcube_641347201_641606401_4FGL_J2249.4-1300_daily_bin1551.fits
.....................!
real 189.79
user 184.80
sys 4.69

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/491109/ft1_filtered_4FGL_J2249.4-1300_daily_bin1551.fits scfile=/scratch/kocevski/491109/ft2_4FGL_J2249.4-1300_daily_bin1551.fits outfile=/scratch/kocevski/491109/cmap_641347201_641606401_4FGL_J2249.4-1300_daily_bin1551.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.52
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/491109/ft1_filtered_4FGL_J2249.4-1300_daily_bin1551.fits scfile=/scratch/kocevski/491109/ft2_4FGL_J2249.4-1300_daily_bin1551.fits outfile=/scratch/kocevski/491109/cmap_HighResolution_641347201_641606401_4FGL_J2249.4-1300_daily_bin1551.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/491109/ft1_filtered_4FGL_J2249.4-1300_daily_bin1551.fits evtable="EVENTS" scfile=/scratch/kocevski/491109/ft2_4FGL_J2249.4-1300_daily_bin1551.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/491109/Model_4FGL_J2249.4-1300_daily_bin1551.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/491109/ft1_filtered_4FGL_J2249.4-1300_daily_bin1551.fits.....................!
real 54.30
user 53.08
sys 1.09

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.962       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    104.11       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10580E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.220       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .88213       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.3608       1.0000         .10000E-03   10000.    
    11 'norm      '    2.1744       1.0000         .10000E-03   10000.    
    12 'Prefactor '    43.353       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    29.907       1.0000         .10000E-03   10000.    
    16 'Prefactor '    35.596       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7059       1.0000         .10000E-03   10000.    
    19 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .90109       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96942       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=   5989.166     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2847 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.962        11.824       -.95321E-07    .27746E-03
   2  Prefactor     .10000E-03    16.504       -.11419E-05** at limit **
   3  Prefactor     104.12        84.878        .59083E-05    .38214E-03
   4  Prefactor     .10000E-03    1.9785       -.61383E-06** at limit **
   5  Prefactor     .10000E-03    38.725        .19457E-06** at limit **
   6  norm          .10000E-03    2.9569       -.41739E-05** at limit **
   7  Prefactor     24.156        82.221        .12863E-04    .99714E-04
   8  Prefactor     .10000E-03    12.538        .93802E-06** at limit **
   9  norm          .88233        .74113        .56333E-07    .80851E-03
  10  Prefactor     3.3384        99.507       -.26936E-04    .11318E-03
  11  norm          2.1783        2.8559        .27906E-05   -.11218E-03
  12  Prefactor     43.313        37.048       -.24219E-05    .16039E-04
  13  Prefactor     .10000E-03    4.7555       -.46166E-06** at limit **
  14  Prefactor     .10000E-03    6.5474       -.21866E-06** at limit **
  15  norm          29.900        15.196       -.19260E-06    .24681E-04
  16  Prefactor     35.580        72.333       -.18900E-05   -.48201E-04
  17  Prefactor     .10000E-03    14.148       -.13618E-06** at limit **
  18  Prefactor     4.7136        14.023       -.84456E-07    .44029E-05
  19  norm          .10000E-03    2.7172        .65507E-07** at limit **
  20  Prefactor     .10000E-03    22.710        .66009E-06** at limit **
  21  Prefactor     .10000E-03    4.4728        .80694E-07** at limit **
  22  Normalizat    .90120        .20181        .60851E-05    .76381E-03
  23  Prefactor     .96933        .15189       -.21915E-05    .13341E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.962
  Prefactor  = 0.000100001
  Prefactor  = 104.119
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 24.1564
  Prefactor  = 0.0001
  norm       = 0.882327
  Prefactor  = 3.33845
  norm       = 2.17829
  Prefactor  = 43.3134
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 29.8997
  Prefactor  = 35.5798
  Prefactor  = 0.0001
  Prefactor  = 4.71365
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.901203
  Prefactor  = 0.969327
 **********
 **   18 **HESSE 
 **********

 FCN=   5989.166     FROM HESSE     STATUS=OK           362 CALLS     3209 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.962        11.825        .74446E-04   -1.4631    
   2  Prefactor     .10000E-03    16.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     104.12        85.856        .39408E-04   -1.3664    
   4  Prefactor     .10000E-03    2.0094        .10637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    38.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.1952        .24068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     24.156        83.926        .81394E-04   -1.4725    
   8  Prefactor     .10000E-03    12.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .88233        .75351        .57841E-03   -1.5520    
  10  Prefactor     3.3384        97.388        .22075E-03   -1.5343    
  11  norm          2.1783        2.8843        .60639E-04   -1.5413    
  12  Prefactor     43.313        35.776        .60887E-04   -1.4391    
  13  Prefactor     .10000E-03    4.7736        .16483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.5773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          29.900        15.201        .73263E-04   -1.4614    
  16  Prefactor     35.580        70.866        .67171E-04   -1.4514    
  17  Prefactor     .10000E-03    14.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.7136        13.674        .18550E-03   -1.5274    
  19  norm          .10000E-03    2.7202        .12432E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    22.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.4765        .15985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .90120        .23122        .27728E-03   -.96418    
  23  Prefactor     .96933        .17618        .20970E-03   -.93759    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.373e-09
Minuit parameter uncertainties:
  1  11.8263
  2  0.0002812
  3  85.9588
  4  1.09958e-05
  5  3.19681e-05
  6  0.000257771
  7  84.3406
  8  7.24446e-05
  9  0.753519
  10  36.1267
  11  2.8845
  12  35.7942
  13  2.97972e-05
  14  2.37856e-05
  15  15.2027
  16  71.0343
  17  9.64599e-05
  18  13.6826
  19  1.7215e-06
  20  0.00022429
  21  3.96209e-06
  22  0.231475
  23  0.176289
Done.

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

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  3.338e+00  3.613e+01  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:  9.693e-01  1.763e-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:  9.012e-01  2.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/491109/likelihoodResults_641347201_641606401_4FGL_J2249.4-1300_daily_bin1551.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) = 5989.01375621
delta logL = 0.151910943099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5989.00954585
delta logL = 0.156121296883

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40396       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5063       1.0000          .0000       10.000    
     3 'Normalizat'    .87346       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98164       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=   5989.010     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      315 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40106        12.012        .10872E-01    .15107E-02
   2  Index         3.5083        2.4073        .83637E-01    .18234E-03
   3  Normalizat    .87350        .33399E-01    .44561E-01   -.82449E-04
   4  Prefactor     .98163        .26255E-01    .46037E-01   -.12137E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.401061
  Index      = 3.50831
  Normalizat = 0.873496
  Prefactor  = 0.981626
 **********
 **   18 **HESSE 
 **********

 FCN=   5989.010     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      346 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40106        53.618        .77263E-04   -1.5581    
   2  Index         3.5083        6.6760        .58918E-02   -.30295    
   3  Normalizat    .87350        .16871        .28089E-03   -.97398    
   4  Prefactor     .98163        .13009        .20841E-03   -.93345    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.63391e-06
Minuit parameter uncertainties:
  1  9.2818
  2  7.24727
  3  0.168808
  4  0.13013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/491109': 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) = 5989.00954518
delta logL = 0.156121971597

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  4.011e-01  9.282e+00  1.000e-04  1.000e+04 ( 1.000e-14)
265        Index:  3.508e+00  7.247e+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:  9.816e-01  1.301e-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:  8.735e-01  1.688e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/491109/cmap_HighResolution_641347201_641606401_4FGL_J2249.4-1300_daily_bin1551.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.32e-07', time_completed='2021-09-28 21:46:53.070147', job_id='491109', GAL2='0.98', fit_tolerance='1e-08', EG2='0.87', EG='0.90', time_epoch_completed='1632890813.07', return_code2='102', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.56e-01', ts2='0.38', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1551' AND source_name='4FGL J2249.4-1300' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 21:46:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 491109: <4FGL_J2249.4-1300_daily_bin1551> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2249.4-1300_daily_bin1551 342.356 -13.0006 641347201 641606401 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 :                                   613.41 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             278.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            667 sec.

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

