aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 24 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2249.4-1300_daily_bin1743
RA = 342.356, Dec = -13.0006
tmin = 691113601, tmax = 691372801
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='462862', job_status='RUN', time_executed='2022-11-29 01:11:51.263271', time_epoch_executed='1669713111.26' WHERE source_name='4FGL J2249.4-1300' and cadence='daily' and bin_id='1743'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462862

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462862/ft1_4FGL_J2249.4-1300_daily_bin1743.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462862/ft2_4FGL_J2249.4-1300_daily_bin1743.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462862/ft1_4FGL_J2249.4-1300_daily_bin1743.fits outfile=/scratch/kocevski/462862/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin1743.fits ra=342.356 dec=-13.0006 rad=12.0 tmin=691113601.0 tmax=691372801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.75
user 2.52
sys 0.20

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

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

Number of photons that the gtmktime cut: 623

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462862/ft1_filtered_4FGL_J2249.4-1300_daily_bin1743.fits" evtable="EVENTS" scfile=/scratch/kocevski/462862/ft2_4FGL_J2249.4-1300_daily_bin1743.fits sctable="SC_DATA" outfile=/scratch/kocevski/462862/ltcube_691113601_691372801_4FGL_J2249.4-1300_daily_bin1743.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/462862/ft2_4FGL_J2249.4-1300_daily_bin1743.fits
.....................!
real 16.21
user 15.74
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462862/ft1_filtered_4FGL_J2249.4-1300_daily_bin1743.fits evtable="EVENTS" scfile=/scratch/kocevski/462862/ft2_4FGL_J2249.4-1300_daily_bin1743.fits sctable="SC_DATA" expcube=/scratch/kocevski/462862/ltcube_691113601_691372801_4FGL_J2249.4-1300_daily_bin1743.fits outfile=/scratch/kocevski/462862/expmap_691113601_691372801_4FGL_J2249.4-1300_daily_bin1743.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/462862/ltcube_691113601_691372801_4FGL_J2249.4-1300_daily_bin1743.fits
.....................!
real 191.11
user 185.64
sys 5.08

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/462862/ft1_filtered_4FGL_J2249.4-1300_daily_bin1743.fits scfile=/scratch/kocevski/462862/ft2_4FGL_J2249.4-1300_daily_bin1743.fits outfile=/scratch/kocevski/462862/cmap_691113601_691372801_4FGL_J2249.4-1300_daily_bin1743.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462862/ft1_filtered_4FGL_J2249.4-1300_daily_bin1743.fits scfile=/scratch/kocevski/462862/ft2_4FGL_J2249.4-1300_daily_bin1743.fits outfile=/scratch/kocevski/462862/cmap_HighResolution_691113601_691372801_4FGL_J2249.4-1300_daily_bin1743.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/462862/ft1_filtered_4FGL_J2249.4-1300_daily_bin1743.fits evtable="EVENTS" scfile=/scratch/kocevski/462862/ft2_4FGL_J2249.4-1300_daily_bin1743.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/462862/Model_4FGL_J2249.4-1300_daily_bin1743.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/462862/ft1_filtered_4FGL_J2249.4-1300_daily_bin1743.fits.....................!
real 60.93
user 59.54
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/462862/ft1_filtered_4FGL_J2249.4-1300_daily_bin1743.fits', '/scratch/kocevski/462862/ft2_4FGL_J2249.4-1300_daily_bin1743.fits', expMap='/scratch/kocevski/462862/expmap_691113601_691372801_4FGL_J2249.4-1300_daily_bin1743.fits', expCube='/scratch/kocevski/462862/ltcube_691113601_691372801_4FGL_J2249.4-1300_daily_bin1743.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/462862/Model_4FGL_J2249.4-1300_daily_bin1743.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  0.000e+00  1.000e+06 ( 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/462862/ft1_filtered_4FGL_J2249.4-1300_daily_bin1743.fits
Spacecraft file(s): /scratch/kocevski/462862/ft2_4FGL_J2249.4-1300_daily_bin1743.fits
Exposure map: /scratch/kocevski/462862/expmap_691113601_691372801_4FGL_J2249.4-1300_daily_bin1743.fits
Exposure cube: /scratch/kocevski/462862/ltcube_691113601_691372801_4FGL_J2249.4-1300_daily_bin1743.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/462862/Model_4FGL_J2249.4-1300_daily_bin1743.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) = 6875.22230317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.731       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.2858       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19782E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .74455E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .38741E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .11604E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.3868       1.0000          .0000       .10000E+07
     8 'norm      '    7.7152       1.0000          .0000       .10000E+07
     9 'Prefactor '    .36697E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .22204E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.322       1.0000          .0000       .10000E+07
    12 'Prefactor '    .71497       1.0000          .0000       .10000E+07
    13 'norm      '    1.9346       1.0000          .0000       .10000E+07
    14 'Prefactor '    .33886E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    16.542       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.1349       1.0000          .0000       .10000E+07
    17 'norm      '    .23388E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .20903E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    .91371       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .89250       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6875.201     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1540 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.749        10.613        .34819E-06    .47078E-01
   2  Prefactor     6.3003        10.429        .51535E-07   -.97496E-03
   3  Prefactor     .48724E-04    7.2549        .76684E-06** at limit **
   4  Prefactor     .16281E-06    9.6173        .10042E-06** at limit **
   5  norm          .62593E-04    288.35        .95548E-05** at limit **
   6  Prefactor     .15049E-06    31.864        .69479E-06** at limit **
   7  Prefactor     6.4224        5.2183       -.21390E-07   -.14218E-01
   8  norm          7.7143        1.3408       -.39738E-07   -.16389E-01
   9  Prefactor     .11158E-07    5.7387       -.48323E-07** at limit **
  10  norm           .0000        .54525        .62321E-07** at limit **
  11  Prefactor     35.256        8.5927       -.13728E-06   -.11156    
  12  Prefactor     .73095        2.6437       -.40850E-06   -.48344E-03
  13  norm          2.0366        15.473        .12490E-06   -.35132E-03
  14  Prefactor     .93314E-06    16.192       -.14678E-05** at limit **
  15  Prefactor     16.540        14.117        .18467E-06   -.83599E-01
  16  Prefactor     4.1473        4.9076       -.64758E-07   -.90622E-03
  17  norm          .11713E-07    3.4482        .39320E-07** at limit **
  18  Prefactor     .12029E-06    7.2074       -.29562E-06** at limit **
  19  Normalizat    .91370        .19678        .28563E-05   -.20965E-03
  20  Prefactor     .89234        .15252       -.93348E-05   -.28555E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.749
  Prefactor  = 6.30033
  Prefactor  = 4.87244e-05
  Prefactor  = 1.62814e-07
  norm       = 6.2593e-05
  Prefactor  = 1.50491e-07
  Prefactor  = 6.42243
  norm       = 7.71429
  Prefactor  = 1.11577e-08
  norm       = 0
  Prefactor  = 35.2559
  Prefactor  = 0.730949
  norm       = 2.03658
  Prefactor  = 9.33142e-07
  Prefactor  = 16.54
  Prefactor  = 4.1473
  norm       = 1.17129e-08
  Prefactor  = 1.20293e-07
  Normalizat = 0.913698
  Prefactor  = 0.89234
 **********
 **   18 **HESSE 
 **********

 FCN=   6875.201     FROM HESSE     STATUS=OK           339 CALLS     1879 TOTAL
                     EDM=   .76E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.749        10.745        .25226E-03   -1.5629    
   2  Prefactor     6.3003        11.016        .40014E-03   -1.5658    
   3  Prefactor     .48724E-04    1.9125        .61626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16281E-06    16.593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .62593E-04    2.1152        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .15049E-06    32.057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.4224        11.145        .39692E-03   -1.5657    
   8  norm          7.7143        1.3448        .36078E-03   -1.5652    
   9  Prefactor     .11158E-07    5.7752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .53748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.256        22.942        .16828E-03   -1.5589    
  12  Prefactor     .73095        35.187        .59502E-03   -1.5691    
  13  norm          2.0366        18.686        .74632E-03   -1.5679    
  14  Prefactor     .93314E-06    17.923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.540        14.876        .24599E-03   -1.5627    
  16  Prefactor     4.1473        4.9147        .49547E-03   -1.5667    
  17  norm          .11713E-07    3.4447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .12029E-06    17.658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .91370        .17471        .45077E-01   -.95980    
  20  Prefactor     .89234        .13193        .44909E-01   -.96409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.58574e-07
