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


Performing analysis on: 4FGL_J1251.3-0201_daily_bin1756
RA = 192.836, Dec = -2.0271
tmin = 694483201, tmax = 694742401
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='13087', job_status='RUN', time_executed='2023-01-07 00:50:43.045775', time_epoch_executed='1673081443.05' WHERE source_name='4FGL J1251.3-0201' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/13087

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/13087/ft1_4FGL_J1251.3-0201_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/13087/ft2_4FGL_J1251.3-0201_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/13087/ft1_4FGL_J1251.3-0201_daily_bin1756.fits outfile=/scratch/kocevski/13087/ft1_filteredMKT_4FGL_J1251.3-0201_daily_bin1756.fits ra=192.836 dec=-2.0271 rad=12.0 tmin=694483201.0 tmax=694742401.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.02
user 2.77
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/13087/ft2_4FGL_J1251.3-0201_daily_bin1756.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/13087/ft2_4FGL_J1251.3-0201_daily_bin1756.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/13087/ft1_filteredMKT_4FGL_J1251.3-0201_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/13087/ft1_filtered_4FGL_J1251.3-0201_daily_bin1756.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 726

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/13087/ft1_filtered_4FGL_J1251.3-0201_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/13087/ft2_4FGL_J1251.3-0201_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/13087/ltcube_694483201_694742401_4FGL_J1251.3-0201_daily_bin1756.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/13087/ft2_4FGL_J1251.3-0201_daily_bin1756.fits
.....................!
real 14.99
user 14.60
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/13087/ft1_filtered_4FGL_J1251.3-0201_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/13087/ft2_4FGL_J1251.3-0201_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/13087/ltcube_694483201_694742401_4FGL_J1251.3-0201_daily_bin1756.fits outfile=/scratch/kocevski/13087/expmap_694483201_694742401_4FGL_J1251.3-0201_daily_bin1756.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/13087/ltcube_694483201_694742401_4FGL_J1251.3-0201_daily_bin1756.fits
.....................!
real 191.29
user 185.77
sys 5.09

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 179 point sources and 0 extended sources

Setting source of interest to:
4FGL J1251.3-0201 @ 192.836 -2.0271

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/13087/ft1_filtered_4FGL_J1251.3-0201_daily_bin1756.fits scfile=/scratch/kocevski/13087/ft2_4FGL_J1251.3-0201_daily_bin1756.fits outfile=/scratch/kocevski/13087/cmap_694483201_694742401_4FGL_J1251.3-0201_daily_bin1756.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=192.836 yref=-2.0271 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/13087/ft1_filtered_4FGL_J1251.3-0201_daily_bin1756.fits scfile=/scratch/kocevski/13087/ft2_4FGL_J1251.3-0201_daily_bin1756.fits outfile=/scratch/kocevski/13087/cmap_HighResolution_694483201_694742401_4FGL_J1251.3-0201_daily_bin1756.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=192.836 yref=-2.0271 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.56
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/13087/ft1_filtered_4FGL_J1251.3-0201_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/13087/ft2_4FGL_J1251.3-0201_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/13087/Model_4FGL_J1251.3-0201_daily_bin1756.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/13087/ft1_filtered_4FGL_J1251.3-0201_daily_bin1756.fits.....................!
real 61.38
user 60.03
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/13087/ft1_filtered_4FGL_J1251.3-0201_daily_bin1756.fits', '/scratch/kocevski/13087/ft2_4FGL_J1251.3-0201_daily_bin1756.fits', expMap='/scratch/kocevski/13087/expmap_694483201_694742401_4FGL_J1251.3-0201_daily_bin1756.fits', expCube='/scratch/kocevski/13087/ltcube_694483201_694742401_4FGL_J1251.3-0201_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/13087/Model_4FGL_J1251.3-0201_daily_bin1756.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1251.3-0201'

4FGL J1251.3-0201
   Spectrum: LogParabola
