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


Performing analysis on: 4FGL_J2143.5+1743_daily_bin1698
RA = 325.894, Dec = 17.7306
tmin = 679449601, tmax = 679708801
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='925633', job_status='RUN', time_executed='2022-07-17 00:37:09.378458', time_epoch_executed='1658043429.38' WHERE source_name='4FGL J2143.5+1743' and cadence='daily' and bin_id='1698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925633

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925633/ft1_4FGL_J2143.5+1743_daily_bin1698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925633/ft2_4FGL_J2143.5+1743_daily_bin1698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925633/ft1_4FGL_J2143.5+1743_daily_bin1698.fits outfile=/scratch/kocevski/925633/ft1_filteredMKT_4FGL_J2143.5+1743_daily_bin1698.fits ra=325.894 dec=17.7306 rad=12.0 tmin=679449601.0 tmax=679708801.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.46
user 3.23
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/925633/ft2_4FGL_J2143.5+1743_daily_bin1698.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/925633/ft2_4FGL_J2143.5+1743_daily_bin1698.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/925633/ft1_filteredMKT_4FGL_J2143.5+1743_daily_bin1698.fits evtable="EVENTS" outfile="/scratch/kocevski/925633/ft1_filtered_4FGL_J2143.5+1743_daily_bin1698.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 804

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925633/ft1_filtered_4FGL_J2143.5+1743_daily_bin1698.fits" evtable="EVENTS" scfile=/scratch/kocevski/925633/ft2_4FGL_J2143.5+1743_daily_bin1698.fits sctable="SC_DATA" outfile=/scratch/kocevski/925633/ltcube_679449601_679708801_4FGL_J2143.5+1743_daily_bin1698.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/925633/ft2_4FGL_J2143.5+1743_daily_bin1698.fits
.....................!
real 11.94
user 11.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925633/ft1_filtered_4FGL_J2143.5+1743_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/925633/ft2_4FGL_J2143.5+1743_daily_bin1698.fits sctable="SC_DATA" expcube=/scratch/kocevski/925633/ltcube_679449601_679708801_4FGL_J2143.5+1743_daily_bin1698.fits outfile=/scratch/kocevski/925633/expmap_679449601_679708801_4FGL_J2143.5+1743_daily_bin1698.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/925633/ltcube_679449601_679708801_4FGL_J2143.5+1743_daily_bin1698.fits
.....................!
real 190.92
user 185.91
sys 4.65

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.
Added 165 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 J2143.5+1743 @ 325.894 17.7306

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/925633/ft1_filtered_4FGL_J2143.5+1743_daily_bin1698.fits scfile=/scratch/kocevski/925633/ft2_4FGL_J2143.5+1743_daily_bin1698.fits outfile=/scratch/kocevski/925633/cmap_679449601_679708801_4FGL_J2143.5+1743_daily_bin1698.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=325.894 yref=17.7306 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925633/ft1_filtered_4FGL_J2143.5+1743_daily_bin1698.fits scfile=/scratch/kocevski/925633/ft2_4FGL_J2143.5+1743_daily_bin1698.fits outfile=/scratch/kocevski/925633/cmap_HighResolution_679449601_679708801_4FGL_J2143.5+1743_daily_bin1698.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=325.894 yref=17.7306 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/925633/ft1_filtered_4FGL_J2143.5+1743_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/925633/ft2_4FGL_J2143.5+1743_daily_bin1698.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/925633/Model_4FGL_J2143.5+1743_daily_bin1698.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/925633/ft1_filtered_4FGL_J2143.5+1743_daily_bin1698.fits.....................!
real 133.54
user 131.96
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/925633/ft1_filtered_4FGL_J2143.5+1743_daily_bin1698.fits', '/scratch/kocevski/925633/ft2_4FGL_J2143.5+1743_daily_bin1698.fits', expMap='/scratch/kocevski/925633/expmap_679449601_679708801_4FGL_J2143.5+1743_daily_bin1698.fits', expCube='/scratch/kocevski/925633/ltcube_679449601_679708801_4FGL_J2143.5+1743_daily_bin1698.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/925633/Model_4FGL_J2143.5+1743_daily_bin1698.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2143.5+1743'

4FGL J2143.5+1743
   Spectrum: LogParabola
