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 162 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7488
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1253.2+5301_daily_bin1746
RA = 193.307, Dec = 53.0173
tmin = 691891201, tmax = 692150401
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='724763', job_status='RUN', time_executed='2022-12-08 00:53:10.897735', time_epoch_executed='1670489590.9' WHERE source_name='4FGL J1253.2+5301' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724763

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724763/ft1_4FGL_J1253.2+5301_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724763/ft2_4FGL_J1253.2+5301_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724763/ft1_4FGL_J1253.2+5301_daily_bin1746.fits outfile=/scratch/kocevski/724763/ft1_filteredMKT_4FGL_J1253.2+5301_daily_bin1746.fits ra=193.307 dec=53.0173 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.72
user 4.48
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/724763/ft2_4FGL_J1253.2+5301_daily_bin1746.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/724763/ft1_filteredMKT_4FGL_J1253.2+5301_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/724763/ft1_filtered_4FGL_J1253.2+5301_daily_bin1746.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.33
sys 0.16

Number of photons that the gtmktime cut: 640

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724763/ft1_filtered_4FGL_J1253.2+5301_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/724763/ft2_4FGL_J1253.2+5301_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/724763/ltcube_691891201_692150401_4FGL_J1253.2+5301_daily_bin1746.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/724763/ft2_4FGL_J1253.2+5301_daily_bin1746.fits
.....................!
real 12.21
user 11.87
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724763/ft1_filtered_4FGL_J1253.2+5301_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/724763/ft2_4FGL_J1253.2+5301_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/724763/ltcube_691891201_692150401_4FGL_J1253.2+5301_daily_bin1746.fits outfile=/scratch/kocevski/724763/expmap_691891201_692150401_4FGL_J1253.2+5301_daily_bin1746.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/724763/ltcube_691891201_692150401_4FGL_J1253.2+5301_daily_bin1746.fits
.....................!
real 191.01
user 185.32
sys 5.36

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/724763/ft1_filtered_4FGL_J1253.2+5301_daily_bin1746.fits scfile=/scratch/kocevski/724763/ft2_4FGL_J1253.2+5301_daily_bin1746.fits outfile=/scratch/kocevski/724763/cmap_691891201_692150401_4FGL_J1253.2+5301_daily_bin1746.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724763/ft1_filtered_4FGL_J1253.2+5301_daily_bin1746.fits scfile=/scratch/kocevski/724763/ft2_4FGL_J1253.2+5301_daily_bin1746.fits outfile=/scratch/kocevski/724763/cmap_HighResolution_691891201_692150401_4FGL_J1253.2+5301_daily_bin1746.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.62
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19624       1.0000          .0000       .10000E+07
     2 'norm      '    .32118E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    14.480       1.0000          .0000       .10000E+07
     4 'Prefactor '    .49451       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31905E-03   1.0000          .0000       .10000E+07
     6 'norm      '    1.8762       1.0000          .0000       .10000E+07
     7 'norm      '    3.9436       1.0000          .0000       .10000E+07
     8 'Prefactor '    .47722E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9998       1.0000          .0000       .10000E+07
    10 'norm      '    1.7127       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17700E-03   1.0000          .0000       .10000E+07
    12 'norm      '    2.1305       1.0000          .0000       .10000E+07
    13 'Prefactor '    17.182       1.0000          .0000       .10000E+07
    14 'Prefactor '    .44835E-03   1.0000          .0000       .10000E+07
    15 'norm      '    14.974       1.0000          .0000       .10000E+07
    16 'norm      '    .14633E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .45785       1.0000          .0000       .10000E+07
    18 'Prefactor '    .11687E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .22382E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.583       1.0000          .0000       .10000E+07
    21 'norm      '    .97473       1.0000          .0000       .10000E+07
    22 'norm      '    .39820E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .31786E-02   1.0000          .0000       .10000E+07
    24 'Normalizat'    .86516       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2732       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=   7095.992     FROM MIGRAD    STATUS=CONVERGED    189 CALLS     1725 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21966        9.6919       -.20642E-06** at limit **
   2  norm           .0000        2.8895        .23969E-06** at limit **
   3  Prefactor     14.160        9.7998       -.10241E-06   -.10643    
   4  Prefactor     .50290        10.849       -.20122E-06   -.82145E-03
   5  Prefactor     .55511E-10    7.6270        .49571E-07** at limit **
   6  norm          1.8762        1.6967       -.52336E-07   -.26998E-02
   7  norm          3.9922        7.2749        .75164E-07    .15513E-02
   8  Prefactor     .22514E-05    6.9490       -.36803E-06** at limit **
   9  Prefactor     5.0007        4.3452       -.71196E-07   -.13997E-02
  10  norm          1.7115        1.5687       -.64943E-07   -.33819E-02
  11  Prefactor     .21699E-06    14.268        .22966E-06** at limit **
  12  norm          2.1312        1.5175       -.24409E-07   -.23978E-02
  13  Prefactor     18.504        34.529       -.23838E-06   -.33508E-01
  14  Prefactor     .49960E-08    8.4651        .10910E-05** at limit **
  15  norm          15.584        16.433       -.11100E-06   -.54404E-01
  16  norm          .55511E-10    3.5902        .12826E-06** at limit **
  17  Prefactor     .36302E-01    642.43       -.58036E-05** at limit **
  18  Prefactor     .26145E-05    9.4011        .29709E-06** at limit **
  19  norm          .16653E-09    4.7840        .68799E-07** at limit **
  20  Prefactor     11.688        29.373       -.81464E-06   -.10462    
  21  norm          .97555        1.0298       -.38941E-07   -.51331E-03
  22  norm          .77716E-09    3.3836        .24513E-07** at limit **
  23  Prefactor     .12895E-06    16.223       -.57611E-06** at limit **
  24  Normalizat    .86618        .18358        .14836E-05   -.31063E-04
  25  Prefactor     1.2717        .22877       -.14635E-05   -.38383E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.219662
  norm       = 0
  Prefactor  = 14.1601
  Prefactor  = 0.502902
  Prefactor  = 5.55112e-11
  norm       = 1.87621
  norm       = 3.99223
  Prefactor  = 2.25137e-06
  Prefactor  = 5.00072
  norm       = 1.71153
  Prefactor  = 2.16993e-07
  norm       = 2.13117
  Prefactor  = 18.5044
  Prefactor  = 4.996e-09
  norm       = 15.5836
  norm       = 5.55112e-11
  Prefactor  = 0.0363017
  Prefactor  = 2.61446e-06
  norm       = 1.66533e-10
  Prefactor  = 11.6884
  norm       = 0.97555
  norm       = 7.77156e-10
  Prefactor  = 1.28952e-07
  Normalizat = 0.866181
  Prefactor  = 1.27167
 **********
 **   18 **HESSE 
 **********

 FCN=   7095.992     FROM HESSE     STATUS=OK           493 CALLS     2218 TOTAL
                     EDM=   .39E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21966        1.6380        .62633E-02   -1.5717    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.8817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.160        22.238        .26295E-03   -1.5633    
   4  Prefactor     .50290        10.611        .79264E-03   -1.5694    
   5  Prefactor     .55511E-10    18.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.8762        1.7099        .75987E-03   -1.5681    
   7  norm          3.9922        7.3241        .50773E-03   -1.5668    
   8  Prefactor     .22514E-05    20.497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.0007        4.3516        .44950E-03   -1.5663    
  10  norm          1.7115        1.5751        .80282E-03   -1.5682    
  11  Prefactor     .21699E-06    14.541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.1312        1.5191        .70607E-03   -1.5679    
  13  Prefactor     18.504        37.152        .24135E-03   -1.5622    
  14  Prefactor     .49960E-08    8.5485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          15.584        16.814        .25857E-03   -1.5629    
  16  norm          .55511E-10    3.5628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .36302E-01    18.732        .11561E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .26145E-05    17.720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .16653E-09    4.7479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.688        41.702        .28214E-03   -1.5640    
  21  norm          .97555        1.0324        .42869E-03   -1.5688    
  22  norm          .77716E-09    3.3010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .12895E-06    21.954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .86618        .15262        .44455E-01   -.97659    
  25  Prefactor     1.2717        .18872        .57559E-01   -.84153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88035e-06
