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


Performing analysis on: 4FGL_J2249.4-1300_daily_bin1698
RA = 342.356, Dec = -13.0006
tmin = 679449601, tmax = 679708801
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='925740', job_status='RUN', time_executed='2022-07-17 00:37:30.551558', time_epoch_executed='1658043450.55' WHERE source_name='4FGL J2249.4-1300' and cadence='daily' and bin_id='1698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925740

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925740/ft1_4FGL_J2249.4-1300_daily_bin1698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925740/ft2_4FGL_J2249.4-1300_daily_bin1698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925740/ft1_4FGL_J2249.4-1300_daily_bin1698.fits outfile=/scratch/kocevski/925740/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin1698.fits ra=342.356 dec=-13.0006 rad=12.0 tmin=679449601.0 tmax=679708801.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.47
user 3.25
sys 0.17

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

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

Number of photons that the gtmktime cut: 570

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925740/ft1_filtered_4FGL_J2249.4-1300_daily_bin1698.fits" evtable="EVENTS" scfile=/scratch/kocevski/925740/ft2_4FGL_J2249.4-1300_daily_bin1698.fits sctable="SC_DATA" outfile=/scratch/kocevski/925740/ltcube_679449601_679708801_4FGL_J2249.4-1300_daily_bin1698.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/925740/ft2_4FGL_J2249.4-1300_daily_bin1698.fits
.....................!
real 11.82
user 11.49
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925740/ft1_filtered_4FGL_J2249.4-1300_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/925740/ft2_4FGL_J2249.4-1300_daily_bin1698.fits sctable="SC_DATA" expcube=/scratch/kocevski/925740/ltcube_679449601_679708801_4FGL_J2249.4-1300_daily_bin1698.fits outfile=/scratch/kocevski/925740/expmap_679449601_679708801_4FGL_J2249.4-1300_daily_bin1698.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/925740/ltcube_679449601_679708801_4FGL_J2249.4-1300_daily_bin1698.fits
.....................!
real 190.63
user 186.08
sys 4.61

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/925740/ft1_filtered_4FGL_J2249.4-1300_daily_bin1698.fits scfile=/scratch/kocevski/925740/ft2_4FGL_J2249.4-1300_daily_bin1698.fits outfile=/scratch/kocevski/925740/cmap_679449601_679708801_4FGL_J2249.4-1300_daily_bin1698.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925740/ft1_filtered_4FGL_J2249.4-1300_daily_bin1698.fits scfile=/scratch/kocevski/925740/ft2_4FGL_J2249.4-1300_daily_bin1698.fits outfile=/scratch/kocevski/925740/cmap_HighResolution_679449601_679708801_4FGL_J2249.4-1300_daily_bin1698.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/925740/ft1_filtered_4FGL_J2249.4-1300_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/925740/ft2_4FGL_J2249.4-1300_daily_bin1698.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/925740/Model_4FGL_J2249.4-1300_daily_bin1698.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/925740/ft1_filtered_4FGL_J2249.4-1300_daily_bin1698.fits.....................!
real 55.41
user 54.21
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.391       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.6568       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.8549       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.7613       1.0000         .10000E-03   10000.    
     7 'Prefactor '    41.367       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.7495       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.8188       1.0000         .10000E-03   10000.    
    11 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.4630       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.6390       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .16863E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.070       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0372       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .81565       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=   6345.978     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2542 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.396        17.839        .40814E-07   -.66938E-04
   2  Prefactor     .10000E-03    10.750        .90145E-07** at limit **
   3  Prefactor     5.6574        69.947        .22355E-06   -.34661E-04
   4  Prefactor     3.8563        3.5951       -.13002E-07   -.63012E-04
   5  Prefactor     .10000E-03    76.613        .81399E-06** at limit **
   6  norm          3.7620        3.5680       -.12967E-07   -.12468E-03
   7  Prefactor     41.382        85.560        .20388E-05    .51290E-04
   8  Prefactor     .10000E-03    14.274       -.14531E-06** at limit **
   9  norm          4.7497        1.3132        .17646E-07   -.84439E-03
  10  Prefactor     3.8024        9.9297       -.25294E-05   -.42323E-03
  11  norm          .10000E-03    .54438        .76145E-06** at limit **
  12  Prefactor     .10000E-03    33.167        .27116E-06** at limit **
  13  Prefactor     4.4630        4.9409       -.26198E-07   -.61939E-04
  14  Prefactor     .10000E-03    4.0839        .26754E-07** at limit **
  15  norm          1.6395        3.6318        .94631E-06   -.13858E-02
  16  Prefactor     .10000E-03    10.972        .46777E-07** at limit **
  17  Prefactor     .10000E-03    10.729       -.96195E-07** at limit **
  18  Prefactor     .10000E-03    3.1419       -.17856E-07** at limit **
  19  norm          .10000E-03    1.5669       -.10559E-07** at limit **
  20  Prefactor     .10000E-03    149.99        .63081E-07** at limit **
  21  Prefactor     11.044        11.664        .93941E-06    .38489E-03
  22  Normalizat    1.0369        .18171       -.71809E-06   -.17335E-03
  23  Prefactor     .81573        .13468        .25302E-06   -.26466E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.3965
  Prefactor  = 0.0001
  Prefactor  = 5.65744
  Prefactor  = 3.85634
  Prefactor  = 0.000100001
  norm       = 3.762
  Prefactor  = 41.3824
  Prefactor  = 0.0001
  norm       = 4.74971
  Prefactor  = 3.80238
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.46304
  Prefactor  = 0.0001
  norm       = 1.63947
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 11.0443
  Normalizat = 1.03693
  Prefactor  = 0.815731
 **********
 **   18 **HESSE 
 **********

 FCN=   6345.978     FROM HESSE     STATUS=OK           366 CALLS     2908 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.396        17.862        .58868E-04   -1.4345    
   2  Prefactor     .10000E-03    10.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.6574        70.170        .84447E-03   -1.5232    
   4  Prefactor     3.8563        3.5853        .13822E-03   -1.5315    
   5  Prefactor     .10000E-03    76.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.7620        3.5522        .13543E-03   -1.5320    
   7  Prefactor     41.382        85.532        .62325E-04   -1.4420    
   8  Prefactor     .10000E-03    14.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.7497        1.3118        .45110E-04   -1.5272    
  10  Prefactor     3.8024        11.005        .20654E-03   -1.5318    
  11  norm          .10000E-03    .85421        .10457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    33.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4630        4.9416        .18157E-03   -1.5285    
  14  Prefactor     .10000E-03    4.0941        .15721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.6395        11.298        .16505E-02   -1.5452    
  16  Prefactor     .10000E-03    10.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.1721        .13788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.5744        .97377E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    152.13        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.044        11.782        .12041E-03   -1.5043    
  22  Normalizat    1.0369        .20578        .25702E-03   -.91803    
  23  Prefactor     .81573        .15465        .21906E-03   -.99151    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.20693e-09
