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


Performing analysis on: 4FGL_J2249.4-1300_daily_bin1547
RA = 342.356, Dec = -13.0006
tmin = 640310401, tmax = 640569601
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='491103', job_status='RUN', time_executed='2021-09-28 21:36:03.522557', time_epoch_executed='1632890163.52' WHERE source_name='4FGL J2249.4-1300' and cadence='daily' and bin_id='1547'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/491103

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/491103/ft1_4FGL_J2249.4-1300_daily_bin1547.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/491103/ft2_4FGL_J2249.4-1300_daily_bin1547.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/491103/ft1_4FGL_J2249.4-1300_daily_bin1547.fits outfile=/scratch/kocevski/491103/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin1547.fits ra=342.356 dec=-13.0006 rad=12.0 tmin=640310401.0 tmax=640569601.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.99
user 4.71
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/491103/ft1_filtered_4FGL_J2249.4-1300_daily_bin1547.fits" evtable="EVENTS" scfile=/scratch/kocevski/491103/ft2_4FGL_J2249.4-1300_daily_bin1547.fits sctable="SC_DATA" outfile=/scratch/kocevski/491103/ltcube_640310401_640569601_4FGL_J2249.4-1300_daily_bin1547.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/491103/ft2_4FGL_J2249.4-1300_daily_bin1547.fits
.....................!
real 11.52
user 11.18
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/491103/ft1_filtered_4FGL_J2249.4-1300_daily_bin1547.fits evtable="EVENTS" scfile=/scratch/kocevski/491103/ft2_4FGL_J2249.4-1300_daily_bin1547.fits sctable="SC_DATA" expcube=/scratch/kocevski/491103/ltcube_640310401_640569601_4FGL_J2249.4-1300_daily_bin1547.fits outfile=/scratch/kocevski/491103/expmap_640310401_640569601_4FGL_J2249.4-1300_daily_bin1547.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/491103/ltcube_640310401_640569601_4FGL_J2249.4-1300_daily_bin1547.fits
.....................!
real 190.34
user 185.46
sys 4.50

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/491103/ft1_filtered_4FGL_J2249.4-1300_daily_bin1547.fits scfile=/scratch/kocevski/491103/ft2_4FGL_J2249.4-1300_daily_bin1547.fits outfile=/scratch/kocevski/491103/cmap_640310401_640569601_4FGL_J2249.4-1300_daily_bin1547.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.54
user 0.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/491103/ft1_filtered_4FGL_J2249.4-1300_daily_bin1547.fits evtable="EVENTS" scfile=/scratch/kocevski/491103/ft2_4FGL_J2249.4-1300_daily_bin1547.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/491103/Model_4FGL_J2249.4-1300_daily_bin1547.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/491103/ft1_filtered_4FGL_J2249.4-1300_daily_bin1547.fits.....................!
real 58.68
user 57.30
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.640       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.157       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.271       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5608       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    25.335       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .54015       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17027E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.5070       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3382       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.3898       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14950       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10486E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.9516       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .96981       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93238       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6600.890     FROM MIGRAD    STATUS=CONVERGED    915 CALLS     2632 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.637        13.610        .63663E-04   -.26786E-04
   2  Prefactor     19.157        15.789        .91508E-04   -.20375E-04
   3  Prefactor     30.276        58.238        .72822E-04   -.26540E-05
   4  Prefactor     1.5589        5.0968        .28815E-03    .14389E-03
   5  Prefactor     .10000E-03    42.972        .18142E-02** at limit **
   6  norm          25.336        5.6941        .79585E-04    .20856E-04
   7  Prefactor     .10000E-03    50.455        .18142E-02** at limit **
   8  Prefactor     .10000E-03    8.7304        .18142E-02** at limit **
   9  norm          .54010        .57864        .65204E-03    .17565E-03
  10  Prefactor     .10016E-03    31.519        .63461E-01** at limit **
  11  norm          1.5056        1.4322        .57089E-04   -.79437E-03
  12  Prefactor     4.3325        52.503        .96698E-03   -.36305E-04
  13  Prefactor     .10000E-03    9.1337        .18142E-02** at limit **
  14  Prefactor     .10000E-03    3.1660        .14098E-02** at limit **
  15  norm          .10000E-03    7.9029        .18142E-02** at limit **
  16  Prefactor     9.3614        61.430        .13078E-03   -.20949E-04
  17  Prefactor     .14055        18.097        .10800        .19511E-03
  18  Prefactor     .10000E-03    7.8938        .18142E-02** at limit **
  19  norm          .10000E-03    1.9434        .11049E-02** at limit **
  20  Prefactor     .10000E-03    72.934        .18142E-02** at limit **
  21  Prefactor     2.9510        19.976        .23638E-03   -.87195E-04
  22  Normalizat    .96997        .22790        .27635E-03   -.11140E-03
  23  Prefactor     .93228        .17100        .22019E-03   -.15933E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.6375
  Prefactor  = 19.1568
  Prefactor  = 30.2759
  Prefactor  = 1.55892
  Prefactor  = 0.0001
  norm       = 25.3357
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.540101
  Prefactor  = 0.000100161
  norm       = 1.50561
  Prefactor  = 4.33255
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.36142
  Prefactor  = 0.14055
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.95096
  Normalizat = 0.969968
  Prefactor  = 0.932284
 **********
 **   18 **HESSE 
 **********

 FCN=   6600.890     FROM HESSE     STATUS=OK           368 CALLS     3000 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.637        13.609        .25465E-05   -1.4448    
   2  Prefactor     19.157        15.777        .36603E-05   -1.4832    
   3  Prefactor     30.276        58.275        .29129E-05   -1.4607    
   4  Prefactor     1.5589        5.0912        .11526E-04   -1.5458    
   5  Prefactor     .10000E-03    42.978        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          25.336        5.6937        .31834E-05   -1.4701    
   7  Prefactor     .10000E-03    50.456        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.7347        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .54010        .57845        .26081E-04   -1.5561    
  10  Prefactor     .10016E-03    24.319        .71877E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5056        1.3937        .22836E-05   -1.5463    
  12  Prefactor     4.3325        51.775        .38679E-04   -1.5292    
  13  Prefactor     .10000E-03    9.1392        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.1662        .28197E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.9044        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.3614        61.455        .52314E-05   -1.5096    
  17  Prefactor     .14055        17.699        .11007       -1.5633    
  18  Prefactor     .10000E-03    7.8943        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.9434        .22098E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    72.950        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.9510        19.968        .94554E-05   -1.5364    
  22  Normalizat    .96997        .22801        .11054E-04   -.94043    
  23  Prefactor     .93228        .17114        .44037E-04   -.95022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.96171e-10
