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


Performing analysis on: 4FGL_J1253.2+5301_daily_bin1749
RA = 193.307, Dec = 53.0173
tmin = 692668801, tmax = 692928001
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='953016', job_status='RUN', time_executed='2022-12-17 00:49:12.221962', time_epoch_executed='1671266952.22' WHERE source_name='4FGL J1253.2+5301' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/953016

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/953016/ft1_4FGL_J1253.2+5301_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/953016/ft2_4FGL_J1253.2+5301_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/953016/ft1_4FGL_J1253.2+5301_daily_bin1749.fits outfile=/scratch/kocevski/953016/ft1_filteredMKT_4FGL_J1253.2+5301_daily_bin1749.fits ra=193.307 dec=53.0173 rad=12.0 tmin=692668801.0 tmax=692928001.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.66
user 3.44
sys 0.20

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

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

Number of photons that the gtmktime cut: 614

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/953016/ft1_filtered_4FGL_J1253.2+5301_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/953016/ft2_4FGL_J1253.2+5301_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/953016/ltcube_692668801_692928001_4FGL_J1253.2+5301_daily_bin1749.fits outfile=/scratch/kocevski/953016/expmap_692668801_692928001_4FGL_J1253.2+5301_daily_bin1749.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/953016/ltcube_692668801_692928001_4FGL_J1253.2+5301_daily_bin1749.fits
.....................!
real 191.23
user 185.85
sys 5.07

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/953016/ft1_filtered_4FGL_J1253.2+5301_daily_bin1749.fits scfile=/scratch/kocevski/953016/ft2_4FGL_J1253.2+5301_daily_bin1749.fits outfile=/scratch/kocevski/953016/cmap_692668801_692928001_4FGL_J1253.2+5301_daily_bin1749.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.59
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/953016/ft1_filtered_4FGL_J1253.2+5301_daily_bin1749.fits scfile=/scratch/kocevski/953016/ft2_4FGL_J1253.2+5301_daily_bin1749.fits outfile=/scratch/kocevski/953016/cmap_HighResolution_692668801_692928001_4FGL_J1253.2+5301_daily_bin1749.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.59
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20706E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .23011E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .15737E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .21466E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .99677E-05   1.0000          .0000       .10000E+07
     6 'norm      '    .18738E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.8623       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.6367       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.9880       1.0000          .0000       .10000E+07
    10 'norm      '    2.4828       1.0000          .0000       .10000E+07
    11 'Prefactor '    .68729E-02   1.0000          .0000       .10000E+07
    12 'norm      '    2.7129       1.0000          .0000       .10000E+07
    13 'Prefactor '    26.616       1.0000          .0000       .10000E+07
    14 'Prefactor '    .14060E-05   1.0000          .0000       .10000E+07
    15 'norm      '    11.908       1.0000          .0000       .10000E+07
    16 'norm      '    .22350E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    64.570       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10392E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .28913E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .76032E-03   1.0000          .0000       .10000E+07
    21 'norm      '    2.0577       1.0000          .0000       .10000E+07
    22 'norm      '    6.0472       1.0000          .0000       .10000E+07
    23 'Prefactor '    .18461E-02   1.0000          .0000       .10000E+07
    24 'Normalizat'    .80207       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2863       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=   6706.577     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1700 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1985       -.63520E-07** at limit **
   2  norm          .55511E-10    3.3497        .99622E-07** at limit **
   3  Prefactor     .52280E-06    9.6714        .67774E-07** at limit **
   4  Prefactor      .0000        2.7250       -.12087E-06** at limit **
   5  Prefactor     .31436E-06    8.1535        .10604E-07** at limit **
   6  norm          .40690E-07    2.8960       -.28943E-07** at limit **
   7  norm          1.9392        7.0226        .13841E-06   -.26881E-02
   8  Prefactor     3.0558        11.651       -.21990E-06    .21430E-01
   9  Prefactor     1.9851        3.1742        .32471E-07    .75647E-03
  10  norm          2.4810        1.5747       -.22132E-07   -.93568E-03
  11  Prefactor     .51761E-05    28.933       -.16285E-06** at limit **
  12  norm          2.7126        2.0358        .11303E-06    .75480E-02
  13  Prefactor     27.992        25.240        .16807E-06   -.61166E-01
  14  Prefactor     .55511E-08    7.9998       -.30935E-07** at limit **
  15  norm          11.895        11.105       -.44667E-07   -.80057E-01
  16  norm          .55511E-10    1.4710        .98196E-07** at limit **
  17  Prefactor     63.882        6.4686       -.27392E-07   -.21210E-02
  18  Prefactor     .23280E-05    13.691        .12263E-06** at limit **
  19  norm           .0000        1.5560        .32350E-07** at limit **
  20  Prefactor     .23681E-06    7.8225        .12432E-06** at limit **
  21  norm          2.0603        1.4342       -.55381E-07   -.44093E-02
  22  norm          6.0468        3.3841       -.85877E-08   -.31649E-03
  23  Prefactor     .39401E-05    13.638        .14103E-06** at limit **
  24  Normalizat    .80299        .17504        .29034E-05    .19616E-03
  25  Prefactor     1.2852        .22247       -.13621E-05    .14059E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 5.22804e-07
  Prefactor  = 0
  Prefactor  = 3.1436e-07
  norm       = 4.06897e-08
  norm       = 1.93924
  Prefactor  = 3.0558
  Prefactor  = 1.98508
  norm       = 2.48098
  Prefactor  = 5.17608e-06
  norm       = 2.71261
  Prefactor  = 27.992
  Prefactor  = 5.55112e-09
  norm       = 11.8949
  norm       = 5.55112e-11
  Prefactor  = 63.8816
  Prefactor  = 2.32797e-06
  norm       = 0
  Prefactor  = 2.36811e-07
  norm       = 2.06031
  norm       = 6.04678
  Prefactor  = 3.94013e-06
  Normalizat = 0.802988
  Prefactor  = 1.28523
 **********
 **   18 **HESSE 
 **********

 FCN=   6706.577     FROM HESSE     STATUS=OK           475 CALLS     2175 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .55511E-10    3.3436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .52280E-06    10.660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        2.7374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31436E-06    10.000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .40690E-07    1.0532        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.9392        19.713        .76322E-03   -1.5680    
   8  Prefactor     3.0558        160.28        .52951E-03   -1.5673    
   9  Prefactor     1.9851        3.2037        .73459E-03   -1.5680    
  10  norm          2.4810        1.5724        .64853E-03   -1.5676    
  11  Prefactor     .51761E-05    35.655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.7126        2.0414        .61812E-03   -1.5675    
  13  Prefactor     27.992        35.169        .19387E-03   -1.5602    
  14  Prefactor     .55511E-08    8.0057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.895        11.646        .29005E-03   -1.5639    
  16  norm          .55511E-10    1.4724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     63.882        31.818        .12445E-03   -1.5548    
  18  Prefactor     .23280E-05    19.202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        1.5553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .23681E-06    21.099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.0603        1.4431        .72018E-03   -1.5679    
  22  norm          6.0468        3.3894        .40806E-03   -1.5659    
  23  Prefactor     .39401E-05    23.547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .80299        .15365        .43637E-01   -.99958    
  25  Prefactor     1.2852        .18699        .56210E-01   -.83747    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68297e-06
