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


Performing analysis on: 4FGL_J1248.3+5820_daily_bin1760
RA = 192.084, Dec = 58.3432
tmin = 695520001, tmax = 695779201
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='736303', job_status='RUN', time_executed='2023-01-19 00:52:38.648691', time_epoch_executed='1674118358.65' WHERE source_name='4FGL J1248.3+5820' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/736303

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/736303/ft1_4FGL_J1248.3+5820_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/736303/ft2_4FGL_J1248.3+5820_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/736303/ft1_4FGL_J1248.3+5820_daily_bin1760.fits outfile=/scratch/kocevski/736303/ft1_filteredMKT_4FGL_J1248.3+5820_daily_bin1760.fits ra=192.084 dec=58.3432 rad=12.0 tmin=695520001.0 tmax=695779201.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 2.41
user 2.20
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/736303/ft2_4FGL_J1248.3+5820_daily_bin1760.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/736303/ft2_4FGL_J1248.3+5820_daily_bin1760.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/736303/ft1_filteredMKT_4FGL_J1248.3+5820_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/736303/ft1_filtered_4FGL_J1248.3+5820_daily_bin1760.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.34
sys 0.16

Number of photons that the gtmktime cut: 499

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/736303/ft1_filtered_4FGL_J1248.3+5820_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/736303/ft2_4FGL_J1248.3+5820_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/736303/ltcube_695520001_695779201_4FGL_J1248.3+5820_daily_bin1760.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/736303/ft2_4FGL_J1248.3+5820_daily_bin1760.fits
.....................!
real 16.42
user 15.93
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/736303/ft1_filtered_4FGL_J1248.3+5820_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/736303/ft2_4FGL_J1248.3+5820_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/736303/ltcube_695520001_695779201_4FGL_J1248.3+5820_daily_bin1760.fits outfile=/scratch/kocevski/736303/expmap_695520001_695779201_4FGL_J1248.3+5820_daily_bin1760.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/736303/ltcube_695520001_695779201_4FGL_J1248.3+5820_daily_bin1760.fits
.....................!
real 192.68
user 186.27
sys 5.57

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

Setting source of interest to:
4FGL J1248.3+5820 @ 192.084 58.3432

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/736303/ft1_filtered_4FGL_J1248.3+5820_daily_bin1760.fits scfile=/scratch/kocevski/736303/ft2_4FGL_J1248.3+5820_daily_bin1760.fits outfile=/scratch/kocevski/736303/cmap_695520001_695779201_4FGL_J1248.3+5820_daily_bin1760.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=192.084 yref=58.3432 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.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/736303/ft1_filtered_4FGL_J1248.3+5820_daily_bin1760.fits scfile=/scratch/kocevski/736303/ft2_4FGL_J1248.3+5820_daily_bin1760.fits outfile=/scratch/kocevski/736303/cmap_HighResolution_695520001_695779201_4FGL_J1248.3+5820_daily_bin1760.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=192.084 yref=58.3432 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.58
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/736303/ft1_filtered_4FGL_J1248.3+5820_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/736303/ft2_4FGL_J1248.3+5820_daily_bin1760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/736303/Model_4FGL_J1248.3+5820_daily_bin1760.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/736303/ft1_filtered_4FGL_J1248.3+5820_daily_bin1760.fits.....................!
real 50.11
user 48.66
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/736303/ft1_filtered_4FGL_J1248.3+5820_daily_bin1760.fits', '/scratch/kocevski/736303/ft2_4FGL_J1248.3+5820_daily_bin1760.fits', expMap='/scratch/kocevski/736303/expmap_695520001_695779201_4FGL_J1248.3+5820_daily_bin1760.fits', expCube='/scratch/kocevski/736303/ltcube_695520001_695779201_4FGL_J1248.3+5820_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/736303/Model_4FGL_J1248.3+5820_daily_bin1760.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.3+5820'

4FGL J1248.3+5820
   Spectrum: LogParabola