Minuit parameter uncertainties:
  1  10.745
  2  11.0161
  3  0.0193065
  4  0.00328721
  5  0.0230127
  6  0.00439303
  7  11.1454
  8  1.34479
  9  0.00050717
  10  1.26563e-06
  11  22.9422
  12  10.143
  13  12.338
  14  0.00817931
  15  14.8764
  16  4.91468
  17  0.000401499
  18  0.00291471
  19  0.174818
  20  0.131978
Done.

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

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.116e-08  5.072e-04  0.000e+00  1.000e+06 ( 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:  8.923e-01  1.320e-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.137e-01  1.748e-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: 7.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/462862/likelihoodResults_691113601_691372801_4FGL_J2249.4-1300_daily_bin1743.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) = 6875.28492213
delta logL = -0.0843784220297

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6875.20054371
delta logL = -1.89356796909e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10936E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .51883       1.0000          .0000       10.000    
     3 'Normalizat'    .91370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6875.201     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      208 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    9.4170        .10268E-05** at limit **
   2  Index         1.9105        5.9240       -.62012E-04    .16292E-10
   3  Normalizat    .91370        .19360       -.14355E-04   -.36165E-04
   4  Prefactor     .89234        .15170        .95636E-05    .33066E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 1.91052
  Normalizat = 0.913697
  Prefactor  = 0.892341
 **********
 **   18 **HESSE 
 **********

 FCN=   6875.201     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      239 TOTAL
                     EDM=   .70E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .83361E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9105        7.2914        .39935       -.66606    
   3  Normalizat    .91370        .39866E-03    .45076E-01   -.95980    
   4  Prefactor     .89234        .31280E-03    .44907E-01   -.96409    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.01205e-14
