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


Performing analysis on: 4FGL_J1208.9+5441_daily_bin1709
RA = 182.226, Dec = 54.6995
tmin = 682300801, tmax = 682560001
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='115688', job_status='RUN', time_executed='2022-09-16 16:36:09.763528', time_epoch_executed='1663371369.76' WHERE source_name='4FGL J1208.9+5441' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115688

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115688/ft1_4FGL_J1208.9+5441_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115688/ft2_4FGL_J1208.9+5441_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115688/ft1_4FGL_J1208.9+5441_daily_bin1709.fits outfile=/scratch/kocevski/115688/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin1709.fits ra=182.226 dec=54.6995 rad=12.0 tmin=682300801.0 tmax=682560001.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.74
user 3.51
sys 0.21

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

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

Number of photons that the gtmktime cut: 580

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/115688/ft1_filtered_4FGL_J1208.9+5441_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/115688/ft2_4FGL_J1208.9+5441_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/115688/ltcube_682300801_682560001_4FGL_J1208.9+5441_daily_bin1709.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/115688/ft2_4FGL_J1208.9+5441_daily_bin1709.fits
.....................!
real 13.97
user 13.60
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115688/ft1_filtered_4FGL_J1208.9+5441_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/115688/ft2_4FGL_J1208.9+5441_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/115688/ltcube_682300801_682560001_4FGL_J1208.9+5441_daily_bin1709.fits outfile=/scratch/kocevski/115688/expmap_682300801_682560001_4FGL_J1208.9+5441_daily_bin1709.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/115688/ltcube_682300801_682560001_4FGL_J1208.9+5441_daily_bin1709.fits
.....................!
real 191.30
user 186.47
sys 4.43

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/115688/ft1_filtered_4FGL_J1208.9+5441_daily_bin1709.fits scfile=/scratch/kocevski/115688/ft2_4FGL_J1208.9+5441_daily_bin1709.fits outfile=/scratch/kocevski/115688/cmap_682300801_682560001_4FGL_J1208.9+5441_daily_bin1709.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.54
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/115688/ft1_filtered_4FGL_J1208.9+5441_daily_bin1709.fits scfile=/scratch/kocevski/115688/ft2_4FGL_J1208.9+5441_daily_bin1709.fits outfile=/scratch/kocevski/115688/cmap_HighResolution_682300801_682560001_4FGL_J1208.9+5441_daily_bin1709.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/115688/ft1_filtered_4FGL_J1208.9+5441_daily_bin1709.fits', '/scratch/kocevski/115688/ft2_4FGL_J1208.9+5441_daily_bin1709.fits', expMap='/scratch/kocevski/115688/expmap_682300801_682560001_4FGL_J1208.9+5441_daily_bin1709.fits', expCube='/scratch/kocevski/115688/ltcube_682300801_682560001_4FGL_J1208.9+5441_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/115688/Model_4FGL_J1208.9+5441_daily_bin1709.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/115688/ft1_filtered_4FGL_J1208.9+5441_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/115688/ft2_4FGL_J1208.9+5441_daily_bin1709.fits
Exposure map: /scratch/kocevski/115688/expmap_682300801_682560001_4FGL_J1208.9+5441_daily_bin1709.fits
Exposure cube: /scratch/kocevski/115688/ltcube_682300801_682560001_4FGL_J1208.9+5441_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/115688/Model_4FGL_J1208.9+5441_daily_bin1709.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) = 6341.07099705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62110E-05   1.0000          .0000       .10000E+07
     2 'norm      '    2.7990       1.0000          .0000       .10000E+07
     3 'Prefactor '    .26462E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .93990E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1129       1.0000          .0000       .10000E+07
     6 'norm      '    .31778E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .35677E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    33.676       1.0000          .0000       .10000E+07
     9 'norm      '    .14160E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12284E-03   1.0000          .0000       .10000E+07
    11 'norm      '    2.5195       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.9839       1.0000          .0000       .10000E+07
    13 'Prefactor '    .33796E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    13.338       1.0000          .0000       .10000E+07
    15 'norm      '    3.2876       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.4557       1.0000          .0000       .10000E+07
    17 'norm      '    6.1150       1.0000          .0000       .10000E+07
    18 'Prefactor '    10.691       1.0000          .0000       .10000E+07
    19 'Prefactor '    .92190E-04   1.0000          .0000       .10000E+07
    20 'norm      '    2.4389       1.0000          .0000       .10000E+07
    21 'Prefactor '    38.281       1.0000          .0000       .10000E+07
    22 'norm      '    5.3410       1.0000          .0000       .10000E+07
    23 'Prefactor '    .28568       1.0000          .0000       .10000E+07
    24 'Prefactor '    .47049E-03   1.0000          .0000       .10000E+07
    25 'norm      '    6.6186       1.0000          .0000       .10000E+07
    26 'Normalizat'    .93013       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1185       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=   6341.019     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     2385 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31086E-08    51.286       -.16765E-05** at limit **
   2  norm          2.8005        1.8881        .14384E-06    .76157E-02
   3  Prefactor     .12323E-07    23.740       -.76911E-05** at limit **
   4  Prefactor     .40856E-07    14.942       -.75683E-05** at limit **
   5  Prefactor     10.873        100.48        .42246E-04    .23871E-03
   6  norm          .27200E-08    14.268        .10195E-04** at limit **
   7  Prefactor     .11102E-09    1.8726       -.63810E-06** at limit **
   8  Prefactor     33.942        1.9825        .55549E-06   -.11172E-01
   9  norm          .22204E-09    3.2727       -.16581E-05** at limit **
  10  Prefactor     .16653E-09    1.8786        .89334E-06** at limit **
  11  norm          2.5325        4.0662       -.11769E-05   -.11182E-03
  12  Prefactor     2.9697        8.4256       -.19515E-05    .10201E-02
  13  Prefactor     .11102E-09    4.9564       -.12837E-05** at limit **
  14  Prefactor     13.231        1.4980        .53511E-06   -.15951E-01
  15  norm          3.2924        2.2010       -.10209E-06    .38524E-02
  16  Prefactor     5.4924        1.9031        .34578E-06    .30631E-02
  17  norm          6.0894        6.3933       -.63175E-06    .60691E-03
  18  Prefactor     11.100        2.4795        .10827E-05   -.29443E-01
  19  Prefactor     .22204E-09    1.4613       -.17804E-06** at limit **
  20  norm          2.4423        1.8325       -.26879E-06    .43011E-02
  21  Prefactor     38.052        3.2653       -.47660E-06    .43588E-01
  22  norm          5.3457        2.5709       -.21842E-06    .21158E-02
  23  Prefactor     .11047E-07    75.984       -.12388E-05** at limit **
  24  Prefactor     .64004E-07    6.8457        .38982E-05** at limit **
  25  norm          6.6638        5.3917        .32646E-07    .27545E-02
  26  Normalizat    .92940        .18794       -.32551E-04    .13615E-03
  27  Prefactor     1.1178        .23808        .46641E-04    .10066E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.10862e-09
  norm       = 2.80048
  Prefactor  = 1.23235e-08
  Prefactor  = 4.08562e-08
  Prefactor  = 10.8727
  norm       = 2.72005e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 33.9417
  norm       = 2.22045e-10
  Prefactor  = 1.66533e-10
  norm       = 2.53253
  Prefactor  = 2.96975
  Prefactor  = 1.11022e-10
  Prefactor  = 13.2306
  norm       = 3.29243
  Prefactor  = 5.49237
  norm       = 6.08937
  Prefactor  = 11.0996
  Prefactor  = 2.22045e-10
  norm       = 2.44231
  Prefactor  = 38.0518
  norm       = 5.34569
  Prefactor  = 1.10467e-08
  Prefactor  = 6.40044e-08
  norm       = 6.66381
  Normalizat = 0.929402
  Prefactor  = 1.11775
 **********
 **   18 **HESSE 
 **********

 FCN=   6341.019     FROM HESSE     STATUS=OK           544 CALLS     2929 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31086E-08    51.315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.8005        1.8946        .60784E-03   -1.5674    
   3  Prefactor     .12323E-07    24.541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .40856E-07    16.739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.873        99.611        .44440E-03   -1.5642    
   6  norm          .27200E-08    18.225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    1.8744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     33.942        24.988        .17234E-03   -1.5591    
   9  norm          .22204E-09    3.2760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16653E-09    1.8636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.5325        4.2726        .64335E-03   -1.5676    
  12  Prefactor     2.9697        8.4601        .58746E-03   -1.5673    
  13  Prefactor     .11102E-09    4.9305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.231        25.091        .27401E-03   -1.5635    
  15  norm          3.2924        2.2025        .55817E-03   -1.5672    
  16  Prefactor     5.4924        26.631        .42996E-03   -1.5661    
  17  norm          6.0894        7.1219        .40576E-03   -1.5659    
  18  Prefactor     11.100        25.866        .30617E-03   -1.5641    
  19  Prefactor     .22204E-09    1.4606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.4423        1.8409        .65489E-03   -1.5677    
  21  Prefactor     38.052        24.167        .16164E-03   -1.5585    
  22  norm          5.3457        2.5780        .43463E-03   -1.5662    
  23  Prefactor     .11047E-07    74.572        .10415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .64004E-07    19.747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          6.6638        5.4172        .38983E-03   -1.5656    
  26  Normalizat    .92940        .16456        .45285E-01   -.95435    
  27  Prefactor     1.1178        .20050        .62258E-01   -.88901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18651e-07
