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


Performing analysis on: 4FGL_J1543.0+6130_daily_bin1747
RA = 235.755, Dec = 61.5033
tmin = 692150401, tmax = 692409601
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='806212', job_status='RUN', time_executed='2022-12-11 01:10:31.483867', time_epoch_executed='1670749831.48' WHERE source_name='4FGL J1543.0+6130' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/806212

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/806212/ft1_4FGL_J1543.0+6130_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/806212/ft2_4FGL_J1543.0+6130_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/806212/ft1_4FGL_J1543.0+6130_daily_bin1747.fits outfile=/scratch/kocevski/806212/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin1747.fits ra=235.755 dec=61.5033 rad=12.0 tmin=692150401.0 tmax=692409601.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.08
user 3.85
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/806212/ft2_4FGL_J1543.0+6130_daily_bin1747.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/806212/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/806212/ft1_filtered_4FGL_J1543.0+6130_daily_bin1747.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.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 647

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/806212/ft1_filtered_4FGL_J1543.0+6130_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/806212/ft2_4FGL_J1543.0+6130_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/806212/ltcube_692150401_692409601_4FGL_J1543.0+6130_daily_bin1747.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/806212/ft2_4FGL_J1543.0+6130_daily_bin1747.fits
.....................!
real 12.43
user 12.05
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/806212/ft1_filtered_4FGL_J1543.0+6130_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/806212/ft2_4FGL_J1543.0+6130_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/806212/ltcube_692150401_692409601_4FGL_J1543.0+6130_daily_bin1747.fits outfile=/scratch/kocevski/806212/expmap_692150401_692409601_4FGL_J1543.0+6130_daily_bin1747.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/806212/ltcube_692150401_692409601_4FGL_J1543.0+6130_daily_bin1747.fits
.....................!
real 191.43
user 185.50
sys 5.58

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/806212/ft1_filtered_4FGL_J1543.0+6130_daily_bin1747.fits scfile=/scratch/kocevski/806212/ft2_4FGL_J1543.0+6130_daily_bin1747.fits outfile=/scratch/kocevski/806212/cmap_692150401_692409601_4FGL_J1543.0+6130_daily_bin1747.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.60
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/806212/ft1_filtered_4FGL_J1543.0+6130_daily_bin1747.fits scfile=/scratch/kocevski/806212/ft2_4FGL_J1543.0+6130_daily_bin1747.fits outfile=/scratch/kocevski/806212/cmap_HighResolution_692150401_692409601_4FGL_J1543.0+6130_daily_bin1747.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.61
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/806212/ft1_filtered_4FGL_J1543.0+6130_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/806212/ft2_4FGL_J1543.0+6130_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/806212/Model_4FGL_J1543.0+6130_daily_bin1747.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/806212/ft1_filtered_4FGL_J1543.0+6130_daily_bin1747.fits.....................!
real 58.88
user 57.40
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/806212/ft1_filtered_4FGL_J1543.0+6130_daily_bin1747.fits', '/scratch/kocevski/806212/ft2_4FGL_J1543.0+6130_daily_bin1747.fits', expMap='/scratch/kocevski/806212/expmap_692150401_692409601_4FGL_J1543.0+6130_daily_bin1747.fits', expCube='/scratch/kocevski/806212/ltcube_692150401_692409601_4FGL_J1543.0+6130_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/806212/Model_4FGL_J1543.0+6130_daily_bin1747.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/806212/ft1_filtered_4FGL_J1543.0+6130_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/806212/ft2_4FGL_J1543.0+6130_daily_bin1747.fits
Exposure map: /scratch/kocevski/806212/expmap_692150401_692409601_4FGL_J1543.0+6130_daily_bin1747.fits
Exposure cube: /scratch/kocevski/806212/ltcube_692150401_692409601_4FGL_J1543.0+6130_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/806212/Model_4FGL_J1543.0+6130_daily_bin1747.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) = 7108.96004147

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.839       1.0000          .0000       .10000E+07
     2 'Prefactor '    26.336       1.0000          .0000       .10000E+07
     3 'Prefactor '    .17723E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .34765E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .75525E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .86068E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    44.980       1.0000          .0000       .10000E+07
     8 'norm      '    2.2054       1.0000          .0000       .10000E+07
     9 'Prefactor '    .84488E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .68479       1.0000          .0000       .10000E+07
    11 'norm      '    5.5154       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12307E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .29907E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .18653E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .27472E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .82811E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .63792       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13200E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .27601       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.743       1.0000          .0000       .10000E+07
    21 'Prefactor '    .83935       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.5004       1.0000          .0000       .10000E+07
    23 'Normalizat'    .66513       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2831       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=   7108.887     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     1615 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.592        5.8753       -.15854E-05   -.69411E-01
   2  Prefactor     27.505        8.9133       -.37308E-05   -.30320E-01
   3  Prefactor     .19651E-07    6.4246       -.64630E-05** at limit **
   4  Prefactor     .44409E-09    6.8499        .25841E-05** at limit **
   5  Prefactor     .99920E-09    9.1258       -.43194E-05** at limit **
   6  Prefactor     .55511E-10    3.5803       -.44079E-05** at limit **
   7  Prefactor     45.146        1.1927       -.24966E-06    .12522E-02
   8  norm          2.2065        2.3468        .10357E-05    .27250E-02
   9  Prefactor     .62578E-06    50.980        .33207E-04** at limit **
  10  Prefactor     .72340        1.3841        .29809E-05    .24133E-01
  11  norm          5.4498        6.1490        .45200E-06   -.69097E-02
  12  Prefactor     .28311E-08    27.673       -.70187E-05** at limit **
  13  Prefactor      .0000        8.8932       -.23332E-06** at limit **
  14  norm          .67890E-07    137.82       -.73928E-05** at limit **
  15  Prefactor     .63283E-08    18.306        .25375E-04** at limit **
  16  Prefactor     .22427E-07    6.4917       -.56289E-05** at limit **
  17  norm          .61623        .93712        .47946E-06    .15699E-01
  18  Prefactor     .27756E-09    4.6516       -.77651E-06** at limit **
  19  norm          .27614        .47462        .46435E-06   -.57361E-02
  20  Prefactor     17.644        8.1560       -.39596E-06   -.48511E-03
  21  Prefactor     .92096        .60331        .48892E-07   -.97720E-03
  22  Prefactor     1.5097        6.9588        .17483E-05    .77738E-03
  23  Normalizat    .66491        .17575        .48205E-04   -.64601E-03
  24  Prefactor     1.2831        .18811       -.39459E-04   -.10845E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.5918
  Prefactor  = 27.5051
  Prefactor  = 1.96509e-08
  Prefactor  = 4.44089e-10
  Prefactor  = 9.99201e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 45.1463
  norm       = 2.20651
  Prefactor  = 6.25777e-07
  Prefactor  = 0.7234
  norm       = 5.44984
  Prefactor  = 2.83107e-09
  Prefactor  = 0
  norm       = 6.78901e-08
  Prefactor  = 6.32827e-09
  Prefactor  = 2.24265e-08
  norm       = 0.616228
  Prefactor  = 2.77556e-10
  norm       = 0.276139
  Prefactor  = 17.6438
  Prefactor  = 0.920959
  Prefactor  = 1.50967
  Normalizat = 0.664914
  Prefactor  = 1.28306
 **********
 **   18 **HESSE 
 **********

 FCN=   7108.887     FROM HESSE     STATUS=OK           451 CALLS     2066 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.592        33.510        .14613E-03   -1.5570    
   2  Prefactor     27.505        35.513        .19490E-03   -1.5603    
   3  Prefactor     .19651E-07    12.889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .44409E-09    6.8948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .99920E-09    9.1776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    3.5860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     45.146        33.237        .14912E-03   -1.5574    
   8  norm          2.2065        2.3626        .69245E-03   -1.5678    
   9  Prefactor     .62578E-06    55.763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .72340        25.068        .61952E-03   -1.5691    
  11  norm          5.4498        8.5458        .42758E-03   -1.5661    
  12  Prefactor     .28311E-08    27.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        8.7873        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .67890E-07    133.77        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .63283E-08    18.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .22427E-07    12.867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .61623        19.986        .65898E-03   -1.5692    
  18  Prefactor     .27756E-09    4.6790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .27614        .56539        .17720E-02   -1.5697    
  20  Prefactor     17.644        8.6771        .23750E-03   -1.5624    
  21  Prefactor     .92096        42.804        .50047E-03   -1.5689    
  22  Prefactor     1.5097        6.9574        .87389E-03   -1.5683    
  23  Normalizat    .66491        .14786        .60127E-01   -1.0529    
  24  Prefactor     1.2831        .15659        .47828E-01   -.83812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09984e-07