Minuit parameter uncertainties:
  1  1.19968
  2  1.56725e-05
  3  22.2382
  4  4.62004
  5  6.83387e-05
  6  1.70987
  7  7.32415
  8  0.0135862
  9  4.35158
  10  1.57505
  11  0.00355288
  12  1.5191
  13  37.1523
  14  0.000413548
  15  16.814
  16  3.11929e-05
  17  1.64923
  18  0.0136131
  19  5.55612e-05
  20  41.7029
  21  1.03239
  22  0.000101214
  23  0.00336498
  24  0.152697
  25  0.188819
Done.

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

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  2.131e+00  1.519e+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:  1.272e+00  1.888e-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.662e-01  1.527e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.58
Ra Dec: 193.307 53.017
Photon Index (Fixed Index): 1.93 +/- 0.00
Photon Flux (Fixed Index): 2.07e-08 +/- 1.47e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.07e-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) = 7095.85342557
delta logL = 0.138385220683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7095.85010064
delta logL = 0.141710153379

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3335       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6522       1.0000          .0000       5.0000    
     3 'Normalizat'    .87054       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2687       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=   7095.850     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      252 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3316        62.574        .67102E-03    .72431E-03
   2  alpha         1.6516        2.7003        .40221        .10405E-05
   3  Normalizat    .87034        .11665        .44524E-01    .26772E-04
   4  Prefactor     1.2690        .12593        .57613E-01    .48129E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.3316
  alpha      = 1.65158
  Normalizat = 0.870342
  Prefactor  = 1.26896
 **********
 **   18 **HESSE 
 **********

 FCN=   7095.850     FROM HESSE     STATUS=OK            33 CALLS      285 TOTAL
                     EDM=   .53E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3316        1.6699        .89630E-05   -1.5677    
   2  alpha         1.6516        .50635        .14777E-01   -.34625    
   3  Normalizat    .87034        .17688        .23617E-03   -.97510    
   4  Prefactor     1.2690        .22669        .25477E-03   -.84235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.29278e-12
