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


Performing analysis on: 4FGL_J0734.0+5021_weekly_bin906
RA = 113.524, Dec = 50.3572
tmin = 786931201, tmax = 787536001
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='17373989', job_status='RUN', time_executed='2025-12-16 01:37:07.723232', time_epoch_executed='1765877827.72' WHERE source_name='4FGL J0734.0+5021' and cadence='weekly' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17373989

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17373989/ft1_4FGL_J0734.0+5021_weekly_bin906.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17373989/ft2_4FGL_J0734.0+5021_weekly_bin906.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17373989/ft1_4FGL_J0734.0+5021_weekly_bin906.fits outfile=/lscratch/kocevski/17373989/ft1_filteredMKT_4FGL_J0734.0+5021_weekly_bin906.fits ra=113.524 dec=50.3572 rad=12.0 tmin=786931201.0 tmax=787536001.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 6.15
user 5.29
sys 0.30

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17373989/ft2_4FGL_J0734.0+5021_weekly_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17373989/ft2_4FGL_J0734.0+5021_weekly_bin906.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/17373989/ft1_filteredMKT_4FGL_J0734.0+5021_weekly_bin906.fits evtable="EVENTS" outfile="/lscratch/kocevski/17373989/ft1_filtered_4FGL_J0734.0+5021_weekly_bin906.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.96
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 2114

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17373989/ft1_filtered_4FGL_J0734.0+5021_weekly_bin906.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17373989/ft2_4FGL_J0734.0+5021_weekly_bin906.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17373989/ltcube_786931201_787536001_4FGL_J0734.0+5021_weekly_bin906.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/17373989/ft2_4FGL_J0734.0+5021_weekly_bin906.fits
.....................!
real 18.97
user 18.05
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17373989/ft1_filtered_4FGL_J0734.0+5021_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17373989/ft2_4FGL_J0734.0+5021_weekly_bin906.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17373989/ltcube_786931201_787536001_4FGL_J0734.0+5021_weekly_bin906.fits outfile=/lscratch/kocevski/17373989/expmap_786931201_787536001_4FGL_J0734.0+5021_weekly_bin906.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/17373989/ltcube_786931201_787536001_4FGL_J0734.0+5021_weekly_bin906.fits
.....................!
real 69.10
user 64.02
sys 4.06

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

