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


Performing analysis on: 4FGL_J1251.3-0201_daily_bin1765
RA = 192.836, Dec = -2.0271
tmin = 696816001, tmax = 697075201
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='634086', job_status='RUN', time_executed='2023-02-03 00:58:46.797842', time_epoch_executed='1675414726.8' WHERE source_name='4FGL J1251.3-0201' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/634086

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/634086/ft1_4FGL_J1251.3-0201_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/634086/ft2_4FGL_J1251.3-0201_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/634086/ft1_4FGL_J1251.3-0201_daily_bin1765.fits outfile=/scratch/kocevski/634086/ft1_filteredMKT_4FGL_J1251.3-0201_daily_bin1765.fits ra=192.836 dec=-2.0271 rad=12.0 tmin=696816001.0 tmax=697075201.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.69
user 3.42
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/634086/ft2_4FGL_J1251.3-0201_daily_bin1765.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/634086/ft1_filteredMKT_4FGL_J1251.3-0201_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/634086/ft1_filtered_4FGL_J1251.3-0201_daily_bin1765.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.32
sys 0.17

Number of photons that the gtmktime cut: 665

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/634086/ft1_filtered_4FGL_J1251.3-0201_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/634086/ft2_4FGL_J1251.3-0201_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/634086/ltcube_696816001_697075201_4FGL_J1251.3-0201_daily_bin1765.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/634086/ft2_4FGL_J1251.3-0201_daily_bin1765.fits
.....................!
real 15.89
user 15.41
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/634086/ft1_filtered_4FGL_J1251.3-0201_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/634086/ft2_4FGL_J1251.3-0201_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/634086/ltcube_696816001_697075201_4FGL_J1251.3-0201_daily_bin1765.fits outfile=/scratch/kocevski/634086/expmap_696816001_697075201_4FGL_J1251.3-0201_daily_bin1765.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/634086/ltcube_696816001_697075201_4FGL_J1251.3-0201_daily_bin1765.fits
.....................!
real 194.79
user 188.63
sys 5.47

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/634086/ft1_filtered_4FGL_J1251.3-0201_daily_bin1765.fits scfile=/scratch/kocevski/634086/ft2_4FGL_J1251.3-0201_daily_bin1765.fits outfile=/scratch/kocevski/634086/cmap_696816001_697075201_4FGL_J1251.3-0201_daily_bin1765.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/634086/ft1_filtered_4FGL_J1251.3-0201_daily_bin1765.fits scfile=/scratch/kocevski/634086/ft2_4FGL_J1251.3-0201_daily_bin1765.fits outfile=/scratch/kocevski/634086/cmap_HighResolution_696816001_697075201_4FGL_J1251.3-0201_daily_bin1765.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/634086/ft1_filtered_4FGL_J1251.3-0201_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/634086/ft2_4FGL_J1251.3-0201_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/634086/Model_4FGL_J1251.3-0201_daily_bin1765.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/634086/ft1_filtered_4FGL_J1251.3-0201_daily_bin1765.fits.....................!
real 59.03
user 57.51
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/634086/ft1_filtered_4FGL_J1251.3-0201_daily_bin1765.fits', '/scratch/kocevski/634086/ft2_4FGL_J1251.3-0201_daily_bin1765.fits', expMap='/scratch/kocevski/634086/expmap_696816001_697075201_4FGL_J1251.3-0201_daily_bin1765.fits', expCube='/scratch/kocevski/634086/ltcube_696816001_697075201_4FGL_J1251.3-0201_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/634086/Model_4FGL_J1251.3-0201_daily_bin1765.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/634086/ft1_filtered_4FGL_J1251.3-0201_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/634086/ft2_4FGL_J1251.3-0201_daily_bin1765.fits
Exposure map: /scratch/kocevski/634086/expmap_696816001_697075201_4FGL_J1251.3-0201_daily_bin1765.fits
Exposure cube: /scratch/kocevski/634086/ltcube_696816001_697075201_4FGL_J1251.3-0201_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/634086/Model_4FGL_J1251.3-0201_daily_bin1765.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) = 7234.43710623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.4531       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28274E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .32022E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .36027E-07   1.0000          .0000       .10000E+07
     5 'norm      '    .44291E-04   1.0000          .0000       .10000E+07
     6 'norm      '    12.927       1.0000          .0000       .10000E+07
     7 'norm      '    .33180       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.7614       1.0000          .0000       .10000E+07
     9 'Prefactor '    15.538       1.0000          .0000       .10000E+07
    10 'norm      '    .53041E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3787       1.0000          .0000       .10000E+07
    12 'Prefactor '    33.116       1.0000          .0000       .10000E+07
    13 'norm      '    .42958E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11430       1.0000          .0000       .10000E+07
    15 'Prefactor '    7.2990       1.0000          .0000       .10000E+07
    16 'norm      '    20.492       1.0000          .0000       .10000E+07
    17 'norm      '    .12257E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .24813E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    .12447E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .51114       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.8959       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .43067       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=   7234.409     FROM MIGRAD    STATUS=CONVERGED    191 CALLS     1918 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4286        2.0240        .48572E-07    .30999E-01
   2  Prefactor     .11102E-09    10.293       -.74051E-06** at limit **
   3  Prefactor     .22204E-09    3.8785       -.13666E-06** at limit **
   4  norm           .0000        .81432       -.46526E-07** at limit **
   5  norm          .16653E-09    3.2882       -.30573E-06** at limit **
   6  norm          13.750        28.602        .24156E-06   -.22904E-02
   7  norm          .33011        .41247        .34160E-07   -.98497E-03
   8  Prefactor     9.7640        7.2131       -.13078E-07    .59821E-03
   9  Prefactor     15.546        8.7560       -.15421E-06   -.15157E-02
  10  norm          .16653E-09    4.2999       -.15624E-06** at limit **
  11  Prefactor     3.3204        7.0023       -.30252E-06    .70904E-03
  12  Prefactor     33.890        31.162       -.60940E-06    .50065E-02
  13  norm          .11102E-09    11.900        .40582E-06** at limit **
  14  norm          .11369        .11073        .10093E-07** at limit **
  15  Prefactor     8.9180        75.681       -.28787E-05    .15020E-02
  16  norm          20.418        3.2538        .12668E-06    .55818E-01
  17  norm          .55511E-10    6.6041       -.11489E-06** at limit **
  18  Prefactor     .38858E-09    4.7235        .22830E-06** at limit **
  19  Prefactor     .77716E-09    4.4291        .10071E-06** at limit **
  20  norm          .51291        1.1744       -.30338E-06   -.35866E-03
  21  Normalizat    1.8951        .22873        .81887E-05   -.66129E-05
  22  Prefactor     .43050        .15421       -.78138E-05    .12152E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.42858
  Prefactor  = 1.11022e-10
  Prefactor  = 2.22045e-10
  norm       = 0
  norm       = 1.66533e-10
  norm       = 13.7496
  norm       = 0.330111
  Prefactor  = 9.76401
  Prefactor  = 15.5456
  norm       = 1.66533e-10
  Prefactor  = 3.32037
  Prefactor  = 33.8899
  norm       = 1.11022e-10
  norm       = 0.113689
  Prefactor  = 8.91796
  norm       = 20.4182
  norm       = 5.55112e-11
  Prefactor  = 3.88578e-10
  Prefactor  = 7.77156e-10
  norm       = 0.512906
  Normalizat = 1.89506
  Prefactor  = 0.430503
 **********
 **   18 **HESSE 
 **********

 FCN=   7234.409     FROM HESSE     STATUS=OK           396 CALLS     2314 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4286        13.695        .34455E-03   -1.5650    
   2  Prefactor     .11102E-09    10.303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .22204E-09    3.8819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .80910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .16653E-09    3.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.750        29.085        .27834E-03   -1.5634    
   7  norm          .33011        .43841        .97856E-03   -1.5696    
   8  Prefactor     9.7640        7.2276        .32049E-03   -1.5645    
   9  Prefactor     15.546        8.7631        .25382E-03   -1.5629    
  10  norm          .16653E-09    1.0057        .29736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.3204        7.0300        .55023E-03   -1.5672    
  12  Prefactor     33.890        31.696        .17379E-03   -1.5592    
  13  norm          .11102E-09    11.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .11369        .11457        .60127E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.9180        76.438        .37102E-03   -1.5648    
  16  norm          20.418        11.120        .22097E-03   -1.5618    
  17  norm          .55511E-10    6.5567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .38858E-09    4.7357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .77716E-09    4.4513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .51291        1.1853        .77597E-03   -1.5694    
  21  Normalizat    1.8951        .20267        .52289E-01   -.67208    
  22  Prefactor     .43050        .13685        .70104E-01   -1.1528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35567e-08
