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

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


Performing analysis on: 4FGL_J1543.0+6130_weekly_bin853
RA = 235.755, Dec = 61.5033
tmin = 754876801, tmax = 755481601
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='59978154', job_status='RUN', time_executed='2024-12-10 00:51:26.439805', time_epoch_executed='1733820686.44' WHERE source_name='4FGL J1543.0+6130' and cadence='weekly' and bin_id='853'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/59978154

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/59978154/ft1_4FGL_J1543.0+6130_weekly_bin853.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/59978154/ft2_4FGL_J1543.0+6130_weekly_bin853.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/59978154/ft1_4FGL_J1543.0+6130_weekly_bin853.fits outfile=/lscratch/kocevski/59978154/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin853.fits ra=235.755 dec=61.5033 rad=12.0 tmin=754876801.0 tmax=755481601.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.68
user 3.25
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/59978154/ft2_4FGL_J1543.0+6130_weekly_bin853.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/59978154/ft1_filteredMKT_4FGL_J1543.0+6130_weekly_bin853.fits evtable="EVENTS" outfile="/lscratch/kocevski/59978154/ft1_filtered_4FGL_J1543.0+6130_weekly_bin853.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 0.64
user 0.25
sys 0.14

Number of photons that the gtmktime cut: 2441

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/59978154/ft1_filtered_4FGL_J1543.0+6130_weekly_bin853.fits" evtable="EVENTS" scfile=/lscratch/kocevski/59978154/ft2_4FGL_J1543.0+6130_weekly_bin853.fits sctable="SC_DATA" outfile=/lscratch/kocevski/59978154/ltcube_754876801_755481601_4FGL_J1543.0+6130_weekly_bin853.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/59978154/ft2_4FGL_J1543.0+6130_weekly_bin853.fits
.....................!
real 20.57
user 19.97
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/59978154/ft1_filtered_4FGL_J1543.0+6130_weekly_bin853.fits evtable="EVENTS" scfile=/lscratch/kocevski/59978154/ft2_4FGL_J1543.0+6130_weekly_bin853.fits sctable="SC_DATA" expcube=/lscratch/kocevski/59978154/ltcube_754876801_755481601_4FGL_J1543.0+6130_weekly_bin853.fits outfile=/lscratch/kocevski/59978154/expmap_754876801_755481601_4FGL_J1543.0+6130_weekly_bin853.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/59978154/ltcube_754876801_755481601_4FGL_J1543.0+6130_weekly_bin853.fits
.....................!
real 72.77
user 67.97
sys 4.22

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/59978154/ft1_filtered_4FGL_J1543.0+6130_weekly_bin853.fits scfile=/lscratch/kocevski/59978154/ft2_4FGL_J1543.0+6130_weekly_bin853.fits outfile=/lscratch/kocevski/59978154/cmap_754876801_755481601_4FGL_J1543.0+6130_weekly_bin853.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.47
user 0.25
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/59978154/ft1_filtered_4FGL_J1543.0+6130_weekly_bin853.fits scfile=/lscratch/kocevski/59978154/ft2_4FGL_J1543.0+6130_weekly_bin853.fits outfile=/lscratch/kocevski/59978154/cmap_HighResolution_754876801_755481601_4FGL_J1543.0+6130_weekly_bin853.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.46
user 0.26
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46702E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .39471E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .16738E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.987       1.0000          .0000       .10000E+07
     5 'Prefactor '    .86890E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .28471E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.390       1.0000          .0000       .10000E+07
     8 'norm      '    2.1456       1.0000          .0000       .10000E+07
     9 'Prefactor '    35.962       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19839E-03   1.0000          .0000       .10000E+07
    11 'norm      '    39.247       1.0000          .0000       .10000E+07
    12 'Prefactor '    25.792       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20980E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .79333E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.6351       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15349E-01   1.0000          .0000       .10000E+07
    17 'norm      '    12.322       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.7435       1.0000          .0000       .10000E+07
    19 'norm      '    .57782       1.0000          .0000       .10000E+07
    20 'Prefactor '    1.9078       1.0000          .0000       .10000E+07
    21 'Prefactor '    29.414       1.0000          .0000       .10000E+07
    22 'Prefactor '    4.4861       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0148       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95054       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=   26196.96     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1597 TOTAL
                     EDM=   .86E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11657E-08    9.9809        .13945E-07** at limit **
   2  Prefactor     .11102E-09    17.950       -.19543E-06** at limit **
   3  Prefactor      .0000        1.7128        .24307E-07** at limit **
   4  Prefactor     12.067        7.4768        .85239E-07    .33836E-01
   5  Prefactor     .45519E-08    17.421       -.40281E-07** at limit **
   6  Prefactor      .0000        .78595        .46362E-07** at limit **
   7  Prefactor     19.509        11.146        .11305E-06   -.12044E-01
   8  norm          2.1578        1.1979       -.18830E-08   -.68140E-05
   9  Prefactor     33.999        32.373        .12934E-06   -.96687E-04
  10  Prefactor      .0000        2.4049       -.59175E-07** at limit **
  11  norm          39.289        5.2823        .77606E-08    .23738E-02
  12  Prefactor     25.774        1.9135        .15278E-08   -.22060E-01
  13  Prefactor      .0000        .72030       -.52881E-07** at limit **
  14  norm           .0000        2.6311       -.46472E-07** at limit **
  15  Prefactor     6.6092        3.2172       -.23535E-08    .12814E-03
  16  Prefactor     .40667E-06    2.8467       -.29860E-07** at limit **
  17  norm          12.342        3.6380        .14994E-07    .55453E-04
  18  Prefactor     2.7397        6.7167        .34103E-07    .11477E-03
  19  norm          .57505        .36680        .40759E-08   -.20646E-03
  20  Prefactor     1.8967        2.9221       -.11374E-08    .18459E-03
  21  Prefactor     29.666        11.076        .51501E-07   -.32407E-01
  22  Prefactor     4.4830        3.2796        .14420E-08    .24363E-04
  23  Normalizat    1.0153        .97720E-01    .60070E-06   -.46534E-05
  24  Prefactor     .95034        .99415E-01   -.75379E-06    .45216E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.16573e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 12.0673
  Prefactor  = 4.55191e-09
  Prefactor  = 0
  Prefactor  = 19.5088
  norm       = 2.15779
  Prefactor  = 33.9986
  Prefactor  = 0
  norm       = 39.2887
  Prefactor  = 25.7739
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.60921
  Prefactor  = 4.06675e-07
  norm       = 12.3417
  Prefactor  = 2.73967
  norm       = 0.575047
  Prefactor  = 1.89674
  Prefactor  = 29.6657
  Prefactor  = 4.48295
  Normalizat = 1.0153
  Prefactor  = 0.950336
 **********
 **   18 **HESSE 
 **********

 FCN=   26196.96     FROM HESSE     STATUS=OK           453 CALLS     2050 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11657E-08    10.022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11102E-09    17.967        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.7145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.067        12.306        .28908E-03   -1.5638    
   5  Prefactor     .45519E-08    16.972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .78565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.509        11.368        .22717E-03   -1.5620    
   8  norm          2.1578        1.2063        .70325E-03   -1.5679    
   9  Prefactor     33.999        32.481        .16677E-03   -1.5591    
  10  Prefactor      .0000        2.3916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          39.289        5.3840        .15964E-03   -1.5583    
  12  Prefactor     25.774        15.252        .19694E-03   -1.5606    
  13  Prefactor      .0000        .72084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        2.6307        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.6092        3.2229        .38933E-03   -1.5657    
  16  Prefactor     .40667E-06    4.6624        .17364E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.342        3.6425        .28512E-03   -1.5638    
  18  Prefactor     2.7397        6.7464        .61439E-03   -1.5675    
  19  norm          .57505        .39663        .71238E-03   -1.5693    
  20  Prefactor     1.8967        2.9748        .75245E-03   -1.5680    
  21  Prefactor     29.666        13.538        .18441E-03   -1.5599    
  22  Prefactor     4.4830        3.2929        .47513E-03   -1.5666    
  23  Normalizat    1.0153        .83390E-01    .44248E-01   -.92520    
  24  Prefactor     .95034        .85003E-01    .45646E-01   -.94404    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.4067e-08
