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


Performing analysis on: 4FGL_J1208.4+6121_daily_bin1689
RA = 182.114, Dec = 61.3559
tmin = 677116801, tmax = 677376001
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='976737', job_status='RUN', time_executed='2022-06-20 00:37:38.577998', time_epoch_executed='1655710658.58' WHERE source_name='4FGL J1208.4+6121' and cadence='daily' and bin_id='1689'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/976737

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/976737/ft1_4FGL_J1208.4+6121_daily_bin1689.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/976737/ft2_4FGL_J1208.4+6121_daily_bin1689.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/976737/ft1_4FGL_J1208.4+6121_daily_bin1689.fits outfile=/scratch/kocevski/976737/ft1_filteredMKT_4FGL_J1208.4+6121_daily_bin1689.fits ra=182.114 dec=61.3559 rad=12.0 tmin=677116801.0 tmax=677376001.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.77
user 2.54
sys 0.20

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

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

Number of photons that the gtmktime cut: 978

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/976737/ft1_filtered_4FGL_J1208.4+6121_daily_bin1689.fits" evtable="EVENTS" scfile=/scratch/kocevski/976737/ft2_4FGL_J1208.4+6121_daily_bin1689.fits sctable="SC_DATA" outfile=/scratch/kocevski/976737/ltcube_677116801_677376001_4FGL_J1208.4+6121_daily_bin1689.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/976737/ft2_4FGL_J1208.4+6121_daily_bin1689.fits
.....................!
real 16.32
user 15.86
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/976737/ft1_filtered_4FGL_J1208.4+6121_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/976737/ft2_4FGL_J1208.4+6121_daily_bin1689.fits sctable="SC_DATA" expcube=/scratch/kocevski/976737/ltcube_677116801_677376001_4FGL_J1208.4+6121_daily_bin1689.fits outfile=/scratch/kocevski/976737/expmap_677116801_677376001_4FGL_J1208.4+6121_daily_bin1689.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/976737/ltcube_677116801_677376001_4FGL_J1208.4+6121_daily_bin1689.fits
.....................!
real 195.09
user 187.38
sys 5.64

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/976737/ft1_filtered_4FGL_J1208.4+6121_daily_bin1689.fits scfile=/scratch/kocevski/976737/ft2_4FGL_J1208.4+6121_daily_bin1689.fits outfile=/scratch/kocevski/976737/cmap_677116801_677376001_4FGL_J1208.4+6121_daily_bin1689.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/976737/ft1_filtered_4FGL_J1208.4+6121_daily_bin1689.fits scfile=/scratch/kocevski/976737/ft2_4FGL_J1208.4+6121_daily_bin1689.fits outfile=/scratch/kocevski/976737/cmap_HighResolution_677116801_677376001_4FGL_J1208.4+6121_daily_bin1689.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/976737/ft1_filtered_4FGL_J1208.4+6121_daily_bin1689.fits', '/scratch/kocevski/976737/ft2_4FGL_J1208.4+6121_daily_bin1689.fits', expMap='/scratch/kocevski/976737/expmap_677116801_677376001_4FGL_J1208.4+6121_daily_bin1689.fits', expCube='/scratch/kocevski/976737/ltcube_677116801_677376001_4FGL_J1208.4+6121_daily_bin1689.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/976737/Model_4FGL_J1208.4+6121_daily_bin1689.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  1.000e-04  1.000e+04 ( 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/976737/ft1_filtered_4FGL_J1208.4+6121_daily_bin1689.fits
Spacecraft file(s): /scratch/kocevski/976737/ft2_4FGL_J1208.4+6121_daily_bin1689.fits
Exposure map: /scratch/kocevski/976737/expmap_677116801_677376001_4FGL_J1208.4+6121_daily_bin1689.fits
Exposure cube: /scratch/kocevski/976737/ltcube_677116801_677376001_4FGL_J1208.4+6121_daily_bin1689.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/976737/Model_4FGL_J1208.4+6121_daily_bin1689.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) = 10606.3183371

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .96992       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.3405       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.774       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .35328E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2086       1.0000         .10000E-03   10000.    
    10 'Prefactor '    40.123       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.7712       1.0000         .10000E-03   10000.    
    13 'norm      '    6.8382       1.0000         .10000E-03   10000.    
    14 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .43544       1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.180       1.0000         .10000E-03   10000.    
    17 'norm      '    .33552       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.413       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.6231       1.0000         .10000E-03   10000.    
    24 'norm      '    2.6061       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10307E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10613E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10535E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    .86061       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.1485       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10606.13     FROM MIGRAD    STATUS=CONVERGED    874 CALLS     3812 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.016        .90321E-07** at limit **
   2  norm          .97089        1.3759       -.37036E-06   -.23347E-02
   3  Prefactor     .10000E-03    28.478        .27724E-06** at limit **
   4  norm          .10000E-03    1.1385       -.19887E-06** at limit **
   5  Prefactor     .10000E-03    82.243       -.57684E-06** at limit **
   6  norm          3.3419        1.7304        .78054E-07   -.42240E-03
   7  Prefactor     14.777        5.3341       -.42182E-07    .11043E-04
   8  Prefactor     .10001E-03    47.092        .17580E-04** at limit **
   9  Prefactor     2.2091        4.4041       -.52521E-06   -.34165E-03
  10  Prefactor     40.131        19.325        .35913E-06    .10567E-03
  11  Prefactor     .10000E-03    8.1103       -.18920E-06** at limit **
  12  Prefactor     7.7709        3.3115        .12780E-07   -.28301E-04
  13  norm          6.8385        5.7640       -.44134E-07    .17003E-04
  14  norm          .10000E-03    .82869        .55434E-07** at limit **
  15  Prefactor     .43598        .45336        .28383E-06   -.13107E-02
  16  Prefactor     31.170        18.465       -.46573E-06   -.17332E-03
  17  norm          .33544        .83181        .10114E-07    .91469E-05
  18  Prefactor     13.406        14.319       -.96753E-07    .11271E-05
  19  Prefactor     .10000E-03    27.117        .42164E-06** at limit **
  20  norm          .10000E-03    2.7718       -.29316E-06** at limit **
  21  norm          .10000E-03    1.6812       -.44192E-07** at limit **
  22  Prefactor     .10000E-03    1.3846       -.44960E-07** at limit **
  23  norm          4.6231        1.7906        .12699E-06    .17037E-02
  24  norm          2.6060        1.5873       -.10474E-07    .16808E-03
  25  Prefactor     .10000E-03    18.259       -.29930E-06** at limit **
  26  Prefactor     .10000E-03    9.4347       -.31778E-07** at limit **
  27  Prefactor     .10001E-03    86.434       -.11641E-05** at limit **
  28  Prefactor     .10000E-03    22.569       -.16710E-06** at limit **
  29  Prefactor     .10000E-03    1.4731       -.51469E-06** at limit **
  30  Prefactor     .10000E-03    2.6390       -.63425E-07** at limit **
  31  Normalizat    .86066        .12360       -.32500E-06    .20163E-03
  32  Prefactor     1.1484        .15062        .10215E-05    .43955E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.970892
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.34187
  Prefactor  = 14.7765
  Prefactor  = 0.000100008
  Prefactor  = 2.20908
  Prefactor  = 40.131
  Prefactor  = 0.0001
  Prefactor  = 7.77087
  norm       = 6.8385
  norm       = 0.0001
  Prefactor  = 0.435979
  Prefactor  = 31.1701
  norm       = 0.335438
  Prefactor  = 13.4057
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.62309
  norm       = 2.60604
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.860661
  Prefactor  = 1.14844
 **********
 **   18 **HESSE 
 **********

 FCN=   10606.13     FROM HESSE     STATUS=OK           663 CALLS     4475 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .97089        1.1810        .14359E-02   -1.5511    
   3  Prefactor     .10000E-03    28.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.5688        .18598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    82.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3419        1.7071        .93294E-04   -1.5342    
   7  Prefactor     14.777        4.6429        .10420E-03   -1.4939    
   8  Prefactor     .10001E-03    46.024        .59392E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.2091        4.4025        .27679E-03   -1.5411    
  10  Prefactor     40.131        19.272        .63281E-04   -1.4440    
  11  Prefactor     .10000E-03    8.1707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7709        3.3102        .11841E-03   -1.5150    
  13  norm          6.8385        5.7651        .15343E-03   -1.5185    
  14  norm          .10000E-03    .83463        .91525E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .43598        4.0232        .56885E-01   -1.5576    
  16  Prefactor     31.170        20.787        .71756E-04   -1.4591    
  17  norm          .33544        .89647        .14071E-02   -1.5592    
  18  Prefactor     13.406        14.334        .10937E-03   -1.4976    
  19  Prefactor     .10000E-03    27.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.9067        .33513E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.6871        .13041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.3909        .11830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.6231        1.7957        .83149E-04   -1.5278    
  24  norm          2.6060        1.5842        .98092E-04   -1.5385    
  25  Prefactor     .10000E-03    18.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    9.7504        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10001E-03    87.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    22.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    3.1000        .24007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    2.6527        .16323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .86066        .14581        .23568E-03   -.97857    
  32  Prefactor     1.1484        .18179        .26383E-03   -.87933    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47409e-06
