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


Performing analysis on: 4FGL_J1253.2+5301_daily_bin1777
RA = 193.307, Dec = 53.0173
tmin = 699926401, tmax = 700185601
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='914572', job_status='RUN', time_executed='2023-03-11 00:41:33.940361', time_epoch_executed='1678524093.94' WHERE source_name='4FGL J1253.2+5301' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/914572

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/914572/ft1_4FGL_J1253.2+5301_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/914572/ft2_4FGL_J1253.2+5301_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/914572/ft1_4FGL_J1253.2+5301_daily_bin1777.fits outfile=/scratch/kocevski/914572/ft1_filteredMKT_4FGL_J1253.2+5301_daily_bin1777.fits ra=193.307 dec=53.0173 rad=12.0 tmin=699926401.0 tmax=700185601.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.68
user 3.47
sys 0.19

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

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

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

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

Number of photons that the gtmktime cut: 559

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/914572/ft1_filtered_4FGL_J1253.2+5301_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/914572/ft2_4FGL_J1253.2+5301_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/914572/ltcube_699926401_700185601_4FGL_J1253.2+5301_daily_bin1777.fits outfile=/scratch/kocevski/914572/expmap_699926401_700185601_4FGL_J1253.2+5301_daily_bin1777.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/914572/ltcube_699926401_700185601_4FGL_J1253.2+5301_daily_bin1777.fits
.....................!
real 191.74
user 185.80
sys 5.60

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/914572/ft1_filtered_4FGL_J1253.2+5301_daily_bin1777.fits scfile=/scratch/kocevski/914572/ft2_4FGL_J1253.2+5301_daily_bin1777.fits outfile=/scratch/kocevski/914572/cmap_699926401_700185601_4FGL_J1253.2+5301_daily_bin1777.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/914572/ft1_filtered_4FGL_J1253.2+5301_daily_bin1777.fits scfile=/scratch/kocevski/914572/ft2_4FGL_J1253.2+5301_daily_bin1777.fits outfile=/scratch/kocevski/914572/cmap_HighResolution_699926401_700185601_4FGL_J1253.2+5301_daily_bin1777.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.54
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2746       1.0000          .0000       .10000E+07
     2 'norm      '    .76229       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.1944       1.0000          .0000       .10000E+07
     4 'Prefactor '    .63851E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16461E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .20250E-06   1.0000          .0000       .10000E+07
     7 'norm      '    9.2138       1.0000          .0000       .10000E+07
     8 'Prefactor '    .27684E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .21616E-06   1.0000          .0000       .10000E+07
    10 'norm      '    6.5698       1.0000          .0000       .10000E+07
    11 'Prefactor '    .20463E-01   1.0000          .0000       .10000E+07
    12 'norm      '    3.7786       1.0000          .0000       .10000E+07
    13 'Prefactor '    .87280E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .16515E-02   1.0000          .0000       .10000E+07
    15 'norm      '    2.9527       1.0000          .0000       .10000E+07
    16 'norm      '    .95460E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    41.510       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.7442       1.0000          .0000       .10000E+07
    19 'norm      '    2.3091       1.0000          .0000       .10000E+07
    20 'Prefactor '    .12525E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .15249E-06   1.0000          .0000       .10000E+07
    22 'norm      '    1.6487       1.0000          .0000       .10000E+07
    23 'Prefactor '    .46251E-05   1.0000          .0000       .10000E+07
    24 'Normalizat'    .92421       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99028       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=   6192.353     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     2084 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2554        3.0318       -.77714E-07   -.59544E-02
   2  norm          .71525        3.4489       -.38223E-06    .16181E-02
   3  Prefactor     6.2175        2.8337       -.75833E-06    .79622E-01
   4  Prefactor     .33307E-09    4.7599        .10090E-05** at limit **
   5  Prefactor     .85043E-07    3.7691       -.42173E-06** at limit **
   6  norm           .0000        .39638       -.20116E-06** at limit **
   7  norm          9.2396        7.1085        .15456E-05   -.15698E-02
   8  Prefactor     .14211E-07    10.177        .10202E-05** at limit **
   9  Prefactor     .49849E-07    9.8104        .53203E-05** at limit **
  10  norm          6.5723        2.5312        .11343E-06    .51086E-02
  11  Prefactor     .33307E-09    17.598        .14776E-05** at limit **
  12  norm          3.7778        1.9795       -.33958E-06   -.29472E-02
  13  Prefactor     .36576E-06    2.9496        .27005E-05** at limit **
  14  Prefactor     .10653E-06    4.7315       -.13736E-05** at limit **
  15  norm          2.9543        10.127        .29859E-05    .17948E-02
  16  norm           .0000        1.7782        .74323E-06** at limit **
  17  Prefactor     41.585        1.3658        .48176E-07   -.38327E-02
  18  Prefactor     9.7500        1.9256        .32390E-06   -.39630E-01
  19  norm          2.3267        3.3960       -.28438E-05    .33162E-02
  20  Prefactor     .16109E-06    102.11       -.63731E-05** at limit **
  21  norm           .0000        .42115       -.77942E-06** at limit **
  22  norm          1.6539        3.3451       -.21237E-05    .49627E-03
  23  Prefactor     .34972E-08    46.658       -.25800E-05** at limit **
  24  Normalizat    .92411        .17630        .16599E-04    .62783E-03
  25  Prefactor     .99059        .22035        .24007E-05    .47941E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.2554
  norm       = 0.715248
  Prefactor  = 6.21755
  Prefactor  = 3.33067e-10
  Prefactor  = 8.50431e-08
  norm       = 0
  norm       = 9.23957
  Prefactor  = 1.42109e-08
  Prefactor  = 4.9849e-08
  norm       = 6.57228
  Prefactor  = 3.33067e-10
  norm       = 3.77783
  Prefactor  = 3.65763e-07
  Prefactor  = 1.06526e-07
  norm       = 2.95427
  norm       = 0
  Prefactor  = 41.5846
  Prefactor  = 9.75005
  norm       = 2.32667
  Prefactor  = 1.61093e-07
  norm       = 0
  norm       = 1.65386
  Prefactor  = 3.4972e-09
  Normalizat = 0.924111
  Prefactor  = 0.990588
 **********
 **   18 **HESSE 
 **********

 FCN=   6192.353     FROM HESSE     STATUS=OK           477 CALLS     2561 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2554        3.5648        .55933E-03   -1.5672    
   2  norm          .71525        3.4512        .55789E-03   -1.5691    
   3  Prefactor     6.2175        22.422        .40312E-03   -1.5658    
   4  Prefactor     .33307E-09    4.7536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .85043E-07    8.2571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .39862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.2396        7.1297        .32993E-03   -1.5647    
   8  Prefactor     .14211E-07    10.213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .49849E-07    10.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.5723        2.5315        .39129E-03   -1.5657    
  11  Prefactor     .33307E-09    16.844        .17006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.7778        1.9837        .51909E-03   -1.5669    
  13  Prefactor     .36576E-06    106.04        .14284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10653E-06    8.3148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.9543        10.183        .59075E-03   -1.5674    
  16  norm           .0000        1.7728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     41.585        34.292        .15523E-03   -1.5579    
  18  Prefactor     9.7500        19.545        .32078E-03   -1.5646    
  19  norm          2.3267        3.4304        .67494E-03   -1.5677    
  20  Prefactor     .16109E-06    102.46        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        .42185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.6539        3.3700        .82207E-03   -1.5682    
  23  Prefactor     .34972E-08    46.683        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .92411        .15121        .45210E-01   -.95618    
  25  Prefactor     .99059        .18746        .46145E-01   -.93044    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.13303e-07
