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


Performing analysis on: 4FGL_J2106.9+2455_daily_bin1702
RA = 316.742, Dec = 24.9327
tmin = 680486401, tmax = 680745601
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='257602', job_status='RUN', time_executed='2022-07-29 01:32:46.587786', time_epoch_executed='1659083566.59' WHERE source_name='4FGL J2106.9+2455' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/257602

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/257602/ft1_4FGL_J2106.9+2455_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/257602/ft2_4FGL_J2106.9+2455_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/257602/ft1_4FGL_J2106.9+2455_daily_bin1702.fits outfile=/scratch/kocevski/257602/ft1_filteredMKT_4FGL_J2106.9+2455_daily_bin1702.fits ra=316.742 dec=24.9327 rad=12.0 tmin=680486401.0 tmax=680745601.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.99
user 2.71
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/257602/ft2_4FGL_J2106.9+2455_daily_bin1702.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/257602/ft2_4FGL_J2106.9+2455_daily_bin1702.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/257602/ft1_filteredMKT_4FGL_J2106.9+2455_daily_bin1702.fits evtable="EVENTS" outfile="/scratch/kocevski/257602/ft1_filtered_4FGL_J2106.9+2455_daily_bin1702.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.36
sys 0.13

Number of photons that the gtmktime cut: 1694

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/257602/ft1_filtered_4FGL_J2106.9+2455_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/257602/ft2_4FGL_J2106.9+2455_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/257602/ltcube_680486401_680745601_4FGL_J2106.9+2455_daily_bin1702.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/257602/ft2_4FGL_J2106.9+2455_daily_bin1702.fits
.....................!
real 15.65
user 15.10
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/257602/ft1_filtered_4FGL_J2106.9+2455_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/257602/ft2_4FGL_J2106.9+2455_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/257602/ltcube_680486401_680745601_4FGL_J2106.9+2455_daily_bin1702.fits outfile=/scratch/kocevski/257602/expmap_680486401_680745601_4FGL_J2106.9+2455_daily_bin1702.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/257602/ltcube_680486401_680745601_4FGL_J2106.9+2455_daily_bin1702.fits
.....................!
real 193.38
user 187.12
sys 5.17

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
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Added 204 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2106.9+2455 @ 316.742 24.9327

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/257602/ft1_filtered_4FGL_J2106.9+2455_daily_bin1702.fits scfile=/scratch/kocevski/257602/ft2_4FGL_J2106.9+2455_daily_bin1702.fits outfile=/scratch/kocevski/257602/cmap_680486401_680745601_4FGL_J2106.9+2455_daily_bin1702.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=316.742 yref=24.9327 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/257602/ft1_filtered_4FGL_J2106.9+2455_daily_bin1702.fits scfile=/scratch/kocevski/257602/ft2_4FGL_J2106.9+2455_daily_bin1702.fits outfile=/scratch/kocevski/257602/cmap_HighResolution_680486401_680745601_4FGL_J2106.9+2455_daily_bin1702.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=316.742 yref=24.9327 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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/257602/ft1_filtered_4FGL_J2106.9+2455_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/257602/ft2_4FGL_J2106.9+2455_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/257602/Model_4FGL_J2106.9+2455_daily_bin1702.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 Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source gamma Cygni
Working on...
/scratch/kocevski/257602/ft1_filtered_4FGL_J2106.9+2455_daily_bin1702.fits.....................!
real 337.04
user 334.80
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/257602/ft1_filtered_4FGL_J2106.9+2455_daily_bin1702.fits', '/scratch/kocevski/257602/ft2_4FGL_J2106.9+2455_daily_bin1702.fits', expMap='/scratch/kocevski/257602/expmap_680486401_680745601_4FGL_J2106.9+2455_daily_bin1702.fits', expCube='/scratch/kocevski/257602/ltcube_680486401_680745601_4FGL_J2106.9+2455_daily_bin1702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/257602/Model_4FGL_J2106.9+2455_daily_bin1702.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2106.9+2455'

4FGL J2106.9+2455
   Spectrum: PowerLaw