Setting source of interest to:
4FGL J0734.0+5021 @ 113.524 50.3572

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17373989/ft1_filtered_4FGL_J0734.0+5021_weekly_bin906.fits scfile=/lscratch/kocevski/17373989/ft2_4FGL_J0734.0+5021_weekly_bin906.fits outfile=/lscratch/kocevski/17373989/cmap_786931201_787536001_4FGL_J0734.0+5021_weekly_bin906.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=113.524 yref=50.3572 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.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17373989/ft1_filtered_4FGL_J0734.0+5021_weekly_bin906.fits scfile=/lscratch/kocevski/17373989/ft2_4FGL_J0734.0+5021_weekly_bin906.fits outfile=/lscratch/kocevski/17373989/cmap_HighResolution_786931201_787536001_4FGL_J0734.0+5021_weekly_bin906.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=113.524 yref=50.3572 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.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17373989/ft1_filtered_4FGL_J0734.0+5021_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17373989/ft2_4FGL_J0734.0+5021_weekly_bin906.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17373989/Model_4FGL_J0734.0+5021_weekly_bin906.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/17373989/ft1_filtered_4FGL_J0734.0+5021_weekly_bin906.fits.....................!
real 79.20
user 77.23
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17373989/ft1_filtered_4FGL_J0734.0+5021_weekly_bin906.fits', '/lscratch/kocevski/17373989/ft2_4FGL_J0734.0+5021_weekly_bin906.fits', expMap='/lscratch/kocevski/17373989/expmap_786931201_787536001_4FGL_J0734.0+5021_weekly_bin906.fits', expCube='/lscratch/kocevski/17373989/ltcube_786931201_787536001_4FGL_J0734.0+5021_weekly_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17373989/Model_4FGL_J0734.0+5021_weekly_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0734.0+5021'

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  9.135e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17373989/ft1_filtered_4FGL_J0734.0+5021_weekly_bin906.fits
Spacecraft file(s): /lscratch/kocevski/17373989/ft2_4FGL_J0734.0+5021_weekly_bin906.fits
Exposure map: /lscratch/kocevski/17373989/expmap_786931201_787536001_4FGL_J0734.0+5021_weekly_bin906.fits
Exposure cube: /lscratch/kocevski/17373989/ltcube_786931201_787536001_4FGL_J0734.0+5021_weekly_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17373989/Model_4FGL_J0734.0+5021_weekly_bin906.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) = 22443.7645756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2206       1.0000          .0000       .10000E+07
     2 'norm      '    2.8116       1.0000          .0000       .10000E+07
     3 'norm      '    .32483E-01   1.0000          .0000       .10000E+07
     4 'norm      '    1.2172       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.7429       1.0000          .0000       .10000E+07
     6 'Prefactor '    .32415E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5249       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.3722       1.0000          .0000       .10000E+07
     9 'norm      '    6.6532       1.0000          .0000       .10000E+07
    10 'Prefactor '    27.917       1.0000          .0000       .10000E+07
    11 'Prefactor '    32.143       1.0000          .0000       .10000E+07
    12 'norm      '    5.8356       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.1460       1.0000          .0000       .10000E+07
    14 'Prefactor '    .77059E-04   1.0000          .0000       .10000E+07
    15 'norm      '    1.3204       1.0000          .0000       .10000E+07
    16 'Prefactor '    .10779E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .14946E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    17.257       1.0000          .0000       .10000E+07
    19 'norm      '    1.3091       1.0000          .0000       .10000E+07
    20 'norm      '    1.7435       1.0000          .0000       .10000E+07
    21 'Prefactor '    .25750       1.0000          .0000       .10000E+07
    22 'norm      '    1.0218       1.0000          .0000       .10000E+07
    23 'Prefactor '    14.997       1.0000          .0000       .10000E+07
    24 'Prefactor '    5.4860       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1114       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97126       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22443.65     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1761 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2166        3.8250       -.23290E-06    .28522E-01
   2  norm          2.8120        1.7700        .33133E-07    .13005E-02
   3  norm          .30545E-01    9.2396        .26981E-07** at limit **
   4  norm          1.2148        2.5500       -.16339E-06   -.15168E-02
   5  Prefactor     8.7320        4.3927       -.10584E-07   -.62519E-01
   6  Prefactor      .0000        2.6795        .11766E-06** at limit **
   7  Prefactor     5.5686        7.6680        .35177E-06    .22219E-01
   8  Prefactor     1.4953        4.4836       -.29056E-06   -.27090E-01
   9  norm          6.6713        3.8714       -.24256E-07   -.19363E-02
  10  Prefactor     27.693        5.6288        .12295E-06   -.12787    
  11  Prefactor     32.160        1.0152       -.26238E-08    .18069E-01
  12  norm          5.8376        .82454       -.38001E-07   -.54314E-02
  13  Prefactor     2.1354        3.6953       -.27515E-06   -.64526E-02
  14  Prefactor     .49960E-09    6.0778        .60756E-07** at limit **
  15  norm          1.3193        1.0386        .18410E-06    .57367E-02
  16  Prefactor     .55511E-10    1.3985       -.93257E-07** at limit **
  17  Prefactor     .17764E-08    13.378        .45947E-07** at limit **
  18  Prefactor     17.250        4.6240       -.50282E-07   -.61790E-02
  19  norm          1.3099        1.2242       -.39431E-07   -.66945E-03
  20  norm          1.7433        .82467       -.84146E-10    .15927E-02
  21  Prefactor     .21911        2.7721        .14078E-06** at limit **
  22  norm          1.0223        .36641       -.11371E-07    .44347E-03
  23  Prefactor     15.016        4.1190       -.20126E-07   -.86283E-02
  24  Prefactor     5.5198        3.5979       -.14293E-06   -.35191E-02
  25  Normalizat    1.1116        .13565        .28095E-05    .66375E-04
  26  Prefactor     .97111        .80511E-01   -.13516E-05    .65168E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.21655
  norm       = 2.81201
  norm       = 0.0305446
  norm       = 1.21476
  Prefactor  = 8.73202
  Prefactor  = 0
  Prefactor  = 5.56856
  Prefactor  = 1.49526
  norm       = 6.67135
  Prefactor  = 27.6929
  Prefactor  = 32.1602
  norm       = 5.83755
  Prefactor  = 2.13542
  Prefactor  = 4.996e-10
  norm       = 1.31927
  Prefactor  = 5.55112e-11
  Prefactor  = 1.77636e-09
  Prefactor  = 17.2504
  norm       = 1.30994
  norm       = 1.74327
  Prefactor  = 0.219109
  norm       = 1.02228
  Prefactor  = 15.0156
  Prefactor  = 5.51982
  Normalizat = 1.11158
  Prefactor  = 0.971115
 **********
 **   18 **HESSE 
 **********

 FCN=   22443.65     FROM HESSE     STATUS=OK           534 CALLS     2295 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2166        26.122        .56425E-03   -1.5672    
   2  norm          2.8120        1.7758        .60638E-03   -1.5674    
   3  norm          .30545E-01    .57010        .76541E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.2148        2.6298        .10230E-02   -1.5686    
   5  Prefactor     8.7320        6.1818        .33876E-03   -1.5649    
   6  Prefactor      .0000        2.6597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.5686        10.044        .42721E-03   -1.5661    
   8  Prefactor     1.4953        11.345        .93012E-03   -1.5684    
   9  norm          6.6713        3.8780        .38880E-03   -1.5656    
  10  Prefactor     27.693        15.012        .18930E-03   -1.5603    
  11  Prefactor     32.160        18.487        .17641E-03   -1.5595    
  12  norm          5.8376        .83126        .41550E-03   -1.5660    
  13  Prefactor     2.1354        3.7464        .70319E-03   -1.5679    
  14  Prefactor     .49960E-09    6.0675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.3193        1.0345        .95726E-03   -1.5685    
  16  Prefactor     .55511E-10    1.3976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .17764E-08    13.360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.250        4.6418        .24082E-03   -1.5625    
  19  norm          1.3099        1.2292        .96363E-03   -1.5685    
  20  norm          1.7433        .82215        .79409E-03   -1.5682    
  21  Prefactor     .21911        2.0548        .81862E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.0223        .37066        .11770E-02   -1.5688    
  23  Prefactor     15.016        4.1981        .25837E-03   -1.5630    
  24  Prefactor     5.5198        3.5997        .42875E-03   -1.5661    
  25  Normalizat    1.1116        .12065        .72301E-01   -.89381    
  26  Prefactor     .97111        .69966E-01    .45907E-01   -.93699    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.47482e-07