279         norm:  7.341e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
280        alpha:  2.450e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  3.790e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.009e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/925633/ft1_filtered_4FGL_J2143.5+1743_daily_bin1698.fits
Spacecraft file(s): /scratch/kocevski/925633/ft2_4FGL_J2143.5+1743_daily_bin1698.fits
Exposure map: /scratch/kocevski/925633/expmap_679449601_679708801_4FGL_J2143.5+1743_daily_bin1698.fits
Exposure cube: /scratch/kocevski/925633/ltcube_679449601_679708801_4FGL_J2143.5+1743_daily_bin1698.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/925633/Model_4FGL_J2143.5+1743_daily_bin1698.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) = 8719.44173612

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10623E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10260E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    57.705       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    57.549       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.654       1.0000         .10000E-03   10000.    
     7 'norm      '    .80924E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10379E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.066       1.0000         .10000E-03   10000.    
    10 'Prefactor '    78.632       1.0000         .10000E-03   10000.    
    11 'norm      '    .22466       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.8694       1.0000         .10000E-03   10000.    
    14 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8304       1.0000         .10000E-03   10000.    
    16 'Prefactor '    70.851       1.0000         .10000E-03   10000.    
    17 'norm      '    .40463       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .11586E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10928E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .55608       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0556       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8719.419     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2608 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.992       -.19630E-04** at limit **
   2  Prefactor     .10000E-03    13.281        .79385E-06** at limit **
   3  Prefactor     57.616        62.712       -.55009E-04    .75872E-08
   4  Prefactor     .10000E-03    8.5308        .36638E-07** at limit **
   5  Prefactor     57.606        37.233       -.12519E-04   -.32460E-03
   6  Prefactor     25.654        25.583       -.11924E-05    .89498E-05
   7  norm          .10002E-03    2.2071        .18046E-05** at limit **
   8  Prefactor     .10000E-03    4.6277       -.32222E-06** at limit **
   9  Prefactor     12.072        8.1500       -.57857E-06   -.58192E-04
  10  Prefactor     78.621        98.132       -.97689E-05    .16008E-04
  11  norm          .22383        .76428       -.59592E-06   -.13281E-02
  12  Prefactor     .10000E-03    35.352        .13688E-04** at limit **
  13  norm          3.8709        2.3167       -.37833E-06   -.24495E-03
  14  norm          .10000E-03    7.8980        .10312E-06** at limit **
  15  Prefactor     6.8297        20.225        .30380E-05    .53394E-04
  16  Prefactor     70.837        45.830       -.19055E-05    .49964E-04
  17  norm          .40441        .70172       -.59197E-06   -.36783E-02
  18  Prefactor     .10000E-03    4.3829       -.35309E-06** at limit **
  19  norm          .10000E-03    1.7243       -.23710E-06** at limit **
  20  Prefactor     .10000E-03    44.451        .59326E-05** at limit **
  21  Prefactor     .10000E-03    5.7182       -.27840E-06** at limit **
  22  Normalizat    .55505        .23224        .10501E-05    .62548E-04
  23  Prefactor     1.0561        .10008        .26014E-05   -.74513E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 57.6164
  Prefactor  = 0.0001
  Prefactor  = 57.6064
  Prefactor  = 25.6544
  norm       = 0.000100025
  Prefactor  = 0.0001
  Prefactor  = 12.0718
  Prefactor  = 78.6208
  norm       = 0.223832
  Prefactor  = 0.0001
  norm       = 3.87092
  norm       = 0.0001
  Prefactor  = 6.82967
  Prefactor  = 70.8367
  norm       = 0.404411
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Normalizat = 0.555052
  Prefactor  = 1.05608
 **********
 **   18 **HESSE 
 **********

 FCN=   8719.419     FROM HESSE     STATUS=OK           368 CALLS     2976 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     57.616        62.358        .52811E-04   -1.4188    
   4  Prefactor     .10000E-03    8.5769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     57.606        36.353        .52882E-04   -1.4189    
   6  Prefactor     25.654        25.575        .79090E-04   -1.4695    
   7  norm          .10002E-03    22.806        .25636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.7244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.072        8.1022        .11532E-03   -1.5013    
  10  Prefactor     78.621        98.010        .45288E-04   -1.3932    
  11  norm          .22383        .94188        .14251E-02   -1.5613    
  12  Prefactor     .10000E-03    35.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.8709        2.3103        .10382E-03   -1.5314    
  14  norm          .10000E-03    7.9102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.8297        19.990        .15352E-03   -1.5185    
  16  Prefactor     70.837        45.767        .47692E-04   -1.4023    
  17  norm          .40441        .60531        .98103E-03   -1.5581    
  18  Prefactor     .10000E-03    4.3891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.7989        .23838E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    46.461        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.7551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .55505        .24733        .46301E-03   -1.0993    
  23  Prefactor     1.0561        .11002        .15480E-03   -.90883    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93893e-09
