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


Performing analysis on: 4FGL_J2143.5+1743_daily_bin1769
RA = 325.894, Dec = 17.7306
tmin = 697852801, tmax = 698112001
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='445221', job_status='RUN', time_executed='2023-02-15 01:31:43.406719', time_epoch_executed='1676453503.41' WHERE source_name='4FGL J2143.5+1743' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/445221

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/445221/ft1_4FGL_J2143.5+1743_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/445221/ft2_4FGL_J2143.5+1743_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/445221/ft1_4FGL_J2143.5+1743_daily_bin1769.fits outfile=/scratch/kocevski/445221/ft1_filteredMKT_4FGL_J2143.5+1743_daily_bin1769.fits ra=325.894 dec=17.7306 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.39
user 4.13
sys 0.23

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

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

Number of photons that the gtmktime cut: 656

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/445221/ft1_filtered_4FGL_J2143.5+1743_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/445221/ft2_4FGL_J2143.5+1743_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/445221/ltcube_697852801_698112001_4FGL_J2143.5+1743_daily_bin1769.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/445221/ft2_4FGL_J2143.5+1743_daily_bin1769.fits
.....................!
real 12.70
user 12.34
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/445221/ft1_filtered_4FGL_J2143.5+1743_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/445221/ft2_4FGL_J2143.5+1743_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/445221/ltcube_697852801_698112001_4FGL_J2143.5+1743_daily_bin1769.fits outfile=/scratch/kocevski/445221/expmap_697852801_698112001_4FGL_J2143.5+1743_daily_bin1769.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/445221/ltcube_697852801_698112001_4FGL_J2143.5+1743_daily_bin1769.fits
.....................!
real 191.69
user 187.00
sys 4.17

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/445221/ft1_filtered_4FGL_J2143.5+1743_daily_bin1769.fits scfile=/scratch/kocevski/445221/ft2_4FGL_J2143.5+1743_daily_bin1769.fits outfile=/scratch/kocevski/445221/cmap_697852801_698112001_4FGL_J2143.5+1743_daily_bin1769.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/445221/ft1_filtered_4FGL_J2143.5+1743_daily_bin1769.fits scfile=/scratch/kocevski/445221/ft2_4FGL_J2143.5+1743_daily_bin1769.fits outfile=/scratch/kocevski/445221/cmap_HighResolution_697852801_698112001_4FGL_J2143.5+1743_daily_bin1769.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/445221/ft1_filtered_4FGL_J2143.5+1743_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/445221/ft2_4FGL_J2143.5+1743_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/445221/Model_4FGL_J2143.5+1743_daily_bin1769.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/445221/ft1_filtered_4FGL_J2143.5+1743_daily_bin1769.fits.....................!
real 101.81
user 100.14
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68218E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    53.162       1.0000          .0000       .10000E+07
     3 'Prefactor '    22.393       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.2965       1.0000          .0000       .10000E+07
     5 'norm      '    .37860E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .61617E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .57713E-03   1.0000          .0000       .10000E+07
     8 'norm      '    1.1904       1.0000          .0000       .10000E+07
     9 'norm      '    .81540E-06   1.0000          .0000       .10000E+07
    10 'norm      '    16.592       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12306E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11479E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .68839       1.0000          .0000       .10000E+07
    14 'Prefactor '    9.2534       1.0000          .0000       .10000E+07
    15 'norm      '    .32857E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.6097       1.0000          .0000       .10000E+07
    17 'Prefactor '    12.435       1.0000          .0000       .10000E+07
    18 'Normalizat'    .89923       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .86100       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=   7208.403     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1422 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26906E-06    25.410       -.29548E-05** at limit **
   2  Prefactor     53.134        2.9763       -.13004E-06    .49709E-01
   3  Prefactor     22.405        3.7180       -.61391E-07   -.41394E-01
   4  Prefactor     4.3637        1.6935        .36956E-06    .53156E-02
   5  norm          .21866E-01    134.64        .17723E-04** at limit **
   6  Prefactor      .0000        2.2100       -.89451E-07** at limit **
   7  Prefactor     .11108E-05    28.881        .21739E-05** at limit **
   8  norm          1.1918        1.9714        .45973E-06   -.78728E-03
   9  norm           .0000        3.8423       -.86235E-06** at limit **
  10  norm          16.652        1.4284       -.65489E-07    .90492E-02
  11  Prefactor     .56621E-08    12.720       -.11237E-05** at limit **
  12  Prefactor     .61090E-06    37.934       -.10127E-05** at limit **
  13  norm          .68842        .83116       -.12879E-06    .32656E-03
  14  Prefactor     9.3185        5.2561       -.57967E-06   -.30951E-01
  15  norm          .11102E-09    3.0872       -.13791E-06** at limit **
  16  Prefactor     9.6276        6.8701       -.40449E-06   -.66897E-01
  17  Prefactor     12.551        11.188       -.30288E-06    .19006E-02
  18  Normalizat    .89863        .25917        .34346E-05   -.10586E-03
  19  Prefactor     .86112        .11084        .27309E-05   -.24511E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.69063e-07
  Prefactor  = 53.1342
  Prefactor  = 22.4054
  Prefactor  = 4.36367
  norm       = 0.0218665
  Prefactor  = 0
  Prefactor  = 1.11083e-06
  norm       = 1.19176
  norm       = 0
  norm       = 16.652
  Prefactor  = 5.66214e-09
  Prefactor  = 6.109e-07
  norm       = 0.688419
  Prefactor  = 9.31845
  norm       = 1.11022e-10
  Prefactor  = 9.62764
  Prefactor  = 12.5509
  Normalizat = 0.898633
  Prefactor  = 0.861119
 **********
 **   18 **HESSE 
 **********

 FCN=   7208.403     FROM HESSE     STATUS=OK           316 CALLS     1738 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26906E-06    26.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     53.134        72.201        .13716E-03   -1.5562    
   3  Prefactor     22.405        17.093        .21138E-03   -1.5613    
   4  Prefactor     4.3637        69.943        .48579E-03   -1.5666    
   5  norm          .21866E-01    1.9655        .78149E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.2147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11108E-05    33.780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1918        2.0123        .10436E-02   -1.5686    
   9  norm           .0000        3.7331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          16.652        28.148        .24561E-03   -1.5626    
  11  Prefactor     .56621E-08    12.673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .61090E-06    40.607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .68842        .84885        .61656E-03   -1.5691    
  14  Prefactor     9.3185        18.845        .32922E-03   -1.5647    
  15  norm          .11102E-09    3.0818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.6276        17.160        .32303E-03   -1.5646    
  17  Prefactor     12.551        11.443        .28381E-03   -1.5637    
  18  Normalizat    .89863        .23054        .81441E-01   -.96508    
  19  Prefactor     .86112        .93769E-01    .44506E-01   -.97513    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8885e-07