290         norm:  5.916e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
291        alpha:  1.951e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.558e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.195e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/13087/ft1_filtered_4FGL_J1251.3-0201_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/13087/ft2_4FGL_J1251.3-0201_daily_bin1756.fits
Exposure map: /scratch/kocevski/13087/expmap_694483201_694742401_4FGL_J1251.3-0201_daily_bin1756.fits
Exposure cube: /scratch/kocevski/13087/ltcube_694483201_694742401_4FGL_J1251.3-0201_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/13087/Model_4FGL_J1251.3-0201_daily_bin1756.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) = 7921.24102047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15489E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.7947       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.313       1.0000          .0000       .10000E+07
     4 'norm      '    .32085E-07   1.0000          .0000       .10000E+07
     5 'norm      '    2.7199       1.0000          .0000       .10000E+07
     6 'norm      '    .25070E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.1302       1.0000          .0000       .10000E+07
     8 'Prefactor '    .36589E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.4526       1.0000          .0000       .10000E+07
    10 'norm      '    .31691E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5548       1.0000          .0000       .10000E+07
    12 'Prefactor '    48.831       1.0000          .0000       .10000E+07
    13 'norm      '    .78240E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .87749E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    42.413       1.0000          .0000       .10000E+07
    16 'norm      '    13.552       1.0000          .0000       .10000E+07
    17 'norm      '    .70900E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .28032E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.9545       1.0000          .0000       .10000E+07
    20 'norm      '    .31366       1.0000          .0000       .10000E+07
    21 'Normalizat'    .91389       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2338       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7921.182     FROM MIGRAD    STATUS=CONVERGED    219 CALLS     1942 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11158E-07    23.659        .37446E-06** at limit **
   2  Prefactor     6.5022        1.7751        .17353E-07    .32609E-02
   3  Prefactor     13.250        11.870        .28845E-07    .39385E-01
   4  norm          .54956E-08    5.6905        .60806E-07** at limit **
   5  norm          2.7255        2.4324        .13240E-07   -.29759E-03
   6  norm          .13151E-06    15.250        .22076E-06** at limit **
   7  norm          1.1315        .51361       -.12420E-08   -.28511E-02
   8  Prefactor     .13323E-08    6.8078       -.69507E-08** at limit **
   9  Prefactor     8.4277        8.6716        .28765E-07    .25692E-01
  10  norm          .24104E-01    12.339        .18875E-06** at limit **
  11  Prefactor     7.5385        7.4582       -.46619E-07    .10184E-02
  12  Prefactor     49.857        39.543        .22615E-07   -.56129E-02
  13  norm          .46763E-06    8.2499       -.12580E-06** at limit **
  14  norm          .86731E-01    .13074        .13347E-07** at limit **
  15  Prefactor     42.419        1.1489       -.14985E-08    .55633E-02
  16  norm          13.542        9.8111       -.17633E-07   -.96396E-02
  17  norm          .55511E-10    2.3633       -.67618E-07** at limit **
  18  Prefactor     .74823E-06    7.2617        .14963E-10** at limit **
  19  Prefactor     3.9116        7.6008        .19451E-07    .25992E-02
  20  norm          .31349        .89529        .22158E-07    .21339E-03
  21  Normalizat    .91442        .23055        .22684E-05   -.74493E-04
  22  Prefactor     1.2337        .17327       -.27089E-05   -.15702E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11577e-08
  Prefactor  = 6.50225
  Prefactor  = 13.2497
  norm       = 5.4956e-09
  norm       = 2.72552
  norm       = 1.31506e-07
  norm       = 1.13148
  Prefactor  = 1.33227e-09
  Prefactor  = 8.42771
  norm       = 0.0241041
  Prefactor  = 7.5385
  Prefactor  = 49.8573
  norm       = 4.67626e-07
  norm       = 0.0867314
  Prefactor  = 42.4188
  norm       = 13.5418
  norm       = 5.55112e-11
  Prefactor  = 7.48235e-07
  Prefactor  = 3.9116
  norm       = 0.313489
  Normalizat = 0.914415
  Prefactor  = 1.23366
 **********
 **   18 **HESSE 
 **********

 FCN=   7921.182     FROM HESSE     STATUS=OK           402 CALLS     2344 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11158E-07    23.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.5022        19.178        .38468E-03   -1.5657    
   3  Prefactor     13.250        12.986        .27426E-03   -1.5635    
   4  norm          .54956E-08    5.6368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.7255        2.4693        .61726E-03   -1.5675    
   6  norm          .13151E-06    16.357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.1315        .52290        .88735E-03   -1.5687    
   8  Prefactor     .13323E-08    6.8167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.4277        8.8965        .34456E-03   -1.5650    
  10  norm          .24104E-01    .54470        .38738E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5385        7.4854        .36463E-03   -1.5653    
  12  Prefactor     49.857        40.900        .14311E-03   -1.5567    
  13  norm          .46763E-06    11.757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .86731E-01    .15333        .83980E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     42.419        46.961        .15356E-03   -1.5578    
  16  norm          13.542        10.051        .27183E-03   -1.5634    
  17  norm          .55511E-10    2.3736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .74823E-06    12.754        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.9116        7.6140        .50701E-03   -1.5668    
  20  norm          .31349        .91695        .10026E-02   -1.5697    
  21  Normalizat    .91442        .19611        .71755E-01   -.95955    
  22  Prefactor     1.2337        .14522        .48450E-01   -.85302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45385e-07
