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


Performing analysis on: 4FGL_J2143.5+1743_daily_bin1779
RA = 325.894, Dec = 17.7306
tmin = 700444801, tmax = 700704001
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='38124', job_status='RUN', time_executed='2023-03-17 02:27:15.450680', time_epoch_executed='1679045235.45' WHERE source_name='4FGL J2143.5+1743' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38124

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38124/ft1_4FGL_J2143.5+1743_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38124/ft2_4FGL_J2143.5+1743_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38124/ft1_4FGL_J2143.5+1743_daily_bin1779.fits outfile=/scratch/kocevski/38124/ft1_filteredMKT_4FGL_J2143.5+1743_daily_bin1779.fits ra=325.894 dec=17.7306 rad=12.0 tmin=700444801.0 tmax=700704001.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.34
user 5.07
sys 0.21

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

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

Number of photons that the gtmktime cut: 808

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38124/ft1_filtered_4FGL_J2143.5+1743_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/38124/ft2_4FGL_J2143.5+1743_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/38124/ltcube_700444801_700704001_4FGL_J2143.5+1743_daily_bin1779.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/38124/ft2_4FGL_J2143.5+1743_daily_bin1779.fits
.....................!
real 11.95
user 11.58
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38124/ft1_filtered_4FGL_J2143.5+1743_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/38124/ft2_4FGL_J2143.5+1743_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/38124/ltcube_700444801_700704001_4FGL_J2143.5+1743_daily_bin1779.fits outfile=/scratch/kocevski/38124/expmap_700444801_700704001_4FGL_J2143.5+1743_daily_bin1779.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/38124/ltcube_700444801_700704001_4FGL_J2143.5+1743_daily_bin1779.fits
.....................!
real 190.59
user 184.89
sys 4.79

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 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/38124/ft1_filtered_4FGL_J2143.5+1743_daily_bin1779.fits scfile=/scratch/kocevski/38124/ft2_4FGL_J2143.5+1743_daily_bin1779.fits outfile=/scratch/kocevski/38124/cmap_700444801_700704001_4FGL_J2143.5+1743_daily_bin1779.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38124/ft1_filtered_4FGL_J2143.5+1743_daily_bin1779.fits scfile=/scratch/kocevski/38124/ft2_4FGL_J2143.5+1743_daily_bin1779.fits outfile=/scratch/kocevski/38124/cmap_HighResolution_700444801_700704001_4FGL_J2143.5+1743_daily_bin1779.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.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/38124/ft1_filtered_4FGL_J2143.5+1743_daily_bin1779.fits', '/scratch/kocevski/38124/ft2_4FGL_J2143.5+1743_daily_bin1779.fits', expMap='/scratch/kocevski/38124/expmap_700444801_700704001_4FGL_J2143.5+1743_daily_bin1779.fits', expCube='/scratch/kocevski/38124/ltcube_700444801_700704001_4FGL_J2143.5+1743_daily_bin1779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/38124/Model_4FGL_J2143.5+1743_daily_bin1779.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  0.000e+00  1.000e+06 ( 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 -5.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/38124/ft1_filtered_4FGL_J2143.5+1743_daily_bin1779.fits
Spacecraft file(s): /scratch/kocevski/38124/ft2_4FGL_J2143.5+1743_daily_bin1779.fits
Exposure map: /scratch/kocevski/38124/expmap_700444801_700704001_4FGL_J2143.5+1743_daily_bin1779.fits
Exposure cube: /scratch/kocevski/38124/ltcube_700444801_700704001_4FGL_J2143.5+1743_daily_bin1779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/38124/Model_4FGL_J2143.5+1743_daily_bin1779.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) = 8658.2758634

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.571       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.3646       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.5552       1.0000          .0000       .10000E+07
     4 'Prefactor '    .27864E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.9632       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12726E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .12089E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .11281E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .95599       1.0000          .0000       .10000E+07
    10 'norm      '    .20270E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .51430E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .63311       1.0000          .0000       .10000E+07
    13 'norm      '    .20539E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .10929E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .14967E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .94734E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.8853       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1964       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .90396       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8658.240     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     1475 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.606        18.823        .33300E-08    .30168E-03
   2  Prefactor     2.6888        441.83        .27326E-04    .23338E-02
   3  Prefactor     4.4937        16.783       -.93396E-06    .41525E-04
   4  Prefactor     .72164E-09    9.6653        .24750E-06** at limit **
   5  norm          1.9333        5.5236       -.26026E-07   -.67100E-03
   6  Prefactor     .55511E-09    2.3107       -.41030E-06** at limit **
   7  Prefactor     .70499E-08    37.177       -.13814E-05** at limit **
   8  norm          .87804E-02    14.115       -.55870E-05** at limit **
   9  norm          .95285        2.0565        .36444E-06    .21345E-02
  10  norm          .13323E-08    95.237        .14421E-04** at limit **
  11  Prefactor     .21094E-07    79.369       -.71618E-05** at limit **
  12  Prefactor     .23981E-07    95.321        .11762E-04** at limit **
  13  norm           .0000        .32663       -.23363E-06** at limit **
  14  Prefactor     .10547E-08    3.4541       -.57369E-06** at limit **
  15  norm          .94369E-09    4.0715       -.57764E-06** at limit **
  16  Prefactor     .61062E-09    3.5563       -.10344E-06** at limit **
  17  Prefactor     2.8887        10.785        .13098E-05   -.20853E-03
  18  Normalizat    1.1969        .26476       -.50481E-05   -.14482E-03
  19  Prefactor     .90435        .11484        .41515E-06   -.26672E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.6065
  Prefactor  = 2.68881
  Prefactor  = 4.49372
  Prefactor  = 7.21645e-10
  norm       = 1.93335
  Prefactor  = 5.55112e-10
  Prefactor  = 7.04992e-09
  norm       = 0.00878044
  norm       = 0.952848
  norm       = 1.33227e-09
  Prefactor  = 2.10942e-08
  Prefactor  = 2.39808e-08
  norm       = 0
  Prefactor  = 1.05471e-09
  norm       = 9.4369e-10
  Prefactor  = 6.10623e-10
  Prefactor  = 2.88875
  Normalizat = 1.19688
  Prefactor  = 0.904353
 **********
 **   18 **HESSE 
 **********

 FCN=   8658.240     FROM HESSE     STATUS=OK           304 CALLS     1779 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.606        18.803        .21054E-03   -1.5613    
   2  Prefactor     2.6888        496.80        .48188E-03   -1.5675    
   3  Prefactor     4.4937        16.887        .47142E-03   -1.5666    
   4  Prefactor     .72164E-09    9.6730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.9333        5.5512        .73996E-03   -1.5680    
   6  Prefactor     .55511E-09    2.3180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .70499E-08    37.344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .87804E-02    1.6769        .42118E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .95285        2.0691        .42200E-03   -1.5688    
  10  norm          .13323E-08    94.832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .21094E-07    79.065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .23981E-07    95.244        .66313E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .32466        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10547E-08    3.4718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .94369E-09    4.0615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .61062E-09    3.5650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.8887        10.814        .59806E-03   -1.5674    
  18  Normalizat    1.1969        .22182        .77232E-01   -.86699    
  19  Prefactor     .90435        .94012E-01    .45055E-01   -.95989    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08008e-06