Minuit parameter uncertainties:
  1  9.23596e-05
  2  1.18101
  3  7.13608e-05
  4  1.65391e-05
  5  0.000167988
  6  1.70712
  7  4.64304
  8  0.00118393
  9  4.40314
  10  19.2746
  11  4.00532e-05
  12  3.31024
  13  5.76555
  14  3.46999e-06
  15  2.64872
  16  20.7919
  17  0.896501
  18  14.3381
  19  4.98949e-05
  20  3.72917e-05
  21  5.09241e-06
  22  5.08237e-06
  23  1.79572
  24  1.58423
  25  4.5256e-07
  26  8.11051e-05
  27  0.0021813
  28  6.93626e-05
  29  5.27711e-05
  30  6.86067e-06
  31  0.145878
  32  0.181884
Done.

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

Extracting fit parameters...

4FGL J1208.4+6121
   Spectrum: PowerLaw
372    Prefactor:  3.117e+01  2.079e+01  1.000e-04  1.000e+04 ( 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.148e+00  1.819e-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.607e-01  1.459e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.52
Ra Dec: 182.114 61.356
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 3.30e-08 +/- 2.20e-08
Energy Flux (Fixed Index): 1.92e-05 +/- 1.28e-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) = 10605.9857554
delta logL = 0.141418454652

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10605.9448349
delta logL = 0.182338919525

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.378       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3687       1.0000          .0000       10.000    
     3 'Normalizat'    .84696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1605       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10605.94     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      288 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.378        31.456        .93428E-04    .23363E-04
   2  Index         2.3687        .72955        .46323E-02    .59721E-04
   3  Normalizat    .84702        .14572        .23736E-03    .24619E-04
   4  Prefactor     1.1604        .18412        .26264E-03    .30214E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.3779
  Index      = 2.36867
  Normalizat = 0.847017
  Prefactor  = 1.16043
 **********
 **   18 **HESSE 
 **********

 FCN=   10605.94     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.378        22.826        .37371E-05   -1.4850    
   2  Index         2.3687        .53001        .18529E-03   -.55420    
   3  Normalizat    .84702        .14406        .94943E-05   -.98348    
   4  Prefactor     1.1604        .18262        .10506E-04   -.87558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08721e-12