Minuit parameter uncertainties:
  1  13.6102
  2  15.7804
  3  58.385
  4  5.09265
  5  1.4853e-05
  6  5.69379
  7  7.22668e-05
  8  5.6818e-06
  9  0.578451
  10  0.00395822
  11  1.39377
  12  29.9866
  13  4.02026e-05
  14  1.78672e-06
  15  1.71861e-06
  16  48.0425
  17  3.15425
  18  0.000205367
  19  1.56385e-05
  20  6.4944e-05
  21  15.3595
  22  0.228235
  23  0.171237
Done.

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

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.002e-04  3.958e-03  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.323e-01  1.712e-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.700e-01  2.282e-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.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/491103/likelihoodResults_640310401_640569601_4FGL_J2249.4-1300_daily_bin1547.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) = 6600.88955092
delta logL = -3.20286699207e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6600.88955086
delta logL = -3.19680557368e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96308E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4082       1.0000          .0000       10.000    
     3 'Normalizat'    .96989       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93233       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6600.878     FROM MIGRAD    STATUS=CONVERGED    155 CALLS      318 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39516        724.54        .17812E-02    .11762E-03
   2  Index         2.9593        7.9318        .22127E-01    .33838E-04
   3  Normalizat    .96417        .98020E-01    .27703E-03    .25526E-04
   4  Prefactor     .93388        .77167E-01    .21997E-03    .20570E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.395157
  Index      = 2.95926
  Normalizat = 0.964174
  Prefactor  = 0.93388
 **********
 **   18 **HESSE 
 **********

 FCN=   6600.878     FROM HESSE     STATUS=OK            27 CALLS      345 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39516        10.801        .71249E-04   -1.5582    
   2  Index         2.9593        2.6142        .88508E-03   -.42042    
   3  Normalizat    .96417        .21644        .11081E-04   -.94241    
   4  Prefactor     .93388        .16798        .87988E-05   -.94967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16562e-12
Minuit parameter uncertainties:
  1  4.13217
  2  2.78359
  3  0.21664
  4  0.168076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/491103': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6600.87818334
delta logL = 0.011335549897

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  3.952e-01  4.132e+00  1.000e-04  1.000e+04 ( 1.000e-14)
265        Index:  2.959e+00  2.784e+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.339e-01  1.681e-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.642e-01  2.166e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/491103/cmap_HighResolution_640310401_640569601_4FGL_J2249.4-1300_daily_bin1547.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.34e-03', job_status='DONE', photon_flux_upper_limit='9.50e-08', time_completed='2021-09-28 21:46:53.262563', job_id='491103', GAL2='0.93', fit_tolerance='1e-08', EG2='0.96', EG='0.97', time_epoch_completed='1632890813.26', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.13e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1547' 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@bullet0208>
Subject: Job 491103: <4FGL_J2249.4-1300_daily_bin1547> in cluster <slac> Done

Job <4FGL_J2249.4-1300_daily_bin1547> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 21:35:45 2021
Job was executed on host(s) <bullet0208>, 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:54 2021
Results reported at Tue Sep 28 21:46:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2249.4-1300_daily_bin1547 342.356 -13.0006 640310401 640569601 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 :                                   643.15 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             288.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            669 sec.

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

