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 95 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_J1543.0+6130_daily_bin1769
RA = 235.755, Dec = 61.5033
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='438443', job_status='RUN', time_executed='2023-02-15 01:02:43.607167', time_epoch_executed='1676451763.61' WHERE source_name='4FGL J1543.0+6130' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438443

Creating custom pfile directory:
/scratch/kocevski/438443/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/438443/ft1_4FGL_J1543.0+6130_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/438443/ft2_4FGL_J1543.0+6130_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438443/ft1_4FGL_J1543.0+6130_daily_bin1769.fits outfile=/scratch/kocevski/438443/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin1769.fits ra=235.755 dec=61.5033 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.36
user 4.15
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/438443/ft2_4FGL_J1543.0+6130_daily_bin1769.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/438443/ft2_4FGL_J1543.0+6130_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/438443/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/438443/ft1_filtered_4FGL_J1543.0+6130_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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 578

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/438443/ft1_filtered_4FGL_J1543.0+6130_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/438443/ft2_4FGL_J1543.0+6130_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/438443/ltcube_697852801_698112001_4FGL_J1543.0+6130_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/438443/ft2_4FGL_J1543.0+6130_daily_bin1769.fits
.....................!
real 11.99
user 11.62
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438443/ft1_filtered_4FGL_J1543.0+6130_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/438443/ft2_4FGL_J1543.0+6130_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/438443/ltcube_697852801_698112001_4FGL_J1543.0+6130_daily_bin1769.fits outfile=/scratch/kocevski/438443/expmap_697852801_698112001_4FGL_J1543.0+6130_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/438443/ltcube_697852801_698112001_4FGL_J1543.0+6130_daily_bin1769.fits
.....................!
real 189.52
user 185.16
sys 4.03

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
Added 224 point sources and 0 extended sources

