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


Performing analysis on: 4FGL_J1543.0+6130_daily_bin1762
RA = 235.755, Dec = 61.5033
tmin = 696038401, tmax = 696297601
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='113361', job_status='RUN', time_executed='2023-01-25 01:14:06.590491', time_epoch_executed='1674638046.59' WHERE source_name='4FGL J1543.0+6130' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/113361

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/113361/ft1_4FGL_J1543.0+6130_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/113361/ft2_4FGL_J1543.0+6130_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/113361/ft1_4FGL_J1543.0+6130_daily_bin1762.fits outfile=/scratch/kocevski/113361/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin1762.fits ra=235.755 dec=61.5033 rad=12.0 tmin=696038401.0 tmax=696297601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.69
user 3.43
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/113361/ft2_4FGL_J1543.0+6130_daily_bin1762.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/113361/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/113361/ft1_filtered_4FGL_J1543.0+6130_daily_bin1762.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.35
sys 0.15

Number of photons that the gtmktime cut: 649

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/113361/ft1_filtered_4FGL_J1543.0+6130_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/113361/ft2_4FGL_J1543.0+6130_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/113361/ltcube_696038401_696297601_4FGL_J1543.0+6130_daily_bin1762.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/113361/ft2_4FGL_J1543.0+6130_daily_bin1762.fits
.....................!
real 13.98
user 13.54
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/113361/ft1_filtered_4FGL_J1543.0+6130_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/113361/ft2_4FGL_J1543.0+6130_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/113361/ltcube_696038401_696297601_4FGL_J1543.0+6130_daily_bin1762.fits outfile=/scratch/kocevski/113361/expmap_696038401_696297601_4FGL_J1543.0+6130_daily_bin1762.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/113361/ltcube_696038401_696297601_4FGL_J1543.0+6130_daily_bin1762.fits
.....................!
real 192.72
user 186.20
sys 5.48

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/113361/ft1_filtered_4FGL_J1543.0+6130_daily_bin1762.fits scfile=/scratch/kocevski/113361/ft2_4FGL_J1543.0+6130_daily_bin1762.fits outfile=/scratch/kocevski/113361/cmap_696038401_696297601_4FGL_J1543.0+6130_daily_bin1762.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/113361/ft1_filtered_4FGL_J1543.0+6130_daily_bin1762.fits scfile=/scratch/kocevski/113361/ft2_4FGL_J1543.0+6130_daily_bin1762.fits outfile=/scratch/kocevski/113361/cmap_HighResolution_696038401_696297601_4FGL_J1543.0+6130_daily_bin1762.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.57
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.237       1.0000          .0000       .10000E+07
     2 'Prefactor '    54.665       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16122E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.9445       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.9316       1.0000          .0000       .10000E+07
     6 'Prefactor '    .46407E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .47691E-03   1.0000          .0000       .10000E+07
     8 'norm      '    3.9995       1.0000          .0000       .10000E+07
     9 'Prefactor '    40.935       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.1861       1.0000          .0000       .10000E+07
    11 'norm      '    .88324E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    62.032       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.7893       1.0000          .0000       .10000E+07
    14 'norm      '    3.1741       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.1281       1.0000          .0000       .10000E+07
    16 'Prefactor '    .10104E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .20337E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .32511E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .53634       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.5542       1.0000          .0000       .10000E+07
    21 'Prefactor '    .57144E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11359E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    .94287       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98553       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=   7017.012     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1956 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.788        27.184       -.28862E-06    .63498E-01
   2  Prefactor     55.097        34.008       -.12818E-06   -.12597    
   3  Prefactor     .16653E-09    2.5410       -.38974E-07** at limit **
   4  Prefactor     2.8376        34.786       -.56341E-06    .29142E-02
   5  Prefactor     3.9553        7.9113        .44376E-07    .52777E-03
   6  Prefactor     .14400E-06    3.4010       -.89832E-07** at limit **
   7  Prefactor     .37748E-07    7.4061        .13551E-06** at limit **
   8  norm          4.0031        2.7494       -.57375E-07   -.50283E-02
   9  Prefactor     40.999        5.4042       -.16119E-07   -.45105E-01
  10  Prefactor     4.1892        4.4704       -.97643E-07   -.37401E-02
  11  norm           .0000        2.1665        .50891E-07** at limit **
  12  Prefactor     62.258        7.3719       -.46612E-07    .70051E-01
  13  Prefactor     2.8405        5.0724       -.18996E-06   -.33015E-02
  14  norm          3.1777        1.2857       -.19104E-07   -.65452E-02
  15  Prefactor     6.1283        6.2102       -.91797E-08   -.51416E-04
  16  Prefactor     .45408E-07    38.530        .44807E-06** at limit **
  17  norm          .55511E-10    17.576       -.48544E-07** at limit **
  18  Prefactor     .11824E-05    3.1119        .58529E-07** at limit **
  19  norm          .53689        .38697        .20664E-07    .13537E-01
  20  Prefactor     4.5890        6.3003       -.15206E-06   -.25833E-02
  21  Prefactor     .90283E-06    4.3743        .16349E-06** at limit **
  22  Prefactor     .12768E-08    4.9915       -.18451E-06** at limit **
  23  Normalizat    .94230        .18409       -.10800E-05   -.46697E-05
  24  Prefactor     .98566        .18301        .26288E-05    .11529E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.7877
  Prefactor  = 55.0968
  Prefactor  = 1.66533e-10
  Prefactor  = 2.83763
  Prefactor  = 3.95533
  Prefactor  = 1.43996e-07
  Prefactor  = 3.77476e-08
  norm       = 4.00313
  Prefactor  = 40.9987
  Prefactor  = 4.18921
  norm       = 0
  Prefactor  = 62.2582
  Prefactor  = 2.84053
  norm       = 3.17772
  Prefactor  = 6.12835
  Prefactor  = 4.54081e-08
  norm       = 5.55112e-11
  Prefactor  = 1.18244e-06
  norm       = 0.536892
  Prefactor  = 4.58899
  Prefactor  = 9.02833e-07
  Prefactor  = 1.27676e-09
  Normalizat = 0.942299
  Prefactor  = 0.985658
 **********
 **   18 **HESSE 
 **********

 FCN=   7017.012     FROM HESSE     STATUS=OK           453 CALLS     2409 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.788        38.388        .26519E-03   -1.5631    
   2  Prefactor     55.097        49.730        .13526E-03   -1.5560    
   3  Prefactor     .16653E-09    5.8829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.8376        38.434        .59162E-03   -1.5674    
   5  Prefactor     3.9553        7.9328        .50853E-03   -1.5668    
   6  Prefactor     .14400E-06    5.9627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .37748E-07    7.5282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.0031        2.7926        .50405E-03   -1.5668    
   9  Prefactor     40.999        61.540        .15631E-03   -1.5580    
  10  Prefactor     4.1892        4.4770        .49234E-03   -1.5667    
  11  norm           .0000        2.1607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     62.258        32.318        .12698E-03   -1.5550    
  13  Prefactor     2.8405        5.1173        .60897E-03   -1.5674    
  14  norm          3.1777        13.385        .56858E-03   -1.5672    
  15  Prefactor     6.1283        6.2148        .40532E-03   -1.5658    
  16  Prefactor     .45408E-07    38.508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .55511E-10    3.3116        .85467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .11824E-05    6.3706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .53689        .39176        .75135E-03   -1.5693    
  20  Prefactor     4.5890        6.3726        .47148E-03   -1.5665    
  21  Prefactor     .90283E-06    6.7092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .12768E-08    4.9903        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .94230        .15631        .45447E-01   -.94989    
  24  Prefactor     .98566        .15552        .46086E-01   -.93209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00705e-06
