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 61 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1208.9+5441_daily_bin1686
RA = 182.226, Dec = 54.6995
tmin = 676339201, tmax = 676598401
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='510445', job_status='RUN', time_executed='2022-06-11 00:22:04.020112', time_epoch_executed='1654932124.02' WHERE source_name='4FGL J1208.9+5441' and cadence='daily' and bin_id='1686'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/510445

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/510445/ft1_4FGL_J1208.9+5441_daily_bin1686.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/510445/ft2_4FGL_J1208.9+5441_daily_bin1686.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/510445/ft1_4FGL_J1208.9+5441_daily_bin1686.fits outfile=/scratch/kocevski/510445/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin1686.fits ra=182.226 dec=54.6995 rad=12.0 tmin=676339201.0 tmax=676598401.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.85
user 2.60
sys 0.21

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

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

Number of photons that the gtmktime cut: 1079

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/510445/ft1_filtered_4FGL_J1208.9+5441_daily_bin1686.fits" evtable="EVENTS" scfile=/scratch/kocevski/510445/ft2_4FGL_J1208.9+5441_daily_bin1686.fits sctable="SC_DATA" outfile=/scratch/kocevski/510445/ltcube_676339201_676598401_4FGL_J1208.9+5441_daily_bin1686.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/510445/ft2_4FGL_J1208.9+5441_daily_bin1686.fits
.....................!
real 14.56
user 14.18
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/510445/ft1_filtered_4FGL_J1208.9+5441_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/510445/ft2_4FGL_J1208.9+5441_daily_bin1686.fits sctable="SC_DATA" expcube=/scratch/kocevski/510445/ltcube_676339201_676598401_4FGL_J1208.9+5441_daily_bin1686.fits outfile=/scratch/kocevski/510445/expmap_676339201_676598401_4FGL_J1208.9+5441_daily_bin1686.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/510445/ltcube_676339201_676598401_4FGL_J1208.9+5441_daily_bin1686.fits
.....................!
real 192.26
user 185.84
sys 5.69

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/510445/ft1_filtered_4FGL_J1208.9+5441_daily_bin1686.fits scfile=/scratch/kocevski/510445/ft2_4FGL_J1208.9+5441_daily_bin1686.fits outfile=/scratch/kocevski/510445/cmap_676339201_676598401_4FGL_J1208.9+5441_daily_bin1686.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/510445/ft1_filtered_4FGL_J1208.9+5441_daily_bin1686.fits scfile=/scratch/kocevski/510445/ft2_4FGL_J1208.9+5441_daily_bin1686.fits outfile=/scratch/kocevski/510445/cmap_HighResolution_676339201_676598401_4FGL_J1208.9+5441_daily_bin1686.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/510445/ft1_filtered_4FGL_J1208.9+5441_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/510445/ft2_4FGL_J1208.9+5441_daily_bin1686.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/510445/Model_4FGL_J1208.9+5441_daily_bin1686.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/510445/ft1_filtered_4FGL_J1208.9+5441_daily_bin1686.fits.....................!
real 91.36
user 89.89
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/510445/ft1_filtered_4FGL_J1208.9+5441_daily_bin1686.fits', '/scratch/kocevski/510445/ft2_4FGL_J1208.9+5441_daily_bin1686.fits', expMap='/scratch/kocevski/510445/expmap_676339201_676598401_4FGL_J1208.9+5441_daily_bin1686.fits', expCube='/scratch/kocevski/510445/ltcube_676339201_676598401_4FGL_J1208.9+5441_daily_bin1686.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/510445/Model_4FGL_J1208.9+5441_daily_bin1686.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  1.000e-04  1.000e+04 ( 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  0.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/510445/ft1_filtered_4FGL_J1208.9+5441_daily_bin1686.fits
Spacecraft file(s): /scratch/kocevski/510445/ft2_4FGL_J1208.9+5441_daily_bin1686.fits
Exposure map: /scratch/kocevski/510445/expmap_676339201_676598401_4FGL_J1208.9+5441_daily_bin1686.fits
Exposure cube: /scratch/kocevski/510445/ltcube_676339201_676598401_4FGL_J1208.9+5441_daily_bin1686.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/510445/Model_4FGL_J1208.9+5441_daily_bin1686.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) = 11659.3066085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13789E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.2883       1.0000         .10000E-03   10000.    
     3 'Prefactor '    57.335       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.2182       1.0000         .10000E-03   10000.    
     6 'norm      '    .10163E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .25608E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.219       1.0000         .10000E-03   10000.    
     9 'norm      '    1.4081       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.4685       1.0000         .10000E-03   10000.    
    11 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    31.586       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .54029       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.646       1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.162       1.0000         .10000E-03   10000.    
    18 'norm      '    5.1566       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.2287       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.4267       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11488E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.2206       1.0000         .10000E-03   10000.    
    24 'Prefactor '    22.092       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0140       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .95129       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11659.23     FROM MIGRAD    STATUS=CONVERGED    683 CALLS     3008 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    42.534       -.35994E-06** at limit **
   2  norm          3.2885        1.5431       -.29841E-07   -.39697E-03
   3  Prefactor     57.321        36.727        .22615E-06   -.69178E-04
   4  Prefactor     .10000E-03    5.4857        .41095E-07** at limit **
   5  Prefactor     2.2249        237.19       -.27323E-06    .33762E-05
   6  norm          .10000E-03    12.097        .24690E-06** at limit **
   7  Prefactor     .10000E-03    1.7764       -.13779E-06** at limit **
   8  Prefactor     18.245        15.757       -.77989E-06   -.23043E-03
   9  norm          1.4097        5.6219        .97069E-05   -.27725E-03
  10  Prefactor     1.4673        2.3287        .42057E-07   -.15011E-03
  11  norm          .10000E-03    1.1231       -.92050E-06** at limit **
  12  Prefactor     31.575        15.366       -.19152E-07   -.19006E-04
  13  Prefactor     .10000E-03    2.6957       -.12037E-05** at limit **
  14  Prefactor     .10000E-03    4.1328       -.88231E-06** at limit **
  15  norm          .54024        .97105        .23076E-07   -.25020E-03
  16  Prefactor     17.633        12.583       -.27583E-06   -.71787E-04
  17  Prefactor     22.140        30.246        .68954E-06   -.47408E-04
  18  norm          5.1548        4.4313        .70253E-07    .10312E-03
  19  Prefactor     8.2236        13.300        .39740E-07    .72791E-04
  20  Prefactor     .10000E-03    2.3563        .13417E-07** at limit **
  21  norm          4.4256        1.5112        .16007E-08    .57570E-04
  22  Prefactor     .10000E-03    12.270        .73552E-06** at limit **
  23  norm          1.2203        1.0411        .51326E-07    .33657E-03
  24  Prefactor     22.075        22.367        .36983E-06   -.53950E-04
  25  Prefactor     .10000E-03    2.8911        .43416E-07** at limit **
  26  norm          .10000E-03    1.3726        .21005E-06** at limit **
  27  Normalizat    1.0145        .11550        .12751E-05    .39627E-03
  28  Prefactor     .95104        .14204       -.19857E-05    .99908E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.28851
  Prefactor  = 57.3208
  Prefactor  = 0.0001
  Prefactor  = 2.22492
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.2449
  norm       = 1.40971
  Prefactor  = 1.46726
  norm       = 0.000100001
  Prefactor  = 31.575
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  norm       = 0.540244
  Prefactor  = 17.633
  Prefactor  = 22.1399
  norm       = 5.15481
  Prefactor  = 8.22364
  Prefactor  = 0.0001
  norm       = 4.4256
  Prefactor  = 0.000100001
  norm       = 1.22028
  Prefactor  = 22.075
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.01451
  Prefactor  = 0.951042
 **********
 **   18 **HESSE 
 **********

 FCN=   11659.23     FROM HESSE     STATUS=OK           527 CALLS     3535 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    42.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.2885        1.5411        .89223E-04   -1.5345    
   3  Prefactor     57.321        36.758        .52980E-04   -1.4192    
   4  Prefactor     .10000E-03    5.4959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.2249        238.09        .27613E-03   -1.5410    
   6  norm          .10000E-03    12.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.0762        .26922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.245        15.486        .93833E-04   -1.4853    
   9  norm          1.4097        5.7188        .18262E-02   -1.5471    
  10  Prefactor     1.4673        2.2727        .18200E-03   -1.5466    
  11  norm          .10000E-03    2.0484        .21985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     31.575        15.139        .71294E-04   -1.4584    
  13  Prefactor     .10000E-03    2.7984        .17459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.1686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .54024        .91746        .13532E-02   -1.5561    
  16  Prefactor     17.633        12.592        .95345E-04   -1.4868    
  17  Prefactor     22.140        30.227        .85083E-04   -1.4767    
  18  norm          5.1548        4.4073        .17704E-03   -1.5254    
  19  Prefactor     8.2236        13.257        .13976E-03   -1.5134    
  20  Prefactor     .10000E-03    2.4188        .32298E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.4256        1.5089        .75003E-04   -1.5287    
  22  Prefactor     .10000E-03    12.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.2203        1.0438        .98578E-04   -1.5487    
  24  Prefactor     22.075        22.361        .85220E-04   -1.4768    
  25  Prefactor     .10000E-03    2.9243        .17921E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.4388        .24714E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0145        .13256        .21496E-03   -.92546    
  28  Prefactor     .95104        .16356        .28202E-03   -.94380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56683e-08
