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


Performing analysis on: 4FGL_J1253.2+5301_daily_bin1714
RA = 193.307, Dec = 53.0173
tmin = 683596801, tmax = 683856001
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='123337', job_status='RUN', time_executed='2022-09-16 17:05:18.873174', time_epoch_executed='1663373118.87' WHERE source_name='4FGL J1253.2+5301' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/123337

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/123337/ft1_4FGL_J1253.2+5301_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/123337/ft2_4FGL_J1253.2+5301_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/123337/ft1_4FGL_J1253.2+5301_daily_bin1714.fits outfile=/scratch/kocevski/123337/ft1_filteredMKT_4FGL_J1253.2+5301_daily_bin1714.fits ra=193.307 dec=53.0173 rad=12.0 tmin=683596801.0 tmax=683856001.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.52
user 3.29
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/123337/ft2_4FGL_J1253.2+5301_daily_bin1714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/123337/ft2_4FGL_J1253.2+5301_daily_bin1714.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/123337/ft1_filteredMKT_4FGL_J1253.2+5301_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/123337/ft1_filtered_4FGL_J1253.2+5301_daily_bin1714.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 550

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/123337/ft1_filtered_4FGL_J1253.2+5301_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/123337/ft2_4FGL_J1253.2+5301_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/123337/ltcube_683596801_683856001_4FGL_J1253.2+5301_daily_bin1714.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/123337/ft2_4FGL_J1253.2+5301_daily_bin1714.fits
.....................!
real 14.70
user 14.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/123337/ft1_filtered_4FGL_J1253.2+5301_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/123337/ft2_4FGL_J1253.2+5301_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/123337/ltcube_683596801_683856001_4FGL_J1253.2+5301_daily_bin1714.fits outfile=/scratch/kocevski/123337/expmap_683596801_683856001_4FGL_J1253.2+5301_daily_bin1714.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/123337/ltcube_683596801_683856001_4FGL_J1253.2+5301_daily_bin1714.fits
.....................!
real 192.63
user 187.13
sys 4.42

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