Minuit parameter uncertainties:
  1  0.00079542
  2  1.8946
  3  0.0010998
  4  0.00165405
  5  65.8206
  6  0.000447371
  7  2.56556e-05
  8  24.9877
  9  5.71581e-05
  10  3.22186e-05
  11  4.2726
  12  8.46018
  13  4.39695e-05
  14  25.0909
  15  2.20247
  16  24.1885
  17  7.12187
  18  25.8666
  19  3.7986e-05
  20  1.84087
  21  24.1675
  22  2.57803
  23  0.00181699
  24  0.00224881
  25  5.41722
  26  0.16465
  27  0.200638
Done.

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

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  3.292e+00  2.202e+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:  1.118e+00  2.006e-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:  9.294e-01  1.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.01
Ra Dec: 182.226 54.700
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 5.15e-08 +/- 3.44e-08
Energy Flux (Fixed Index): 1.36e-05 +/- 9.11e-06

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) = 6340.83816254
delta logL = 0.180610573488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6340.83741294
delta logL = 0.181360178216

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2258       1.0000          .0000       .10000E+07
     2 'alpha     '    2.9645       1.0000          .0000       5.0000    
     3 'Normalizat'    .90468       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1387       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=   6340.837     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .83E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2254        48.486        .56377E-03    .34075E-02
   2  alpha         2.9647        2.6706        .42087        .14247E-04
   3  Normalizat    .90469        .81292E-01    .44961E-01    .13370E-04
   4  Prefactor     1.1387        .11126        .61759E-01    .87953E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.22541
  alpha      = 2.96466
  Normalizat = 0.904693
  Prefactor  = 1.13865
 **********
 **   18 **HESSE 
 **********

 FCN=   6340.837     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2254        2.1425        .81802E-05   -1.5672    
   2  alpha         2.9647        .78332        .19847E-01    .18695    
   3  Normalizat    .90469        .19174        .23709E-03   -.96295    
   4  Prefactor     1.1387        .24002        .27315E-03   -.88241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46602e-10
