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


Performing analysis on: 4FGL_J2108.5+1434_daily_bin1750
RA = 317.148, Dec = 14.5812
tmin = 692928001, tmax = 693187201
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='25905', job_status='RUN', time_executed='2022-12-20 01:47:14.426324', time_epoch_executed='1671529634.43' WHERE source_name='4FGL J2108.5+1434' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25905

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25905/ft1_4FGL_J2108.5+1434_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25905/ft2_4FGL_J2108.5+1434_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25905/ft1_4FGL_J2108.5+1434_daily_bin1750.fits outfile=/scratch/kocevski/25905/ft1_filteredMKT_4FGL_J2108.5+1434_daily_bin1750.fits ra=317.148 dec=14.5812 rad=12.0 tmin=692928001.0 tmax=693187201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.55
user 3.30
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/25905/ft2_4FGL_J2108.5+1434_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/25905/ft2_4FGL_J2108.5+1434_daily_bin1750.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/25905/ft1_filteredMKT_4FGL_J2108.5+1434_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/25905/ft1_filtered_4FGL_J2108.5+1434_daily_bin1750.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: 804

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/25905/ft1_filtered_4FGL_J2108.5+1434_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/25905/ft2_4FGL_J2108.5+1434_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/25905/ltcube_692928001_693187201_4FGL_J2108.5+1434_daily_bin1750.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/25905/ft2_4FGL_J2108.5+1434_daily_bin1750.fits
.....................!
real 11.93
user 11.57
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25905/ft1_filtered_4FGL_J2108.5+1434_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/25905/ft2_4FGL_J2108.5+1434_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/25905/ltcube_692928001_693187201_4FGL_J2108.5+1434_daily_bin1750.fits outfile=/scratch/kocevski/25905/expmap_692928001_693187201_4FGL_J2108.5+1434_daily_bin1750.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/25905/ltcube_692928001_693187201_4FGL_J2108.5+1434_daily_bin1750.fits
.....................!
real 191.52
user 185.65
sys 5.52

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_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 194 point sources and 1 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 J2108.5+1434 @ 317.148 14.5812

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/25905/ft1_filtered_4FGL_J2108.5+1434_daily_bin1750.fits scfile=/scratch/kocevski/25905/ft2_4FGL_J2108.5+1434_daily_bin1750.fits outfile=/scratch/kocevski/25905/cmap_692928001_693187201_4FGL_J2108.5+1434_daily_bin1750.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=317.148 yref=14.5812 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25905/ft1_filtered_4FGL_J2108.5+1434_daily_bin1750.fits scfile=/scratch/kocevski/25905/ft2_4FGL_J2108.5+1434_daily_bin1750.fits outfile=/scratch/kocevski/25905/cmap_HighResolution_692928001_693187201_4FGL_J2108.5+1434_daily_bin1750.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=317.148 yref=14.5812 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/25905/ft1_filtered_4FGL_J2108.5+1434_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/25905/ft2_4FGL_J2108.5+1434_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/25905/Model_4FGL_J2108.5+1434_daily_bin1750.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 Loop
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/25905/ft1_filtered_4FGL_J2108.5+1434_daily_bin1750.fits.....................!
real 125.24
user 123.81
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/25905/ft1_filtered_4FGL_J2108.5+1434_daily_bin1750.fits', '/scratch/kocevski/25905/ft2_4FGL_J2108.5+1434_daily_bin1750.fits', expMap='/scratch/kocevski/25905/expmap_692928001_693187201_4FGL_J2108.5+1434_daily_bin1750.fits', expCube='/scratch/kocevski/25905/ltcube_692928001_693187201_4FGL_J2108.5+1434_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/25905/Model_4FGL_J2108.5+1434_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2108.5+1434'

4FGL J2108.5+1434
   Spectrum: PowerLaw