Minuit parameter uncertainties:
  1  18.333
  2  1.77582
  3  0.263919
  4  2.62984
  5  6.18176
  6  3.13094e-06
  7  10.0435
  8  8.23733
  9  3.87799
  10  15.0123
  11  18.4873
  12  0.831263
  13  3.74645
  14  0.000112907
  15  1.03451
  16  1.28203e-05
  17  0.000307703
  18  4.64182
  19  1.22922
  20  0.82215
  21  1.34198
  22  0.370664
  23  4.19812
  24  3.59968
  25  0.120684
  26  0.069973
Done.

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

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  3.216e+01  1.849e+01  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.711e-01  6.997e-02  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  1.112e+00  1.207e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.92
Ra Dec: 113.524 50.357
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 4.22e-08 +/- 2.43e-08
Energy Flux (Fixed Index): 1.27e-05 +/- 7.28e-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) = 22443.6285584
delta logL = 0.0202571526606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22443.6196957
delta logL = 0.0291198577324

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.571       1.0000          .0000       .10000E+07
     2 'Index     '    2.5872       1.0000          .0000       10.000    
     3 'Normalizat'    1.1067       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97297       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22443.62     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      247 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.567        21.725        .73569E-05    .22561E-02
   2  Index         2.5874        .51850        .81077E-02    .75776E-04
   3  Normalizat    1.1067        .13274        .32055E-03   -.10489E-02
   4  Prefactor     .97297        .79913E-01    .20617E-03   -.17019E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.5669
  Index      = 2.58738
  Normalizat = 1.10672
  Prefactor  = 0.972972
 **********
 **   18 **HESSE 
 **********

 FCN=   22443.62     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.567        20.517        .29428E-06   -1.5599    
   2  Index         2.5874        .48947        .32431E-03   -.50353    
   3  Normalizat    1.1067        .13269        .64109E-04   -.89536    
   4  Prefactor     .97297        .79896E-01    .41234E-04   -.93636    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.39032e-10
Minuit parameter uncertainties:
  1  20.5168
  2  0.49049
  3  0.132733
  4  0.0799059
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) = 22443.6196956
delta logL = 0.029119943978

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  2.957e+01  2.052e+01  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.587e+00  4.905e-01  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.730e-01  7.991e-02  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  1.107e+00  1.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.98
Ra Dec: 113.524 50.357
Photon Index (Free Index): 2.59 +/- 0.49
Photon Flux (Free Index): 4.61e-08 +/- 2.96e-08
Energy Flux (Free Index): 1.22e-05 +/- 7.03e-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/17373989/cmap_HighResolution_786931201_787536001_4FGL_J0734.0+5021_weekly_bin906.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.22e-08', energy_flux2='1.22e-05', photon_flux_error='2.43e-08', dlogl='2.91e-02', energy_flux='1.27e-05', photon_flux2='4.61e-08', job_status='DONE', time_completed='2025-12-16 01:51:53.630563', photon_index_error2='0.49', photon_index2='2.59', ts='4.92', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='7.03e-06', EG='1.11', time_epoch_completed='1765878713.63', return_code='0', job_id='17373989', GAL2='0.97', EG2='1.11', return_code2='0', energy_flux_error='7.28e-06', photon_flux_error2='2.96e-08', ts2='4.98', photon_index='2.47' WHERE bin_id='906' AND source_name='4FGL J0734.0+5021' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 16 01:51:54 PST 2025

