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


Performing analysis on: 4FGL_J1208.9+5441_daily_bin1710
RA = 182.226, Dec = 54.6995
tmin = 682560001, tmax = 682819201
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='115689', job_status='RUN', time_executed='2022-09-16 16:36:27.806286', time_epoch_executed='1663371387.81' WHERE source_name='4FGL J1208.9+5441' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115689

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115689/ft1_4FGL_J1208.9+5441_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115689/ft2_4FGL_J1208.9+5441_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115689/ft1_4FGL_J1208.9+5441_daily_bin1710.fits outfile=/scratch/kocevski/115689/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin1710.fits ra=182.226 dec=54.6995 rad=12.0 tmin=682560001.0 tmax=682819201.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.69
user 3.44
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/115689/ft2_4FGL_J1208.9+5441_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/115689/ft2_4FGL_J1208.9+5441_daily_bin1710.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/115689/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/115689/ft1_filtered_4FGL_J1208.9+5441_daily_bin1710.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.34
sys 0.16

Number of photons that the gtmktime cut: 598

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/115689/ft1_filtered_4FGL_J1208.9+5441_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/115689/ft2_4FGL_J1208.9+5441_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/115689/ltcube_682560001_682819201_4FGL_J1208.9+5441_daily_bin1710.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/115689/ft2_4FGL_J1208.9+5441_daily_bin1710.fits
.....................!
real 15.18
user 14.72
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115689/ft1_filtered_4FGL_J1208.9+5441_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/115689/ft2_4FGL_J1208.9+5441_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/115689/ltcube_682560001_682819201_4FGL_J1208.9+5441_daily_bin1710.fits outfile=/scratch/kocevski/115689/expmap_682560001_682819201_4FGL_J1208.9+5441_daily_bin1710.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/115689/ltcube_682560001_682819201_4FGL_J1208.9+5441_daily_bin1710.fits
.....................!
real 193.51
user 185.79
sys 6.24

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

