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


Performing analysis on: 4FGL_J2143.5+1743_daily_bin1751
RA = 325.894, Dec = 17.7306
tmin = 693187201, tmax = 693446401
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='87761', job_status='RUN', time_executed='2022-12-23 01:23:45.560003', time_epoch_executed='1671787425.56' WHERE source_name='4FGL J2143.5+1743' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/87761

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/87761/ft1_4FGL_J2143.5+1743_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/87761/ft2_4FGL_J2143.5+1743_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/87761/ft1_4FGL_J2143.5+1743_daily_bin1751.fits outfile=/scratch/kocevski/87761/ft1_filteredMKT_4FGL_J2143.5+1743_daily_bin1751.fits ra=325.894 dec=17.7306 rad=12.0 tmin=693187201.0 tmax=693446401.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.67
user 3.44
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/87761/ft1_filtered_4FGL_J2143.5+1743_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/87761/ft2_4FGL_J2143.5+1743_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/87761/ltcube_693187201_693446401_4FGL_J2143.5+1743_daily_bin1751.fits outfile=/scratch/kocevski/87761/expmap_693187201_693446401_4FGL_J2143.5+1743_daily_bin1751.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/87761/ltcube_693187201_693446401_4FGL_J2143.5+1743_daily_bin1751.fits
.....................!
real 200.10
user 193.89
sys 5.83

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/87761/ft1_filtered_4FGL_J2143.5+1743_daily_bin1751.fits scfile=/scratch/kocevski/87761/ft2_4FGL_J2143.5+1743_daily_bin1751.fits outfile=/scratch/kocevski/87761/cmap_693187201_693446401_4FGL_J2143.5+1743_daily_bin1751.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.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.254       1.0000          .0000       .10000E+07
     2 'Prefactor '    14.953       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.4589       1.0000          .0000       .10000E+07
     4 'Prefactor '    .26518       1.0000          .0000       .10000E+07
     5 'norm      '    1.8504       1.0000          .0000       .10000E+07
     6 'Prefactor '    .70253E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .61525       1.0000          .0000       .10000E+07
     8 'norm      '    1.7100       1.0000          .0000       .10000E+07
     9 'norm      '    4.4539       1.0000          .0000       .10000E+07
    10 'norm      '    .80011E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.948       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20798E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .14322E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    26.640       1.0000          .0000       .10000E+07
    15 'norm      '    .56011E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .51316E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0368       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1683       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93024       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=   8777.142     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1480 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.028        2.5790       -.17797E-07   -.10460E-01
   2  Prefactor     14.273        17.263       -.21156E-06    .15565    
   3  Prefactor     7.4404        12.894       -.16437E-06   -.99177E-02
   4  Prefactor     .11659        4.8944       -.32297E-06** at limit **
   5  norm          1.8385        3.6308        .21993E-06    .29918E-02
   6  Prefactor      .0000        2.0221       -.75965E-07** at limit **
   7  Prefactor     .32583E-05    62.558        .16955E-07** at limit **
   8  norm          1.7112        2.3645        .14280E-06    .40986E-02
   9  norm          4.4501        2.5488       -.36461E-07   -.29530E-02
  10  norm          .33479E-06    20.764       -.63742E-06** at limit **
  11  Prefactor     11.918        2.5719        .23137E-07   -.56407E-02
  12  Prefactor     .13118E-04    100.69       -.16922E-05** at limit **
  13  norm           .0000        .38986       -.46907E-07** at limit **
  14  Prefactor     26.482        17.639       -.50843E-07    .17800    
  15  norm           .0000        1.4658        .81475E-08** at limit **
  16  Prefactor     .11102E-09    7.6928       -.14460E-07** at limit **
  17  Prefactor     4.0351        11.853       -.22410E-06   -.61213E-02
  18  Normalizat    1.1687        .27081       -.16305E-05   -.13369E-03
  19  Prefactor     .93056        .11414       -.33482E-06   -.25709E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.0276
  Prefactor  = 14.273
  Prefactor  = 7.44042
  Prefactor  = 0.116589
  norm       = 1.83848
  Prefactor  = 0
  Prefactor  = 3.25834e-06
  norm       = 1.71121
  norm       = 4.45014
  norm       = 3.34788e-07
  Prefactor  = 11.918
  Prefactor  = 1.31178e-05
  norm       = 0
  Prefactor  = 26.4816
  norm       = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 4.03514
  Normalizat = 1.16873
  Prefactor  = 0.930563
 **********
 **   18 **HESSE 
 **********

 FCN=   8777.142     FROM HESSE     STATUS=OK           314 CALLS     1794 TOTAL
                     EDM=   .63E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.028        20.211        .21204E-03   -1.5614    
   2  Prefactor     14.273        57.686        .25875E-03   -1.5632    
   3  Prefactor     7.4404        12.905        .36698E-03   -1.5653    
   4  Prefactor     .11659        18.667        .13808E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8385        3.6925        .76615E-03   -1.5681    
   6  Prefactor      .0000        2.0329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .32583E-05    63.286        .67873E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.7112        2.4721        .80358E-03   -1.5682    
   9  norm          4.4501        2.5534        .47689E-03   -1.5666    
  10  norm          .33479E-06    20.881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.918        28.109        .28956E-03   -1.5639    
  12  Prefactor     .13118E-04    103.48        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .38670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     26.482        18.370        .19378E-03   -1.5605    
  15  norm           .0000        1.4708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-09    7.6766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0351        11.823        .50164E-03   -1.5668    
  18  Normalizat    1.1687        .22910        .81702E-01   -.87575    
  19  Prefactor     .93056        .96234E-01    .45389E-01   -.95081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.30164e-06