Minuit parameter uncertainties:
  1  13.6953
  2  6.50307e-05
  3  5.9579e-05
  4  1.5265e-06
  5  4.29498e-05
  6  29.0853
  7  0.438411
  8  7.22765
  9  8.76312
  10  2.54068e-05
  11  7.03005
  12  31.6957
  13  7.76532e-05
  14  0.114567
  15  52.2187
  16  11.1202
  17  2.88715e-05
  18  8.31134e-05
  19  0.000116658
  20  1.18535
  21  0.202761
  22  0.136954
Done.

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

Extracting fit parameters...

4FGL J1251.3-0201
   Spectrum: LogParabola
290         norm:  1.110e-10  7.765e-05  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:  4.305e-01  1.370e-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:  1.895e+00  2.028e-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.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/634086/likelihoodResults_696816001_697075201_4FGL_J1251.3-0201_daily_bin1765.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): 0
logL (Free Index) = 7234.36751086
delta logL = 0.0410384460929

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7234.36664963
delta logL = 0.0418996709377

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0339       1.0000          .0000       .10000E+07
     2 'alpha     '    3.4757       1.0000          .0000       5.0000    
     3 'Normalizat'    1.8823       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .43454       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+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=   7234.367     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      326 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0320        18.895        .29880E-04    .28917E-04
   2  alpha         3.4744        4.1635        .41445E-01    .84272E-05
   3  Normalizat    1.8824        .22446        .23172E-03    .29437E-06
   4  Prefactor     .43450        .15371        .30899E-03    .47832E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.03204
  alpha      = 3.47439
  Normalizat = 1.88245
  Prefactor  = 0.434504
 **********
 **   18 **HESSE 
 **********

 FCN=   7234.367     FROM HESSE     STATUS=OK            25 CALLS      351 TOTAL
                     EDM=   .20E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0320        6.2094        .11952E-05   -1.5688    
   2  alpha         3.4744        1.8486        .16578E-02    .40037    
   3  Normalizat    1.8824        .22487        .92689E-05   -.67530    
   4  Prefactor     .43450        .15380        .12359E-04   -1.1508    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96218e-15
