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


Performing analysis on: 4FGL_J1253.2+5301_daily_bin1767
RA = 193.307, Dec = 53.0173
tmin = 697334401, tmax = 697593601
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='77125', job_status='RUN', time_executed='2023-02-09 01:13:49.158673', time_epoch_executed='1675934029.16' WHERE source_name='4FGL J1253.2+5301' and cadence='daily' and bin_id='1767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77125

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77125/ft1_4FGL_J1253.2+5301_daily_bin1767.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77125/ft2_4FGL_J1253.2+5301_daily_bin1767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77125/ft1_4FGL_J1253.2+5301_daily_bin1767.fits outfile=/scratch/kocevski/77125/ft1_filteredMKT_4FGL_J1253.2+5301_daily_bin1767.fits ra=193.307 dec=53.0173 rad=12.0 tmin=697334401.0 tmax=697593601.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.74
user 3.38
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/77125/ft2_4FGL_J1253.2+5301_daily_bin1767.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/77125/ft1_filteredMKT_4FGL_J1253.2+5301_daily_bin1767.fits evtable="EVENTS" outfile="/scratch/kocevski/77125/ft1_filtered_4FGL_J1253.2+5301_daily_bin1767.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.52
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 585

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77125/ft1_filtered_4FGL_J1253.2+5301_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/77125/ft2_4FGL_J1253.2+5301_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/77125/ltcube_697334401_697593601_4FGL_J1253.2+5301_daily_bin1767.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/77125/ft2_4FGL_J1253.2+5301_daily_bin1767.fits
.....................!
real 16.34
user 15.82
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77125/ft1_filtered_4FGL_J1253.2+5301_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/77125/ft2_4FGL_J1253.2+5301_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/77125/ltcube_697334401_697593601_4FGL_J1253.2+5301_daily_bin1767.fits outfile=/scratch/kocevski/77125/expmap_697334401_697593601_4FGL_J1253.2+5301_daily_bin1767.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/77125/ltcube_697334401_697593601_4FGL_J1253.2+5301_daily_bin1767.fits
.....................!
real 194.19
user 187.16
sys 5.90

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/77125/ft1_filtered_4FGL_J1253.2+5301_daily_bin1767.fits scfile=/scratch/kocevski/77125/ft2_4FGL_J1253.2+5301_daily_bin1767.fits outfile=/scratch/kocevski/77125/cmap_697334401_697593601_4FGL_J1253.2+5301_daily_bin1767.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77125/ft1_filtered_4FGL_J1253.2+5301_daily_bin1767.fits scfile=/scratch/kocevski/77125/ft2_4FGL_J1253.2+5301_daily_bin1767.fits outfile=/scratch/kocevski/77125/cmap_HighResolution_697334401_697593601_4FGL_J1253.2+5301_daily_bin1767.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.57
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/77125/ft1_filtered_4FGL_J1253.2+5301_daily_bin1767.fits', '/scratch/kocevski/77125/ft2_4FGL_J1253.2+5301_daily_bin1767.fits', expMap='/scratch/kocevski/77125/expmap_697334401_697593601_4FGL_J1253.2+5301_daily_bin1767.fits', expCube='/scratch/kocevski/77125/ltcube_697334401_697593601_4FGL_J1253.2+5301_daily_bin1767.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/77125/Model_4FGL_J1253.2+5301_daily_bin1767.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/77125/ft1_filtered_4FGL_J1253.2+5301_daily_bin1767.fits
Spacecraft file(s): /scratch/kocevski/77125/ft2_4FGL_J1253.2+5301_daily_bin1767.fits
Exposure map: /scratch/kocevski/77125/expmap_697334401_697593601_4FGL_J1253.2+5301_daily_bin1767.fits
Exposure cube: /scratch/kocevski/77125/ltcube_697334401_697593601_4FGL_J1253.2+5301_daily_bin1767.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/77125/Model_4FGL_J1253.2+5301_daily_bin1767.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) = 6332.41223791

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35528E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .32770E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .91189E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .53474       1.0000          .0000       .10000E+07
     5 'Prefactor '    13.007       1.0000          .0000       .10000E+07
     6 'norm      '    3.0951       1.0000          .0000       .10000E+07
     7 'norm      '    14.448       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16531E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.1012       1.0000          .0000       .10000E+07
    10 'norm      '    1.0893       1.0000          .0000       .10000E+07
    11 'Prefactor '    .67152E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .66970       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20576E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    12.834       1.0000          .0000       .10000E+07
    15 'norm      '    15.858       1.0000          .0000       .10000E+07
    16 'norm      '    1.3668       1.0000          .0000       .10000E+07
    17 'Prefactor '    13.296       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21684E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .19809E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    7.7344       1.0000          .0000       .10000E+07
    21 'norm      '    .62861E-06   1.0000          .0000       .10000E+07
    22 'norm      '    .24365E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .72236E-02   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0186       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .90652       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=   6332.341     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     2042 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5384       -.23065E-06** at limit **
   2  norm           .0000        1.7065        .69614E-07** at limit **
   3  Prefactor     .82506E-06    9.2427       -.28680E-06** at limit **
   4  Prefactor     .55148        12.180       -.38510E-06    .12223E-02
   5  Prefactor     13.043        3.5133       -.37552E-07   -.12511E-03
   6  norm          3.0936        2.2992       -.32514E-07    .93796E-04
   7  norm          14.409        7.4591       -.10299E-06   -.20527E-02
   8  Prefactor      .0000        20.885        .92433E-06** at limit **
   9  Prefactor     3.0559        5.7324       -.18712E-06   -.34642E-02
  10  norm          1.0906        1.2417       -.72725E-07   -.39200E-03
  11  Prefactor     .16653E-08    10.320        .42389E-06** at limit **
  12  norm          .67025        .68550       -.11088E-06   -.12884E-02
  13  Prefactor     .10374E-05    9.0864        .32284E-06** at limit **
  14  Prefactor     12.769        9.3643        .19863E-06    .86406E-02
  15  norm          15.986        4.4527       -.12571E-06   -.74414E-01
  16  norm          1.3700        1.8226        .30166E-07   -.18754E-04
  17  Prefactor     12.741        1.7682        .35432E-07   -.19719E-02
  18  Prefactor     .84038E-06    13.851       -.31186E-06** at limit **
  19  norm           .0000        1.3649        .30181E-06** at limit **
  20  Prefactor     7.9186        23.895        .10183E-05   -.45126E-01
  21  norm           .0000        .93864       -.16579E-06** at limit **
  22  norm           .0000        1.6536        .18073E-06** at limit **
  23  Prefactor     .34800E-06    11.543        .40284E-06** at limit **
  24  Normalizat    1.0192        .17486        .25032E-05    .43643E-04
  25  Prefactor     .90638        .21499        .13305E-05    .21584E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  Prefactor  = 8.25062e-07
  Prefactor  = 0.551479
  Prefactor  = 13.0428
  norm       = 3.0936
  norm       = 14.4088
  Prefactor  = 0
  Prefactor  = 3.05591
  norm       = 1.09056
  Prefactor  = 1.66533e-09
  norm       = 0.670254
  Prefactor  = 1.03739e-06
  Prefactor  = 12.7688
  norm       = 15.9857
  norm       = 1.37002
  Prefactor  = 12.741
  Prefactor  = 8.40383e-07
  norm       = 0
  Prefactor  = 7.9186
  norm       = 0
  norm       = 0
  Prefactor  = 3.47999e-07
  Normalizat = 1.01916
  Prefactor  = 0.906379
 **********
 **   18 **HESSE 
 **********

 FCN=   6332.341     FROM HESSE     STATUS=OK           475 CALLS     2517 TOTAL
                     EDM=   .83E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.7072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .82506E-06    13.872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55148        16.886        .75289E-03   -1.5693    
   5  Prefactor     13.043        17.466        .27748E-03   -1.5636    
   6  norm          3.0936        2.3061        .57619E-03   -1.5673    
   7  norm          14.409        7.4960        .26324E-03   -1.5632    
   8  Prefactor      .0000        20.220        .17276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0559        5.7730        .57559E-03   -1.5673    
  10  norm          1.0906        1.2438        .11466E-03   -1.5687    
  11  Prefactor     .16653E-08    10.430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .67025        .67508        .63203E-03   -1.5692    
  13  Prefactor     .10374E-05    14.686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.769        9.3875        .27935E-03   -1.5636    
  15  norm          15.986        14.258        .25124E-03   -1.5628    
  16  norm          1.3700        1.8550        .93279E-03   -1.5685    
  17  Prefactor     12.741        24.854        .27444E-03   -1.5637    
  18  Prefactor     .84038E-06    21.176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        1.3608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.9186        45.920        .36033E-03   -1.5652    
  21  norm           .0000        .93267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        1.6529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .34800E-06    19.954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0192        .15140        .43561E-01   -.92391    
  25  Prefactor     .90638        .18479        .45088E-01   -.95919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.26968e-07