Setting source of interest to:
4FGL J1208.9+5441 @ 182.226 54.6995

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/115689/ft1_filtered_4FGL_J1208.9+5441_daily_bin1710.fits scfile=/scratch/kocevski/115689/ft2_4FGL_J1208.9+5441_daily_bin1710.fits outfile=/scratch/kocevski/115689/cmap_682560001_682819201_4FGL_J1208.9+5441_daily_bin1710.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=182.226 yref=54.6995 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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/115689/ft1_filtered_4FGL_J1208.9+5441_daily_bin1710.fits scfile=/scratch/kocevski/115689/ft2_4FGL_J1208.9+5441_daily_bin1710.fits outfile=/scratch/kocevski/115689/cmap_HighResolution_682560001_682819201_4FGL_J1208.9+5441_daily_bin1710.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=182.226 yref=54.6995 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/115689/ft1_filtered_4FGL_J1208.9+5441_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/115689/ft2_4FGL_J1208.9+5441_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/115689/Model_4FGL_J1208.9+5441_daily_bin1710.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/115689/ft1_filtered_4FGL_J1208.9+5441_daily_bin1710.fits.....................!
real 59.24
user 57.61
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/115689/ft1_filtered_4FGL_J1208.9+5441_daily_bin1710.fits', '/scratch/kocevski/115689/ft2_4FGL_J1208.9+5441_daily_bin1710.fits', expMap='/scratch/kocevski/115689/expmap_682560001_682819201_4FGL_J1208.9+5441_daily_bin1710.fits', expCube='/scratch/kocevski/115689/ltcube_682560001_682819201_4FGL_J1208.9+5441_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/115689/Model_4FGL_J1208.9+5441_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1208.9+5441'

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  2.729e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
377        alpha:  2.511e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
378         beta:  7.229e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
379           Eb:  3.605e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/115689/ft1_filtered_4FGL_J1208.9+5441_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/115689/ft2_4FGL_J1208.9+5441_daily_bin1710.fits
Exposure map: /scratch/kocevski/115689/expmap_682560001_682819201_4FGL_J1208.9+5441_daily_bin1710.fits
Exposure cube: /scratch/kocevski/115689/ltcube_682560001_682819201_4FGL_J1208.9+5441_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/115689/Model_4FGL_J1208.9+5441_daily_bin1710.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) = 6514.89737225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    180.17       1.0000          .0000       .10000E+07
     2 'norm      '    4.0683       1.0000          .0000       .10000E+07
     3 'Prefactor '    .44299E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .16411E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    98.581       1.0000          .0000       .10000E+07
     6 'norm      '    .72816E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.1781       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12310E-03   1.0000          .0000       .10000E+07
     9 'norm      '    7.1895       1.0000          .0000       .10000E+07
    10 'Prefactor '    .41323       1.0000          .0000       .10000E+07
    11 'norm      '    3.2142       1.0000          .0000       .10000E+07
    12 'Prefactor '    .28366E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .86803E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .58923E-04   1.0000          .0000       .10000E+07
    15 'norm      '    4.9164       1.0000          .0000       .10000E+07
    16 'Prefactor '    .78087       1.0000          .0000       .10000E+07
    17 'norm      '    5.7787       1.0000          .0000       .10000E+07
    18 'Prefactor '    .91864E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .18511E-03   1.0000          .0000       .10000E+07
    20 'norm      '    2.9885       1.0000          .0000       .10000E+07
    21 'Prefactor '    .31645E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.0703       1.0000          .0000       .10000E+07
    23 'Prefactor '    .61121E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .22108E-03   1.0000          .0000       .10000E+07
    25 'norm      '    .15746E-03   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.2366       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .85247       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6514.888     FROM MIGRAD    STATUS=CONVERGED    201 CALLS     2496 TOTAL
                     EDM=   .49E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     180.09        5.8832        .23211E-07    .80055E-01
   2  norm          4.0686        2.6803       -.32149E-09   -.11282E-03
   3  Prefactor     .16487E-07    6.5831       -.84038E-07** at limit **
   4  Prefactor     .94869E-07    9.0697       -.29674E-07** at limit **
   5  Prefactor     100.20        78.940       -.50944E-06    .33380E-02
   6  norm          .33751E-07    19.365        .17329E-06** at limit **
   7  Prefactor     5.1620        5.1690       -.24505E-07   -.42000E-04
   8  Prefactor     .27756E-09    9.0455        .10928E-06** at limit **
   9  norm          7.1912        7.7664        .24265E-08    .10124E-04
  10  Prefactor     .40853        4.1014       -.34510E-07   -.10360E-04
  11  norm          3.2055        5.3634       -.20733E-07    .74621E-04
  12  Prefactor      .0000        8.5855       -.10761E-07** at limit **
  13  Prefactor      .0000        3.7010       -.85195E-08** at limit **
  14  Prefactor     .10253E-06    9.5331       -.69114E-07** at limit **
  15  norm          4.9172        2.5252        .97413E-08    .54506E-04
  16  Prefactor     .62539        119.81       -.20771E-06    .42151E-03
  17  norm          5.8026        5.1876        .14484E-07    .41153E-04
  18  Prefactor     .16365E-06    11.768        .15459E-06** at limit **
  19  Prefactor      .0000        2.9134        .16561E-07** at limit **
  20  norm          2.9895        1.8355        .51333E-08    .11484E-04
  21  Prefactor     .16653E-09    9.4724       -.58051E-07** at limit **
  22  norm          1.0701        1.0808        .16187E-08    .80907E-04
  23  Prefactor     .72164E-08    13.560        .13354E-06** at limit **
  24  Prefactor      .0000        2.8253       -.60525E-08** at limit **
  25  norm           .0000        2.4227        .37871E-07** at limit **
  26  Normalizat    1.2367        .19596        .32647E-06    .25313E-05
  27  Prefactor     .85228        .23589        .33733E-06    .19229E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 180.089
  norm       = 4.0686
  Prefactor  = 1.64868e-08
  Prefactor  = 9.48686e-08
  Prefactor  = 100.202
  norm       = 3.37508e-08
  Prefactor  = 5.16201
  Prefactor  = 2.77556e-10
  norm       = 7.19117
  Prefactor  = 0.408527
  norm       = 3.20546
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.02529e-07
  norm       = 4.91717
  Prefactor  = 0.625387
  norm       = 5.80262
  Prefactor  = 1.63647e-07
  Prefactor  = 0
  norm       = 2.98946
  Prefactor  = 1.66533e-10
  norm       = 1.07014
  Prefactor  = 7.21645e-09
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.23674
  Prefactor  = 0.852281
 **********
 **   18 **HESSE 
 **********

 FCN=   6514.888     FROM HESSE     STATUS=OK           540 CALLS     3036 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     180.09        176.46        .74508E-04   -1.5440    
   2  norm          4.0686        2.8996        .49963E-03   -1.5668    
   3  Prefactor     .16487E-07    16.427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .94869E-07    17.465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     100.20        78.977        .10072E-03   -1.5508    
   6  norm          .33751E-07    21.265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.1620        5.1761        .44154E-03   -1.5663    
   8  Prefactor     .27756E-09    9.0314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.1912        7.7697        .37386E-03   -1.5654    
  10  Prefactor     .40853        4.0505        .87970E-03   -1.5695    
  11  norm          3.2055        5.3786        .56484E-03   -1.5672    
  12  Prefactor      .0000        8.5920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        3.7024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10253E-06    15.566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.9172        2.5224        .45338E-03   -1.5664    
  16  Prefactor     .62539        117.19        .54372E-03   -1.5692    
  17  norm          5.8026        5.1926        .41757E-03   -1.5660    
  18  Prefactor     .16365E-06    20.049        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        2.9086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.9895        1.8338        .58698E-03   -1.5673    
  21  Prefactor     .16653E-09    9.4733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.0701        1.0353        .18127E-02   -1.5687    
  23  Prefactor     .72164E-08    13.835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        2.8247        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        2.4115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.2367        .16847        .34050E-01   -.85475    
  27  Prefactor     .85228        .20328        .70604E-01   -.97829    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15961e-06
