 **********
 **   18 **HESSE 
 **********

 FCN=   15050.22     FROM HESSE     STATUS=OK           455 CALLS     2049 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24980E-08    4.4744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.495        14.728        .22257E-03   -1.5617    
   3  Prefactor     .59563E-07    12.081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .42188E-08    6.1843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.9246        3.2638        .50896E-03   -1.5668    
   6  Prefactor     .38858E-09    3.2614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     35.860        15.606        .16709E-03   -1.5588    
   8  norm           .0000        .42244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.287        37.021        .23538E-03   -1.5622    
  10  Prefactor     7.9449        4.9120        .35592E-03   -1.5652    
  11  norm          .49960E-09    3.8090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .66058E-07    33.277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .49072E-07    11.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.9017        6.6364        .45259E-03   -1.5664    
  15  Prefactor     1.7743        1.7862        .78613E-03   -1.5681    
  16  Prefactor     14.867        13.363        .26024E-03   -1.5631    
  17  norm          9.2453        4.9967        .32938E-03   -1.5647    
  18  Prefactor     .29682E-06    14.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .22061        .28391        .11422E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .29193E-06    2.5123        .57938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.679        12.901        .22515E-03   -1.5619    
  22  Prefactor     3.3911        3.6915        .54935E-03   -1.5671    
  23  Normalizat    1.1080        .96100E-01    .37670E-01   -.89495    
  24  Prefactor     .69454        .96758E-01    .42327E-01   -1.0374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.36426e-07
Minuit parameter uncertainties:
  1  0.000210519
  2  14.7283
  3  0.00169654
  4  0.000323274
  5  3.26384
  6  6.98781e-05
  7  15.6058
  8  3.3793e-08
  9  37.021
  10  4.91205
  11  8.71205e-05
  12  0.00296478
  13  0.00151225
  14  6.63644
  15  1.78618
  16  13.3627
  17  4.99672
  18  0.0041042
  19  0.283911
  20  0.00171274
  21  12.9008
  22  3.69154
  23  0.0961147
  24  0.0967819
/sdf/group/fermi/u/kocevski/software/conda/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)

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).

/sdf/group/fermi/u/kocevski/software/conda/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).

Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  0.000e+00  3.379e-08  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:  6.945e-01  9.678e-02  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.108e+00  9.611e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 235.755 61.503
Photon Flux Upper Limit: 1.57738352841e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/19661266/likelihoodResults_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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) = 15050.2742802
delta logL = -0.0565423506232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15050.2177405
delta logL = -2.70171221928e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14594E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.9706       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1078       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69479       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15050.22     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      214 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .43705        .42118E-03** at limit **
   2  alpha         2.1189        1.0100       -.85348E-04     .0000    
   3  Normalizat    1.1080        1.1501        .14281E-04   -.96216E-03
   4  Prefactor     .69454        1.0443       -.35793E-05   -.17361E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.11886
  Normalizat = 1.10801
  Prefactor  = 0.694537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15050.22     FROM HESSE     STATUS=FAILED         9 CALLS      223 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .43705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .96118        1.1910       -.85348E-04   -.15305    
   3  Normalizat    1.1080        1.1501        .14281E-04   -.89495    
   4  Prefactor     .69454        1.0443       -.35793E-05   -1.0374    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.50828e-09
Minuit parameter uncertainties:
  1  4.42636e-06
  2  1.04051
  3  1.17775
  4  1.07618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 15050.2177378
delta logL = -1.19143805932e-09

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  0.000e+00  4.426e-06  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.119e+00  1.041e+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:  6.945e-01  1.076e+00  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.108e+00  1.178e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 235.755 61.503

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 /lscratch/kocevski/19661266/cmap_HighResolution_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.58e-08', time_completed='2023-07-18 01:50:09.095381', job_id='19661266', GAL2='0.69', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1689670209.1', return_code2='101', ts='0.00', return_code='0', GAL='0.69', dlogl='-1.19e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='780' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 18 01:50:09 PDT 2023

number of points = 17189
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1543.0+6130_weekly_bin780
RA = 235.755, Dec = 61.5033
tmin = 710726401, tmax = 711331201
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='19662615', job_status='RUN', time_executed='2023-07-18 01:40:27.343875', time_epoch_executed='1689669627.34' WHERE source_name='4FGL J1543.0+6130' and cadence='weekly' and bin_id='780'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/19662615