Minuit parameter uncertainties:
  1  0.00532756
  2  72.2017
  3  17.0934
  4  34.9409
  5  0.414624
  6  4.87703e-07
  7  0.0122515
  8  2.01234
  9  2.00193e-05
  10  28.1482
  11  0.00053578
  12  0.00996156
  13  0.848849
  14  18.8451
  15  3.2505e-05
  16  17.1602
  17  11.4434
  18  0.23079
  19  0.0937864
Done.

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

Extracting fit parameters...

4FGL J2143.5+1743
   Spectrum: LogParabola
279         norm:  1.192e+00  2.012e+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:  8.611e-01  9.379e-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:  8.986e-01  2.308e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/445221/likelihoodResults_697852801_698112001_4FGL_J2143.5+1743_daily_bin1769.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) = 7208.40279141
delta logL = 5.11682173965e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7208.40278406
delta logL = 1.24639609567e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1918       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4569       1.0000          .0000       5.0000    
     3 'Normalizat'    .89848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86120       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=   7208.403     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      199 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1920        160.73        .10425E-02   -.63616E-02
   2  alpha         2.4578        2.5164        .41159       -.10470E-04
   3  Normalizat    .89844        .13573        .81449E-01    .25073E-05
   4  Prefactor     .86118        .82997E-01    .44509E-01   -.60067E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.19199
  alpha      = 2.45783
  Normalizat = 0.89844
  Prefactor  = 0.861175
 **********
 **   18 **HESSE 
 **********

 FCN=   7208.403     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1920        1.9694        .14805E-04   -1.5686    
   2  alpha         2.4578        1.3741        .37108E-01   -.16868E-01
   3  Normalizat    .89844        .25641        .36057E-03   -.96515    
   4  Prefactor     .86118        .11064        .15866E-03   -.97511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.13359e-10
Minuit parameter uncertainties:
  1  1.96943
  2  1.45481
  3  0.256759
  4  0.110667
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/445221': 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) = 7208.40278356
delta logL = 1.29620166263e-05

Extracting fit parameters...

4FGL J2143.5+1743
   Spectrum: LogParabola
279         norm:  1.192e+00  1.969e+00  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.458e+00  1.455e+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:  8.612e-01  1.107e-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:  8.984e-01  2.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.47
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/445221/cmap_HighResolution_697852801_698112001_4FGL_J2143.5+1743_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.45e-05', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2023-02-15 01:41:33.428325', job_id='445221', GAL2='0.86', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1676454093.43', return_code2='0', ts='0.47', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.30e-05', ts2='0.47', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1769' AND source_name='4FGL J2143.5+1743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:41:33 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 445221: <4FGL_J2143.5+1743_daily_bin1769> in cluster <slac> Done

Job <4FGL_J2143.5+1743_daily_bin1769> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Feb 15 01:30:19 2023
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:30:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:30:20 2023
Terminated at Wed Feb 15 01:41:34 2023
Results reported at Wed Feb 15 01:41:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2143.5+1743_daily_bin1769 325.894 17.7306 697852801 698112001 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 :                                   591.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             328.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            675 sec.

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