Minuit parameter uncertainties:
  1  1.66991
  2  0.510352
  3  0.176999
  4  0.226867
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724763': 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) = 7095.85009847
delta logL = 0.141712329408

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  2.332e+00  1.670e+00  0.000e+00  1.000e+06 ( 1.000e-12)
334        alpha:  1.652e+00  5.104e-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:  1.269e+00  2.269e-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.703e-01  1.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.87
Ra Dec: 193.307 53.017
Photon Index (Free Index): 1.65 +/- 0.51
Photon Flux (Free Index): 1.65e-08 +/- 1.41e-08
Energy Flux (Free Index): 2.22e-05 +/- 2.36e-05

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/724763/cmap_HighResolution_691891201_692150401_4FGL_J1253.2+5301_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.07e-08', energy_flux2='2.22e-05', photon_flux_error='1.47e-08', dlogl='1.42e-01', energy_flux='1.50e-05', photon_flux2='1.65e-08', job_status='DONE', time_completed='2022-12-08 01:03:44.855620', photon_index_error2='0.51', photon_index2='1.65', ts='6.58', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', energy_flux_error2='2.36e-05', EG='0.87', time_epoch_completed='1670490224.86', return_code='0', job_id='724763', GAL2='1.27', EG2='0.87', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='1.41e-08', ts2='6.87', photon_index='1.93' WHERE bin_id='1746' AND source_name='4FGL J1253.2+5301' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:03:44 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 724763: <4FGL_J1253.2+5301_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1253.2+5301_daily_bin1746> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec  8 00:50:20 2022
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:50:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:50:20 2022
Terminated at Thu Dec  8 01:03:45 2022
Results reported at Thu Dec  8 01:03:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1253.2+5301_daily_bin1746 193.307 53.0173 691891201 692150401 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 :                                   636.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            805 sec.

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