Minuit parameter uncertainties:
  1  2.14252
  2  0.797239
  3  0.191883
  4  0.240249
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115688': 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) = 6340.83741291
delta logL = 0.181360205228

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  3.225e+00  2.143e+00  0.000e+00  1.000e+06 ( 1.000e-11)
377        alpha:  2.965e+00  7.972e-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:  1.139e+00  2.402e-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:  9.047e-01  1.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.40
Ra Dec: 182.226 54.700
Photon Index (Free Index): 2.96 +/- 0.80
Photon Flux (Free Index): 6.93e-08 +/- 4.81e-08
Energy Flux (Free Index): 1.40e-05 +/- 8.47e-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/115688/cmap_HighResolution_682300801_682560001_4FGL_J1208.9+5441_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.15e-08', energy_flux2='1.40e-05', photon_flux_error='3.44e-08', dlogl='1.81e-01', energy_flux='1.36e-05', photon_flux2='6.93e-08', job_status='DONE', time_completed='2022-09-16 16:47:51.284419', photon_index_error2='0.80', photon_index2='2.96', ts='4.01', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='8.47e-06', EG='0.93', time_epoch_completed='1663372071.28', return_code='0', job_id='115688', GAL2='1.14', EG2='0.90', return_code2='0', energy_flux_error='9.11e-06', photon_flux_error2='4.81e-08', ts2='4.40', photon_index='2.51' WHERE bin_id='1709' AND source_name='4FGL J1208.9+5441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:47:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 115688: <4FGL_J1208.9+5441_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1208.9+5441_daily_bin1709> 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) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:35:22 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:22 2022
Terminated at Fri Sep 16 16:47:52 2022
Results reported at Fri Sep 16 16:47:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.9+5441_daily_bin1709 182.226 54.6995 682300801 682560001 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 :                                   704.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             372.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            757 sec.

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

