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


Performing analysis on: 4FGL_J2143.5+1743_daily_bin1780
RA = 325.894, Dec = 17.7306
tmin = 700704001, tmax = 700963201
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='77909', job_status='RUN', time_executed='2023-03-20 01:48:17.715320', time_epoch_executed='1679302097.72' WHERE source_name='4FGL J2143.5+1743' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77909

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77909/ft1_4FGL_J2143.5+1743_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77909/ft2_4FGL_J2143.5+1743_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77909/ft1_4FGL_J2143.5+1743_daily_bin1780.fits outfile=/scratch/kocevski/77909/ft1_filteredMKT_4FGL_J2143.5+1743_daily_bin1780.fits ra=325.894 dec=17.7306 rad=12.0 tmin=700704001.0 tmax=700963201.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.14
user 3.91
sys 0.21

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

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

Number of photons that the gtmktime cut: 639

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77909/ft1_filtered_4FGL_J2143.5+1743_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/77909/ft2_4FGL_J2143.5+1743_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/77909/ltcube_700704001_700963201_4FGL_J2143.5+1743_daily_bin1780.fits outfile=/scratch/kocevski/77909/expmap_700704001_700963201_4FGL_J2143.5+1743_daily_bin1780.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/77909/ltcube_700704001_700963201_4FGL_J2143.5+1743_daily_bin1780.fits
.....................!
real 190.66
user 185.98
sys 4.33

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/77909/ft1_filtered_4FGL_J2143.5+1743_daily_bin1780.fits scfile=/scratch/kocevski/77909/ft2_4FGL_J2143.5+1743_daily_bin1780.fits outfile=/scratch/kocevski/77909/cmap_700704001_700963201_4FGL_J2143.5+1743_daily_bin1780.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77909/ft1_filtered_4FGL_J2143.5+1743_daily_bin1780.fits scfile=/scratch/kocevski/77909/ft2_4FGL_J2143.5+1743_daily_bin1780.fits outfile=/scratch/kocevski/77909/cmap_HighResolution_700704001_700963201_4FGL_J2143.5+1743_daily_bin1780.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9593       1.0000          .0000       .10000E+07
     2 'Prefactor '    60.419       1.0000          .0000       .10000E+07
     3 'Prefactor '    17.132       1.0000          .0000       .10000E+07
     4 'Prefactor '    .46063E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .11786E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .54499E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .19542       1.0000          .0000       .10000E+07
     8 'norm      '    .29183       1.0000          .0000       .10000E+07
     9 'norm      '    3.0031       1.0000          .0000       .10000E+07
    10 'norm      '    10.284       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.0411       1.0000          .0000       .10000E+07
    12 'Prefactor '    .51402       1.0000          .0000       .10000E+07
    13 'norm      '    .13789E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21865E-02   1.0000          .0000       .10000E+07
    15 'norm      '    16.204       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14227E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.9236       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0802       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .89582       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=   6976.272     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1564 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9049        11.699        .14573E-07   -.19259E-01
   2  Prefactor     60.258        5.4840        .41061E-07    .85990E-01
   3  Prefactor     17.095        7.5400       -.20290E-07   -.39963E-01
   4  Prefactor     .11102E-09    9.4598       -.33474E-07** at limit **
   5  norm           .0000        1.4785        .32162E-07** at limit **
   6  Prefactor      .0000        1.5240        .77175E-09** at limit **
   7  Prefactor     .20051E-06    94.902       -.12695E-07** at limit **
   8  norm          .29174        5.0643        .16330E-06   -.49678E-05
   9  norm          3.0011        2.3100       -.71263E-08   -.55525E-04
  10  norm          10.265        5.9361        .61654E-07   -.52559E-01
  11  Prefactor     4.1260        5.2808       -.12954E-06    .65075E-01
  12  Prefactor     .16762E-05    221.01        .36476E-07** at limit **
  13  norm           .0000        1.2388        .32145E-07** at limit **
  14  Prefactor     .40634E-07    228.01        .22366E-05** at limit **
  15  norm          16.182        8.6008        .20909E-07    .17920E-02
  16  Prefactor     .91094E-07    37.233        .51492E-06** at limit **
  17  Prefactor     4.9505        13.641       -.15162E-06   -.27983E-01
  18  Normalizat    1.0805        .28222       -.33800E-05   -.63346E-05
  19  Prefactor     .89592        .11848        .17215E-05    .19146E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.90493
  Prefactor  = 60.2576
  Prefactor  = 17.0945
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.00506e-07
  norm       = 0.291744
  norm       = 3.00112
  norm       = 10.2649
  Prefactor  = 4.12602
  Prefactor  = 1.67621e-06
  norm       = 0
  Prefactor  = 4.06342e-08
  norm       = 16.1825
  Prefactor  = 9.10938e-08
  Prefactor  = 4.95054
  Normalizat = 1.08046
  Prefactor  = 0.89592
 **********
 **   18 **HESSE 
 **********

 FCN=   6976.272     FROM HESSE     STATUS=OK           314 CALLS     1878 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9049        13.367        .35516E-03   -1.5652    
   2  Prefactor     60.258        77.634        .12866E-03   -1.5553    
   3  Prefactor     17.095        13.421        .24170E-03   -1.5625    
   4  Prefactor     .11102E-09    9.4933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        1.4798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.5291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20051E-06    95.820        .11858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .29174        1.4166        .51892E-02   -1.5697    
   9  norm          3.0011        2.3257        .58547E-03   -1.5673    
  10  norm          10.265        18.193        .31221E-03   -1.5644    
  11  Prefactor     4.1260        44.681        .50137E-03   -1.5667    
  12  Prefactor     .16762E-05    224.51        .77311E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        1.2063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .40634E-07    223.85        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          16.182        8.6437        .24854E-03   -1.5628    
  16  Prefactor     .91094E-07    37.417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.9505        15.149        .45304E-03   -1.5663    
  18  Normalizat    1.0805        .24172        .81266E-01   -.90382    
  19  Prefactor     .89592        .10013        .44952E-01   -.96284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66488e-06
