/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 145 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 = 7410
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2249.4-1300_daily_bin388
RA = 342.356, Dec = -13.0006
tmin = 339897601, tmax = 340156801
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='486590', job_status='RUN', time_executed='2021-09-28 21:23:03.785594', time_epoch_executed='1632889383.79' WHERE source_name='4FGL J2249.4-1300' and cadence='daily' and bin_id='388'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/486590

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/486590/ft1_4FGL_J2249.4-1300_daily_bin388.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/486590/ft2_4FGL_J2249.4-1300_daily_bin388.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/486590/ft1_4FGL_J2249.4-1300_daily_bin388.fits outfile=/scratch/kocevski/486590/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin388.fits ra=342.356 dec=-13.0006 rad=12.0 tmin=339897601.0 tmax=340156801.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.30
user 3.10
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/486590/ft1_filtered_4FGL_J2249.4-1300_daily_bin388.fits" evtable="EVENTS" scfile=/scratch/kocevski/486590/ft2_4FGL_J2249.4-1300_daily_bin388.fits sctable="SC_DATA" outfile=/scratch/kocevski/486590/ltcube_339897601_340156801_4FGL_J2249.4-1300_daily_bin388.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/486590/ft2_4FGL_J2249.4-1300_daily_bin388.fits
.....................!
real 11.72
user 11.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/486590/ft1_filtered_4FGL_J2249.4-1300_daily_bin388.fits evtable="EVENTS" scfile=/scratch/kocevski/486590/ft2_4FGL_J2249.4-1300_daily_bin388.fits sctable="SC_DATA" expcube=/scratch/kocevski/486590/ltcube_339897601_340156801_4FGL_J2249.4-1300_daily_bin388.fits outfile=/scratch/kocevski/486590/expmap_339897601_340156801_4FGL_J2249.4-1300_daily_bin388.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/486590/ltcube_339897601_340156801_4FGL_J2249.4-1300_daily_bin388.fits
.....................!
real 189.63
user 185.28
sys 4.04

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/486590/ft1_filtered_4FGL_J2249.4-1300_daily_bin388.fits scfile=/scratch/kocevski/486590/ft2_4FGL_J2249.4-1300_daily_bin388.fits outfile=/scratch/kocevski/486590/cmap_339897601_340156801_4FGL_J2249.4-1300_daily_bin388.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.57
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/486590/ft1_filtered_4FGL_J2249.4-1300_daily_bin388.fits scfile=/scratch/kocevski/486590/ft2_4FGL_J2249.4-1300_daily_bin388.fits outfile=/scratch/kocevski/486590/cmap_HighResolution_339897601_340156801_4FGL_J2249.4-1300_daily_bin388.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/486590/ft1_filtered_4FGL_J2249.4-1300_daily_bin388.fits evtable="EVENTS" scfile=/scratch/kocevski/486590/ft2_4FGL_J2249.4-1300_daily_bin388.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/486590/Model_4FGL_J2249.4-1300_daily_bin388.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/486590/ft1_filtered_4FGL_J2249.4-1300_daily_bin388.fits.....................!
real 45.65
user 44.32
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6123       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .18798E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    50.562       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8873       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2533       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10361E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    64.727       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.9254       1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.025       1.0000         .10000E-03   10000.    
    15 'norm      '    19.103       1.0000         .10000E-03   10000.    
    16 'Prefactor '    75.387       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.2515       1.0000         .10000E-03   10000.    
    19 'norm      '    .11833E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1057       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .57254       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=   4482.026     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     3423 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6082        14.340       -.33600E-06    .44778E-05
   2  Prefactor     .10000E-03    9.0092        .14731E-06** at limit **
   3  Prefactor     .10000E-03    22.671       -.39907E-07** at limit **
   4  Prefactor     .10006E-03    2.8993       -.81492E-06** at limit **
   5  Prefactor     .10000E-03    45.480        .34509E-06** at limit **
   6  norm          50.568        8.1605       -.33759E-06   -.45564E-03
   7  Prefactor     .10001E-03    465.26        .10566E-04** at limit **
   8  Prefactor     8.8860        10.237       -.30981E-06    .22667E-07
   9  norm          2.2532        1.1335        .79648E-08   -.49259E-04
  10  Prefactor     .10000E-03    9.4726       -.15835E-07** at limit **
  11  norm          .10000E-03    .65396       -.11282E-07** at limit **
  12  Prefactor     64.717        38.184       -.80116E-06    .17501E-04
  13  Prefactor     7.9263        10.138        .92293E-07   -.17880E-05
  14  Prefactor     16.022        13.554       -.37116E-06    .10686E-04
  15  norm          19.102        15.936       -.17596E-06   -.10372E-05
  16  Prefactor     74.826        164.22       -.44178E-05    .47237E-04
  17  Prefactor     .10000E-03    11.129        .37475E-07** at limit **
  18  Prefactor     4.3552        55.342        .40116E-05    .60360E-04
  19  norm          .10000E-03    9.7709       -.17292E-05** at limit **
  20  Prefactor     .10000E-03    211.23       -.26219E-06** at limit **
  21  Prefactor     .10000E-03    10.973        .32789E-06** at limit **
  22  Normalizat    1.1060        .27875        .99027E-05    .56731E-04
  23  Prefactor     .57243        .18922       -.94390E-05    .29831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.60817
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100057
  Prefactor  = 0.0001
  norm       = 50.5682
  Prefactor  = 0.000100006
  Prefactor  = 8.88604
  norm       = 2.25324
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 64.717
  Prefactor  = 7.92634
  Prefactor  = 16.022
  norm       = 19.1016
  Prefactor  = 74.8259
  Prefactor  = 0.0001
  Prefactor  = 4.35518
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Normalizat = 1.10599
  Prefactor  = 0.572425
 **********
 **   18 **HESSE 
 **********

 FCN=   4482.026     FROM HESSE     STATUS=OK           370 CALLS     3793 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6082        14.321        .18742E-03   -1.5279    
   2  Prefactor     .10000E-03    9.0436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    22.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10006E-03    19.582        .21003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    45.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          50.568        8.1366        .56399E-04   -1.4285    
   7  Prefactor     .10001E-03    465.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.8860        10.234        .13445E-03   -1.5112    
   9  norm          2.2532        1.1314        .48484E-04   -1.5408    
  10  Prefactor     .10000E-03    9.4867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .66764        .10433E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     64.717        37.677        .49882E-04   -1.4097    
  13  Prefactor     7.9263        10.131        .14243E-03   -1.5145    
  14  Prefactor     16.022        13.551        .10005E-03   -1.4907    
  15  norm          19.102        15.936        .91637E-04   -1.4834    
  16  Prefactor     74.826        165.44        .23122E-03   -1.3976    
  17  Prefactor     .10000E-03    11.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.3552        56.297        .19541E-03   -1.5291    
  19  norm          .10000E-03    10.397        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    212.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1060        .27892        .25907E-03   -.89560    
  23  Prefactor     .57243        .18917        .25312E-03   -1.0876    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9457e-09