Creating custom pfile directory:
/lscratch/kocevski/19662615/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/19662615/ft1_4FGL_J1543.0+6130_weekly_bin780.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/19662615/ft2_4FGL_J1543.0+6130_weekly_bin780.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/19662615/ft1_4FGL_J1543.0+6130_weekly_bin780.fits outfile=/lscratch/kocevski/19662615/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin780.fits ra=235.755 dec=61.5033 rad=12.0 tmin=710726401.0 tmax=711331201.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.46
user 3.51
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19662615/ft2_4FGL_J1543.0+6130_weekly_bin780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/19662615/ft2_4FGL_J1543.0+6130_weekly_bin780.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/19662615/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19662615/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.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('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.12
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1390

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/19662615/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19662615/ft2_4FGL_J1543.0+6130_weekly_bin780.fits sctable="SC_DATA"number of points = 17189
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1543.0+6130_weekly_bin780
RA = 235.755, Dec = 61.5033
tmin = 710726401, tmax = 711331201
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='19662625', job_status='RUN', time_executed='2023-07-18 01:40:31.191649', time_epoch_executed='1689669631.19' WHERE source_name='4FGL J1543.0+6130' and cadence='weekly' and bin_id='780'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/19662625

Creating custom pfile directory:
/lscratch/kocevski/19662625/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/19662625/ft1_4FGL_J1543.0+6130_weekly_bin780.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/19662625/ft2_4FGL_J1543.0+6130_weekly_bin780.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/19662625/ft1_4FGL_J1543.0+6130_weekly_bin780.fits outfile=/lscratch/kocevski/19662625/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin780.fits ra=235.755 dec=61.5033 rad=12.0 tmin=710726401.0 tmax=711331201.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.41
user 3.50
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19662625/ft2_4FGL_J1543.0+6130_weekly_bin780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/19662625/ft2_4FGL_J1543.0+6130_weekly_bin780.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/19662625/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19662625/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.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('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.04
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1390

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/19662625/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19662625/ft2_4FGL_J1543.0+6130_weekly_bin780.fits sctable="SC_DATA" outfile=/lscratch/kocevski/19662615/ltcube_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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 /lscratch/kocevski/19662615/ft2_4FGL_J1543.0+6130_weekly_bin780.fits
.....................!
real 15.68
user 14.71
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/19662615/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19662615/ft2_4FGL_J1543.0+6130_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19662615/ltcube_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits outfile=/lscratch/kocevski/19662615/expmap_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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 /lscratch/kocevski/19662615/ltcube_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits
.....................!
real 60.01
user 55.80
sys 3.25

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=/lscratch/kocevski/19662615/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits scfile=/lscratch/kocevski/19662615/ft2_4FGL_J1543.0+6130_weekly_bin780.fits outfile=/lscratch/kocevski/19662615/cmap_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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 1.06
user 0.19
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/19662615/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits scfile=/lscratch/kocevski/19662615/ft2_4FGL_J1543.0+6130_weekly_bin780.fits outfile=/lscratch/kocevski/19662615/cmap_HighResolution_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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 1.08
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/19662615/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19662615/ft2_4FGL_J1543.0+6130_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19662615/Model_4FGL_J1543.0+6130_weekly_bin780.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 sourc outfile=/lscratch/kocevski/19662625/ltcube_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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 /lscratch/kocevski/19662625/ft2_4FGL_J1543.0+6130_weekly_bin780.fits
.....................!
real 15.51
user 14.60
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/19662625/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19662625/ft2_4FGL_J1543.0+6130_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19662625/ltcube_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits outfile=/lscratch/kocevski/19662625/expmap_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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 /lscratch/kocevski/19662625/ltcube_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits
.....................!
real 59.79
user 55.63
sys 3.20

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=/lscratch/kocevski/19662625/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits scfile=/lscratch/kocevski/19662625/ft2_4FGL_J1543.0+6130_weekly_bin780.fits outfile=/lscratch/kocevski/19662625/cmap_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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 1.06
user 0.23
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/19662625/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits scfile=/lscratch/kocevski/19662625/ft2_4FGL_J1543.0+6130_weekly_bin780.fits outfile=/lscratch/kocevski/19662625/cmap_HighResolution_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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.91
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/19662625/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19662625/ft2_4FGL_J1543.0+6130_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19662625/Model_4FGL_J1543.0+6130_weekly_bin780.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...
/lscratch/kocevski/19662615/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits.....................!
real 38.83
user 36.71
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/19662615/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits', '/lscratch/kocevski/19662615/ft2_4FGL_J1543.0+6130_weekly_bin780.fits', expMap='/lscratch/kocevski/19662615/expmap_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits', expCube='/lscratch/kocevski/19662615/ltcube_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19662615/Model_4FGL_J1543.0+6130_weekly_bin780.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): /lscratch/kocevski/19662615/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits
Spacecraft file(s): /lscratch/kocevski/19662615/ft2_4FGL_J1543.0+6130_weekly_bin780.fits
Exposure map: /lscratch/kocevski/19662615/expmap_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits
Exposure cube: /lscratch/kocevski/19662615/ltcube_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/19662615/Model_4FGL_J1543.0+6130_weekly_bin780.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) = 15051.0601386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23276E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.200       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27119E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .33901E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.9252       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12324E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    35.824       1.0000          .0000       .10000E+07
     8 'norm      '    .56288E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    18.064       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.9258       1.0000          .0000       .10000E+07
    11 'norm      '    .12079E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .13249E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19906E-03   1.0000          .0000       .10000E+07
    14 'norm      '    4.9332       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.7726       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.783       1.0000          .0000       .10000E+07
    17 'norm      '    9.2446       1.0000          .0000       .10000E+07
    18 'Prefactor '    .27828E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .22048       1.0000          .0000       .10000E+07
    20 'Prefactor '    .11381E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    19.741       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.3891       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1084       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .69444       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **e GAL_V02