376    Prefactor:  4.876e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
377        Index:  2.765e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
378        Scale:  4.520e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/25905/ft1_filtered_4FGL_J2108.5+1434_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/25905/ft2_4FGL_J2108.5+1434_daily_bin1750.fits
Exposure map: /scratch/kocevski/25905/expmap_692928001_693187201_4FGL_J2108.5+1434_daily_bin1750.fits
Exposure cube: /scratch/kocevski/25905/ltcube_692928001_693187201_4FGL_J2108.5+1434_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/25905/Model_4FGL_J2108.5+1434_daily_bin1750.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) = 8468.41558947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64885E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .29142E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .35615       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11712E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .11589E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14596E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    33.001       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10522E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11920E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .70233E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .51365       1.0000          .0000       .10000E+07
    12 'norm      '    9.0783       1.0000          .0000       .10000E+07
    13 'Prefactor '    .17385E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .32262E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .93744E-01   1.0000          .0000       .10000E+07
    16 'norm      '    2.7480       1.0000          .0000       .10000E+07
    17 'norm      '    .16992       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34138E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    .94146       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97242       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8468.390     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     1621 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.7794        .59683E-07** at limit **
   2  Prefactor      .0000        8.2233       -.63723E-07** at limit **
   3  norm          .35613        .57564        .39597E-07    .32127E-02
   4  Prefactor     .37067E-05    14.302       -.50168E-07** at limit **
   5  norm           .0000        6.2432        .17004E-07** at limit **
   6  Prefactor      .0000        4.4638       -.83974E-07** at limit **
   7  Prefactor     32.909        9.9159       -.15171E-07    .24626E-01
   8  Prefactor     .16653E-08    17.954       -.19932E-07** at limit **
   9  Prefactor     .19040E-07    157.06       -.30564E-06** at limit **
  10  Prefactor      .0000        11.380        .28242E-07** at limit **
  11  Prefactor     .13968E-05    351.30        .48963E-07** at limit **
  12  norm          9.0952        4.5194        .39196E-08    .30049E-03
  13  Prefactor     .46518E-07    23.557       -.23290E-07** at limit **
  14  Prefactor      .0000        3.5615       -.86488E-07** at limit **
  15  Prefactor      .0000        57.710       -.47236E-08** at limit **
  16  norm          2.7468        2.4089       -.29881E-07   -.95244E-03
  17  norm          .16235        5.6113        .15468E-06** at limit **
  18  Prefactor     .32274E-05    17.292       -.45375E-07** at limit **
  19  Normalizat    .94184        .28403        .19818E-05   -.15081E-04
  20  Prefactor     .97246        .10582       -.11019E-05   -.80333E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.356128
  Prefactor  = 3.7067e-06
  norm       = 0
  Prefactor  = 0
  Prefactor  = 32.9095
  Prefactor  = 1.66533e-09
  Prefactor  = 1.90403e-08
  Prefactor  = 0
  Prefactor  = 1.39677e-06
  norm       = 9.09517
  Prefactor  = 4.65183e-08
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.74685
  norm       = 0.162349
  Prefactor  = 3.22742e-06
  Normalizat = 0.941839
  Prefactor  = 0.972465
 **********
 **   18 **HESSE 
 **********

 FCN=   8468.390     FROM HESSE     STATUS=OK           337 CALLS     1958 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.7921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        8.2292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .35613        .57530        .94753E-04   -1.5696    
   4  Prefactor     .37067E-05    29.502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        6.2389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.4655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.909        64.764        .17410E-03   -1.5593    
   8  Prefactor     .16653E-08    17.966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .19040E-07    157.33        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        11.449        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .13968E-05    21.175        .12461E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.0952        4.5421        .33240E-03   -1.5648    
  13  Prefactor     .46518E-07    23.672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        3.5541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        57.747        .14100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.7468        2.4155        .61386E-03   -1.5675    
  17  norm          .16235        1.0105        .51886E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .32274E-05    30.475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .94184        .24276        .90929E-01   -.95005    
  20  Prefactor     .97246        .90117E-01    .33862E-01   -.93653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11706e-07