Minuit parameter uncertainties:
  1  0.000217779
  2  7.88669e-05
  3  6.78481e-07
  4  12.3056
  5  0.000556951
  6  3.65134e-07
  7  11.3677
  8  1.20634
  9  32.4809
  10  1.27712e-06
  11  5.38405
  12  15.2515
  13  3.93829e-07
  14  2.28937e-06
  15  3.22287
  16  0.00275387
  17  3.64251
  18  6.74646
  19  0.396629
  20  2.97475
  21  13.5384
  22  3.29289
  23  0.0834004
  24  0.0850148
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  2.158e+00  1.206e+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.503e-01  8.501e-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.015e+00  8.340e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.98
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.63e-08 +/- 9.14e-09
Energy Flux (Fixed Index): 1.25e-05 +/- 6.97e-06

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) = 26196.8359571
delta logL = 0.124282274101

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26196.8299788
delta logL = 0.130260509977

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1582       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1154       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0093       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95327       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26196.83     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      241 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1571        1.1694        .59599E-04   -.16678E-01
   2  alpha         2.1155        .42958        .18289E-01    .10336E-03
   3  Normalizat    1.0093        .96267E-01    .23765E-03    .80943E-04
   4  Prefactor     .95327        .98315E-01    .24967E-03   -.21001E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.15706
  alpha      = 2.11546
  Normalizat = 1.00933
  Prefactor  = 0.953275
 **********
 **   18 **HESSE 
 **********

 FCN=   26196.83     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1571        1.1472        .23840E-05   -1.5679    
   2  alpha         2.1155        .42135        .73157E-03   -.15443    
   3  Normalizat    1.0093        .96326E-01    .95058E-05   -.92718    
   4  Prefactor     .95327        .98387E-01    .99867E-05   -.94304    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.82536e-10