Minuit parameter uncertainties:
  1  33.5102
  2  35.5129
  3  0.00100707
  4  0.000113969
  5  0.000193696
  6  2.29577e-05
  7  33.237
  8  2.36261
  9  0.0118143
  10  8.51688
  11  8.54584
  12  0.000560844
  13  4.8605e-06
  14  0.00602698
  15  0.000676088
  16  0.00107464
  17  7.01884
  18  6.885e-05
  19  0.565393
  20  8.67715
  21  12.5572
  22  6.48181
  23  0.147944
  24  0.156648
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  2.207e+00  2.363e+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:  1.283e+00  1.566e-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:  6.649e-01  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.67e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 1.27e-05 +/- 1.36e-05

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

Saving results to:
/scratch/kocevski/806212/likelihoodResults_692150401_692409601_4FGL_J1543.0+6130_daily_bin1747.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) = 7107.88597415
delta logL = 1.00118586558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7107.8831659
delta logL = 1.00399411293

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5658       1.0000          .0000       .10000E+07
     2 'alpha     '    2.8939       1.0000          .0000       5.0000    
     3 'Normalizat'    .61584       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3113       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=   7107.883     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      275 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5659        2.1121        .66611E-05    .27598E-02
   2  alpha         2.8939        .83033        .10826E-01    .28844E-04
   3  Normalizat    .61586        .18007        .27558E-03    .29290E-04
   4  Prefactor     1.3113        .18980        .20933E-03    .62577E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.56587
  alpha      = 2.89388
  Normalizat = 0.615857
  Prefactor  = 1.31133
 **********
 **   18 **HESSE 
 **********

 FCN=   7107.883     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5659        1.8059        .26644E-06   -1.5683    
   2  alpha         2.8939        .71277        .43303E-03    .15821    
   3  Normalizat    .61586        .17968        .11023E-04   -1.0731    
   4  Prefactor     1.3113        .18949        .41866E-04   -.82971    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22356e-11