Minuit parameter uncertainties:
  1  38.3883
  2  49.7302
  3  5.94127e-05
  4  20.8866
  5  7.93282
  6  0.00185335
  7  0.00106604
  8  2.79259
  9  61.5412
  10  4.47705
  11  9.69245e-06
  12  32.3184
  13  5.11727
  14  13.0437
  15  6.21481
  16  0.00264525
  17  1.94671e-05
  18  0.00548924
  19  0.391757
  20  6.37262
  21  0.00492229
  22  0.000158713
  23  0.156388
  24  0.155587
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  4.003e+00  2.793e+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:  9.857e-01  1.556e-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:  9.423e-01  1.564e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.04
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 3.03e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 2.31e-05 +/- 1.61e-05

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) = 7015.41330926
delta logL = 1.59821723304

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7015.41234111
delta logL = 1.59918538194

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5008       1.0000          .0000       .10000E+07
     2 'alpha     '    2.8541       1.0000          .0000       5.0000    
     3 'Normalizat'    .87722       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0242       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=   7015.412     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      277 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5008        2.3972        .60450E-05   -.37218E-02
   2  alpha         2.8541        .61891        .88702E-02   -.12376E-04
   3  Normalizat    .87722        .18370        .24157E-03    .80052E-04
   4  Prefactor     1.0242        .18514        .23074E-03   -.18083E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.50078
  alpha      = 2.85414
  Normalizat = 0.877221
  Prefactor  = 1.02424
 **********
 **   18 **HESSE 
 **********

 FCN=   7015.412     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5008        2.1315        .24180E-06   -1.5676    
   2  alpha         2.8541        .55098        .35481E-03    .14214    
   3  Normalizat    .87722        .18346        .96628E-05   -.97265    
   4  Prefactor     1.0242        .18500        .92294E-05   -.91926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.78852e-11
Minuit parameter uncertainties:
  1  2.13146
  2  0.555632
  3  0.183592
  4  0.185116
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/113361': 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) = 7015.41234111
delta logL = 1.59918538227

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  2.501e+00  2.131e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.854e+00  5.556e-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.024e+00  1.851e-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:  8.772e-01  1.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.36
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.85 +/- 0.56
Photon Flux (Free Index): 7.88e-08 +/- 4.28e-08
Energy Flux (Free Index): 1.80e-05 +/- 8.80e-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/113361/cmap_HighResolution_696038401_696297601_4FGL_J1543.0+6130_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.03e-08', energy_flux2='1.80e-05', photon_flux_error='2.12e-08', dlogl='1.60e+00', energy_flux='2.31e-05', photon_flux2='7.88e-08', job_status='DONE', time_completed='2023-01-25 01:25:36.749251', photon_index_error2='0.56', photon_index2='2.85', ts='4.04', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='8.80e-06', EG='0.94', time_epoch_completed='1674638736.75', return_code='0', job_id='113361', GAL2='1.02', EG2='0.88', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='4.28e-08', ts2='7.36', photon_index='1.90' WHERE bin_id='1762' AND source_name='4FGL J1543.0+6130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:25:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 113361: <4FGL_J1543.0+6130_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1543.0+6130_daily_bin1762> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan 25 01:10:18 2023
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:11:10 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:11:10 2023
Terminated at Wed Jan 25 01:25:37 2023
Results reported at Wed Jan 25 01:25:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.0+6130_daily_bin1762 235.755 61.5033 696038401 696297601 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 :                                   690.54 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             306.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            919 sec.

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