Working on...
/lscratch/kocevski/19662625/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits.....................!
real 38.21
user 36.36
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/19662625/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits', '/lscratch/kocevski/19662625/ft2_4FGL_J1543.0+6130_weekly_bin780.fits', expMap='/lscratch/kocevski/19662625/expmap_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits', expCube='/lscratch/kocevski/19662625/ltcube_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19662625/Model_4FGL_J1543.0+6130_weekly_bin780.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): /lscratch/kocevski/19662625/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits
Spacecraft file(s): /lscratch/kocevski/19662625/ft2_4FGL_J1543.0+6130_weekly_bin780.fits
Exposure map: /lscratch/kocevski/19662625/expmap_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits
Exposure cube: /lscratch/kocevski/19662625/ltcube_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/19662625/Model_4FGL_J1543.0+6130_weekly_bin780.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) = 15051.0601386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23276E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.200       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27119E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .33901E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.9252       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12324E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    35.824       1.0000          .0000       .10000E+07
     8 'norm      '    .56288E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    18.064       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.9258       1.0000          .0000       .10000E+07
    11 'norm      '    .12079E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .13249E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19906E-03   1.0000          .0000       .10000E+07
    14 'norm      '    4.9332       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.7726       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.783       1.0000          .0000       .10000E+07
    17 'norm      '    9.2446       1.0000          .0000       .10000E+07
    18 'Prefactor '    .27828E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .22048       1.0000          .0000       .10000E+07
    20 'Prefactor '    .11381E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    19.741       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.3891       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1084       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .69444       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=   15050.22     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1594 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24980E-08    4.4590        .32482E-06** at limit **
   2  Prefactor     20.495        3.5305       -.40177E-07   -.17402E-01
   3  Prefactor     .59563E-07    7.5256       -.25664E-07** at limit **
   4  Prefactor     .42188E-08    6.1509        .51848E-06** at limit **
   5  Prefactor     3.9246        3.2642       -.12992E-06   -.19288E-02
   6  Prefactor     .38858E-09    3.2836       -.69434E-07** at limit **
   7  Prefactor     35.860        1.2164       -.62470E-08    .39164E-02
   8  norm           .0000        .42146       -.66571E-08** at limit **
   9  Prefactor     18.287        8.5811        .75358E-07   -.98477E-01
  10  Prefactor     7.9449        4.9072        .21958E-07   -.16128E-02
  11  norm          .49960E-09    3.8169        .67460E-07** at limit **
  12  Prefactor     .66058E-07    33.382        .34663E-06** at limit **
  13  Prefactor     .49072E-07    7.7871        .24427E-06** at limit **
  14  norm          4.9017        6.6248       -.37930E-06   -.17721E-02
  15  Prefactor     1.7743        1.7898       -.44921E-07   -.10998E-02
  16  Prefactor     14.867        3.8397       -.43774E-07   -.49398E-01
  17  norm          9.2453        4.9467       -.36257E-08    .38694E-03
  18  Prefactor     .29682E-06    9.2883       -.34177E-07** at limit **
  19  norm          .22061        .23013       -.50696E-08** at limit **
  20  Prefactor     .29193E-06    10.383        .31733E-06** at limit **
  21  Prefactor     19.679        7.5704       -.58535E-07   -.12417    
  22  Prefactor     3.3911        3.6792        .64011E-07    .44160E-03
  23  Normalizat    1.1080        .11024       -.19032E-05   -.21613E-03
  24  Prefactor     .69454        .11117        .65784E-06   -.14307E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.498e-09
  Prefactor  = 20.4952
  Prefactor  = 5.95635e-08
  Prefactor  = 4.21885e-09
  Prefactor  = 3.92464
  Prefactor  = 3.88578e-10
  Prefactor  = 35.8598
  norm       = 0
  Prefactor  = 18.2867
  Prefactor  = 7.94493
  norm       = 4.996e-10
  Prefactor  = 6.60583e-08
  Prefactor  = 4.90719e-08
  norm       = 4.90172
  Prefactor  = 1.77432
  Prefactor  = 14.867
  norm       = 9.24527
  Prefactor  = 2.96818e-07
  norm       = 0.220608
  Prefactor  = 2.91933e-07
  Prefactor  = 19.6793
  Prefactor  = 3.39112
  Normalizat = 1.108
  Prefactor  = 0.694542
