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


Performing analysis on: 4FGL_J1208.4+6121_daily_bin1708
RA = 182.114, Dec = 61.3559
tmin = 682041601, tmax = 682300801
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='115671', job_status='RUN', time_executed='2022-09-16 16:35:39.089330', time_epoch_executed='1663371339.09' WHERE source_name='4FGL J1208.4+6121' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115671

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115671/ft1_4FGL_J1208.4+6121_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115671/ft2_4FGL_J1208.4+6121_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115671/ft1_4FGL_J1208.4+6121_daily_bin1708.fits outfile=/scratch/kocevski/115671/ft1_filteredMKT_4FGL_J1208.4+6121_daily_bin1708.fits ra=182.114 dec=61.3559 rad=12.0 tmin=682041601.0 tmax=682300801.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 4.00
user 3.77
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/115671/ft2_4FGL_J1208.4+6121_daily_bin1708.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/115671/ft2_4FGL_J1208.4+6121_daily_bin1708.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/115671/ft1_filteredMKT_4FGL_J1208.4+6121_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/115671/ft1_filtered_4FGL_J1208.4+6121_daily_bin1708.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: 655

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/115671/ft1_filtered_4FGL_J1208.4+6121_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/115671/ft2_4FGL_J1208.4+6121_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/115671/ltcube_682041601_682300801_4FGL_J1208.4+6121_daily_bin1708.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/115671/ft2_4FGL_J1208.4+6121_daily_bin1708.fits
.....................!
real 15.25
user 14.84
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115671/ft1_filtered_4FGL_J1208.4+6121_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/115671/ft2_4FGL_J1208.4+6121_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/115671/ltcube_682041601_682300801_4FGL_J1208.4+6121_daily_bin1708.fits outfile=/scratch/kocevski/115671/expmap_682041601_682300801_4FGL_J1208.4+6121_daily_bin1708.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/115671/ltcube_682041601_682300801_4FGL_J1208.4+6121_daily_bin1708.fits
.....................!
real 192.31
user 186.42
sys 5.48

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

Setting source of interest to:
4FGL J1208.4+6121 @ 182.114 61.3559

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/115671/ft1_filtered_4FGL_J1208.4+6121_daily_bin1708.fits scfile=/scratch/kocevski/115671/ft2_4FGL_J1208.4+6121_daily_bin1708.fits outfile=/scratch/kocevski/115671/cmap_682041601_682300801_4FGL_J1208.4+6121_daily_bin1708.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.114 yref=61.3559 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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/115671/ft1_filtered_4FGL_J1208.4+6121_daily_bin1708.fits scfile=/scratch/kocevski/115671/ft2_4FGL_J1208.4+6121_daily_bin1708.fits outfile=/scratch/kocevski/115671/cmap_HighResolution_682041601_682300801_4FGL_J1208.4+6121_daily_bin1708.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.114 yref=61.3559 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/115671/ft1_filtered_4FGL_J1208.4+6121_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/115671/ft2_4FGL_J1208.4+6121_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/115671/Model_4FGL_J1208.4+6121_daily_bin1708.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/115671/ft1_filtered_4FGL_J1208.4+6121_daily_bin1708.fits.....................!
real 67.01
user 65.39
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/115671/ft1_filtered_4FGL_J1208.4+6121_daily_bin1708.fits', '/scratch/kocevski/115671/ft2_4FGL_J1208.4+6121_daily_bin1708.fits', expMap='/scratch/kocevski/115671/expmap_682041601_682300801_4FGL_J1208.4+6121_daily_bin1708.fits', expCube='/scratch/kocevski/115671/ltcube_682041601_682300801_4FGL_J1208.4+6121_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/115671/Model_4FGL_J1208.4+6121_daily_bin1708.xml', optimizer='MINUIT')

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

4FGL J1208.4+6121
   Spectrum: PowerLaw