443    Prefactor:  6.582e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
444        Index:  2.620e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
445        Scale:  6.250e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/257602/ft1_filtered_4FGL_J2106.9+2455_daily_bin1702.fits
Spacecraft file(s): /scratch/kocevski/257602/ft2_4FGL_J2106.9+2455_daily_bin1702.fits
Exposure map: /scratch/kocevski/257602/expmap_680486401_680745601_4FGL_J2106.9+2455_daily_bin1702.fits
Exposure cube: /scratch/kocevski/257602/ltcube_680486401_680745601_4FGL_J2106.9+2455_daily_bin1702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/257602/Model_4FGL_J2106.9+2455_daily_bin1702.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) = 17612.479092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    16.325       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .40696E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    125.61       1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.957       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.7247       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.2140       1.0000         .10000E-03   10000.    
    15 'norm      '    .28138       1.0000         .10000E-03   10000.    
    16 'norm      '    5.6824       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    36.988       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99403       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99504       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17612.48     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2458 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.493        .65574E-07** at limit **
   2  norm          .10000E-03    3.4108        .23919E-07** at limit **
   3  norm          .10000E-03    4.5055        .12619E-07** at limit **
   4  Prefactor     .10000E-03    1.0893        .76083E-08** at limit **
   5  norm          .10000E-03    53.398       -.11692E-07** at limit **
   6  norm          16.325        21.829        .27290E-08   -.23503E-05
   7  Prefactor     .10000E-03    21.793        .39760E-07** at limit **
   8  Prefactor     .10001E-03    11.152        .65798E-06** at limit **
   9  Prefactor     125.59        73.736       -.51973E-05   -.37583E-03
  10  Prefactor     41.958        25.326       -.38317E-06   -.48757E-04
  11  Prefactor     .10000E-03    6.8515        .74228E-08** at limit **
  12  Prefactor     2.7137        63.151       -.13252E-05   -.40778E-04
  13  Prefactor     .10000E-03    2.4483       -.53546E-07** at limit **
  14  norm          6.2154        4.8078        .14580E-08   -.16410E-03
  15  norm          .28146        .96406        .14136E-05   -.15230E-02
  16  norm          5.6828        4.0261        .34622E-06    .33916E-03
  17  Prefactor     .10000E-03    89.399       -.37935E-06** at limit **
  18  norm          .10000E-03    1.7908       -.10300E-07** at limit **
  19  Prefactor     .10000E-03    1.9732        .90128E-08** at limit **
  20  Prefactor     36.982        37.318       -.13046E-05   -.10389E-03
  21  Normalizat    .99388        .23745        .13818E-05   -.11851E-03
  22  Prefactor     .99506        .49218E-01   -.19000E-06   -.24809E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 16.3247
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 125.587
  Prefactor  = 41.9584
  Prefactor  = 0.0001
  Prefactor  = 2.71371
  Prefactor  = 0.0001
  norm       = 6.21539
  norm       = 0.281461
  norm       = 5.68284
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.9822
  Normalizat = 0.993879
  Prefactor  = 0.995059
 **********
 **   18 **HESSE 
 **********

 FCN=   17612.48     FROM HESSE     STATUS=OK           338 CALLS     2796 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.4972        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.5279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.0961        .13525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    53.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          16.325        21.829        .99127E-04   -1.4900    
   7  Prefactor     .10000E-03    21.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    96.087        .83728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     125.59        79.608        .17958E-03   -1.3462    
  10  Prefactor     41.958        25.314        .61887E-04   -1.4412    
  11  Prefactor     .10000E-03    6.8597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.7137        63.463        .24671E-03   -1.5378    
  13  Prefactor     .10000E-03    2.4798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2154        4.7805        .16104E-03   -1.5209    
  15  norm          .28146        1.0870        .26290E-03   -1.5602    
  16  norm          5.6828        4.0409        .16851E-03   -1.5231    
  17  Prefactor     .10000E-03    89.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.8536        .34640E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.9793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     36.982        37.483        .65898E-04   -1.4491    
  21  Normalizat    .99388        .24273        .62775E-03   -.93236    
  22  Prefactor     .99506        .51546E-01    .13703E-03   -.92894    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84384e-09
Minuit parameter uncertainties:
  1  6.71347e-06
  2  1.15703e-06
  3  7.91491e-07
  4  2.47925e-07
  5  1.72938e-05
  6  21.84
  7  1.49814e-05
  8  0.00188899
  9  79.6755
  10  25.3206
  11  2.27979e-06
  12  26.2774
  13  6.16212e-06
  14  4.78083
  15  1.08703
  16  4.04107
  17  9.45553e-05
  18  2.69031e-06
  19  1.46351e-06
  20  37.5065
  21  0.243004
  22  0.0515489