Minuit parameter uncertainties:
  1  0.000137119
  2  1.54111
  3  36.7724
  4  1.33948e-05
  5  46.2202
  6  9.77006e-06
  7  1.9143e-05
  8  15.4897
  9  5.67943
  10  2.27285
  11  8.61186e-05
  12  15.1404
  13  0.00016214
  14  0.000142521
  15  0.917483
  16  12.5939
  17  30.2479
  18  4.40757
  19  13.2613
  20  1.98735e-06
  21  1.5089
  22  0.000256339
  23  1.04385
  24  22.369
  25  1.14275e-05
  26  1.98003e-05
  27  0.132603
  28  0.163646
Done.

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

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  5.402e-01  9.175e-01  1.000e-04  1.000e+04 ( 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  0.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:  9.510e-01  1.636e-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.015e+00  1.326e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.46
Ra Dec: 182.226 54.700
Photon Flux Upper Limit: 4.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/510445/likelihoodResults_676339201_676598401_4FGL_J1208.9+5441_daily_bin1686.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) = 11659.2016023
delta logL = 0.032756751687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11659.2001447
delta logL = 0.0342143555081

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .49769       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1075       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0185       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94736       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11659.20     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      217 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49646        3.1361         .0000        .22844E-02
   2  alpha         2.1076        3.4581         .0000       -.78701E-04
   3  Normalizat    1.0185        .10971         .0000        .11678E-04
   4  Prefactor     .94740        .14226         .0000        .31688E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.496461
  alpha      = 2.10764
  Normalizat = 1.01845
  Prefactor  = 0.947396
 **********
 **   18 **HESSE 
 **********

 FCN=   11659.20     FROM HESSE     STATUS=OK            35 CALLS      252 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49646        .89181        .13655E-02   -1.5567    
   2  alpha         2.1076        1.2707        .39894E-01   -.15759    
   3  Normalizat    1.0185        .12702        .21457E-03   -.92415    
   4  Prefactor     .94740        .16217        .28248E-03   -.94504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75595e-08