364         norm:  3.611e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
365        alpha:  1.811e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
366         beta:  4.589e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
367           Eb:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/736303/ft1_filtered_4FGL_J1248.3+5820_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/736303/ft2_4FGL_J1248.3+5820_daily_bin1760.fits
Exposure map: /scratch/kocevski/736303/expmap_695520001_695779201_4FGL_J1248.3+5820_daily_bin1760.fits
Exposure cube: /scratch/kocevski/736303/ltcube_695520001_695779201_4FGL_J1248.3+5820_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/736303/Model_4FGL_J1248.3+5820_daily_bin1760.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) = 5558.70082298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2632       1.0000          .0000       .10000E+07
     2 'Prefactor '    48.687       1.0000          .0000       .10000E+07
     3 'norm      '    .23169E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.4202       1.0000          .0000       .10000E+07
     5 'norm      '    .86403E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .60689E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .60180E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .81990E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .33161E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .24077E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.987       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31752E-07   1.0000          .0000       .10000E+07
    13 'norm      '    5.4363       1.0000          .0000       .10000E+07
    14 'Prefactor '    .17491E-02   1.0000          .0000       .10000E+07
    15 'norm      '    4.0808       1.0000          .0000       .10000E+07
    16 'Prefactor '    18.924       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.8242       1.0000          .0000       .10000E+07
    18 'norm      '    .54418E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    57.140       1.0000          .0000       .10000E+07
    20 'Prefactor '    .78260E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .90930E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    88.064       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.6393       1.0000          .0000       .10000E+07
    24 'norm      '    .29101E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    .94546E-02   1.0000          .0000       .10000E+07
    26 'Normalizat'    .99174       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .91361       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5558.699     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     2536 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2548        8.5897        .77475E-06    .24495E-03
   2  Prefactor     48.532        2.1339        .11347E-06    .16252E-01
   3  norm          .13706E-05    57.988        .88170E-05** at limit **
   4  Prefactor     5.3915        6.9313        .69109E-06    .60155E-03
   5  norm          .33307E-09    5.5576       -.35602E-06** at limit **
   6  Prefactor     .13178E-05    7.1079        .29489E-06** at limit **
   7  Prefactor     .27200E-08    54.671       -.97106E-07** at limit **
   8  norm           .0000        .87480        .74904E-06** at limit **
   9  Prefactor     .12406E-04    19.598       -.24860E-05** at limit **
  10  norm          .62728E-08    11.515        .20001E-05** at limit **
  11  Prefactor     36.047        1.9880        .20521E-07   -.48700E-02
  12  Prefactor      .0000        1.2402        .99099E-06** at limit **
  13  norm          5.4372        2.3867       -.44026E-07   -.33861E-02
  14  Prefactor     .38858E-09    9.3864        .49553E-06** at limit **
  15  norm          4.0791        2.0654       -.23349E-06    .17362E-03
  16  Prefactor     18.971        1.1063       -.46458E-07   -.19392E-01
  17  Prefactor     5.7946        10.401        .23685E-05    .66830E-02
  18  norm           .0000        2.4794        .11590E-05** at limit **
  19  Prefactor     58.280        54.928        .28613E-05   -.33548E-01
  20  Prefactor     .15947E-04    17.519        .37880E-06** at limit **
  21  norm          .55511E-10    4.8322       -.23437E-05** at limit **
  22  Prefactor     87.805        15.891       -.66717E-06   -.68814E-02
  23  Prefactor     2.6229        4.3507       -.61784E-06   -.81275E-03
  24  norm           .0000        2.7077        .31867E-05** at limit **
  25  Prefactor     .54906E-06    11.339       -.41225E-06** at limit **
  26  Normalizat    .99215        .19718       -.18347E-04   -.57218E-04
  27  Prefactor     .91332        .23212        .12349E-04   -.56672E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.25478
  Prefactor  = 48.5322
  norm       = 1.37057e-06
  Prefactor  = 5.39153
  norm       = 3.33067e-10
  Prefactor  = 1.31778e-06
  Prefactor  = 2.72005e-09
  norm       = 0
  Prefactor  = 1.24055e-05
  norm       = 6.27276e-09
  Prefactor  = 36.0471
  Prefactor  = 0
  norm       = 5.43725
  Prefactor  = 3.88578e-10
  norm       = 4.07913
  Prefactor  = 18.9705
  Prefactor  = 5.79463
  norm       = 0
  Prefactor  = 58.28
  Prefactor  = 1.59466e-05
  norm       = 5.55112e-11
  Prefactor  = 87.8052
  Prefactor  = 2.62289
  norm       = 0
  Prefactor  = 5.49061e-07
  Normalizat = 0.992154
  Prefactor  = 0.913318
 **********
 **   18 **HESSE 
 **********

 FCN=   5558.699     FROM HESSE     STATUS=OK           538 CALLS     3074 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2548        8.7238        .56036E-03   -1.5672    
   2  Prefactor     48.532        39.469        .14333E-03   -1.5569    
   3  norm          .13706E-05    58.969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.3915        6.9497        .43138E-03   -1.5662    
   5  norm          .33307E-09    5.5431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .13178E-05    18.691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27200E-08    52.732        .15156E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .87330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .12406E-04    34.186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .62728E-08    11.512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     36.047        27.227        .16671E-03   -1.5588    
  12  Prefactor      .0000        1.2416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.4372        2.3915        .43073E-03   -1.5661    
  14  Prefactor     .38858E-09    9.3972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.0791        2.0670        .49885E-03   -1.5668    
  16  Prefactor     18.971        18.883        .22996E-03   -1.5621    
  17  Prefactor     5.7946        10.411        .41591E-03   -1.5660    
  18  norm           .0000        2.4508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     58.280        59.406        .13230E-03   -1.5555    
  20  Prefactor     .15947E-04    35.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .55511E-10    4.7828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     87.805        59.288        .10657E-03   -1.5521    
  23  Prefactor     2.6229        4.3906        .62734E-03   -1.5676    
  24  norm           .0000        2.6989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .54906E-06    17.830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .99215        .17251        .46063E-01   -.93294    
  27  Prefactor     .91332        .19840        .45178E-01   -.95677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02287e-06