Minuit parameter uncertainties:
  1  18.803
  2  73.1036
  3  16.887
  4  0.000168036
  5  5.55121
  6  7.32494e-05
  7  0.00102636
  8  0.242683
  9  2.06908
  10  0.000711779
  11  0.00258352
  12  0.00302197
  13  4.62451e-06
  14  0.000121364
  15  0.000124544
  16  9.18142e-05
  17  10.8145
  18  0.221999
  19  0.0940291
Done.

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

Extracting fit parameters...

4FGL J2143.5+1743
   Spectrum: LogParabola
279         norm:  8.780e-03  2.427e-01  0.000e+00  1.000e+06 ( 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 -5.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:  9.044e-01  9.403e-02  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:  1.197e+00  2.220e-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: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/38124/likelihoodResults_700444801_700704001_4FGL_J2143.5+1743_daily_bin1779.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) = 8657.86656048
delta logL = 0.373781943754

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8657.79494061
delta logL = 0.445401812476

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21055       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1234       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92387       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8657.795     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      354 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21050        .29116        .48999E-04** at limit **
   2  alpha         5.0000        3.8102        .50000    ** at limit **
   3  Normalizat    1.1233        .26802        .35161E-03   -.60140E-05
   4  Prefactor     .92388        .11424        .16689E-03   -.10627E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.210497
  alpha      = 5
  Normalizat = 1.12333
  Prefactor  = 0.92388
 **********
 **   18 **HESSE 
 **********

 FCN=   8657.795     FROM HESSE     STATUS=OK            31 CALLS      385 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21050        .27980        .97998E-05   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        3.7338        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1233        .26844        .14064E-04   -.89006    
   4  Prefactor     .92388        .11439        .66757E-05   -.95312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80164e-12
Minuit parameter uncertainties:
  1  0.279797
  2  8.34481e-06
  3  0.268765
  4  0.11442
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38124': 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) = 8657.79494038
delta logL = 0.445402044628

Extracting fit parameters...

4FGL J2143.5+1743
   Spectrum: LogParabola
279         norm:  2.105e-01  2.798e-01  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  5.000e+00  8.345e-06  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  3.790e-02  0.000e+00 -5.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:  9.239e-01  1.144e-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:  1.123e+00  2.688e-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/38124/cmap_HighResolution_700444801_700704001_4FGL_J2143.5+1743_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-05', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2023-03-17 02:39:04.374073', job_id='38124', GAL2='0.92', fit_tolerance='1e-08', EG2='1.12', EG='1.20', time_epoch_completed='1679045944.37', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='4.45e-01', ts2='0.96', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1779' AND source_name='4FGL J2143.5+1743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 02:39:04 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 38124: <4FGL_J2143.5+1743_daily_bin1779> in cluster <slac> Done

Job <4FGL_J2143.5+1743_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 02:25:16 2023
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 02:25:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 02:25:18 2023
Terminated at Fri Mar 17 02:39:05 2023
Results reported at Fri Mar 17 02:39:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2143.5+1743_daily_bin1779 325.894 17.7306 700444801 700704001 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 :                                   709.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            829 sec.

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

