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


Performing analysis on: 4FGL_J2249.4-1300_daily_bin1296
RA = 342.356, Dec = -13.0006
tmin = 575251201, tmax = 575510401
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='490729', job_status='RUN', time_executed='2021-09-28 21:36:03.839431', time_epoch_executed='1632890163.84' WHERE source_name='4FGL J2249.4-1300' and cadence='daily' and bin_id='1296'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/490729

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/490729/ft1_4FGL_J2249.4-1300_daily_bin1296.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/490729/ft2_4FGL_J2249.4-1300_daily_bin1296.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/490729/ft1_4FGL_J2249.4-1300_daily_bin1296.fits outfile=/scratch/kocevski/490729/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin1296.fits ra=342.356 dec=-13.0006 rad=12.0 tmin=575251201.0 tmax=575510401.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 5.27
user 5.02
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/490729/ft2_4FGL_J2249.4-1300_daily_bin1296.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/490729/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin1296.fits evtable="EVENTS" outfile="/scratch/kocevski/490729/ft1_filtered_4FGL_J2249.4-1300_daily_bin1296.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/490729/ft1_filtered_4FGL_J2249.4-1300_daily_bin1296.fits" evtable="EVENTS" scfile=/scratch/kocevski/490729/ft2_4FGL_J2249.4-1300_daily_bin1296.fits sctable="SC_DATA" outfile=/scratch/kocevski/490729/ltcube_575251201_575510401_4FGL_J2249.4-1300_daily_bin1296.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/490729/ft2_4FGL_J2249.4-1300_daily_bin1296.fits
.....................!
real 11.56
user 11.20
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/490729/ft1_filtered_4FGL_J2249.4-1300_daily_bin1296.fits evtable="EVENTS" scfile=/scratch/kocevski/490729/ft2_4FGL_J2249.4-1300_daily_bin1296.fits sctable="SC_DATA" expcube=/scratch/kocevski/490729/ltcube_575251201_575510401_4FGL_J2249.4-1300_daily_bin1296.fits outfile=/scratch/kocevski/490729/expmap_575251201_575510401_4FGL_J2249.4-1300_daily_bin1296.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/490729/ltcube_575251201_575510401_4FGL_J2249.4-1300_daily_bin1296.fits
.....................!
real 191.92
user 186.10
sys 5.49

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/490729/ft1_filtered_4FGL_J2249.4-1300_daily_bin1296.fits scfile=/scratch/kocevski/490729/ft2_4FGL_J2249.4-1300_daily_bin1296.fits outfile=/scratch/kocevski/490729/cmap_575251201_575510401_4FGL_J2249.4-1300_daily_bin1296.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/490729/ft1_filtered_4FGL_J2249.4-1300_daily_bin1296.fits scfile=/scratch/kocevski/490729/ft2_4FGL_J2249.4-1300_daily_bin1296.fits outfile=/scratch/kocevski/490729/cmap_HighResolution_575251201_575510401_4FGL_J2249.4-1300_daily_bin1296.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/490729/ft1_filtered_4FGL_J2249.4-1300_daily_bin1296.fits evtable="EVENTS" scfile=/scratch/kocevski/490729/ft2_4FGL_J2249.4-1300_daily_bin1296.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/490729/Model_4FGL_J2249.4-1300_daily_bin1296.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/490729/ft1_filtered_4FGL_J2249.4-1300_daily_bin1296.fits.....................!
real 60.02
user 58.75
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.751       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15481E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.2207       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.958       1.0000         .10000E-03   10000.    
     6 'norm      '    .10745E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.270       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.7455       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .64291E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6288       1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.340       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12634E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.7167       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.0301       1.0000         .10000E-03   10000.    
    19 'norm      '    3.1294       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.1391       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .81992       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0507       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=   7227.310     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2180 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.751        11.150       -.65588E-06   -.16800E-04
   2  Prefactor     .10003E-03    5.1789       -.53038E-06** at limit **
   3  Prefactor     9.2397        90.239        .46320E-04    .86491E-05
   4  Prefactor     .10000E-03    1.3042       -.87649E-07** at limit **
   5  Prefactor     33.017        34.921        .41661E-04    .17035E-04
   6  norm          .10000E-03    .97127       -.23682E-06** at limit **
   7  Prefactor     29.322        39.146        .47522E-04   -.78203E-05
   8  Prefactor     .10000E-03    3.8317        .74707E-07** at limit **
   9  norm          1.7460        .76859       -.29593E-06    .35678E-03
  10  Prefactor     .10000E-03    26.594       -.26700E-04** at limit **
  11  norm          1.6301        1.0181       -.11199E-06    .53376E-02
  12  Prefactor     36.370        24.944        .59729E-05    .84376E-03
  13  Prefactor     .10000E-03    3.8875       -.57960E-07** at limit **
  14  Prefactor     .10000E-03    10.938        .46570E-07** at limit **
  15  norm          .10000E-03    4.8104        .86443E-07** at limit **
  16  Prefactor     .10001E-03    91.045        .24304E-04** at limit **
  17  Prefactor     1.7060        114.07       -.20169E-05   -.19296E-04
  18  Prefactor     8.0252        7.9545        .71875E-05   -.34792E-03
  19  norm          3.1295        4.0815       -.23106E-05   -.51623E-03
  20  Prefactor     .10000E-03    18.837        .35951E-05** at limit **
  21  Prefactor     4.1447        9.2070       -.16432E-05   -.14143E-03
  22  Normalizat    .81951        .16862       -.43192E-05    .28913E-03
  23  Prefactor     1.0511        .13360       -.27009E-05    .41485E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.7512
  Prefactor  = 0.000100025
  Prefactor  = 9.23971
  Prefactor  = 0.0001
  Prefactor  = 33.0173
  norm       = 0.0001
  Prefactor  = 29.3217
  Prefactor  = 0.0001
  norm       = 1.74604
  Prefactor  = 0.0001
  norm       = 1.63009
  Prefactor  = 36.3704
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 1.70597
  Prefactor  = 8.02523
  norm       = 3.12954
  Prefactor  = 0.0001
  Prefactor  = 4.14469
  Normalizat = 0.819506
  Prefactor  = 1.05109
 **********
 **   18 **HESSE 
 **********

 FCN=   7227.310     FROM HESSE     STATUS=OK           370 CALLS     2550 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.751        11.150        .73454E-04   -1.4617    
   2  Prefactor     .10003E-03    59.970        .37538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.2397        90.043        .13198E-03   -1.5100    
   4  Prefactor     .10000E-03    1.3152        .94758E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.017        34.885        .69798E-04   -1.4558    
   6  norm          .10000E-03    .98659        .81774E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     29.322        39.085        .37027E-03   -1.4624    
   8  Prefactor     .10000E-03    3.8497        .16250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7460        .76512        .47386E-04   -1.5444    
  10  Prefactor     .10000E-03    27.109        .42054E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6301        1.0094        .58624E-04   -1.5453    
  12  Prefactor     36.370        24.950        .66481E-04   -1.4501    
  13  Prefactor     .10000E-03    3.9070        .16369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.8299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    91.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.7060        114.35        .32070E-03   -1.5447    
  18  Prefactor     8.0252        7.9056        .14149E-03   -1.5141    
  19  norm          3.1295        4.0617        .18106E-03   -1.5354    
  20  Prefactor     .10000E-03    18.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.1447        9.1574        .19813E-03   -1.5301    
  22  Normalizat    .81951        .19773        .27910E-03   -.99349    
  23  Prefactor     1.0511        .15733        .20236E-03   -.91045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62091e-09