Minuit parameter uncertainties:
  1  8.72383
  2  39.4689
  3  0.0179802
  4  6.94969
  5  8.80545e-05
  6  0.00992584
  7  0.000754836
  8  4.83041e-07
  9  0.0411875
  10  0.000537351
  11  27.2273
  12  4.84414e-06
  13  2.39146
  14  0.000123622
  15  2.06705
  16  18.8829
  17  10.4114
  18  5.90139e-06
  19  59.4068
  20  0.047486
  21  3.06286e-05
  22  59.2885
  23  4.39057
  24  1.04746e-05
  25  0.00625766
  26  0.172607
  27  0.198556
Done.

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

Extracting fit parameters...

4FGL J1248.3+5820
   Spectrum: LogParabola
364         norm:  5.437e+00  2.391e+00  0.000e+00  1.000e+06 ( 1.000e-12)
365        alpha:  1.811e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
366         beta:  4.589e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
367           Eb:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  9.133e-01  1.986e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  9.922e-01  1.726e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.53
Ra Dec: 192.084 58.343
Photon Index (Fixed Index): 1.81 +/- 0.00
Photon Flux (Fixed Index): 4.80e-08 +/- 2.11e-08
Energy Flux (Fixed Index): 4.80e-05 +/- 2.11e-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) = 5558.44085583
delta logL = 0.257846195372

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5558.41047266
delta logL = 0.288229363454

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3628       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5621       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0016       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90954       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5558.410     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      201 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3625        2.4853        .43373E-03   -.17122E-01
   2  alpha         1.5618        .30598        .22310       -.39714E-04
   3  Normalizat    1.0016        .16278        .46187E-01    .13784E-04
   4  Prefactor     .90950        .19804        .45126E-01    .13186E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.36255
  alpha      = 1.56178
  Normalizat = 1.00164
  Prefactor  = 0.909499
 **********
 **   18 **HESSE 
 **********

 FCN=   5558.410     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3625        2.4757        .37798E-04   -1.5662    
   2  alpha         1.5618        .32269        .93063E-02   -.38471    
   3  Normalizat    1.0016        .18983        .22078E-03   -.92976    
   4  Prefactor     .90950        .23103        .27966E-03   -.95810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51401e-11
Minuit parameter uncertainties:
  1  2.47573
  2  0.323743
  3  0.189956
  4  0.231281
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/736303': 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) = 5558.41047209
delta logL = 0.288229929635

Extracting fit parameters...

4FGL J1248.3+5820
   Spectrum: LogParabola
364         norm:  5.363e+00  2.476e+00  0.000e+00  1.000e+06 ( 1.000e-12)
365        alpha:  1.562e+00  3.237e-01  0.000e+00  5.000e+00 ( 1.000e+00)
366         beta:  4.589e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
367           Eb:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  9.095e-01  2.313e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.002e+00  1.900e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.10
Ra Dec: 192.084 58.343
Photon Index (Free Index): 1.56 +/- 0.32
Photon Flux (Free Index): 3.68e-08 +/- 2.13e-08
Energy Flux (Free Index): 7.32e-05 +/- 5.41e-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/736303/cmap_HighResolution_695520001_695779201_4FGL_J1248.3+5820_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.80e-08', energy_flux2='7.32e-05', photon_flux_error='2.11e-08', dlogl='2.88e-01', energy_flux='4.80e-05', photon_flux2='3.68e-08', job_status='DONE', time_completed='2023-01-19 01:03:36.186858', photon_index_error2='0.32', photon_index2='1.56', ts='22.53', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='5.41e-05', EG='0.99', time_epoch_completed='1674119016.19', return_code='0', job_id='736303', GAL2='0.91', EG2='1.00', return_code2='0', energy_flux_error='2.11e-05', photon_flux_error2='2.13e-08', ts2='23.10', photon_index='1.81' WHERE bin_id='1760' AND source_name='4FGL J1248.3+5820' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 01:03:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 736303: <4FGL_J1248.3+5820_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1248.3+5820_daily_bin1760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 00:50:19 2023
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:52:08 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:52:08 2023
Terminated at Thu Jan 19 01:03:37 2023
Results reported at Thu Jan 19 01:03:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1248.3+5820_daily_bin1760 192.084 58.3432 695520001 695779201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1248.3+5820 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   659.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             326.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            798 sec.

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