Minuit parameter uncertainties:
  1  1.14718
  2  0.423425
  3  0.0963425
  4  0.0984056
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) = 26196.8299784
delta logL = 0.130260969676

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  2.157e+00  1.147e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.115e+00  4.234e-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:  9.533e-01  9.841e-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.009e+00  9.634e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.24
Ra Dec: 235.755 61.503
Photon Index (Free Index): 2.12 +/- 0.42
Photon Flux (Free Index): 2.14e-08 +/- 1.47e-08
Energy Flux (Free Index): 1.07e-05 +/- 6.28e-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 /lscratch/kocevski/59978154/cmap_HighResolution_754876801_755481601_4FGL_J1543.0+6130_weekly_bin853.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.63e-08', energy_flux2='1.07e-05', photon_flux_error='9.14e-09', dlogl='1.30e-01', energy_flux='1.25e-05', photon_flux2='2.14e-08', job_status='DONE', time_completed='2024-12-10 01:03:45.342462', photon_index_error2='0.42', photon_index2='2.12', ts='5.98', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='6.28e-06', EG='1.02', time_epoch_completed='1733821425.34', return_code='0', job_id='59978154', GAL2='0.95', EG2='1.01', return_code2='0', energy_flux_error='6.97e-06', photon_flux_error2='1.47e-08', ts2='6.24', photon_index='1.90' WHERE bin_id='853' AND source_name='4FGL J1543.0+6130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 10 01:03:45 PST 2024