Minuit parameter uncertainties:
  1  6.76863e-06
  2  21920.8
  3  0.000398657
  4  0.000312803
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462862': 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) = 6875.2005437
delta logL = 9.79525793809e-10

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.110e-10  6.769e-06  0.000e+00  1.000e+06 ( 1.000e-14)
265        Index:  1.911e+00  2.192e+04  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:  8.923e-01  3.128e-04  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.137e-01  3.987e-04  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/462862/cmap_HighResolution_691113601_691372801_4FGL_J2249.4-1300_daily_bin1743.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-03', job_status='DONE', photon_flux_upper_limit='7.55e-08', time_completed='2022-11-29 01:20:55.501069', job_id='462862', GAL2='0.89', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1669713655.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='9.80e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1743' AND source_name='4FGL J2249.4-1300' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov 29 01:20:55 PST 2022


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

Job <4FGL_J2249.4-1300_daily_bin1743> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Nov 29 01:05:43 2022
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov 29 01:11:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov 29 01:11:18 2022
Terminated at Tue Nov 29 01:20:56 2022
Results reported at Tue Nov 29 01:20:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2249.4-1300_daily_bin1743 342.356 -13.0006 691113601 691372801 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 :                                   546.53 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             328.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   577 sec.
    Turnaround time :                            913 sec.

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