Minuit parameter uncertainties:
  1  3.56481
  2  3.14228
  3  22.4222
  4  7.85791e-05
  5  0.00167571
  6  1.97885e-06
  7  7.12968
  8  0.000761982
  9  0.00143241
  10  2.53151
  11  0.000148313
  12  1.98369
  13  0.0124559
  14  0.00188218
  15  10.1833
  16  4.52715e-06
  17  34.292
  18  19.5451
  19  3.43035
  20  0.00812493
  21  2.45135e-06
  22  3.37003
  23  0.000808489
  24  0.151281
  25  0.187582
Done.

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

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  3.778e+00  1.984e+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

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  9.906e-01  1.876e-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:  9.241e-01  1.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.02
Ra Dec: 193.307 53.017
Photon Index (Fixed Index): 1.93 +/- 0.00
Photon Flux (Fixed Index): 3.67e-08 +/- 1.93e-08
Energy Flux (Fixed Index): 2.65e-05 +/- 1.39e-05

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) = 6191.93204783
delta logL = 0.42122726313

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6191.91812624
delta logL = 0.435148855494

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5902       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5073       1.0000          .0000       5.0000    
     3 'Normalizat'    .93577       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98688       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=   6191.918     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      197 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5911        2.1469        .53307E-03   -.51016E-02
   2  alpha         1.5075        .39520        .31630       -.19131E-04
   3  Normalizat    .93575        .14772        .45357E-01    .13010E-04
   4  Prefactor     .98691        .18554        .46103E-01    .11340E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.59115
  alpha      = 1.50755
  Normalizat = 0.93575
  Prefactor  = 0.986909
 **********
 **   18 **HESSE 
 **********

 FCN=   6191.918     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5911        2.2442        .83236E-05   -1.5670    
   2  alpha         1.5075        .45387        .12664E-01   -.40822    
   3  Normalizat    .93575        .17322        .21776E-03   -.95215    
   4  Prefactor     .98691        .21802        .26627E-03   -.93167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40336e-10