Minuit parameter uncertainties:
  1  11.1509
  2  0.00245245
  3  57.8012
  4  8.95506e-06
  5  34.9066
  6  2.30095e-05
  7  39.1188
  8  1.7431e-05
  9  0.765122
  10  8.14154e-05
  11  1.00941
  12  24.9573
  13  2.46955e-06
  14  9.44203e-05
  15  1.33425e-05
  16  0.00202856
  17  27.9891
  18  7.90661
  19  4.06201
  20  8.35525e-05
  21  9.16051
  22  0.197908
  23  0.157396
Done.

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

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  8.142e-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.051e+00  1.574e-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.195e-01  1.979e-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.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/490729/likelihoodResults_575251201_575510401_4FGL_J2249.4-1300_daily_bin1296.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) = 7227.31019608
delta logL = -0.000175985122041

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7227.31002012
delta logL = -2.57387000602e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4240       1.0000          .0000       10.000    
     3 'Normalizat'    .81952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0511       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=   7227.310     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      215 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9198        .90712E-02** at limit **
   2  Index         2.4413        1.9585        .50000       -.61462E-05
   3  Normalizat    .81951        .19381E-02    .63098E-01    .11955E-03
   4  Prefactor     1.0511        .15813E-02    .39847E-01    .11663E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.44132
  Normalizat = 0.819506
  Prefactor  = 1.05109
 **********
 **   18 **HESSE 
 **********

 FCN=   7227.310     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      246 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6929.5        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4413        5.4363        .50000       -.53720    
   3  Normalizat    .81951        .70459E-01    .27910E-03   -.99349    
   4  Prefactor     1.0511        .57440E-01    .20237E-03   -.91045    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.67574e-10
Minuit parameter uncertainties:
  1  0.0050385
  2  54.9229
  3  0.0704667
  4  0.0574429
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/490729': 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) = 7227.31002005
delta logL = 4.37466951553e-08

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  5.038e-03  1.000e-04  1.000e+04 ( 1.000e-14)
265        Index:  2.441e+00  5.492e+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.051e+00  5.744e-02  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.195e-01  7.047e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/490729/cmap_HighResolution_575251201_575510401_4FGL_J2249.4-1300_daily_bin1296.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.53e-03', job_status='DONE', photon_flux_upper_limit='9.74e-08', time_completed='2021-09-28 21:46:47.930046', job_id='490729', GAL2='1.05', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1632890807.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='4.37e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1296' AND source_name='4FGL J2249.4-1300' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 21:46:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 490729: <4FGL_J2249.4-1300_daily_bin1296> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2249.4-1300_daily_bin1296 342.356 -13.0006 575251201 575510401 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 :                                   636.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            692 sec.

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

