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


Performing analysis on: 4FGL_J2249.4-1300_daily_bin1315
RA = 342.356, Dec = -13.0006
tmin = 580176001, tmax = 580435201
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='490756', job_status='RUN', time_executed='2021-09-28 21:35:46.098700', time_epoch_executed='1632890146.1' WHERE source_name='4FGL J2249.4-1300' and cadence='daily' and bin_id='1315'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/490756

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/490756/ft1_4FGL_J2249.4-1300_daily_bin1315.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/490756/ft2_4FGL_J2249.4-1300_daily_bin1315.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/490756/ft1_4FGL_J2249.4-1300_daily_bin1315.fits outfile=/scratch/kocevski/490756/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin1315.fits ra=342.356 dec=-13.0006 rad=12.0 tmin=580176001.0 tmax=580435201.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 4.63
user 4.39
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/490756/ft1_filtered_4FGL_J2249.4-1300_daily_bin1315.fits" evtable="EVENTS" scfile=/scratch/kocevski/490756/ft2_4FGL_J2249.4-1300_daily_bin1315.fits sctable="SC_DATA" outfile=/scratch/kocevski/490756/ltcube_580176001_580435201_4FGL_J2249.4-1300_daily_bin1315.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/490756/ft2_4FGL_J2249.4-1300_daily_bin1315.fits
.....................!
real 12.01
user 11.65
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/490756/ft1_filtered_4FGL_J2249.4-1300_daily_bin1315.fits evtable="EVENTS" scfile=/scratch/kocevski/490756/ft2_4FGL_J2249.4-1300_daily_bin1315.fits sctable="SC_DATA" expcube=/scratch/kocevski/490756/ltcube_580176001_580435201_4FGL_J2249.4-1300_daily_bin1315.fits outfile=/scratch/kocevski/490756/expmap_580176001_580435201_4FGL_J2249.4-1300_daily_bin1315.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/490756/ltcube_580176001_580435201_4FGL_J2249.4-1300_daily_bin1315.fits
.....................!
real 190.16
user 185.26
sys 4.53

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/490756/ft1_filtered_4FGL_J2249.4-1300_daily_bin1315.fits scfile=/scratch/kocevski/490756/ft2_4FGL_J2249.4-1300_daily_bin1315.fits outfile=/scratch/kocevski/490756/cmap_580176001_580435201_4FGL_J2249.4-1300_daily_bin1315.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.55
user 0.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/490756/ft1_filtered_4FGL_J2249.4-1300_daily_bin1315.fits evtable="EVENTS" scfile=/scratch/kocevski/490756/ft2_4FGL_J2249.4-1300_daily_bin1315.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/490756/Model_4FGL_J2249.4-1300_daily_bin1315.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/490756/ft1_filtered_4FGL_J2249.4-1300_daily_bin1315.fits.....................!
real 68.59
user 66.79
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.4835       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10202E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    40.338       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.1439       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.1561       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .40854E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.2002       1.0000         .10000E-03   10000.    
    15 'norm      '    20.550       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.825       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11797E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.992       1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.049       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .86624       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96773       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=   8363.902     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2594 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.8353        .10808E-06** at limit **
   2  Prefactor     .10000E-03    7.5155        .17295E-06** at limit **
   3  Prefactor     .10000E-03    54.589        .22943E-05** at limit **
   4  Prefactor     4.4833        3.2822       -.35653E-07    .57882E-05
   5  Prefactor     .10000E-03    28.507       -.58078E-06** at limit **
   6  norm          .10000E-03    1.1338       -.48013E-06** at limit **
   7  Prefactor     40.348        41.641       -.41421E-06    .22110E-04
   8  Prefactor     .10000E-03    8.8738        .46154E-06** at limit **
   9  norm          3.1439        .86067       -.17679E-08   -.42253E-04
  10  Prefactor     .10000E-03    22.629       -.17389E-05** at limit **
  11  norm          5.1563        1.1051        .17218E-06   -.11502E-03
  12  Prefactor     .10000E-03    39.248       -.15311E-05** at limit **
  13  Prefactor     .10003E-03    5.7919        .40294E-07** at limit **
  14  Prefactor     8.1995        8.0578        .19909E-06   -.11499E-04
  15  norm          20.549        11.250        .51297E-07   -.17192E-05
  16  Prefactor     13.785        37.151        .44794E-06    .71528E-05
  17  Prefactor     .10000E-03    14.214        .97441E-07** at limit **
  18  Prefactor     .10000E-03    84.751       -.33596E-05** at limit **
  19  norm          .10000E-03    2.9597        .91532E-07** at limit **
  20  Prefactor     15.983        70.598        .15988E-05   -.43703E-05
  21  Prefactor     24.049        22.733       -.56555E-07    .12598E-05
  22  Normalizat    .86631        .18311       -.26320E-05   -.17014E-04
  23  Prefactor     .96771        .13920        .11581E-05    .13733E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.48326
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 40.3475
  Prefactor  = 0.0001
  norm       = 3.14392
  Prefactor  = 0.000100001
  norm       = 5.15631
  Prefactor  = 0.000100001
  Prefactor  = 0.000100026
  Prefactor  = 8.19955
  norm       = 20.5492
  Prefactor  = 13.7848
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 15.9827
  Prefactor  = 24.0491
  Normalizat = 0.866314
  Prefactor  = 0.96771
 **********
 **   18 **HESSE 
 **********

 FCN=   8363.902     FROM HESSE     STATUS=OK           380 CALLS     2974 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.8405        .12102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.5627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    54.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.4833        3.2707        .13487E-03   -1.5284    
   5  Prefactor     .10000E-03    28.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.5919        .17336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     40.348        41.553        .63112E-04   -1.4437    
   8  Prefactor     .10000E-03    9.1811        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.1439        .86019        .42620E-04   -1.5353    
  10  Prefactor     .10000E-03    23.575        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.1563        1.1037        .42624E-04   -1.5254    
  12  Prefactor     .10000E-03    40.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10003E-03    37.069        .36718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.1995        8.0532        .14000E-03   -1.5135    
  15  norm          20.549        11.250        .88356E-04   -1.4801    
  16  Prefactor     13.785        48.191        .10772E-03   -1.4965    
  17  Prefactor     .10000E-03    14.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.754        .58933E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.9914        .15354E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.983        69.488        .10015E-03   -1.4908    
  21  Prefactor     24.049        22.533        .81683E-04   -1.4727    
  22  Normalizat    .86631        .19059        .27312E-03   -.97654    
  23  Prefactor     .96771        .14691        .20830E-03   -.93814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.56834e-10
