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


Performing analysis on: 4FGL_J2143.5+1743_daily_bin1665
RA = 325.894, Dec = 17.7306
tmin = 670896001, tmax = 671155201
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='356993', job_status='RUN', time_executed='2022-04-09 00:39:05.918201', time_epoch_executed='1649489945.92' WHERE source_name='4FGL J2143.5+1743' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/356993

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/356993/ft1_4FGL_J2143.5+1743_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/356993/ft2_4FGL_J2143.5+1743_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/356993/ft1_4FGL_J2143.5+1743_daily_bin1665.fits outfile=/scratch/kocevski/356993/ft1_filteredMKT_4FGL_J2143.5+1743_daily_bin1665.fits ra=325.894 dec=17.7306 rad=12.0 tmin=670896001.0 tmax=671155201.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 5.37
user 5.09
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/356993/ft2_4FGL_J2143.5+1743_daily_bin1665.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/356993/ft1_filteredMKT_4FGL_J2143.5+1743_daily_bin1665.fits evtable="EVENTS" outfile="/scratch/kocevski/356993/ft1_filtered_4FGL_J2143.5+1743_daily_bin1665.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.32
sys 0.16

Number of photons that the gtmktime cut: 728

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/356993/ft1_filtered_4FGL_J2143.5+1743_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/356993/ft2_4FGL_J2143.5+1743_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/356993/ltcube_670896001_671155201_4FGL_J2143.5+1743_daily_bin1665.fits outfile=/scratch/kocevski/356993/expmap_670896001_671155201_4FGL_J2143.5+1743_daily_bin1665.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/356993/ltcube_670896001_671155201_4FGL_J2143.5+1743_daily_bin1665.fits
.....................!
real 191.31
user 185.43
sys 5.51

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/356993/ft1_filtered_4FGL_J2143.5+1743_daily_bin1665.fits scfile=/scratch/kocevski/356993/ft2_4FGL_J2143.5+1743_daily_bin1665.fits outfile=/scratch/kocevski/356993/cmap_670896001_671155201_4FGL_J2143.5+1743_daily_bin1665.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/356993/ft1_filtered_4FGL_J2143.5+1743_daily_bin1665.fits scfile=/scratch/kocevski/356993/ft2_4FGL_J2143.5+1743_daily_bin1665.fits outfile=/scratch/kocevski/356993/cmap_HighResolution_670896001_671155201_4FGL_J2143.5+1743_daily_bin1665.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/356993/ft1_filtered_4FGL_J2143.5+1743_daily_bin1665.fits', '/scratch/kocevski/356993/ft2_4FGL_J2143.5+1743_daily_bin1665.fits', expMap='/scratch/kocevski/356993/expmap_670896001_671155201_4FGL_J2143.5+1743_daily_bin1665.fits', expCube='/scratch/kocevski/356993/ltcube_670896001_671155201_4FGL_J2143.5+1743_daily_bin1665.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/356993/Model_4FGL_J2143.5+1743_daily_bin1665.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/356993/ft1_filtered_4FGL_J2143.5+1743_daily_bin1665.fits
Spacecraft file(s): /scratch/kocevski/356993/ft2_4FGL_J2143.5+1743_daily_bin1665.fits
Exposure map: /scratch/kocevski/356993/expmap_670896001_671155201_4FGL_J2143.5+1743_daily_bin1665.fits
Exposure cube: /scratch/kocevski/356993/ltcube_670896001_671155201_4FGL_J2143.5+1743_daily_bin1665.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/356993/Model_4FGL_J2143.5+1743_daily_bin1665.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) = 8106.91987986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6268       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.074       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.1972       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.624       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.738       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10439E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .18519E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    4.8158       1.0000         .10000E-03   10000.    
    14 'norm      '    57.232       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.0273       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10399E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .11287E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .24327E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .58303       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0443       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=   8106.911     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2607 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.864        .15864E-05** at limit **
   2  Prefactor     1.6300        14.210        .13877E-04    .95990E-04
   3  Prefactor     17.019        52.639        .10004E-04   -.12421E-04
   4  Prefactor     9.1947        15.383        .85892E-07   -.33271E-04
   5  Prefactor     12.586        35.515        .32986E-05   -.18252E-05
   6  Prefactor     .10000E-03    14.951       -.52051E-07** at limit **
   7  norm          .10000E-03    3.9406       -.75348E-06** at limit **
   8  Prefactor     .10000E-03    6.6942        .17175E-06** at limit **
   9  Prefactor     10.742        10.396        .93441E-06   -.33786E-04
  10  Prefactor     .10000E-03    80.833       -.71635E-05** at limit **
  11  norm          .10000E-03    1.5209        .65597E-07** at limit **
  12  Prefactor     .10000E-03    261.43        .20672E-04** at limit **
  13  norm          4.8099        2.9242        .17398E-06   -.70320E-03
  14  norm          57.235        29.461        .59848E-07   -.73235E-04
  15  Prefactor     8.0230        21.157        .55036E-06   -.12061E-04
  16  Prefactor     .10000E-03    45.377        .43341E-05** at limit **
  17  norm          .10000E-03    .40170        .56165E-07** at limit **
  18  Prefactor     .10000E-03    28.031       -.68787E-06** at limit **
  19  norm          .10000E-03    3.0524        .38803E-06** at limit **
  20  Prefactor     .10005E-03    6.8421        .36444E-05** at limit **
  21  Prefactor     .10000E-03    6.4865        .79827E-07** at limit **
  22  Normalizat    .58333        .24274       -.30733E-05   -.22654E-03
  23  Prefactor     1.0441        .10063       -.11170E-07   -.22800E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.63002
  Prefactor  = 17.0191
  Prefactor  = 9.19472
  Prefactor  = 12.5864
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.7416
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  norm       = 4.80995
  norm       = 57.2345
  Prefactor  = 8.02304
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100049
  Prefactor  = 0.0001
  Normalizat = 0.583333
  Prefactor  = 1.04413
 **********
 **   18 **HESSE 
 **********

 FCN=   8106.911     FROM HESSE     STATUS=OK           370 CALLS     2977 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6300        14.500        .16582E-02   -1.5453    
   3  Prefactor     17.019        52.714        .96927E-04   -1.4883    
   4  Prefactor     9.1947        15.331        .13215E-03   -1.5101    
   5  Prefactor     12.586        35.495        .11274E-03   -1.4998    
   6  Prefactor     .10000E-03    14.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.0166        .17428E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.9513        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.742        10.351        .61133E-03   -1.5052    
  10  Prefactor     .10000E-03    80.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.5832        .21611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    264.06        .20297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.8099        2.9166        .54402E-03   -1.5269    
  14  norm          57.235        29.395        .53028E-04   -1.4193    
  15  Prefactor     8.0230        21.094        .14151E-03   -1.5141    
  16  Prefactor     .10000E-03    45.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .41869        .11123E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    28.887        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    9.2630        .30346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10005E-03    24.283        .43195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.5200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .58333        .26382        .45674E-03   -1.0870    
  23  Prefactor     1.0441        .11265        .15366E-03   -.91273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46884e-09