********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15050.22     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1594 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24980E-08    4.4590        .32482E-06** at limit **
   2  Prefactor     20.495        3.5305       -.40177E-07   -.17402E-01
   3  Prefactor     .59563E-07    7.5256       -.25664E-07** at limit **
   4  Prefactor     .42188E-08    6.1509        .51848E-06** at limit **
   5  Prefactor     3.9246        3.2642       -.12992E-06   -.19288E-02
   6  Prefactor     .38858E-09    3.2836       -.69434E-07** at limit **
   7  Prefactor     35.860        1.2164       -.62470E-08    .39164E-02
   8  norm           .0000        .42146       -.66571E-08** at limit **
   9  Prefactor     18.287        8.5811        .75358E-07   -.98477E-01
  10  Prefactor     7.9449        4.9072        .21958E-07   -.16128E-02
  11  norm          .49960E-09    3.8169        .67460E-07** at limit **
  12  Prefactor     .66058E-07    33.382        .34663E-06** at limit **
  13  Prefactor     .49072E-07    7.7871        .24427E-06** at limit **
  14  norm          4.9017        6.6248       -.37930E-06   -.17721E-02
  15  Prefactor     1.7743        1.7898       -.44921E-07   -.10998E-02
  16  Prefactor     14.867        3.8397       -.43774E-07   -.49398E-01
  17  norm          9.2453        4.9467       -.36257E-08    .38694E-03
  18  Prefactor     .29682E-06    9.2883       -.34177E-07** at limit **
  19  norm          .22061        .23013       -.50696E-08** at limit **
  20  Prefactor     .29193E-06    10.383        .31733E-06** at limit **
  21  Prefactor     19.679        7.5704       -.58535E-07   -.12417    
  22  Prefactor     3.3911        3.6792        .64011E-07    .44160E-03
  23  Normalizat    1.1080        .11024       -.19032E-05   -.21613E-03
  24  Prefactor     .69454        .11117        .65784E-06   -.14307E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.498e-09
  Prefactor  = 20.4952
  Prefactor  = 5.95635e-08
  Prefactor  = 4.21885e-09
  Prefactor  = 3.92464
  Prefactor  = 3.88578e-10
  Prefactor  = 35.8598
  norm       = 0
  Prefactor  = 18.2867
  Prefactor  = 7.94493
  norm       = 4.996e-10
  Prefactor  = 6.60583e-08
  Prefactor  = 4.90719e-08
  norm       = 4.90172
  Prefactor  = 1.77432
  Prefactor  = 14.867
  norm       = 9.24527
  Prefactor  = 2.96818e-07
  norm       = 0.220608
  Prefactor  = 2.91933e-07
  Prefactor  = 19.6793
  Prefactor  = 3.39112
  Normalizat = 1.108
  Prefactor  = 0.694542
 **********
 **   18 **HESSE 
 **********

 FCN=   15050.22     FROM HESSE     STATUS=OK           455 CALLS     2049 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24980E-08    4.4744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.495        14.728        .22257E-03   -1.5617    
   3  Prefactor     .59563E-07    12.081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .42188E-08    6.1843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.9246        3.2638        .50896E-03   -1.5668    
   6  Prefactor     .38858E-09    3.2614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     35.860        15.606        .16709E-03   -1.5588    
   8  norm           .0000        .42244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.287        37.021        .23538E-03   -1.5622    
  10  Prefactor     7.9449        4.9120        .35592E-03   -1.5652    
  11  norm          .49960E-09    3.8090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .66058E-07    33.277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .49072E-07    11.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.9017        6.6364        .45259E-03   -1.5664    
  15  Prefactor     1.7743        1.7862        .78613E-03   -1.5681    
  16  Prefactor     14.867        13.363        .26024E-03   -1.5631    
  17  norm          9.2453        4.9967        .32938E-03   -1.5647    
  18  Prefactor     .29682E-06    14.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .22061        .28391        .11422E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .29193E-06    2.5123        .57938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.679        12.901        .22515E-03   -1.5619    
  22  Prefactor     3.3911        3.6915        .54935E-03   -1.5671    
  23  Normalizat    1.1080        .96100E-01    .37670E-01   -.89495    
  24  Prefactor     .69454        .96758E-01    .42327E-01   -1.0374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.36426e-07