Minuit parameter uncertainties:
  1  20.211
  2  57.389
  3  12.9054
  4  2.95048
  5  3.6925
  6  6.81299e-06
  7  0.0287202
  8  2.47207
  9  2.55335
  10  0.00528808
  11  28.1094
  12  0.0736874
  13  3.00019e-06
  14  18.3703
  15  2.3216e-06
  16  5.115e-05
  17  11.8231
  18  0.229295
  19  0.0962515
Done.

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

Extracting fit parameters...

4FGL J2143.5+1743
   Spectrum: LogParabola
279         norm:  1.711e+00  2.472e+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

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  9.306e-01  9.625e-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.169e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.67
Ra Dec: 325.894 17.731
Photon Flux Upper Limit: 1.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.03e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/87761/likelihoodResults_693187201_693446401_4FGL_J2143.5+1743_daily_bin1751.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) = 8777.04567199
delta logL = 0.0960123924069

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8777.04496216
delta logL = 0.096722221555

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7545       1.0000          .0000       .10000E+07
     2 'alpha     '    2.9047       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1492       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93551       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=   8777.045     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      250 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7543        2.3318        .14017E-04   -.51258E-03
   2  alpha         2.9050        1.0973        .32844E-01    .41612E-04
   3  Normalizat    1.1492        .26558        .36441E-03   -.90474E-04
   4  Prefactor     .93552        .11391        .17308E-03   -.21353E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.75429
  alpha      = 2.90496
  Normalizat = 1.1492
  Prefactor  = 0.935516
 **********
 **   18 **HESSE 
 **********

 FCN=   8777.045     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7543        2.2582        .56069E-06   -1.5681    
   2  alpha         2.9050        1.0643        .65687E-02    .16270    
   3  Normalizat    1.1492        .26587        .14576E-04   -.88188    
   4  Prefactor     .93552        .11394        .34616E-04   -.94911    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66279e-11
Minuit parameter uncertainties:
  1  2.25817
  2  1.10046
  3  0.266178
  4  0.113972
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/87761': 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) = 8777.04496212
delta logL = 0.0967222594554

Extracting fit parameters...

4FGL J2143.5+1743
   Spectrum: LogParabola
279         norm:  1.754e+00  2.258e+00  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.905e+00  1.100e+00  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.355e-01  1.140e-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.149e+00  2.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.67
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/87761/cmap_HighResolution_693187201_693446401_4FGL_J2143.5+1743_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-05', job_status='DONE', photon_flux_upper_limit='1.39e-07', time_completed='2022-12-23 01:34:57.728341', job_id='87761', GAL2='0.94', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1671788097.73', return_code2='0', ts='0.67', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='9.67e-02', ts2='0.87', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1751' AND source_name='4FGL J2143.5+1743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:34:57 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 87761: <4FGL_J2143.5+1743_daily_bin1751> in cluster <slac> Done

Job <4FGL_J2143.5+1743_daily_bin1751> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 23 01:20:15 2022
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:20:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:20:16 2022
Terminated at Fri Dec 23 01:34:58 2022
Results reported at Fri Dec 23 01:34:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2143.5+1743_daily_bin1751 325.894 17.7306 693187201 693446401 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 :                                   674.25 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             299.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            883 sec.

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