Minuit parameter uncertainties:
  1  1.80586
  2  0.723064
  3  0.179847
  4  0.189588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/806212': 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) = 7107.88316589
delta logL = 1.00399412336

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  1.566e+00  1.806e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.894e+00  7.231e-01  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:  1.311e+00  1.896e-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:  6.159e-01  1.798e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.42
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.89 +/- 0.72
Photon Flux (Free Index): 5.29e-08 +/- 3.88e-08
Energy Flux (Free Index): 1.18e-05 +/- 7.94e-06

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/806212/cmap_HighResolution_692150401_692409601_4FGL_J1543.0+6130_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-05', comment='SUCCESS', photon_flux='1.67e-08', energy_flux2='1.18e-05', photon_flux_error='1.79e-08', dlogl='1.00e+00', energy_flux='1.27e-05', photon_flux2='5.29e-08', job_status='DONE', time_completed='2022-12-11 01:22:11.466558', photon_index_error2='0.72', photon_index2='2.89', ts='1.34', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', photon_flux_upper_limit='5.95e-08', energy_flux_error2='7.94e-06', EG='0.66', time_epoch_completed='1670750531.47', return_code='0', job_id='806212', GAL2='1.31', EG2='0.62', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='3.88e-08', ts2='3.42', photon_index='1.90' WHERE bin_id='1747' AND source_name='4FGL J1543.0+6130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:22:11 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 806212: <4FGL_J1543.0+6130_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1543.0+6130_daily_bin1747> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Dec 11 01:10:21 2022
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:10:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:10:22 2022
Terminated at Sun Dec 11 01:22:11 2022
Results reported at Sun Dec 11 01:22:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.0+6130_daily_bin1747 235.755 61.5033 692150401 692409601 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 :                                   701.47 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             363.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            710 sec.

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