Minuit parameter uncertainties:
  1  22.8372
  2  0.531389
  3  0.144128
  4  0.182718
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/976737': 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) = 10605.9448348
delta logL = 0.182339031571

Extracting fit parameters...

4FGL J1208.4+6121
   Spectrum: PowerLaw
372    Prefactor:  1.838e+01  2.284e+01  1.000e-04  1.000e+04 ( 1.000e-14)
373        Index:  2.369e+00  5.314e-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.160e+00  1.827e-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.470e-01  1.441e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.87
Ra Dec: 182.114 61.356
Photon Index (Free Index): 2.37 +/- 0.53
Photon Flux (Free Index): 4.16e-08 +/- 2.67e-08
Energy Flux (Free Index): 1.42e-05 +/- 1.01e-05

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/976737/cmap_HighResolution_677116801_677376001_4FGL_J1208.4+6121_daily_bin1689.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.30e-08', energy_flux2='1.42e-05', photon_flux_error='2.20e-08', dlogl='1.82e-01', energy_flux='1.92e-05', photon_flux2='4.16e-08', job_status='DONE', time_completed='2022-06-20 00:59:45.407463', photon_index_error2='0.53', photon_index2='2.37', ts='4.52', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='1.01e-05', EG='0.86', time_epoch_completed='1655711985.41', return_code='0', job_id='976737', GAL2='1.16', EG2='0.85', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='2.67e-08', ts2='4.87', photon_index='2.07' WHERE bin_id='1689' AND source_name='4FGL J1208.4+6121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun 20 00:59:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 976736: <4FGL_J1208.4+6121_daily_bin1689> in cluster <slac> Done

Job <4FGL_J1208.4+6121_daily_bin1689> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Mon Jun 20 00:06:05 2022
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jun 20 00:36:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jun 20 00:36:24 2022
Terminated at Mon Jun 20 00:58:47 2022
Results reported at Mon Jun 20 00:58:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.4+6121_daily_bin1689 182.114 61.3559 677116801 677376001 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 :                                   1272.47 sec.
    Max Memory :                                 618 MB
    Average Memory :                             312.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1343 sec.
    Turnaround time :                            3162 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0157>
Subject: Job 976737: <4FGL_J1208.4+6121_daily_bin1689> in cluster <slac> Done

Job <4FGL_J1208.4+6121_daily_bin1689> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Jun 20 00:06:05 2022
Job was executed on host(s) <bullet0157>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jun 20 00:36:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jun 20 00:36:24 2022
Terminated at Mon Jun 20 00:59:45 2022
Results reported at Mon Jun 20 00:59:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.4+6121_daily_bin1689 182.114 61.3559 677116801 677376001 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 :                                   1322.80 sec.
    Max Memory :                                 1296 MB
    Average Memory :                             367.98 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3408 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1401 sec.
    Turnaround time :                            3220 sec.

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