Minuit parameter uncertainties:
  1  4.65677e-07
  2  2.2925e-05
  3  0.00472162
  4  8.4241e-06
  5  0.00354617
  6  0.000414
  7  12.366
  8  44.263
  9  3.20366
  10  1.57238
  11  0.0271703
  12  2.04145
  13  35.1698
  14  0.000421148
  15  11.6458
  16  1.76255e-05
  17  31.8183
  18  0.013372
  19  1.1559e-05
  20  0.00447079
  21  1.44312
  22  3.38941
  23  0.0192642
  24  0.153729
  25  0.18709
Done.

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

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  2.713e+00  2.041e+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.285e+00  1.871e-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.030e-01  1.537e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.00
Ra Dec: 193.307 53.017
Photon Index (Fixed Index): 1.93 +/- 0.00
Photon Flux (Fixed Index): 2.63e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 1.43e-05

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

Saving results to:
/scratch/kocevski/953016/likelihoodResults_692668801_692928001_4FGL_J1253.2+5301_daily_bin1749.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) = 6704.96625706
delta logL = 1.61067382508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6704.96375566
delta logL = 1.61317523071

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3524       1.0000          .0000       .10000E+07
     2 'alpha     '    3.0013       1.0000          .0000       5.0000    
     3 'Normalizat'    .74080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3284       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=   6704.964     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      240 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3526        9.4726        .94014E-03    .54541E-02
   2  alpha         3.0011        3.7470        .21255        .81627E-04
   3  Normalizat    .74081        .50123E-01    .42833E-01    .20280E-04
   4  Prefactor     1.3284        .59212E-01    .55357E-01    .97911E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.35258
  alpha      = 3.00114
  Normalizat = 0.740809
  Prefactor  = 1.32841
 **********
 **   18 **HESSE 
 **********

 FCN=   6704.964     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3526        1.7290        .46228E-05   -1.5685    
   2  alpha         3.0011        .75384        .84240E-02    .20182    
   3  Normalizat    .74081        .17955        .24760E-03   -1.0230    
   4  Prefactor     1.3284        .22612        .24477E-03   -.82466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68665e-11
Minuit parameter uncertainties:
  1  1.72901
  2  0.766283
  3  0.179695
  4  0.226291
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/953016': 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) = 6704.96375562
delta logL = 1.61317526642

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  1.353e+00  1.729e+00  0.000e+00  1.000e+06 ( 1.000e-12)
334        alpha:  3.001e+00  7.663e-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.328e+00  2.263e-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:  7.408e-01  1.797e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.30
Ra Dec: 193.307 53.017
Photon Index (Free Index): 3.00 +/- 0.77
Photon Flux (Free Index): 7.74e-08 +/- 4.48e-08
Energy Flux (Free Index): 1.69e-05 +/- 8.87e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/953016/cmap_HighResolution_692668801_692928001_4FGL_J1253.2+5301_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.12e-05', comment='SUCCESS', photon_flux='2.63e-08', energy_flux2='1.69e-05', photon_flux_error='1.98e-08', dlogl='1.61e+00', energy_flux='1.90e-05', photon_flux2='7.74e-08', job_status='DONE', time_completed='2022-12-17 01:00:15.636445', photon_index_error2='0.77', photon_index2='3.00', ts='3.00', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', photon_flux_upper_limit='7.09e-08', energy_flux_error2='8.87e-06', EG='0.80', time_epoch_completed='1671267615.64', return_code='0', job_id='953016', GAL2='1.33', EG2='0.74', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='4.48e-08', ts2='6.30', photon_index='1.93' WHERE bin_id='1749' AND source_name='4FGL J1253.2+5301' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:00:15 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 953016: <4FGL_J1253.2+5301_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1253.2+5301_daily_bin1749> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Dec 17 00:45:18 2022
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:45:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:45:19 2022
Terminated at Sat Dec 17 01:00:16 2022
Results reported at Sat Dec 17 01:00:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1253.2+5301_daily_bin1749 193.307 53.0173 692668801 692928001 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 :                                   665.23 sec.
    Max Memory :                                 1052 MB
    Average Memory :                             256.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            898 sec.

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