Minuit parameter uncertainties:
  1  1.08354e-06
  2  9.06974e-06
  3  0.000285445
  4  3.27083
  5  0.000104499
  6  2.68104e-05
  7  41.5832
  8  5.34513e-06
  9  0.860195
  10  0.000367925
  11  1.10367
  12  0.000391584
  13  0.00196589
  14  8.05425
  15  11.251
  16  48.3275
  17  3.80867e-06
  18  0.000385733
  19  1.128e-06
  20  66.7826
  21  22.5408
  22  0.190741
  23  0.146972
Done.

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

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  3.679e-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:  9.677e-01  1.470e-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.663e-01  1.907e-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.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/490756/likelihoodResults_580176001_580435201_4FGL_J2249.4-1300_daily_bin1315.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) = 8363.90225299
delta logL = -0.000202381770578

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8363.90205099
delta logL = -3.82349753636e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13267E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3452       1.0000          .0000       10.000    
     3 'Normalizat'    .86640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96766       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=   8363.902     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      208 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6358        .90712E-02** at limit **
   2  Index         2.2863        5.6306        .50000        .14038E-04
   3  Normalizat    .86632        .87790E-03    .44471E-01    .13322E-03
   4  Prefactor     .96771        .70780E-03    .45862E-01    .81821E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.28626
  Normalizat = 0.866315
  Prefactor  = 0.967709
 **********
 **   18 **HESSE 
 **********

 FCN=   8363.902     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2863        6.0497        .50000       -.57370    
   3  Normalizat    .86632        .37305E-02    .27312E-03   -.97654    
   4  Prefactor     .96771        .30082E-02    .20830E-03   -.93814    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.0177e-08
Minuit parameter uncertainties:
  1  0.000160685
  2  29.4218
  3  0.0037305
  4  0.0030082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/490756': 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) = 8363.90205007
delta logL = 5.43579517398e-07

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  1.607e-04  1.000e-04  1.000e+04 ( 1.000e-14)
265        Index:  2.286e+00  2.942e+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:  9.677e-01  3.008e-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:  8.663e-01  3.731e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/490756/cmap_HighResolution_580176001_580435201_4FGL_J2249.4-1300_daily_bin1315.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.02e-03', job_status='DONE', photon_flux_upper_limit='9.08e-08', time_completed='2021-09-28 21:47:53.939338', job_id='490756', GAL2='0.97', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1632890873.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.44e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1315' AND source_name='4FGL J2249.4-1300' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 21:47:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 490756: <4FGL_J2249.4-1300_daily_bin1315> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2249.4-1300_daily_bin1315 342.356 -13.0006 580176001 580435201 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 :                                   724.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            756 sec.

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