Minuit parameter uncertainties:
  1  8.63225e-05
  2  0.000156897
  3  62.4288
  4  7.63052e-06
  5  36.3671
  6  25.5856
  7  0.00150869
  8  1.87096e-05
  9  8.10293
  10  98.2119
  11  0.918125
  12  1.54189e-05
  13  2.31033
  14  9.54216e-06
  15  20.0095
  16  45.7893
  17  0.605321
  18  9.061e-06
  19  2.15432e-05
  20  0.000562948
  21  2.02104e-05
  22  0.247822
  23  0.110045
Done.

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

Extracting fit parameters...

4FGL J2143.5+1743
   Spectrum: LogParabola
279         norm:  2.238e-01  9.181e-01  1.000e-04  1.000e+04 ( 1.000e-11)
280        alpha:  2.450e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  3.790e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.009e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.056e+00  1.100e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  5.551e-01  2.478e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 325.894 17.731
Photon Flux Upper Limit: 6.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/925633/likelihoodResults_679449601_679708801_4FGL_J2143.5+1743_daily_bin1698.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8719.22704404
delta logL = 0.191764730178

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8719.21624311
delta logL = 0.202565663691

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31536       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5984       1.0000          .0000       5.0000    
     3 'Normalizat'    .56052       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0532       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8719.216     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      217 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31534        .58341        .10492E-02    .10117E-02
   2  alpha         1.5984        .61362        .45183       -.32062E-04
   3  Normalizat    .56052        .21697        .10398        .12550E-03
   4  Prefactor     1.0532        .98411E-01    .39725E-01    .21506E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.315337
  alpha      = 1.59844
  Normalizat = 0.560523
  Prefactor  = 1.05323
 **********
 **   18 **HESSE 
 **********

 FCN=   8719.216     FROM HESSE     STATUS=OK            31 CALLS      248 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31534        .65754        .41969E-04   -1.5596    
   2  alpha         1.5984        .95738        .24191E-01   -.36894    
   3  Normalizat    .56052        .23788        .46084E-03   -1.0969    
   4  Prefactor     1.0532        .10827        .15495E-03   -.90976    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61096e-10
Minuit parameter uncertainties:
  1  0.657553
  2  0.986547
  3  0.238314
  4  0.108296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925633': 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) = 8719.2162431
delta logL = 0.202565668151

Extracting fit parameters...

4FGL J2143.5+1743
   Spectrum: LogParabola
279         norm:  3.153e-01  6.576e-01  1.000e-04  1.000e+04 ( 1.000e-11)
280        alpha:  1.598e+00  9.865e-01  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  3.790e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.009e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.053e+00  1.083e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  5.605e-01  2.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
Ra Dec: 325.894 17.731

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/925633/cmap_HighResolution_679449601_679708801_4FGL_J2143.5+1743_daily_bin1698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-05', job_status='DONE', photon_flux_upper_limit='6.91e-08', time_completed='2022-07-17 00:50:59.918767', job_id='925633', GAL2='1.05', fit_tolerance='1e-08', EG2='0.56', EG='0.56', time_epoch_completed='1658044259.92', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='2.03e-01', ts2='0.48', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1698' AND source_name='4FGL J2143.5+1743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 17 00:50:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 925633: <4FGL_J2143.5+1743_daily_bin1698> in cluster <slac> Done

Job <4FGL_J2143.5+1743_daily_bin1698> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul 17 00:35:19 2022
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 17 00:35:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 17 00:35:20 2022
Terminated at Sun Jul 17 00:51:00 2022
Results reported at Sun Jul 17 00:51:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2143.5+1743_daily_bin1698 325.894 17.7306 679449601 679708801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2143.5+1743 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   832.36 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             322.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            941 sec.

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