372    Prefactor:  1.772e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
373        Index:  2.073e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  2.978e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/115671/ft1_filtered_4FGL_J1208.4+6121_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/115671/ft2_4FGL_J1208.4+6121_daily_bin1708.fits
Exposure map: /scratch/kocevski/115671/expmap_682041601_682300801_4FGL_J1208.4+6121_daily_bin1708.fits
Exposure cube: /scratch/kocevski/115671/ltcube_682041601_682300801_4FGL_J1208.4+6121_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/115671/Model_4FGL_J1208.4+6121_daily_bin1708.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) = 7038.61067827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.432       1.0000          .0000       .10000E+07
     2 'norm      '    4.0526       1.0000          .0000       .10000E+07
     3 'Prefactor '    95.365       1.0000          .0000       .10000E+07
     4 'norm      '    2.4954       1.0000          .0000       .10000E+07
     5 'Prefactor '    54.520       1.0000          .0000       .10000E+07
     6 'norm      '    .65004E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    23.813       1.0000          .0000       .10000E+07
     8 'Prefactor '    7.8694       1.0000          .0000       .10000E+07
     9 'Prefactor '    25.056       1.0000          .0000       .10000E+07
    10 'Prefactor '    27.154       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.0507       1.0000          .0000       .10000E+07
    12 'norm      '    .50602E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .48047       1.0000          .0000       .10000E+07
    14 'Prefactor '    .43897E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .39867       1.0000          .0000       .10000E+07
    16 'norm      '    3.6917       1.0000          .0000       .10000E+07
    17 'Prefactor '    28.102       1.0000          .0000       .10000E+07
    18 'norm      '    3.5915       1.0000          .0000       .10000E+07
    19 'norm      '    .28766E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    1.0170       1.0000          .0000       .10000E+07
    21 'norm      '    3.2612       1.0000          .0000       .10000E+07
    22 'norm      '    2.8004       1.0000          .0000       .10000E+07
    23 'Prefactor '    .43310E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .45640E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    61.771       1.0000          .0000       .10000E+07
    26 'Prefactor '    .74759E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    .43486E-03   1.0000          .0000       .10000E+07
    28 'Normalizat'    .85703       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0684       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7038.602     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     2743 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.395        2.8767        .56306E-07   -.18475E-01
   2  norm          4.0554        2.2877       -.23644E-06   -.92259E-03
   3  Prefactor     95.123        12.135       -.58378E-06    .10305    
   4  norm          2.4974        2.1000        .80816E-08   -.48045E-03
   5  Prefactor     52.112        94.628       -.66635E-05    .12250E-02
   6  norm           .0000        .47158        .52537E-07** at limit **
   7  Prefactor     23.859        17.196        .44044E-06    .88598E-01
   8  Prefactor     7.9860        7.6227        .15047E-06    .41377E-02
   9  Prefactor     25.046        10.520        .13399E-06   -.18467    
  10  Prefactor     27.105        13.055       -.81581E-06   -.63270E-01
  11  Prefactor     3.0492        2.6557       -.13707E-06   -.19941E-02
  12  norm          .17764E-08    38.969        .61873E-07** at limit **
  13  norm          .43978        9.3165        .44643E-05    .17291E-02
  14  Prefactor      .0000        2.8145        .16183E-07** at limit **
  15  Prefactor     .34681        1.2107       -.28686E-07   -.71809E-02
  16  norm          3.6911        2.3009       -.13206E-06   -.19196E-03
  17  Prefactor     28.053        12.202       -.58979E-06    .36012E-01
  18  norm          3.5744        4.1376       -.51841E-07    .44452E-04
  19  norm           .0000        5.6408       -.19607E-07** at limit **
  20  Prefactor     1.0165        4.2210        .48217E-07    .66394E-03
  21  norm          3.2614        1.9613        .50557E-07    .11240E-02
  22  norm          2.7985        1.8523        .57255E-07   -.29771E-03
  23  Prefactor     .11102E-09    11.954       -.85970E-06** at limit **
  24  Prefactor     .11102E-09    8.5019        .16172E-05** at limit **
  25  Prefactor     62.502        57.531        .82944E-06    .18983E-01
  26  Prefactor      .0000        52.667       -.81354E-07** at limit **
  27  Prefactor      .0000        3.8178       -.35714E-06** at limit **
  28  Normalizat    .85669        .18231        .24376E-05   -.10814E-04
  29  Prefactor     1.0688        .21687       -.18568E-05   -.49452E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.3953
  norm       = 4.0554
  Prefactor  = 95.1232
  norm       = 2.49741
  Prefactor  = 52.1117
  norm       = 0
  Prefactor  = 23.859
  Prefactor  = 7.98602
  Prefactor  = 25.046
  Prefactor  = 27.1048
  Prefactor  = 3.04925
  norm       = 1.77636e-09
  norm       = 0.439783
  Prefactor  = 0
  Prefactor  = 0.346813
  norm       = 3.69108
  Prefactor  = 28.0528
  norm       = 3.5744
  norm       = 0
  Prefactor  = 1.01646
  norm       = 3.26136
  norm       = 2.79847
  Prefactor  = 1.11022e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 62.5015
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.856686
  Prefactor  = 1.06881
 **********
 **   18 **HESSE 
 **********

 FCN=   7038.602     FROM HESSE     STATUS=OK           627 CALLS     3370 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.395        26.931        .19834E-03   -1.5607    
   2  norm          4.0554        2.9512        .50063E-03   -1.5668    
   3  Prefactor     95.123        158.12        .10241E-03   -1.5513    
   4  norm          2.4974        2.1244        .64674E-03   -1.5676    
   5  Prefactor     52.112        95.495        .13544E-03   -1.5564    
   6  norm           .0000        .47453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     23.859        19.566        .20497E-03   -1.5610    
   8  Prefactor     7.9860        7.7471        .35720E-03   -1.5651    
   9  Prefactor     25.046        26.595        .19982E-03   -1.5608    
  10  Prefactor     27.105        17.214        .19194E-03   -1.5604    
  11  Prefactor     3.0492        2.6517        .58061E-03   -1.5673    
  12  norm          .17764E-08    38.206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .43978        3.5743        .47744E-02   -1.5695    
  14  Prefactor      .0000        2.8152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .34681        12.956        .10904E-01   -1.5696    
  16  norm          3.6911        2.3032        .52539E-03   -1.5670    
  17  Prefactor     28.053        17.626        .18867E-03   -1.5602    
  18  norm          3.5744        4.1578        .53297E-03   -1.5670    
  19  norm           .0000        5.6318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.0165        4.4100        .12900E-02   -1.5688    
  21  norm          3.2614        1.9874        .56054E-03   -1.5672    
  22  norm          2.7985        1.8553        .60767E-03   -1.5675    
  23  Prefactor     .11102E-09    11.947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11102E-09    8.4764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     62.502        58.159        .12724E-03   -1.5550    
  26  Prefactor      .0000        52.338        .14664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.7723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .85669        .15605        .44350E-01   -.97999    
  29  Prefactor     1.0688        .18431        .61328E-01   -.90470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02422e-06