Minuit parameter uncertainties:
  1  0.000210519
  2  14.7283
  3  0.00169654
  4  0.000323274
  5  3.26384
  6  6.98781e-05
  7  15.6058
  8  3.3793e-08
  9  37.021
  10  4.91205
  11  8.71205e-05
  12  0.00296478
  13  0.00151225
  14  6.63644
  15  1.78618
  16  13.3627
  17  4.99672
  18  0.0041042
  19  0.283911
  20  0.00171274
  21  12.9008
  22  3.69154
  23  0.0961147
  24  0.0967819
 **********
 **   18 **HESSE 
 **********

 FCN=   15050.22     FROM HESSE     STATUS=OK           455 CALLS     2049 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24980E-08    4.4744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.495        14.728        .22257E-03   -1.5617    
   3  Prefactor     .59563E-07    12.081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .42188E-08    6.1843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.9246        3.2638        .50896E-03   -1.5668    
   6  Prefactor     .38858E-09    3.2614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     35.860        15.606        .16709E-03   -1.5588    
   8  norm           .0000        .42244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.287        37.021        .23538E-03   -1.5622    
  10  Prefactor     7.9449        4.9120        .35592E-03   -1.5652    
  11  norm          .49960E-09    3.8090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .66058E-07    33.277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .49072E-07    11.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.9017        6.6364        .45259E-03   -1.5664    
  15  Prefactor     1.7743        1.7862        .78613E-03   -1.5681    
  16  Prefactor     14.867        13.363        .26024E-03   -1.5631    
  17  norm          9.2453        4.9967        .32938E-03   -1.5647    
  18  Prefactor     .29682E-06    14.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .22061        .28391        .11422E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .29193E-06    2.5123        .57938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.679        12.901        .22515E-03   -1.5619    
  22  Prefactor     3.3911        3.6915        .54935E-03   -1.5671    
  23  Normalizat    1.1080        .96100E-01    .37670E-01   -.89495    
  24  Prefactor     .69454        .96758E-01    .42327E-01   -1.0374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.36426e-07
Minuit parameter uncertainties:
  1  0.000210519
  2  14.7283
  3  0.00169654
  4  0.000323274
  5  3.26384
  6  6.98781e-05
  7  15.6058
  8  3.3793e-08
  9  37.021
  10  4.91205
  11  8.71205e-05
  12  0.00296478
  13  0.00151225
  14  6.63644
  15  1.78618
  16  13.3627
  17  4.99672
  18  0.0041042
  19  0.283911
  20  0.00171274
  21  12.9008
  22  3.69154
  23  0.0961147
  24  0.0967819
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  0.000e+00  3.379e-08  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:  6.945e-01  9.678e-02  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.108e+00  9.611e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 235.755 61.503
Photon Flux Upper Limit: 1.57738352841e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/19662615/likelihoodResults_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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) = 15050.2742802
delta logL = -0.0565423506232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15050.2177405
delta logL = -2.70171221928e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14594E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.9706       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1078       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69479       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15050.22     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      214 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .43705        .42118E-03** at limit **
   2  alpha         2.1189        1.0100       -.85348E-04     .0000    
   3  Normalizat    1.1080        1.1501        .14281E-04   -.96216E-03
   4  Prefactor     .69454        1.0443       -.35793E-05   -.17361E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.11886
  Normalizat = 1.10801
  Prefactor  = 0.694537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15050.22     FROM HESSE     STATUS=FAILED         9 CALLS      223 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .43705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .96118        1.1910       -.85348E-04   -.15305    
   3  Normalizat    1.1080        1.1501        .14281E-04   -.89495    
   4  Prefactor     .69454        1.0443       -.35793E-05   -1.0374    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.50828e-09