Minuit parameter uncertainties:
  1  14.3316
  2  1.83329e-05
  3  1.33266e-05
  4  0.00210565
  5  2.81375e-05
  6  8.13678
  7  0.00339766
  8  10.2364
  9  1.13141
  10  1.40336e-05
  11  2.79681e-06
  12  37.6913
  13  10.1332
  14  13.5537
  15  15.9396
  16  166.476
  17  8.8016e-06
  18  31.3526
  19  9.88088e-05
  20  0.00171526
  21  1.36847e-05
  22  0.27929
  23  0.189377
Done.

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

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  1.403e-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:  5.724e-01  1.894e-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.106e+00  2.793e-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.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/486590/likelihoodResults_339897601_340156801_4FGL_J2249.4-1300_daily_bin388.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) = 4482.02666306
delta logL = -0.000501995306877

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4482.02616333
delta logL = -2.27280725085e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12331E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3837       1.0000          .0000       10.000    
     3 'Normalizat'    1.1056       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57270       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=   4482.026     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      201 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .62515        .90712E-02** at limit **
   2  Index         2.3610        7.4952        .50000        .19976E-04
   3  Normalizat    1.1060        .13904E-02    .58576E-01    .80471E-05
   4  Prefactor     .57243        .10110E-02    .40680E-01   -.64418E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.36105
  Normalizat = 1.10599
  Prefactor  = 0.572425
 **********
 **   18 **HESSE 
 **********

 FCN=   4482.026     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      234 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3610        7.0732        .50000       -.55600    
   3  Normalizat    1.1060        .81189E-02    .25904E-03   -.89560    
   4  Prefactor     .57243        .59049E-02    .25315E-03   -1.0876    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.54027e-07
Minuit parameter uncertainties:
  1  0.000304892
  2  129.758
  3  0.00811893
  4  0.00590487
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/486590': 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) = 4482.02616083
delta logL = 2.28503267863e-07

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  3.049e-04  1.000e-04  1.000e+04 ( 1.000e-14)
265        Index:  2.361e+00  1.298e+02  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:  5.724e-01  5.905e-03  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  1.106e+00  8.119e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.356 -13.001

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/486590/cmap_HighResolution_339897601_340156801_4FGL_J2249.4-1300_daily_bin388.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.75e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-09-28 21:32:24.205881', job_id='486590', GAL2='0.57', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1632889944.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='2.29e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='388' AND source_name='4FGL J2249.4-1300' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 21:32:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 486590: <4FGL_J2249.4-1300_daily_bin388> in cluster <slac> Done

Job <4FGL_J2249.4-1300_daily_bin388> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 21:20:28 2021
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 21:20:30 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:20:30 2021
Terminated at Tue Sep 28 21:32:25 2021
Results reported at Tue Sep 28 21:32:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2249.4-1300_daily_bin388 342.356 -13.0006 339897601 340156801 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 :                                   560.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             279.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            717 sec.

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