Minuit parameter uncertainties:
  1  3.97321e-07
  2  8.29676e-06
  3  0.0067662
  4  6.10315
  5  17.466
  6  2.30609
  7  7.49602
  8  3.66879e-05
  9  5.77296
  10  1.24377
  11  0.000262947
  12  0.675077
  13  0.00780659
  14  9.38755
  15  14.2585
  16  1.85501
  17  24.8541
  18  0.00843712
  19  5.90473e-07
  20  38.1383
  21  7.68303e-07
  22  9.42978e-07
  23  0.00527028
  24  0.151465
  25  0.184915
Done.

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

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  6.703e-01  6.751e-01  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.064e-01  1.849e-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:  1.019e+00  1.515e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.30
Ra Dec: 193.307 53.017
Photon Index (Fixed Index): 1.93 +/- 0.00
Photon Flux (Fixed Index): 6.51e-09 +/- 6.55e-09
Energy Flux (Fixed Index): 4.70e-06 +/- 4.74e-06

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) = 6331.66227338
delta logL = 0.678703560963

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6331.65997406
delta logL = 0.68100287213

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66000       1.0000          .0000       .10000E+07
     2 'alpha     '    1.0963       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0214       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90516       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.

 FCN=   6331.660     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      192 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .65909        .66402        .64017E-03   -.46672E-02
   2  alpha         1.0969        .53038        .49066       -.28723E-04
   3  Normalizat    1.0215        .14556        .43152E-01    .37363E-04
   4  Prefactor     .90496        .18354        .45071E-01    .32883E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.659093
  alpha      = 1.09693
  Normalizat = 1.02155
  Prefactor  = 0.904962
 **********
 **   18 **HESSE 
 **********

 FCN=   6331.660     FROM HESSE     STATUS=OK            33 CALLS      225 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .65909        .75358        .62655E-05   -1.5692    
   2  alpha         1.0969        .64255        .19856E-01   -.59587    
   3  Normalizat    1.0215        .16996        .20844E-03   -.92312    
   4  Prefactor     .90496        .21427        .27617E-03   -.95968    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21308e-11