Minuit parameter uncertainties:
  1  1.25169e-05
  2  1.21711e-05
  3  0.5753
  4  0.0209148
  5  6.42443e-06
  6  6.61336e-06
  7  64.765
  8  0.000348634
  9  0.00346377
  10  1.05514e-05
  11  0.0108768
  12  4.54212
  13  0.00209845
  14  6.33159e-06
  15  2.51227e-05
  16  2.41547
  17  0.810065
  18  0.0198349
  19  0.243041
  20  0.090131
Done.

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

Extracting fit parameters...

4FGL J2108.5+1434
   Spectrum: PowerLaw
376    Prefactor:  1.665e-09  3.486e-04  0.000e+00  1.000e+06 ( 1.000e-12)
377        Index:  2.765e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
378        Scale:  4.520e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.725e-01  9.013e-02  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.418e-01  2.430e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 317.148 14.581
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/25905/likelihoodResults_692928001_693187201_4FGL_J2108.5+1434_daily_bin1750.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) = 8468.39044526
delta logL = -6.25655193289e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8468.37870694
delta logL = 0.0116757484157

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8468.379     FROM MIGRAD    STATUS=FAILED        94 CALLS      450 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62464        1176.4        .13410E-03   -.93592E-02
   2  Index         4.2294        6.7128        .19121E-01    .65956E-04
   3  Normalizat    .92600        .39819        .40586E-03    .15630E-04
   4  Prefactor     .97589        .99046E-01    .14939E-03   -.33484E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8468.379     FROM SIMPLEX   STATUS=UNCHANGED    110 CALLS      560 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62464        1176.4        .31232E-04   -.93592E-02
   2  Index         4.2294        6.7128        .24726E-02    .65956E-04
   3  Normalizat    .92600        .39819        .25358E-03    .15630E-04
   4  Prefactor     .97589        .99046E-01    .32465E-04   -.33484E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8468.379     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      592 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62523        12.476        .53640E-05   -.25433E-03
   2  Index         4.2289        6.9081        .76483E-03   -.21107E-05
   3  Normalizat    .92600        .29367        .16234E-04    .42857E-04
   4  Prefactor     .97589        .10702        .59757E-05   -.36528E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.625228
  Index      = 4.22887
  Normalizat = 0.925998
  Prefactor  = 0.975895
 **********
 **   18 **HESSE 
 **********

 FCN=   8468.379     FROM HESSE     STATUS=OK            23 CALLS      615 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62523        12.043        .21456E-06   -1.5692    
   2  Index         4.2289        4.1313        .30593E-04   -.15484    
   3  Normalizat    .92600        .29282        .32469E-05   -.95553    
   4  Prefactor     .97589        .10675        .11951E-05   -.93537    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.99823e-11
Minuit parameter uncertainties:
  1  5.48806
  2  4.89285
  3  0.29333
  4  0.106775
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25905': 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) = 8468.3787069
delta logL = 0.0116757879332

Extracting fit parameters...

4FGL J2108.5+1434
   Spectrum: PowerLaw
376    Prefactor:  6.252e-01  5.488e+00  0.000e+00  1.000e+06 ( 1.000e-12)
377        Index:  4.229e+00  4.893e+00  0.000e+00  1.000e+01 (-1.000e+00)
378        Scale:  4.520e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.759e-01  1.068e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.260e-01  2.933e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 317.148 14.581

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/25905/cmap_HighResolution_692928001_693187201_4FGL_J2108.5+1434_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.36e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2022-12-20 02:00:18.553420', job_id='25905', GAL2='0.98', fit_tolerance='1e-08', EG2='0.93', EG='0.94', time_epoch_completed='1671530418.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.17e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.77' WHERE bin_id='1750' AND source_name='4FGL J2108.5+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 02:00:18 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 25905: <4FGL_J2108.5+1434_daily_bin1750> in cluster <slac> Done

Job <4FGL_J2108.5+1434_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 01:45:12 2022
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:45:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:45:13 2022
Terminated at Tue Dec 20 02:00:20 2022
Results reported at Tue Dec 20 02:00:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2108.5+1434_daily_bin1750 317.148 14.5812 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2108.5+1434 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   786.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            908 sec.

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