Setting source of interest to:
4FGL J1253.2+5301 @ 193.307 53.0173

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/123337/ft1_filtered_4FGL_J1253.2+5301_daily_bin1714.fits scfile=/scratch/kocevski/123337/ft2_4FGL_J1253.2+5301_daily_bin1714.fits outfile=/scratch/kocevski/123337/cmap_683596801_683856001_4FGL_J1253.2+5301_daily_bin1714.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=193.307 yref=53.0173 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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/123337/ft1_filtered_4FGL_J1253.2+5301_daily_bin1714.fits scfile=/scratch/kocevski/123337/ft2_4FGL_J1253.2+5301_daily_bin1714.fits outfile=/scratch/kocevski/123337/cmap_HighResolution_683596801_683856001_4FGL_J1253.2+5301_daily_bin1714.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=193.307 yref=53.0173 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/123337/ft1_filtered_4FGL_J1253.2+5301_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/123337/ft2_4FGL_J1253.2+5301_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/123337/Model_4FGL_J1253.2+5301_daily_bin1714.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/123337/ft1_filtered_4FGL_J1253.2+5301_daily_bin1714.fits.....................!
real 52.19
user 50.45
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/123337/ft1_filtered_4FGL_J1253.2+5301_daily_bin1714.fits', '/scratch/kocevski/123337/ft2_4FGL_J1253.2+5301_daily_bin1714.fits', expMap='/scratch/kocevski/123337/expmap_683596801_683856001_4FGL_J1253.2+5301_daily_bin1714.fits', expCube='/scratch/kocevski/123337/ltcube_683596801_683856001_4FGL_J1253.2+5301_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/123337/Model_4FGL_J1253.2+5301_daily_bin1714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1253.2+5301'

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  3.003e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
334        alpha:  1.931e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
335         beta:  8.810e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  1.175e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/123337/ft1_filtered_4FGL_J1253.2+5301_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/123337/ft2_4FGL_J1253.2+5301_daily_bin1714.fits
Exposure map: /scratch/kocevski/123337/expmap_683596801_683856001_4FGL_J1253.2+5301_daily_bin1714.fits
Exposure cube: /scratch/kocevski/123337/ltcube_683596801_683856001_4FGL_J1253.2+5301_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/123337/Model_4FGL_J1253.2+5301_daily_bin1714.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) = 6070.72686233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18302E-06   1.0000          .0000       .10000E+07
     2 'norm      '    6.5001       1.0000          .0000       .10000E+07
     3 'Prefactor '    15.227       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2514       1.0000          .0000       .10000E+07
     5 'Prefactor '    .27434E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .21205E-07   1.0000          .0000       .10000E+07
     7 'norm      '    5.1208       1.0000          .0000       .10000E+07
     8 'Prefactor '    .33334E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.2719       1.0000          .0000       .10000E+07
    10 'norm      '    1.1476       1.0000          .0000       .10000E+07
    11 'Prefactor '    .38491E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .21230E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .45044E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .64105E-01   1.0000          .0000       .10000E+07
    15 'norm      '    19.590       1.0000          .0000       .10000E+07
    16 'norm      '    2.1599       1.0000          .0000       .10000E+07
    17 'Prefactor '    25.195       1.0000          .0000       .10000E+07
    18 'Prefactor '    16.235       1.0000          .0000       .10000E+07
    19 'norm      '    .81476E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .17380E-02   1.0000          .0000       .10000E+07
    21 'norm      '    1.1191       1.0000          .0000       .10000E+07
    22 'norm      '    1.4138       1.0000          .0000       .10000E+07
    23 'Prefactor '    58.896       1.0000          .0000       .10000E+07
    24 'Normalizat'    .87012       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .94757       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6070.722     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     2109 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4324        .16574E-06** at limit **
   2  norm          6.4860        4.9061       -.18759E-07   -.10871E-02
   3  Prefactor     15.219        1.6804        .14063E-07   -.50623E-02
   4  Prefactor     8.2156        6.7752       -.63124E-07   -.20359E-03
   5  Prefactor     .14466E-06    4.4507        .16393E-07** at limit **
   6  norm           .0000        .58173        .38374E-07** at limit **
   7  norm          5.1405        5.0005        .21041E-07    .11074E-03
   8  Prefactor     .26978E-07    6.0909       -.12061E-06** at limit **
   9  Prefactor     2.2741        3.0246        .29491E-07    .58475E-03
  10  norm          1.1494        1.4275        .69122E-07    .23976E-02
  11  Prefactor     .32752E-08    11.263       -.49796E-06** at limit **
  12  norm          .54401E-08    4.7816       -.19438E-06** at limit **
  13  Prefactor     .29865E-06    15.268       -.31935E-06** at limit **
  14  Prefactor     .77161E-08    39.934       -.23371E-06** at limit **
  15  norm          19.581        1.2317       -.74484E-08   -.12969E-01
  16  norm          2.1496        4.0967       -.22820E-06   -.22576E-02
  17  Prefactor     25.235        2.2944       -.76702E-08    .62838E-01
  18  Prefactor     16.354        5.7985        .22217E-07   -.73327E-01
  19  norm          .48356E-06    2.3894        .39630E-08** at limit **
  20  Prefactor     .28344E-06    19.406       -.34569E-06** at limit **
  21  norm          1.1179        1.1916       -.52004E-07   -.23283E-02
  22  norm          1.4124        2.7311        .11755E-06    .14675E-02
  23  Prefactor     58.974        5.7513        .12074E-07   -.17410    
  24  Normalizat    .87022        .16483       -.43676E-06   -.41401E-04
  25  Prefactor     .94753        .20978        .50868E-07   -.28677E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 6.48599
  Prefactor  = 15.2188
  Prefactor  = 8.21565
  Prefactor  = 1.44662e-07
  norm       = 0
  norm       = 5.1405
  Prefactor  = 2.69784e-08
  Prefactor  = 2.27414
  norm       = 1.14937
  Prefactor  = 3.27516e-09
  norm       = 5.44009e-09
  Prefactor  = 2.9865e-07
  Prefactor  = 7.71605e-09
  norm       = 19.5811
  norm       = 2.14957
  Prefactor  = 25.2353
  Prefactor  = 16.3544
  norm       = 4.83558e-07
  Prefactor  = 2.8344e-07
  norm       = 1.11794
  norm       = 1.41244
  Prefactor  = 58.9741
  Normalizat = 0.870219
  Prefactor  = 0.94753
 **********
 **   18 **HESSE 
 **********

 FCN=   6070.722     FROM HESSE     STATUS=OK           485 CALLS     2594 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4860        4.9157        .39340E-03   -1.5657    
   3  Prefactor     15.219        18.884        .25641E-03   -1.5630    
   4  Prefactor     8.2156        6.7851        .34877E-03   -1.5651    
   5  Prefactor     .14466E-06    5.5277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .58184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.1405        5.0129        .44405E-03   -1.5663    
   8  Prefactor     .26978E-07    6.5526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.2741        3.0434        .68105E-03   -1.5678    
  10  norm          1.1494        1.4766        .10813E-02   -1.5687    
  11  Prefactor     .32752E-08    11.672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .54401E-08    .97115        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .29865E-06    16.179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .77161E-08    4.2336        .10066E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          19.581        13.941        .22601E-03   -1.5619    
  16  norm          2.1496        4.2465        .70062E-03   -1.5679    
  17  Prefactor     25.235        36.919        .19927E-03   -1.5607    
  18  Prefactor     16.354        41.117        .24831E-03   -1.5627    
  19  norm          .48356E-06    6.5491        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .28344E-06    19.932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.1179        1.2021        .11106E-03   -1.5687    
  22  norm          1.4124        2.7720        .91036E-03   -1.5684    
  23  Prefactor     58.974        52.346        .13031E-03   -1.5554    
  24  Normalizat    .87022        .14415        .44519E-01   -.97515    
  25  Prefactor     .94753        .17999        .45608E-01   -.94499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75507e-06