Setting source of interest to:
4FGL J1543.0+6130 @ 235.755 61.5033

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/438443/ft1_filtered_4FGL_J1543.0+6130_daily_bin1769.fits scfile=/scratch/kocevski/438443/ft2_4FGL_J1543.0+6130_daily_bin1769.fits outfile=/scratch/kocevski/438443/cmap_697852801_698112001_4FGL_J1543.0+6130_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=235.755 yref=61.5033 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/438443/ft1_filtered_4FGL_J1543.0+6130_daily_bin1769.fits scfile=/scratch/kocevski/438443/ft2_4FGL_J1543.0+6130_daily_bin1769.fits outfile=/scratch/kocevski/438443/cmap_HighResolution_697852801_698112001_4FGL_J1543.0+6130_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=235.755 yref=61.5033 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.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/438443/ft1_filtered_4FGL_J1543.0+6130_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/438443/ft2_4FGL_J1543.0+6130_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/438443/Model_4FGL_J1543.0+6130_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 EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/438443/ft1_filtered_4FGL_J1543.0+6130_daily_bin1769.fits.....................!
real 54.45
user 53.26
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/438443/ft1_filtered_4FGL_J1543.0+6130_daily_bin1769.fits', '/scratch/kocevski/438443/ft2_4FGL_J1543.0+6130_daily_bin1769.fits', expMap='/scratch/kocevski/438443/expmap_697852801_698112001_4FGL_J1543.0+6130_daily_bin1769.fits', expCube='/scratch/kocevski/438443/ltcube_697852801_698112001_4FGL_J1543.0+6130_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/438443/Model_4FGL_J1543.0+6130_daily_bin1769.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/438443/ft1_filtered_4FGL_J1543.0+6130_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/438443/ft2_4FGL_J1543.0+6130_daily_bin1769.fits
Exposure map: /scratch/kocevski/438443/expmap_697852801_698112001_4FGL_J1543.0+6130_daily_bin1769.fits
Exposure cube: /scratch/kocevski/438443/ltcube_697852801_698112001_4FGL_J1543.0+6130_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/438443/Model_4FGL_J1543.0+6130_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) = 6244.80506687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53444E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    8.3500       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19820E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .22225E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16567E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.4826       1.0000          .0000       .10000E+07
     7 'Prefactor '    36.380       1.0000          .0000       .10000E+07
     8 'norm      '    1.1804       1.0000          .0000       .10000E+07
     9 'Prefactor '    72.088       1.0000          .0000       .10000E+07
    10 'Prefactor '    .80500E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .47131E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    9.3865       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.2831       1.0000          .0000       .10000E+07
    14 'norm      '    .13920E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.2611       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32546E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .15988E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    12.061       1.0000          .0000       .10000E+07
    19 'norm      '    .11713E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.6062       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.2007       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25746E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1445       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88081       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6244.787     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     2021 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91593E-07    12.052        .36888E-05** at limit **
   2  Prefactor     8.3958        1.1724       -.41740E-07    .17383E-02
   3  Prefactor     .29587E-07    8.8583        .29799E-05** at limit **
   4  Prefactor     .44964E-08    8.7608       -.47780E-05** at limit **
   5  Prefactor     .41078E-08    6.2743       -.49499E-06** at limit **
   6  Prefactor     5.4994        9.0741        .19558E-07   -.22168E-03
   7  Prefactor     36.168        21.752        .23921E-05   -.89944E-02
   8  norm          1.1358        3.5099        .45741E-06   -.24762E-03
   9  Prefactor     76.518        123.57       -.18878E-05   -.87073E-03
  10  Prefactor     .18724E-06    4.2418       -.21635E-05** at limit **
  11  norm          .13872E-06    4.9874        .31993E-05** at limit **
  12  Prefactor     9.3415        12.589       -.26139E-05    .74379E-04
  13  Prefactor     3.2421        7.4672        .13050E-07   -.21024E-05
  14  norm          .14039E-06    5.1303       -.21253E-05** at limit **
  15  Prefactor     6.2633        7.1681       -.18237E-06   -.12929E-02
  16  Prefactor     .77716E-08    18.263       -.91620E-06** at limit **
  17  norm          .76439E-07    7.9252       -.31386E-05** at limit **
  18  Prefactor     12.078        1.3291        .10437E-06    .61838E-03
  19  norm           .0000        .71350       -.68800E-07** at limit **
  20  Prefactor     4.6377        7.3640       -.36951E-06   -.12346E-02
  21  Prefactor     5.2162        1.5927        .13266E-06    .33543E-03
  22  Prefactor     .88818E-09    5.4961       -.42162E-07** at limit **
  23  Normalizat    1.1432        .20466        .10533E-05   -.57712E-04
  24  Prefactor     .88146        .19158       -.11337E-05   -.38198E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.15934e-08
  Prefactor  = 8.39583
  Prefactor  = 2.95874e-08
  Prefactor  = 4.4964e-09
  Prefactor  = 4.10783e-09
  Prefactor  = 5.49945
  Prefactor  = 36.1677
  norm       = 1.13584
  Prefactor  = 76.5184
  Prefactor  = 1.87239e-07
  norm       = 1.38722e-07
  Prefactor  = 9.34149
  Prefactor  = 3.2421
  norm       = 1.40388e-07
  Prefactor  = 6.26331
  Prefactor  = 7.77156e-09
  norm       = 7.64389e-08
  Prefactor  = 12.0776
  norm       = 0
  Prefactor  = 4.63772
  Prefactor  = 5.21616
  Prefactor  = 8.88178e-10
  Normalizat = 1.14316
  Prefactor  = 0.881463
 **********
 **   18 **HESSE 
 **********

 FCN=   6244.787     FROM HESSE     STATUS=OK           449 CALLS     2470 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91593E-07    14.122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.3958        20.659        .34669E-03   -1.5650    
   3  Prefactor     .29587E-07    9.5429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .44964E-08    12.180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .41078E-08    6.3011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.4994        8.9990        .42888E-03   -1.5661    
   7  Prefactor     36.168        25.353        .16581E-03   -1.5588    
   8  norm          1.1358        3.6153        .10519E-02   -1.5687    
   9  Prefactor     76.518        125.88        .11779E-03   -1.5533    
  10  Prefactor     .18724E-06    7.1392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .13872E-06    7.0987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.3415        25.428        .32686E-03   -1.5647    
  13  Prefactor     3.2421        7.4453        .55858E-03   -1.5672    
  14  norm          .14039E-06    12.982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.2633        7.2287        .40094E-03   -1.5658    
  16  Prefactor     .77716E-08    18.319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .76439E-07    9.2728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.078        15.749        .28819E-03   -1.5638    
  19  norm           .0000        .40621        .16980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.6377        7.8586        .46874E-03   -1.5665    
  21  Prefactor     5.2162        16.495        .44056E-03   -1.5662    
  22  Prefactor     .88818E-09    5.4986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1432        .17579        .36423E-01   -.88378    
  24  Prefactor     .88146        .16548        .44760E-01   -.96792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43497e-07