Minuit parameter uncertainties:
  1  1.12004e-05
  2  9.72605
  3  52.8585
  4  15.3375
  5  35.5541
  6  1.12493e-05
  7  6.23751e-05
  8  1.776e-05
  9  10.3528
  10  8.32427e-05
  11  3.14063e-06
  12  0.00176063
  13  2.91668
  14  29.4029
  15  21.1131
  16  1.26044e-05
  17  2.13782e-06
  18  0.000158311
  19  4.53974e-07
  20  0.00218846
  21  1.04889e-05
  22  0.264388
  23  0.112673
Done.

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

Extracting fit parameters...

4FGL J2143.5+1743
   Spectrum: LogParabola
279         norm:  1.000e-04  3.141e-06  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.044e+00  1.127e-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.833e-01  2.644e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/356993/likelihoodResults_670896001_671155201_4FGL_J2143.5+1743_daily_bin1665.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) = 8106.91372388
delta logL = -0.00300836811039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8106.86574621
delta logL = 0.0449693023547

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .62950E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .56357       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0493       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8106.866     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      311 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .62917E-01    .22309        .58457E-03    .72662E-03
   2  alpha         5.0000        4.9269        .92534E-01** at limit **
   3  Normalizat    .56357        .25759        .46441E-03    .25422E-03
   4  Prefactor     1.0493        .11192        .15333E-03    .86066E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0629174
  alpha      = 5
  Normalizat = 0.563574
  Prefactor  = 1.04925
 **********
 **   18 **HESSE 
 **********

 FCN=   8106.866     FROM HESSE     STATUS=OK            25 CALLS      336 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .62917E-01    .22148        .23383E-04   -1.5658    
   2  alpha         5.0000        4.9246        .18507E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .56357        .25688        .18577E-04   -1.0955    
   4  Prefactor     1.0493        .11183        .30667E-04   -.91105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27967e-10
Minuit parameter uncertainties:
  1  0.221482
  2  5.10806e-06
  3  0.257427
  4  0.111855
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/356993': 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) = 8106.86574619
delta logL = 0.0449693132305

Extracting fit parameters...

4FGL J2143.5+1743
   Spectrum: LogParabola
279         norm:  6.292e-02  2.215e-01  1.000e-04  1.000e+04 ( 1.000e-11)
280        alpha:  5.000e+00  5.108e-06  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.049e+00  1.119e-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.636e-01  2.574e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/356993/cmap_HighResolution_670896001_671155201_4FGL_J2143.5+1743_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.56e-05', job_status='DONE', photon_flux_upper_limit='8.79e-08', time_completed='2022-04-09 00:52:20.732639', job_id='356993', GAL2='1.05', fit_tolerance='1e-08', EG2='0.56', EG='0.58', time_epoch_completed='1649490740.73', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='4.50e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1665' AND source_name='4FGL J2143.5+1743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:52:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 356993: <4FGL_J2143.5+1743_daily_bin1665> in cluster <slac> Done

Job <4FGL_J2143.5+1743_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:35:42 2022
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:35:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:35:44 2022
Terminated at Sat Apr  9 00:52:21 2022
Results reported at Sat Apr  9 00:52:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2143.5+1743_daily_bin1665 325.894 17.7306 670896001 671155201 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 :                                   797.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             269.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   997 sec.
    Turnaround time :                            999 sec.

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