Minuit parameter uncertainties:
  1  4.42636e-06
  2  1.04051
  3  1.17775
  4  1.07618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 15050.2177378
delta logL = -1.19143805932e-09

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  0.000e+00  4.426e-06  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.119e+00  1.041e+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:  6.945e-01  1.076e+00  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.108e+00  1.178e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 235.755 61.503

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 /lscratch/kocevski/19662615/cmap_HighResolution_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.58e-08', time_completed='2023-07-18 01:58:20.670074', job_id='19662615', GAL2='0.69', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1689670700.67', return_code2='101', ts='0.00', return_code='0', GAL='0.69', dlogl='-1.19e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='780' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 18 01:58:21 PDT 2023

Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  0.000e+00  3.379e-08  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:  6.945e-01  9.678e-02  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.108e+00  9.611e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 235.755 61.503
Photon Flux Upper Limit: 1.57738352841e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/19662625/likelihoodResults_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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) = 15050.2742802
delta logL = -0.0565423506232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15050.2177405
delta logL = -2.70171221928e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14594E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.9706       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1078       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69479       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15050.22     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      214 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .43705        .42118E-03** at limit **
   2  alpha         2.1189        1.0100       -.85348E-04     .0000    
   3  Normalizat    1.1080        1.1501        .14281E-04   -.96216E-03
   4  Prefactor     .69454        1.0443       -.35793E-05   -.17361E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.11886
  Normalizat = 1.10801
  Prefactor  = 0.694537
number of points = 17189
number of fields = 31
RA_SUN column already exists. File will not be modified.
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15050.22     FROM HESSE     STATUS=FAILED         9 CALLS      223 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .43705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .96118        1.1910       -.85348E-04   -.15305    
   3  Normalizat    1.1080        1.1501        .14281E-04   -.89495    
   4  Prefactor     .69454        1.0443       -.35793E-05   -1.0374    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.50828e-09
Minuit parameter uncertainties:
  1  4.42636e-06
  2  1.04051
  3  1.17775
  4  1.07618
Done.


Performing analysis on: 4FGL_J1543.0+6130_weekly_bin780
RA = 235.755, Dec = 61.5033
tmin = 710726401, tmax = 711331201
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='19664122', job_status='RUN', time_executed='2023-07-18 01:48:33.289460', time_epoch_executed='1689670113.29' WHERE source_name='4FGL J1543.0+6130' and cadence='weekly' and bin_id='780'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/19664122