Minuit parameter uncertainties:
  1  5.06295
  2  2.14615
  3  0.224997
  4  0.153946
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/634086': 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) = 7234.3666484
delta logL = 0.0419009053476

Extracting fit parameters...

4FGL J1251.3-0201
   Spectrum: LogParabola
290         norm:  1.032e+00  5.063e+00  0.000e+00  1.000e+06 ( 1.000e-13)
291        alpha:  3.474e+00  2.146e+00  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:  4.345e-01  1.539e-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:  1.882e+00  2.250e-01  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/634086/cmap_HighResolution_696816001_697075201_4FGL_J1251.3-0201_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-05', job_status='DONE', photon_flux_upper_limit='3.79e-08', time_completed='2023-02-03 01:09:49.261743', job_id='634086', GAL2='0.43', fit_tolerance='1e-08', EG2='1.88', EG='1.90', time_epoch_completed='1675415389.26', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.43', dlogl='4.19e-02', ts2='0.09', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1765' AND source_name='4FGL J1251.3-0201' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:09:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 634086: <4FGL_J1251.3-0201_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1251.3-0201_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:55:20 2023
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:56:48 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:56:48 2023
Terminated at Fri Feb  3 01:09:50 2023
Results reported at Fri Feb  3 01:09:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1251.3-0201_daily_bin1765 192.836 -2.0271 696816001 697075201 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 :                                   663.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            870 sec.

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