Minuit parameter uncertainties:
  1  0.753582
  2  0.653348
  3  0.170052
  4  0.214467
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77125': 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) = 6331.65997136
delta logL = 0.681005575929

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  6.591e-01  7.536e-01  0.000e+00  1.000e+06 ( 1.000e-12)
334        alpha:  1.097e+00  6.533e-01  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.050e-01  2.145e-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:  1.022e+00  1.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.66
Ra Dec: 193.307 53.017
Photon Index (Free Index): 1.10 +/- 0.65
Photon Flux (Free Index): 3.66e-09 +/- 3.98e-09
Energy Flux (Free Index): 2.13e-05 +/- 3.48e-05

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/77125/cmap_HighResolution_697334401_697593601_4FGL_J1253.2+5301_daily_bin1767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.51e-09', energy_flux2='2.13e-05', photon_flux_error='6.55e-09', dlogl='6.81e-01', energy_flux='4.70e-06', photon_flux2='3.66e-09', job_status='DONE', time_completed='2023-02-09 01:24:32.531916', photon_index_error2='0.65', photon_index2='1.10', ts='5.30', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='3.48e-05', EG='1.02', time_epoch_completed='1675934672.53', return_code='0', job_id='77125', GAL2='0.90', EG2='1.02', return_code2='0', energy_flux_error='4.74e-06', photon_flux_error2='3.98e-09', ts2='6.66', photon_index='1.93' WHERE bin_id='1767' AND source_name='4FGL J1253.2+5301' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb  9 01:24:32 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 77125: <4FGL_J1253.2+5301_daily_bin1767> in cluster <slac> Done

Job <4FGL_J1253.2+5301_daily_bin1767> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Feb  9 01:10:19 2023
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb  9 01:10:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb  9 01:10:29 2023
Terminated at Thu Feb  9 01:24:32 2023
Results reported at Thu Feb  9 01:24:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1253.2+5301_daily_bin1767 193.307 53.0173 697334401 697593601 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 :                                   642.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            853 sec.

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