Minuit parameter uncertainties:
  1  17.8645
  2  1.765e-05
  3  39.9067
  4  3.58551
  5  0.000434021
  6  3.55236
  7  85.7868
  8  8.72479e-06
  9  1.31185
  10  11.0111
  11  8.00676e-06
  12  8.95269e-05
  13  4.94205
  14  2.68616e-06
  15  8.60951
  16  1.18947e-05
  17  2.65201e-05
  18  1.68036e-06
  19  6.2179e-07
  20  0.00112831
  21  11.7847
  22  0.205936
  23  0.154736
Done.

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

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  3.802e+00  1.101e+01  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:  8.157e-01  1.547e-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.037e+00  2.059e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 342.356 -13.001
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/925740/likelihoodResults_679449601_679708801_4FGL_J2249.4-1300_daily_bin1698.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) = 6344.79211182
delta logL = 1.18616367589

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6344.55912013
delta logL = 1.4191553649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    6.3353       1.0000          .0000       10.000    
     3 'Normalizat'    .92689       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87247       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=   6346.045     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      407 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    613.75        .90712E-02** at limit **
   2  Index         1.9727        8.8983        .50000       -.21767E-04
   3  Normalizat    1.0459        .17075E-01    .45244E-01    .93890E-04
   4  Prefactor     .81607        .13130E-01    .44653E-01    .84822E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.97274
  Normalizat = 1.04589
  Prefactor  = 0.81607
 **********
 **   18 **HESSE 
 **********

 FCN=   6346.045     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      440 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    640.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9727        8.9324        .50000       -.65033    
   3  Normalizat    1.0459        .17292E-01    .25614E-03   -.91508    
   4  Prefactor     .81607        .13297E-01    .21909E-03   -.99139    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.51799e-09
Minuit parameter uncertainties:
  1  0.000790577
  2  15.1471
  3  0.0172924
  4  0.0132967
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925740': 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) = 6346.04539827
delta logL = -0.0671227717439

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  7.906e-04  1.000e-04  1.000e+04 ( 1.000e-14)
265        Index:  1.973e+00  1.515e+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:  8.161e-01  1.330e-02  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  1.046e+00  1.729e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
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/925740/cmap_HighResolution_679449601_679708801_4FGL_J2249.4-1300_daily_bin1698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.17e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2022-07-17 00:47:46.268312', job_id='925740', GAL2='0.82', fit_tolerance='1e-08', EG2='1.05', EG='1.04', time_epoch_completed='1658044066.27', return_code2='102', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='-6.71e-02', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1698' AND source_name='4FGL J2249.4-1300' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 17 00:47:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 925740: <4FGL_J2249.4-1300_daily_bin1698> in cluster <slac> Done

Job <4FGL_J2249.4-1300_daily_bin1698> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul 17 00:35:27 2022
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 17 00:35:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 17 00:35:28 2022
Terminated at Sun Jul 17 00:47:47 2022
Results reported at Sun Jul 17 00:47:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2249.4-1300_daily_bin1698 342.356 -13.0006 679449601 679708801 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 :                                   619.06 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             288.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            740 sec.

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