Minuit parameter uncertainties:
  1  0.00227459
  2  20.659
  3  0.00106253
  4  0.000468757
  5  0.000321084
  6  8.99898
  7  25.3535
  8  3.61532
  9  125.88
  10  0.00231238
  11  0.00198482
  12  25.4284
  13  7.44532
  14  0.0027
  15  7.22873
  16  0.000755493
  17  0.00168362
  18  15.7491
  19  2.3232e-06
  20  7.85866
  21  16.4951
  22  0.000138553
  23  0.175877
  24  0.165572
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.136e+00  3.615e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.815e-01  1.656e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.143e+00  1.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 235.755 61.503
Photon Flux Upper Limit: 7.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.40e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/438443/likelihoodResults_697852801_698112001_4FGL_J1543.0+6130_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) = 6243.79048821
delta logL = 0.996324286863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6243.76512271
delta logL = 1.02168978287

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88972       1.0000          .0000       .10000E+07
     2 'alpha     '    3.4186       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0728       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92007       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+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=   6243.765     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      242 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .88993        41.008        .53182E-05    .40067E-01
   2  alpha         3.4188        3.2378        .11495E-01    .17807E-03
   3  Normalizat    1.0728        .24010        .22740E-03    .54292E-03
   4  Prefactor     .92006        .24003        .24363E-03    .51018E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.889933
  alpha      = 3.41877
  Normalizat = 1.07275
  Prefactor  = 0.92006
 **********
 **   18 **HESSE 
 **********

 FCN=   6243.765     FROM HESSE     STATUS=OK            25 CALLS      267 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .88993        1.9110        .21273E-06   -1.5689    
   2  alpha         3.4188        1.1555        .45979E-03    .37633    
   3  Normalizat    1.0728        .19571        .45479E-04   -.90631    
   4  Prefactor     .92006        .19176        .48726E-04   -.95444    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00049e-09
Minuit parameter uncertainties:
  1  1.91097
  2  1.20926
  3  0.195838
  4  0.191902
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438443': 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) = 6243.76512253
delta logL = 1.02168996977

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  8.899e-01  1.911e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  3.419e+00  1.209e+00  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  9.201e-01  1.919e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.073e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.27
Ra Dec: 235.755 61.503
Photon Index (Free Index): 3.42 +/- 1.21
Photon Flux (Free Index): 7.73e-08 +/- 6.18e-08
Energy Flux (Free Index): 1.37e-05 +/- 1.07e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/438443/cmap_HighResolution_697852801_698112001_4FGL_J1543.0+6130_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.40e-05', comment='SUCCESS', energy_flux2='1.37e-05', dlogl='1.02e+00', photon_flux2='7.73e-08', job_status='DONE', time_completed='2023-02-15 01:14:54.633498', photon_index_error2='1.21', photon_index2='3.42', ts='0.13', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='7.08e-08', energy_flux_error2='1.07e-05', EG='1.14', time_epoch_completed='1676452494.63', return_code='0', job_id='438443', GAL2='0.92', EG2='1.07', return_code2='0', photon_flux_error2='6.18e-08', ts2='2.27', photon_index='1.90' WHERE bin_id='1769' AND source_name='4FGL J1543.0+6130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:14:54 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 438443: <4FGL_J1543.0+6130_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1543.0+6130_daily_bin1769> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Feb 15 01:00:25 2023
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:00:26 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:00:26 2023
Terminated at Wed Feb 15 01:14:55 2023
Results reported at Wed Feb 15 01:14:55 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.0+6130_daily_bin1769 235.755 61.5033 697852801 698112001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1543.0+6130 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   733.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             295.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            870 sec.

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