Minuit parameter uncertainties:
  1  1.14547e-05
  2  4.91566
  3  18.8839
  4  6.78506
  5  0.00178858
  6  4.48322e-06
  7  5.01295
  8  0.000840864
  9  3.04337
  10  1.47657
  11  0.000390722
  12  0.000145516
  13  0.00439637
  14  0.000360845
  15  13.941
  16  4.24651
  17  36.9194
  18  41.1175
  19  0.00355907
  20  0.00475389
  21  1.20213
  22  2.77204
  23  52.3461
  24  0.144211
  25  0.180102
Done.

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

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  5.440e-09  1.455e-04  0.000e+00  1.000e+06 ( 1.000e-12)
334        alpha:  1.931e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
335         beta:  8.810e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  1.175e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  9.475e-01  1.801e-01  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  8.702e-01  1.442e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 193.307 53.017
Photon Flux Upper Limit: 4.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.08e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/123337/likelihoodResults_683596801_683856001_4FGL_J1253.2+5301_daily_bin1714.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) = 6070.72631808
delta logL = -0.0045198899661

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6070.29769957
delta logL = 0.424098619922

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12637       1.0000          .0000       .10000E+07
     2 'alpha     '    .34705       1.0000          .0000       5.0000    
     3 'Normalizat'    .86308       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95316       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+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=   6070.298     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      306 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12685        .37297        .52216E-04** at limit **
   2  alpha         .34713        .89418        .43197E-01   -.10796E-03
   3  Normalizat    .86339        .16356        .21329E-03   -.26651E-06
   4  Prefactor     .95271        .20853        .25873E-03    .79094E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.126851
  alpha      = 0.347127
  Normalizat = 0.86339
  Prefactor  = 0.952715
 **********
 **   18 **HESSE 
 **********

 FCN=   6070.298     FROM HESSE     STATUS=OK            27 CALLS      333 TOTAL
                     EDM=   .58E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12685        .39217        .10443E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .34713        .92835        .86394E-02   -1.0375    
   3  Normalizat    .86339        .16373        .85316E-05   -.97759    
   4  Prefactor     .95271        .20876        .10349E-04   -.94323    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.8e-12
Minuit parameter uncertainties:
  1  0.392169
  2  1.04088
  3  0.163828
  4  0.208936
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/123337': 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) = 6070.29769443
delta logL = 0.424103757793

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  1.269e-01  3.922e-01  0.000e+00  1.000e+06 ( 1.000e-12)
334        alpha:  3.471e-01  1.041e+00  0.000e+00  5.000e+00 ( 1.000e+00)
335         beta:  8.810e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  1.175e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  9.527e-01  2.089e-01  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  8.634e-01  1.638e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 193.307 53.017

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/123337/cmap_HighResolution_683596801_683856001_4FGL_J1253.2+5301_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-05', job_status='DONE', photon_flux_upper_limit='4.27e-08', time_completed='2022-09-16 17:16:43.861896', job_id='123337', GAL2='0.95', fit_tolerance='1e-08', EG2='0.86', EG='0.87', time_epoch_completed='1663373803.86', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='4.24e-01', ts2='0.85', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='1714' AND source_name='4FGL J1253.2+5301' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:16:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 123337: <4FGL_J1253.2+5301_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1253.2+5301_daily_bin1714> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 17:00:20 2022
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:01:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:01:35 2022
Terminated at Fri Sep 16 17:16:44 2022
Results reported at Fri Sep 16 17:16:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1253.2+5301_daily_bin1714 193.307 53.0173 683596801 683856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1253.2+5301 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   684.58 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             264.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            984 sec.

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