Minuit parameter uncertainties:
  1  0.891833
  2  1.33478
  3  0.127055
  4  0.162254
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/510445': 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) = 11659.2001435
delta logL = 0.03421556996

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  4.965e-01  8.918e-01  1.000e-04  1.000e+04 ( 1.000e-11)
377        alpha:  2.108e+00  1.335e+00  0.000e+00  5.000e+00 ( 1.000e+00)
378         beta:  7.229e-02  0.000e+00  0.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:  9.474e-01  1.623e-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.018e+00  1.271e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.46
Ra Dec: 182.226 54.700

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/510445/cmap_HighResolution_676339201_676598401_4FGL_J1208.9+5441_daily_bin1686.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-05', job_status='DONE', photon_flux_upper_limit='4.47e-08', time_completed='2022-06-11 00:44:15.902865', job_id='510445', GAL2='0.95', fit_tolerance='1e-08', EG2='1.02', EG='1.01', time_epoch_completed='1654933455.9', return_code2='0', ts='0.46', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.42e-02', ts2='0.53', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1686' AND source_name='4FGL J1208.9+5441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jun 11 00:44:15 PDT 2022



------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 510581: <4FGL_J1208.9+5441_daily_bin1686> in cluster <slac> Done

Job <4FGL_J1208.9+5441_daily_bin1686> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jun 11 00:06:22 2022
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jun 11 00:21:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jun 11 00:21:51 2022
Terminated at Sat Jun 11 00:41:37 2022
Results reported at Sat Jun 11 00:41:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.9+5441_daily_bin1686 182.226 54.6995 676339201 676598401 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 :                                   1092.30 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             342.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1186 sec.
    Turnaround time :                            2115 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0157>
Subject: Job 510445: <4FGL_J1208.9+5441_daily_bin1686> in cluster <slac> Done

Job <4FGL_J1208.9+5441_daily_bin1686> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jun 11 00:06:16 2022
Job was executed on host(s) <bullet0157>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jun 11 00:20:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jun 11 00:20:44 2022
Terminated at Sat Jun 11 00:44:16 2022
Results reported at Sat Jun 11 00:44:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.9+5441_daily_bin1686 182.226 54.6995 676339201 676598401 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 :                                   1332.37 sec.
    Max Memory :                                 1263 MB
    Average Memory :                             339.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2932 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1412 sec.
    Turnaround time :                            2280 sec.

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