Creating custom pfile directory:
/lscratch/kocevski/19664122/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/19664122/ft1_4FGL_J1543.0+6130_weekly_bin780.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/19664122/ft2_4FGL_J1543.0+6130_weekly_bin780.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/19664122/ft1_4FGL_J1543.0+6130_weekly_bin780.fits outfile=/lscratch/kocevski/19664122/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin780.fits ra=235.755 dec=61.5033 rad=12.0 tmin=710726401.0 tmax=711331201.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.93
user 3.89
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19664122/ft2_4FGL_J1543.0+6130_weekly_bin780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/19664122/ft2_4FGL_J1543.0+6130_weekly_bin780.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/19664122/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19664122/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.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('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.05
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1390

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/19664122/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19664122/ft2_4FGL_J1543.0+6130_weekly_bin780.fits sctable="SC_DATA"shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 15050.2177378
delta logL = -1.19143805932e-09

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  0.000e+00  4.426e-06  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.119e+00  1.041e+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:  6.945e-01  1.076e+00  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.108e+00  1.178e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 235.755 61.503

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 /lscratch/kocevski/19662625/cmap_HighResolution_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.58e-08', time_completed='2023-07-18 01:58:37.995768', job_id='19662625', GAL2='0.69', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1689670718.0', return_code2='101', ts='0.00', return_code='0', GAL='0.69', dlogl='-1.19e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='780' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 18 01:58:39 PDT 2023

 outfile=/lscratch/kocevski/19664122/ltcube_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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 /lscratch/kocevski/19664122/ft2_4FGL_J1543.0+6130_weekly_bin780.fits
.....................!
real 17.35
user 16.41
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/19664122/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19664122/ft2_4FGL_J1543.0+6130_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19664122/ltcube_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits outfile=/lscratch/kocevski/19664122/expmap_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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 /lscratch/kocevski/19664122/ltcube_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits
.....................!
real 65.21
user 60.38
sys 3.73

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=/lscratch/kocevski/19664122/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits scfile=/lscratch/kocevski/19664122/ft2_4FGL_J1543.0+6130_weekly_bin780.fits outfile=/lscratch/kocevski/19664122/cmap_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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 1.00
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/19664122/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits scfile=/lscratch/kocevski/19664122/ft2_4FGL_J1543.0+6130_weekly_bin780.fits outfile=/lscratch/kocevski/19664122/cmap_HighResolution_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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.96
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/19664122/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19664122/ft2_4FGL_J1543.0+6130_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19664122/Model_4FGL_J1543.0+6130_weekly_bin780.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...
/lscratch/kocevski/19664122/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits.....................!
real 41.67
user 39.85
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/19664122/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits', '/lscratch/kocevski/19664122/ft2_4FGL_J1543.0+6130_weekly_bin780.fits', expMap='/lscratch/kocevski/19664122/expmap_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits', expCube='/lscratch/kocevski/19664122/ltcube_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19664122/Model_4FGL_J1543.0+6130_weekly_bin780.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): /lscratch/kocevski/19664122/ft1_filtered_4FGL_J1543.0+6130_weekly_bin780.fits
Spacecraft file(s): /lscratch/kocevski/19664122/ft2_4FGL_J1543.0+6130_weekly_bin780.fits
Exposure map: /lscratch/kocevski/19664122/expmap_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits
Exposure cube: /lscratch/kocevski/19664122/ltcube_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/19664122/Model_4FGL_J1543.0+6130_weekly_bin780.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) = 15051.0601386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23276E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.200       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27119E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .33901E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.9252       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12324E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    35.824       1.0000          .0000       .10000E+07
     8 'norm      '    .56288E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    18.064       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.9258       1.0000          .0000       .10000E+07
    11 'norm      '    .12079E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .13249E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19906E-03   1.0000          .0000       .10000E+07
    14 'norm      '    4.9332       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.7726       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.783       1.0000          .0000       .10000E+07
    17 'norm      '    9.2446       1.0000          .0000       .10000E+07
    18 'Prefactor '    .27828E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .22048       1.0000          .0000       .10000E+07
    20 'Prefactor '    .11381E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    19.741       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.3891       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1084       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .69444       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=   15050.22     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1594 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24980E-08    4.4590        .32482E-06** at limit **
   2  Prefactor     20.495        3.5305       -.40177E-07   -.17402E-01
   3  Prefactor     .59563E-07    7.5256       -.25664E-07** at limit **
   4  Prefactor     .42188E-08    6.1509        .51848E-06** at limit **
   5  Prefactor     3.9246        3.2642       -.12992E-06   -.19288E-02
   6  Prefactor     .38858E-09    3.2836       -.69434E-07** at limit **
   7  Prefactor     35.860        1.2164       -.62470E-08    .39164E-02
   8  norm           .0000        .42146       -.66571E-08** at limit **
   9  Prefactor     18.287        8.5811        .75358E-07   -.98477E-01
  10  Prefactor     7.9449        4.9072        .21958E-07   -.16128E-02
  11  norm          .49960E-09    3.8169        .67460E-07** at limit **
  12  Prefactor     .66058E-07    33.382        .34663E-06** at limit **
  13  Prefactor     .49072E-07    7.7871        .24427E-06** at limit **
  14  norm          4.9017        6.6248       -.37930E-06   -.17721E-02
  15  Prefactor     1.7743        1.7898       -.44921E-07   -.10998E-02
  16  Prefactor     14.867        3.8397       -.43774E-07   -.49398E-01
  17  norm          9.2453        4.9467       -.36257E-08    .38694E-03
  18  Prefactor     .29682E-06    9.2883       -.34177E-07** at limit **
  19  norm          .22061        .23013       -.50696E-08** at limit **
  20  Prefactor     .29193E-06    10.383        .31733E-06** at limit **
  21  Prefactor     19.679        7.5704       -.58535E-07   -.12417    
  22  Prefactor     3.3911        3.6792        .64011E-07    .44160E-03
  23  Normalizat    1.1080        .11024       -.19032E-05   -.21613E-03
  24  Prefactor     .69454        .11117        .65784E-06   -.14307E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.498e-09
  Prefactor  = 20.4952
  Prefactor  = 5.95635e-08
  Prefactor  = 4.21885e-09
  Prefactor  = 3.92464
  Prefactor  = 3.88578e-10
  Prefactor  = 35.8598
  norm       = 0
  Prefactor  = 18.2867
  Prefactor  = 7.94493
  norm       = 4.996e-10
  Prefactor  = 6.60583e-08
  Prefactor  = 4.90719e-08
  norm       = 4.90172
  Prefactor  = 1.77432
  Prefactor  = 14.867
  norm       = 9.24527
  Prefactor  = 2.96818e-07
  norm       = 0.220608
  Prefactor  = 2.91933e-07
  Prefactor  = 19.6793
  Prefactor  = 3.39112
  Normalizat = 1.108
  Prefactor  = 0.694542
 **********
 **   18 **HESSE 
 **********

 FCN=   15050.22     FROM HESSE     STATUS=OK           455 CALLS     2049 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24980E-08    4.4744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.495        14.728        .22257E-03   -1.5617    
   3  Prefactor     .59563E-07    12.081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .42188E-08    6.1843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.9246        3.2638        .50896E-03   -1.5668    
   6  Prefactor     .38858E-09    3.2614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     35.860        15.606        .16709E-03   -1.5588    
   8  norm           .0000        .42244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.287        37.021        .23538E-03   -1.5622    
  10  Prefactor     7.9449        4.9120        .35592E-03   -1.5652    
  11  norm          .49960E-09    3.8090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .66058E-07    33.277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .49072E-07    11.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.9017        6.6364        .45259E-03   -1.5664    
  15  Prefactor     1.7743        1.7862        .78613E-03   -1.5681    
  16  Prefactor     14.867        13.363        .26024E-03   -1.5631    
  17  norm          9.2453        4.9967        .32938E-03   -1.5647    
  18  Prefactor     .29682E-06    14.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .22061        .28391        .11422E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .29193E-06    2.5123        .57938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.679        12.901        .22515E-03   -1.5619    
  22  Prefactor     3.3911        3.6915        .54935E-03   -1.5671    
  23  Normalizat    1.1080        .96100E-01    .37670E-01   -.89495    
  24  Prefactor     .69454        .96758E-01    .42327E-01   -1.0374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.36426e-07