Minuit parameter uncertainties:
  1  26.9313
  2  2.95124
  3  158.126
  4  2.12443
  5  95.4978
  6  1.74158e-08
  7  19.5664
  8  7.74714
  9  26.5948
  10  17.2145
  11  2.65167
  12  0.000520652
  13  2.50751
  14  6.27979e-06
  15  4.23948
  16  2.30325
  17  17.6259
  18  4.1578
  19  2.04426e-05
  20  4.23441
  21  1.98737
  22  1.85526
  23  7.25667e-05
  24  5.33082e-05
  25  58.16
  26  7.24183e-05
  27  1.75319e-05
  28  0.156127
  29  0.184423
Done.

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

Extracting fit parameters...

4FGL J1208.4+6121
   Spectrum: PowerLaw
372    Prefactor:  3.468e-01  4.239e+00  0.000e+00  1.000e+06 ( 1.000e-14)
373        Index:  2.073e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  2.978e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  1.069e+00  1.844e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  8.567e-01  1.561e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 182.114 61.356
Photon Flux Upper Limit: 4.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/115671/likelihoodResults_682041601_682300801_4FGL_J1208.4+6121_daily_bin1708.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): 102
logL (Free Index) = 7038.5981193
delta logL = 0.00360096430177

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7038.59810078
delta logL = 0.00361949131093

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34711       1.0000          .0000       .10000E+07
     2 'Index     '    2.7309       1.0000          .0000       10.000    
     3 'Normalizat'    .85502       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0694       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7038.598     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      260 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61554        5.2775        .67777E-02    .57373E-02
   2  Index         2.5368        .12883        .50000        .92019E-06
   3  Normalizat    .85536        .37661E-02    .44324E-01    .12508E-04
   4  Prefactor     1.0688        .47392E-02    .61329E-01   -.23020E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.615545
  Index      = 2.53678
  Normalizat = 0.85536
  Prefactor  = 1.06882
 **********
 **   18 **HESSE 
 **********

 FCN=   7038.598     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      295 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61554        3467.7        .36345E-03   -1.5692    
   2  Index         2.5368        5.1981        .23424E-02   -.51512    
   3  Normalizat    .85536        .10824        .23952E-03   -.98047    
   4  Prefactor     1.0688        .15378        .27123E-03   -.90470    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.00862e-08
Minuit parameter uncertainties:
  1  92.456
  2  54.2913
  3  0.108269
  4  0.153842
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115671': 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): 102
logL (Free Index) = 7038.59761242
delta logL = 0.00410784752876

Extracting fit parameters...

4FGL J1208.4+6121
   Spectrum: PowerLaw
372    Prefactor:  6.155e-01  9.246e+01  0.000e+00  1.000e+06 ( 1.000e-14)
373        Index:  2.537e+00  5.429e+01  0.000e+00  1.000e+01 (-1.000e+00)
374        Scale:  2.978e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  1.069e+00  1.538e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  8.554e-01  1.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 182.114 61.356

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/115671/cmap_HighResolution_682041601_682300801_4FGL_J1208.4+6121_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-03', job_status='DONE', photon_flux_upper_limit='4.60e-08', time_completed='2022-09-16 16:50:40.761845', job_id='115671', GAL2='1.07', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1663372240.76', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='4.11e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='1708' AND source_name='4FGL J1208.4+6121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:50:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 115671: <4FGL_J1208.4+6121_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1208.4+6121_daily_bin1708> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 16:35:14 2022
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:35:19 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:19 2022
Terminated at Fri Sep 16 16:50:41 2022
Results reported at Fri Sep 16 16:50:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.4+6121_daily_bin1708 182.114 61.3559 682041601 682300801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1208.4+6121 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   903.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            927 sec.

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