Minuit parameter uncertainties:
  1  176.462
  2  2.8996
  3  0.00104157
  4  0.00257466
  5  78.9783
  6  0.00169371
  7  5.1761
  8  0.00010099
  9  7.76975
  10  2.57273
  11  5.3786
  12  1.16166e-05
  13  1.00468e-06
  14  0.00252687
  15  2.52238
  16  17.1222
  17  5.19265
  18  0.00362251
  19  5.28324e-07
  20  1.83376
  21  8.03783e-05
  22  1.03528
  23  0.000632788
  24  2.56192e-07
  25  1.03605e-06
  26  0.168549
  27  0.203457
Done.

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

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  4.917e+00  2.522e+00  0.000e+00  1.000e+06 ( 1.000e-11)
377        alpha:  2.511e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
378         beta:  7.229e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
379           Eb:  3.605e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  8.523e-01  2.035e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  1.237e+00  1.685e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.98
Ra Dec: 182.226 54.700
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 7.70e-08 +/- 3.94e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 1.04e-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) = 6514.67944888
delta logL = 0.208705241816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6514.67254295
delta logL = 0.215611167197

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6514.673     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      258 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5162        43.444        .47367E-03    .92262E-02
   2  alpha         2.9221        3.3989        .39889        .76681E-04
   3  Normalizat    1.2103        .83108E-01    .34640E-01    .28208E-05
   4  Prefactor     .87745        .12002        .69704E-01   -.15271E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.51625
  alpha      = 2.92212
  Normalizat = 1.21026
  Prefactor  = 0.877451
 **********
 **   18 **HESSE 
 **********

 FCN=   6514.673     FROM HESSE     STATUS=OK            33 CALLS      291 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5162        2.5693        .77705E-05   -1.5665    
   2  alpha         2.9221        .67082        .16118E-01    .16966    
   3  Normalizat    1.2103        .19513        .21554E-03   -.86286    
   4  Prefactor     .87745        .23819        .30839E-03   -.96934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79289e-10
Minuit parameter uncertainties:
  1  2.5693
  2  0.679391
  3  0.195247
  4  0.23847
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115689': 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) = 6514.67253894
delta logL = 0.215615178541

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  4.516e+00  2.569e+00  0.000e+00  1.000e+06 ( 1.000e-11)
377        alpha:  2.922e+00  6.794e-01  0.000e+00  5.000e+00 ( 1.000e+00)
378         beta:  7.229e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
379           Eb:  3.605e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  8.775e-01  2.385e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  1.210e+00  1.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.43
Ra Dec: 182.226 54.700
Photon Index (Free Index): 2.92 +/- 0.68
Photon Flux (Free Index): 9.39e-08 +/- 4.90e-08
Energy Flux (Free Index): 1.93e-05 +/- 9.52e-06

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/115689/cmap_HighResolution_682560001_682819201_4FGL_J1208.9+5441_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.70e-08', energy_flux2='1.93e-05', photon_flux_error='3.94e-08', dlogl='2.16e-01', energy_flux='2.03e-05', photon_flux2='9.39e-08', job_status='DONE', time_completed='2022-09-16 16:48:42.252008', photon_index_error2='0.68', photon_index2='2.92', ts='6.98', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='9.52e-06', EG='1.24', time_epoch_completed='1663372122.25', return_code='0', job_id='115689', GAL2='0.88', EG2='1.21', return_code2='0', energy_flux_error='1.04e-05', photon_flux_error2='4.90e-08', ts2='7.43', photon_index='2.51' WHERE bin_id='1710' AND source_name='4FGL J1208.9+5441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:48:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 115689: <4FGL_J1208.9+5441_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1208.9+5441_daily_bin1710> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 16:35:15 2022
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:35:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:35:23 2022
Terminated at Fri Sep 16 16:48:43 2022
Results reported at Fri Sep 16 16:48:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.9+5441_daily_bin1710 182.226 54.6995 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1208.9+5441 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   735.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            808 sec.

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