Minuit parameter uncertainties:
  1  0.00103165
  2  19.178
  3  12.9859
  4  0.000352053
  5  2.46934
  6  0.00293309
  7  0.522895
  8  0.000189603
  9  8.89649
  10  0.229169
  11  7.48544
  12  40.8998
  13  0.00468962
  14  0.153333
  15  46.9616
  16  10.0507
  17  2.31474e-05
  18  0.00617837
  19  7.61401
  20  0.916948
  21  0.196263
  22  0.145266
Done.

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

Extracting fit parameters...

4FGL J1251.3-0201
   Spectrum: LogParabola
290         norm:  4.676e-07  4.690e-03  0.000e+00  1.000e+06 ( 1.000e-13)
291        alpha:  1.951e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.558e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.195e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  1.234e+00  1.453e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  9.144e-01  1.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.836 -2.027
Photon Flux Upper Limit: 3.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.73e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/13087/likelihoodResults_694483201_694742401_4FGL_J1251.3-0201_daily_bin1756.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) = 7921.18425898
delta logL = -0.0024383434984

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7921.18182125
delta logL = -6.16714714852e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41557E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    2.8142       1.0000          .0000       5.0000    
     3 'Normalizat'    .91431       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2338       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7921.182     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      216 TOTAL
                     EDM=   .41E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        12.695       -.14053E-05** at limit **
   2  alpha         1.3713        2.9852       -.71829E-04     .0000    
   3  Normalizat    .91442        .21952       -.42057E-05   -.55848E-05
   4  Prefactor     1.2337        .17025        .28509E-05   -.23549E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.37126
  Normalizat = 0.914415
  Prefactor  = 1.23366
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7921.182     FROM HESSE     STATUS=FAILED        11 CALLS      227 TOTAL
                     EDM=   .41E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        12.697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .42593        1.0415       -.71829E-04   -.46844    
   3  Normalizat    .91442        1.2490       -.42057E-05   -.95955    
   4  Prefactor     1.2337        1.0929        .28509E-05   -.85302    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.09232e-13
Minuit parameter uncertainties:
  1  4.87179e-08
  2  0.92729
  3  1.29237
  4  1.11408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/13087': 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): 101
logL (Free Index) = 7921.18182062
delta logL = 1.98851921596e-08

Extracting fit parameters...

4FGL J1251.3-0201
   Spectrum: LogParabola
290         norm:  0.000e+00  4.872e-08  0.000e+00  1.000e+06 ( 1.000e-13)
291        alpha:  1.371e+00  9.273e-01  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  1.558e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.195e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  1.234e+00  1.114e+00  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  9.144e-01  1.292e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.836 -2.027

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/13087/cmap_HighResolution_694483201_694742401_4FGL_J1251.3-0201_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.73e-05', job_status='DONE', photon_flux_upper_limit='3.95e-08', time_completed='2023-01-07 01:01:57.908879', job_id='13087', GAL2='1.23', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1673082117.91', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='1.99e-08', ts2='0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1756' AND source_name='4FGL J1251.3-0201' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 01:01:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0087>
Subject: Job 13087: <4FGL_J1251.3-0201_daily_bin1756> in cluster <slac> Done

Job <4FGL_J1251.3-0201_daily_bin1756> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan  7 00:50:13 2023
Job was executed on host(s) <bullet0087>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:50:35 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:50:35 2023
Terminated at Sat Jan  7 01:01:58 2023
Results reported at Sat Jan  7 01:01:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1251.3-0201_daily_bin1756 192.836 -2.0271 694483201 694742401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1251.3-0201 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   676.50 sec.
    Max Memory :                                 1277 MB
    Average Memory :                             374.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2931 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   683 sec.
    Turnaround time :                            705 sec.

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