Done.

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

Extracting fit parameters...

4FGL J2106.9+2455
   Spectrum: PowerLaw
443    Prefactor:  1.256e+02  7.968e+01  1.000e-04  1.000e+04 ( 1.000e-13)
444        Index:  2.620e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
445        Scale:  6.250e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
729    Prefactor:  9.951e-01  5.155e-02  0.000e+00  1.000e+01 ( 1.000e+00)
730        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
731        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
728   Normalization:  9.939e-01  2.430e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.25
Ra Dec: 316.742 24.933
Photon Index (Fixed Index): 2.62 +/- 0.00
Photon Flux (Fixed Index): 9.44e-08 +/- 5.98e-08
Energy Flux (Fixed Index): 2.43e-05 +/- 1.54e-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) = 17612.2293465
delta logL = 0.246816624756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17612.2247931
delta logL = 0.251369956786

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    138.30       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2250       1.0000          .0000       10.000    
     3 'Normalizat'    1.0243       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99160       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7360E+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=   17612.22     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      303 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     138.30        92.749        .34251E-04    .15853E-03
   2  Index         2.2251        .52222        .12050E-01    .16513E-03
   3  Normalizat    1.0241        .23743        .61935E-03   -.61161E-04
   4  Prefactor     .99163        .51273E-01    .13724E-03   -.22830E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 138.299
  Index      = 2.22509
  Normalizat = 1.02414
  Prefactor  = 0.991631
 **********
 **   18 **HESSE 
 **********

 FCN=   17612.22     FROM HESSE     STATUS=OK            23 CALLS      326 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     138.30        93.280        .68502E-05   -1.3350    
   2  Index         2.2251        .52503        .48200E-03   -.58834    
   3  Normalizat    1.0241        .23756        .24774E-04   -.92226    
   4  Prefactor     .99163        .51280E-01    .54896E-05   -.93009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6517e-10
Minuit parameter uncertainties:
  1  93.3795
  2  0.526434
  3  0.237811
  4  0.0512822
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/257602': 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) = 17612.2247928
delta logL = 0.251370270798

Extracting fit parameters...

4FGL J2106.9+2455
   Spectrum: PowerLaw
443    Prefactor:  1.383e+02  9.338e+01  1.000e-04  1.000e+04 ( 1.000e-13)
444        Index:  2.225e+00  5.264e-01  0.000e+00  1.000e+01 (-1.000e+00)
445        Scale:  6.250e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
729    Prefactor:  9.916e-01  5.128e-02  0.000e+00  1.000e+01 ( 1.000e+00)
730        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
731        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
728   Normalization:  1.024e+00  2.378e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.69
Ra Dec: 316.742 24.933
Photon Index (Free Index): 2.23 +/- 0.53
Photon Flux (Free Index): 6.66e-08 +/- 6.14e-08
Energy Flux (Free Index): 2.86e-05 +/- 2.09e-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/257602/cmap_HighResolution_680486401_680745601_4FGL_J2106.9+2455_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.44e-08', energy_flux2='2.86e-05', photon_flux_error='5.98e-08', dlogl='2.51e-01', energy_flux='2.43e-05', photon_flux2='6.66e-08', job_status='DONE', time_completed='2022-07-29 01:58:00.507185', photon_index_error2='0.53', photon_index2='2.23', ts='4.25', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='2.09e-05', EG='0.99', time_epoch_completed='1659085080.51', return_code='0', job_id='257602', GAL2='0.99', EG2='1.02', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='6.14e-08', ts2='4.69', photon_index='2.62' WHERE bin_id='1702' AND source_name='4FGL J2106.9+2455' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:58:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0063>
Subject: Job 257602: <4FGL_J2106.9+2455_daily_bin1702> in cluster <slac> Done

Job <4FGL_J2106.9+2455_daily_bin1702> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jul 29 01:30:27 2022
Job was executed on host(s) <bullet0063>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:32:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:32:03 2022
Terminated at Fri Jul 29 01:58:00 2022
Results reported at Fri Jul 29 01:58:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2106.9+2455_daily_bin1702 316.742 24.9327 680486401 680745601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2106.9+2455 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1512.23 sec.
    Max Memory :                                 626 MB
    Average Memory :                             380.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2932 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1557 sec.
    Turnaround time :                            1653 sec.

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