Minuit parameter uncertainties:
  1  13.367
  2  77.6357
  3  13.4211
  4  6.41772e-05
  5  4.88728e-06
  6  3.94813e-06
  7  0.00876698
  8  1.28576
  9  2.32575
  10  18.1935
  11  27.1556
  12  0.0387991
  13  5.32291e-06
  14  0.00603277
  15  8.6437
  16  0.00369222
  17  15.1488
  18  0.241963
  19  0.100147
Done.

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

Extracting fit parameters...

4FGL J2143.5+1743
   Spectrum: LogParabola
279         norm:  2.917e-01  1.286e+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.959e-01  1.001e-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.080e+00  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/77909/likelihoodResults_700704001_700963201_4FGL_J2143.5+1743_daily_bin1780.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) = 6975.64598024
delta logL = 0.626180436433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6975.64077805
delta logL = 0.631382624192

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .67607       1.0000          .0000       .10000E+07
     2 'alpha     '    1.2903       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0894       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88882       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=   6975.641     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      234 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67572        .86131        .62672E-03    .33038E-02
   2  alpha         1.2900        .34591        .36070       -.65365E-04
   3  Normalizat    1.0894        .23132        .80933E-01    .18281E-04
   4  Prefactor     .88883        .98987E-01    .44862E-01   -.52366E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.675724
  alpha      = 1.29002
  Normalizat = 1.08939
  Prefactor  = 0.88883
 **********
 **   18 **HESSE 
 **********

 FCN=   6975.641     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67572        1.4134        .84121E-05   -1.5692    
   2  alpha         1.2900        .70804        .12789E-01   -.50521    
   3  Normalizat    1.0894        .27437        .35829E-03   -.90093    
   4  Prefactor     .88883        .11778        .16673E-03   -.96533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.43762e-09
Minuit parameter uncertainties:
  1  1.41344
  2  0.721022
  3  0.274727
  4  0.117812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77909': 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) = 6975.640778
delta logL = 0.631382679027

Extracting fit parameters...

4FGL J2143.5+1743
   Spectrum: LogParabola
279         norm:  6.757e-01  1.413e+00  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  1.290e+00  7.210e-01  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.888e-01  1.178e-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.089e+00  2.747e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.29
Ra Dec: 325.894 17.731
Photon Index (Free Index): 1.29 +/- 0.72
Photon Flux (Free Index): 1.06e-08 +/- 1.83e-08
Energy Flux (Free Index): 3.94e-05 +/- 6.30e-05

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/77909/cmap_HighResolution_700704001_700963201_4FGL_J2143.5+1743_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.61e-05', comment='SUCCESS', energy_flux2='3.94e-05', dlogl='6.31e-01', photon_flux2='1.06e-08', job_status='DONE', time_completed='2023-03-20 01:58:22.180534', photon_index_error2='0.72', photon_index2='1.29', ts='0.02', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.24e-07', energy_flux_error2='6.30e-05', EG='1.08', time_epoch_completed='1679302702.18', return_code='0', job_id='77909', GAL2='0.89', EG2='1.09', return_code2='0', photon_flux_error2='1.83e-08', ts2='1.29', photon_index='2.45' WHERE bin_id='1780' AND source_name='4FGL J2143.5+1743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:58:22 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 77909: <4FGL_J2143.5+1743_daily_bin1780> in cluster <slac> Done

Job <4FGL_J2143.5+1743_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 01:45:16 2023
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:45:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:45:17 2023
Terminated at Mon Mar 20 01:58:23 2023
Results reported at Mon Mar 20 01:58:23 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2143.5+1743_daily_bin1780 325.894 17.7306 700704001 700963201 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 :                                   606.06 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             278.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            787 sec.

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