Minuit parameter uncertainties:
  1  2.24418
  2  0.456888
  3  0.173328
  4  0.218217
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/914572': 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) = 6191.91812605
delta logL = 0.43514904418

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  3.591e+00  2.244e+00  0.000e+00  1.000e+06 ( 1.000e-12)
334        alpha:  1.508e+00  4.569e-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.869e-01  2.182e-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:  9.358e-01  1.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.89
Ra Dec: 193.307 53.017
Photon Index (Free Index): 1.51 +/- 0.46
Photon Flux (Free Index): 2.25e-08 +/- 1.83e-08
Energy Flux (Free Index): 4.37e-05 +/- 3.69e-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/914572/cmap_HighResolution_699926401_700185601_4FGL_J1253.2+5301_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.67e-08', energy_flux2='4.37e-05', photon_flux_error='1.93e-08', dlogl='4.35e-01', energy_flux='2.65e-05', photon_flux2='2.25e-08', job_status='DONE', time_completed='2023-03-11 00:51:46.910788', photon_index_error2='0.46', photon_index2='1.51', ts='16.02', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.69e-05', EG='0.92', time_epoch_completed='1678524706.91', return_code='0', job_id='914572', GAL2='0.99', EG2='0.94', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='1.83e-08', ts2='16.89', photon_index='1.93' WHERE bin_id='1777' AND source_name='4FGL J1253.2+5301' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 00:51:46 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 914572: <4FGL_J1253.2+5301_daily_bin1777> in cluster <slac> Done

Job <4FGL_J1253.2+5301_daily_bin1777> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sat Mar 11 00:40:20 2023
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:40:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:40:21 2023
Terminated at Sat Mar 11 00:51:47 2023
Results reported at Sat Mar 11 00:51:47 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1253.2+5301_daily_bin1777 193.307 53.0173 699926401 700185601 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 :                                   615.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            687 sec.

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