Minuit parameter uncertainties:
  1  0.000210519
  2  14.7283
  3  0.00169654
  4  0.000323274
  5  3.26384
  6  6.98781e-05
  7  15.6058
  8  3.3793e-08
  9  37.021
  10  4.91205
  11  8.71205e-05
  12  0.00296478
  13  0.00151225
  14  6.63644
  15  1.78618
  16  13.3627
  17  4.99672
  18  0.0041042
  19  0.283911
  20  0.00171274
  21  12.9008
  22  3.69154
  23  0.0961147
  24  0.0967819
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  0.000e+00  3.379e-08  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:  6.945e-01  9.678e-02  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.108e+00  9.611e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 235.755 61.503
Photon Flux Upper Limit: 1.57738352841e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/19664122/likelihoodResults_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.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) = 15050.2742802
delta logL = -0.0565423506232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15050.2177405
delta logL = -2.70171221928e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14594E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.9706       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1078       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69479       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15050.22     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      214 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .43705        .42118E-03** at limit **
   2  alpha         2.1189        1.0100       -.85348E-04     .0000    
   3  Normalizat    1.1080        1.1501        .14281E-04   -.96216E-03
   4  Prefactor     .69454        1.0443       -.35793E-05   -.17361E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.11886
  Normalizat = 1.10801
  Prefactor  = 0.694537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15050.22     FROM HESSE     STATUS=FAILED         9 CALLS      223 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .43705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .96118        1.1910       -.85348E-04   -.15305    
   3  Normalizat    1.1080        1.1501        .14281E-04   -.89495    
   4  Prefactor     .69454        1.0443       -.35793E-05   -1.0374    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.50828e-09
Minuit parameter uncertainties:
  1  4.42636e-06
  2  1.04051
  3  1.17775
  4  1.07618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 15050.2177378
delta logL = -1.19143805932e-09

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  0.000e+00  4.426e-06  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.119e+00  1.041e+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:  6.945e-01  1.076e+00  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.108e+00  1.178e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 235.755 61.503

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 /lscratch/kocevski/19664122/cmap_HighResolution_710726401_711331201_4FGL_J1543.0+6130_weekly_bin780.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.58e-08', time_completed='2023-07-18 02:06:40.908707', job_id='19664122', GAL2='0.69', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1689671200.91', return_code2='101', ts='0.00', return_code='0', GAL='0.69', dlogl='-1.19e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='780' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 18 02:06:41 PDT 2023

