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

utfile=/lscratch/kocevski/60726594/ltcube_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.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/60726594/ft2_4FGL_J0748.3+4928_weekly_bin855.fits
.....................!
real 12.06
user 11.52
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/60726594/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.fits evtable="EVENTS" scfile=/lscratch/kocevski/60726594/ft2_4FGL_J0748.3+4928_weekly_bin855.fits sctable="SC_DATA" expcube=/lscratch/kocevski/60726594/ltcube_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.fits outfile=/lscratch/kocevski/60726594/expmap_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.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/60726594/ltcube_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.fits
.....................!
real 73.78
user 68.78
sys 4.29

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

Setting source of interest to:
4FGL J0748.3+4928 @ 117.082 49.4748

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/60726594/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.fits scfile=/lscratch/kocevski/60726594/ft2_4FGL_J0748.3+4928_weekly_bin855.fits outfile=/lscratch/kocevski/60726594/cmap_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.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=117.082 yref=49.4748 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.45
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/60726594/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.fits scfile=/lscratch/kocevski/60726594/ft2_4FGL_J0748.3+4928_weekly_bin855.fits outfile=/lscratch/kocevski/60726594/cmap_HighResolution_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.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=117.082 yref=49.4748 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.58
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/60726594/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.fits evtable="EVENTS" scfile=/lscratch/kocevski/60726594/ft2_4FGL_J0748.3+4928_weekly_bin855.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/60726594/Model_4FGL_J0748.3+4928_weekly_bin855.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 number of points = 10427
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0748.3+4928_weekly_bin855
RA = 117.082, Dec = 49.4748
tmin = 756086401, tmax = 756691201
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='60727560', job_status='RUN', time_executed='2024-12-24 03:22:19.828661', time_epoch_executed='1735039339.83' WHERE source_name='4FGL J0748.3+4928' and cadence='weekly' and bin_id='855'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/60727560

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

Retrieving the FT1 file...

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

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

Retrieving 65 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/60727560/ft1_4FGL_J0748.3+4928_weekly_bin855.fits


Retrieving the FT1 file...

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

Retrieving 65 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/60727560/ft2_4FGL_J0748.3+4928_weekly_bin855.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/60727560/ft1_4FGL_J0748.3+4928_weekly_bin855.fits outfile=/lscratch/kocevski/60727560/ft1_filteredMKT_4FGL_J0748.3+4928_weekly_bin855.fits ra=117.082 dec=49.4748 rad=12.0 tmin=756086401.0 tmax=756691201.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 2.97
user 2.57
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/60727560/ft2_4FGL_J0748.3+4928_weekly_bin855.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/60727560/ft2_4FGL_J0748.3+4928_weekly_bin855.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/60727560/ft1_filteredMKT_4FGL_J0748.3+4928_weekly_bin855.fits evtable="EVENTS" outfile="/lscratch/kocevski/60727560/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.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.57
user 0.21
sys 0.16

Number of photons that the gtmktime cut: 1037

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/60727560/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.fits" evtable="EVENTS" scfile=/lscratch/kocevski/60727560/ft2_4FGL_J0748.3+4928_weekly_bin855.fits sctable="SC_DATA" outfile=/lscratch/kocevski/60727560/ltcube_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.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/60727560/ft2_4FGL_J0748.3+4928_weekly_bin855.fits
.....................!
real 11.52
user 10.96
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/60727560/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.fits evtable="EVENTS" scfile=/lscratch/kocevski/60727560/ft2_4FGL_J0748.3+4928_weekly_bin855.fits sctable="SC_DATA" expcube=/lscratch/kocevski/60727560/ltcube_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.fits outfile=/lscratch/kocevski/60727560/expmap_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.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/60727560/ltcube_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.fits
.....................!
real 69.42
user 64.54
sys 4.16

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

Setting source of interest to:
4FGL J0748.3+4928 @ 117.082 49.4748

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/60727560/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.fits scfile=/lscratch/kocevski/60727560/ft2_4FGL_J0748.3+4928_weekly_bin855.fits outfile=/lscratch/kocevski/60727560/cmap_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.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=117.082 yref=49.4748 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.45
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/60727560/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.fits scfile=/lscratch/kocevski/60727560/ft2_4FGL_J0748.3+4928_weekly_bin855.fits outfile=/lscratch/kocevski/60727560/cmap_HighResolution_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.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=117.082 yref=49.4748 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.44
user 0.23
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/60727560/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.fits evtable="EVENTS" scfile=/lscratch/kocevski/60727560/ft2_4FGL_J0748.3+4928_weekly_bin855.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/60727560/Model_4FGL_J0748.3+4928_weekly_bin855.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/60726594/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.fits.....................!
real 44.82
user 43.27
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/60726594/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.fits', '/lscratch/kocevski/60726594/ft2_4FGL_J0748.3+4928_weekly_bin855.fits', expMap='/lscratch/kocevski/60726594/expmap_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.fits', expCube='/lscratch/kocevski/60726594/ltcube_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/60726594/Model_4FGL_J0748.3+4928_weekly_bin855.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0748.3+4928'

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  1.597e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.379e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/60726594/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.fits
Spacecraft file(s): /lscratch/kocevski/60726594/ft2_4FGL_J0748.3+4928_weekly_bin855.fits
Exposure map: /lscratch/kocevski/60726594/expmap_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.fits
Exposure cube: /lscratch/kocevski/60726594/ltcube_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/60726594/Model_4FGL_J0748.3+4928_weekly_bin855.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) = 11245.1499067

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19595E-06   1.0000          .0000       .10000E+07
     2 'norm      '    2.0902       1.0000          .0000       .10000E+07
     3 'norm      '    .26908E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .55511E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .26307E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.3868       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10274E-03   1.0000          .0000       .10000E+07
     8 'norm      '    8.9180       1.0000          .0000       .10000E+07
     9 'Prefactor '    19.297       1.0000          .0000       .10000E+07
    10 'Prefactor '    16.867       1.0000          .0000       .10000E+07
    11 'norm      '    .40917       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.250       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.3387       1.0000          .0000       .10000E+07
    14 'norm      '    4.4162       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.1699       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16920E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    16.334       1.0000          .0000       .10000E+07
    18 'norm      '    10.015       1.0000          .0000       .10000E+07
    19 'norm      '    .15249E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .44107E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .51128       1.0000          .0000       .10000E+07
    22 'Prefactor '    .12108E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    3.0651       1.0000          .0000       .10000E+07
    24 'Prefactor '    50.466       1.0000          .0000       .10000E+07
    25 'Prefactor '    .16571E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .72553E-07   1.0000          .0000       .10000E+07
    27 'norm      '    6.7126       1.0000          .0000       .10000E+07
    28 'norm      '    6.1168       1.0000          .0000       .10000E+07
    29 'Prefactor '    6.5739       1.0000          .0000       .10000E+07
    30 'Normalizat'    .99292       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .89876       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11242.06     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1700 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21094E-08    2.5134        .29630E-08** at limit **
   2  norm          2.0839        3.9197       -.17853E-07    .15975E-02
   3  norm          .17800E-05    28.673       -.20126E-05** at limit **
   4  Prefactor     .67168E-08    2.4765       -.57060E-06** at limit **
   5  Prefactor     .22204E-09    1.1323       -.34350E-07** at limit **
   6  Prefactor     6.3554        2.5490        .39202E-06    .17209E-01
   7  Prefactor     .59397E-08    5.3990       -.71591E-07** at limit **
   8  norm          8.9171        2.0946       -.15915E-06   -.10730E-01
   9  Prefactor     19.394        3.1166        .15753E-06   -.57672E-01
  10  Prefactor     16.697        11.106       -.42022E-06   -.15749E-01
  11  norm          .40872        .53268       -.14537E-07   -.82325E-02
  12  Prefactor     12.243        2.8096       -.59259E-07    .27703E-01
  13  Prefactor     2.3657        4.4942       -.66137E-06    .31005E-01
  14  norm          4.4160        2.4640        .16775E-07    .96629E-02
  15  Prefactor     3.1501        5.7188        .37222E-07    .77304E-02
  16  Prefactor     .69389E-08    20.813        .24270E-06** at limit **
  17  Prefactor     16.331        4.3473       -.54012E-06   -.12264    
  18  norm          10.033        3.7997       -.26706E-07   -.68697E-02
  19  norm          .11102E-09    .57854        .16820E-07** at limit **
  20  Prefactor     .27534E-07    2.0746        .55038E-06** at limit **
  21  norm          .51120        .43379        .33903E-07   -.19689E-02
  22  Prefactor     .49960E-09    4.2729        .23386E-06** at limit **
  23  Prefactor     3.0329        4.3354       -.13841E-06   -.75146E-02
  24  Prefactor     50.431        1.0937        .47212E-08    .21256E-02
  25  Prefactor     .67724E-08    2.5108       -.16205E-07** at limit **
  26  Prefactor     .27756E-09    1.4061        .46943E-07** at limit **
  27  norm          6.6998        4.4619       -.63197E-07   -.48208E-02
  28  norm          6.1367        4.5031       -.30492E-07   -.49132E-02
  29  Prefactor     6.5698        1.0769        .55049E-07    .46486E-02
  30  Normalizat    .99331        .17142        .43338E-05   -.45886E-03
  31  Prefactor     .89879        .11029       -.87765E-06   -.47573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.10942e-09
  norm       = 2.08391
  norm       = 1.77997e-06
  Prefactor  = 6.71685e-09
  Prefactor  = 2.22045e-10
  Prefactor  = 6.35543
  Prefactor  = 5.93969e-09
  norm       = 8.91711
  Prefactor  = 19.394
  Prefactor  = 16.6967
  norm       = 0.408723
  Prefactor  = 12.2432
  Prefactor  = 2.36575
  norm       = 4.41598
  Prefactor  = 3.15009
  Prefactor  = 6.93889e-09
  Prefactor  = 16.3305
  norm       = 10.0329
  norm       = 1.11022e-10
  Prefactor  = 2.75335e-08
  norm       = 0.511203
  Prefactor  = 4.996e-10
  Prefactor  = 3.03287
  Prefactor  = 50.4306
  Prefactor  = 6.77236e-09
  Prefactor  = 2.77556e-10
  norm       = 6.69978
  norm       = 6.1367
  Prefactor  = 6.56977
  Normalizat = 0.993313
  Prefactor  = 0.898787
 **********
 **   18 **HESSE 
 **********

 FCN=   11242.06     FROM HESSE     STATUS=OK           698 CALLS     2398 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21094E-08    2.5219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.0839        3.9419        .71377E-03   -1.5679    
   3  norm          .17800E-05    1.2780        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .67168E-08    3.5022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    1.1318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.3554        6.6318        .39692E-03   -1.5658    
   7  Prefactor     .59397E-08    5.4726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.9171        6.6598        .33539E-03   -1.5648    
   9  Prefactor     19.394        13.240        .22772E-03   -1.5620    
  10  Prefactor     16.697        24.496        .24360E-03   -1.5626    
  11  norm          .40872        .58501        .19729E-02   -1.5695    
  12  Prefactor     12.243        12.137        .28596E-03   -1.5638    
  13  Prefactor     2.3657        19.865        .67020E-03   -1.5677    
  14  norm          4.4160        2.6338        .47898E-03   -1.5666    
  15  Prefactor     3.1501        6.3847        .56897E-03   -1.5672    
  16  Prefactor     .69389E-08    20.825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.331        5.5477        .24755E-03   -1.5627    
  18  norm          10.033        3.8163        .31639E-03   -1.5645    
  19  norm          .11102E-09    .57607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .27534E-07    3.2863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .51120        .48725        .14286E-02   -1.5694    
  22  Prefactor     .49960E-09    4.4354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.0329        4.3811        .57916E-03   -1.5673    
  24  Prefactor     50.431        25.394        .14078E-03   -1.5566    
  25  Prefactor     .67724E-08    2.6724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .27756E-09    1.4061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          6.6998        4.4669        .38705E-03   -1.5656    
  28  norm          6.1367        4.5105        .40570E-03   -1.5658    
  29  Prefactor     6.5698        6.0719        .39116E-03   -1.5657    
  30  Normalizat    .99331        .15359        .66580E-01   -.93255    
  31  Prefactor     .89879        .96086E-01    .44989E-01   -.96184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15911e-07
Minuit parameter uncertainties:
  1  0.000145555
  2  3.94191
  3  0.00301654
  4  0.000307283
  5  3.26805e-05
  6  6.63184
  7  0.000361161
  8  6.65985
  9  13.2396
  10  24.4966
  11  0.585005
  12  12.1373
  13  13.7108
  14  2.6338
  15  6.38471
  16  0.000761522
  17  5.54771
  18  3.81626
  19  1.66991e-05
  20  0.000601587
  21  0.487253
  22  9.54202e-05
  23  4.38113
  24  25.3943
  25  0.000269031
  26  3.77694e-05
  27  4.46687
  28  4.51049
  29  6.07193
  30  0.153654
  31  0.0961044
GAL_V02
Working on...
/lscratch/kocevski/60727560/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.fits.....................!
real 42.30
user 41.02
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/60727560/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.fits', '/lscratch/kocevski/60727560/ft2_4FGL_J0748.3+4928_weekly_bin855.fits', expMap='/lscratch/kocevski/60727560/expmap_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.fits', expCube='/lscratch/kocevski/60727560/ltcube_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/60727560/Model_4FGL_J0748.3+4928_weekly_bin855.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0748.3+4928'

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  1.597e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.379e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/60727560/ft1_filtered_4FGL_J0748.3+4928_weekly_bin855.fits
Spacecraft file(s): /lscratch/kocevski/60727560/ft2_4FGL_J0748.3+4928_weekly_bin855.fits
Exposure map: /lscratch/kocevski/60727560/expmap_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.fits
Exposure cube: /lscratch/kocevski/60727560/ltcube_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/60727560/Model_4FGL_J0748.3+4928_weekly_bin855.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) = 11245.1499067

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19595E-06   1.0000          .0000       .10000E+07
     2 'norm      '    2.0902       1.0000          .0000       .10000E+07
     3 'norm      '    .26908E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .55511E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .26307E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.3868       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10274E-03   1.0000          .0000       .10000E+07
     8 'norm      '    8.9180       1.0000          .0000       .10000E+07
     9 'Prefactor '    19.297       1.0000          .0000       .10000E+07
    10 'Prefactor '    16.867       1.0000          .0000       .10000E+07
    11 'norm      '    .40917       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.250       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.3387       1.0000          .0000       .10000E+07
    14 'norm      '    4.4162       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.1699       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16920E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    16.334       1.0000          .0000       .10000E+07
    18 'norm      '    10.015       1.0000          .0000       .10000E+07
    19 'norm      '    .15249E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .44107E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .51128       1.0000          .0000       .10000E+07
    22 'Prefactor '    .12108E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    3.0651       1.0000          .0000       .10000E+07
    24 'Prefactor '    50.466       1.0000          .0000       .10000E+07
    25 'Prefactor '    .16571E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .72553E-07   1.0000          .0000       .10000E+07
    27 'norm      '    6.7126       1.0000          .0000       .10000E+07
    28 'norm      '    6.1168       1.0000          .0000       .10000E+07
    29 'Prefactor '    6.5739       1.0000          .0000       .10000E+07
    30 'Normalizat'    .99292       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .89876       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11242.06     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1700 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21094E-08    2.5134        .29630E-08** at limit **
   2  norm          2.0839        3.9197       -.17853E-07    .15975E-02
   3  norm          .17800E-05    28.673       -.20126E-05** at limit **
   4  Prefactor     .67168E-08    2.4765       -.57060E-06** at limit **
   5  Prefactor     .22204E-09    1.1323       -.34350E-07** at limit **
   6  Prefactor     6.3554        2.5490        .39202E-06    .17209E-01
   7  Prefactor     .59397E-08    5.3990       -.71591E-07** at limit **
   8  norm          8.9171        2.0946       -.15915E-06   -.10730E-01
   9  Prefactor     19.394        3.1166        .15753E-06   -.57672E-01
  10  Prefactor     16.697        11.106       -.42022E-06   -.15749E-01
  11  norm          .40872        .53268       -.14537E-07   -.82325E-02
  12  Prefactor     12.243        2.8096       -.59259E-07    .27703E-01
  13  Prefactor     2.3657        4.4942       -.66137E-06    .31005E-01
  14  norm          4.4160        2.4640        .16775E-07    .96629E-02
  15  Prefactor     3.1501        5.7188        .37222E-07    .77304E-02
  16  Prefactor     .69389E-08    20.813        .24270E-06** at limit **
  17  Prefactor     16.331        4.3473       -.54012E-06   -.12264    
  18  norm          10.033        3.7997       -.26706E-07   -.68697E-02
  19  norm          .11102E-09    .57854        .16820E-07** at limit **
  20  Prefactor     .27534E-07    2.0746        .55038E-06** at limit **
  21  norm          .51120        .43379        .33903E-07   -.19689E-02
  22  Prefactor     .49960E-09    4.2729        .23386E-06** at limit **
  23  Prefactor     3.0329        4.3354       -.13841E-06   -.75146E-02
  24  Prefactor     50.431        1.0937        .47212E-08    .21256E-02
  25  Prefactor     .67724E-08    2.5108       -.16205E-07** at limit **
  26  Prefactor     .27756E-09    1.4061        .46943E-07** at limit **
  27  norm          6.6998        4.4619       -.63197E-07   -.48208E-02
  28  norm          6.1367        4.5031       -.30492E-07   -.49132E-02
  29  Prefactor     6.5698        1.0769        .55049E-07    .46486E-02
  30  Normalizat    .99331        .17142        .43338E-05   -.45886E-03
  31  Prefactor     .89879        .11029       -.87765E-06   -.47573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.10942e-09
  norm       = 2.08391
  norm       = 1.77997e-06
  Prefactor  = 6.71685e-09
  Prefactor  = 2.22045e-10
  Prefactor  = 6.35543
  Prefactor  = 5.93969e-09
  norm       = 8.91711
  Prefactor  = 19.394
  Prefactor  = 16.6967
  norm       = 0.408723
  Prefactor  = 12.2432
  Prefactor  = 2.36575
  norm       = 4.41598
  Prefactor  = 3.15009
  Prefactor  = 6.93889e-09
  Prefactor  = 16.3305
  norm       = 10.0329
  norm       = 1.11022e-10
  Prefactor  = 2.75335e-08
  norm       = 0.511203
  Prefactor  = 4.996e-10
  Prefactor  = 3.03287
  Prefactor  = 50.4306
  Prefactor  = 6.77236e-09
  Prefactor  = 2.77556e-10
  norm       = 6.69978
  norm       = 6.1367
  Prefactor  = 6.56977
  Normalizat = 0.993313
  Prefactor  = 0.898787
Done.

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

Extracting fit parameters...

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  1.224e+01  1.214e+01  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.379e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.988e-01  9.610e-02  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  9.933e-01  1.537e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.57
Ra Dec: 117.082 49.475
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 3.54e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 1.19e-05

TS (Fixed Index): 1.57
Ra Dec: 117.082 49.475
Photon Flux Upper Limit: 1.02278135233e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00789200833849 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/60726594/likelihoodResults_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.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) = 11241.7555189
delta logL = 0.301213865145

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11241.7262845
delta logL = 0.330448229264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5858       1.0000          .0000       .10000E+07
     2 'Index     '    2.9152       1.0000          .0000       10.000    
     3 'Normalizat'    .97331       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90661       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+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=   11241.73     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      340 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5869        13.386        .15632E-04    .18996E-02
   2  Index         2.9151        1.0116        .67736E-02    .10322E-03
   3  Normalizat    .97331        .16598        .29708E-03    .19479E-03
   4  Prefactor     .90662        .10884        .20307E-03    .30169E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.58685
  Index      = 2.91512
  Normalizat = 0.973313
  Prefactor  = 0.906618
 **********
 **   18 **HESSE 
 **********

 FCN=   11241.73     FROM HESSE     STATUS=OK            25 CALLS      365 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5869        9.4860        .62529E-06   -1.5657    
   2  Index         2.9151        .71902        .27094E-03   -.43012    
   3  Normalizat    .97331        .16560        .11883E-04   -.93930    
   4  Prefactor     .90662        .10851        .40614E-04   -.95910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49715e-11
Minuit parameter uncertainties:
  1  9.48601
  2  0.722059
  3  0.165691
  4  0.108536
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) = 11241.7262845
delta logL = 0.330448245506

Extracting fit parameters...

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  6.587e+00  9.486e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.915e+00  7.221e-01  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  1.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  9.066e-01  1.085e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  9.733e-01  1.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.27
Ra Dec: 117.082 49.475
Photon Index (Free Index): 2.92 +/- 0.72
Photon Flux (Free Index): 5.35e-08 +/- 4.23e-08
Energy Flux (Free Index): 1.12e-05 +/- 8.73e-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/60726594/cmap_HighResolution_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.89e-03', comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.12e-05', photon_flux_error='3.54e-08', dlogl='3.30e-01', energy_flux='1.20e-05', photon_flux2='5.35e-08', job_status='DONE', time_completed='2024-12-24 03:28:37.749773', photon_index_error2='0.72', photon_index2='2.92', ts='1.57', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='8.73e-06', EG='0.99', time_epoch_completed='1735039717.75', return_code='0', job_id='60726594', GAL2='0.91', EG2='0.97', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='4.23e-08', ts2='2.27', photon_index='2.38' WHERE bin_id='855' AND source_name='4FGL J0748.3+4928' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 24 03:28:37 PST 2024

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

 FCN=   11242.06     FROM HESSE     STATUS=OK           698 CALLS     2398 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21094E-08    2.5219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.0839        3.9419        .71377E-03   -1.5679    
   3  norm          .17800E-05    1.2780        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .67168E-08    3.5022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    1.1318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.3554        6.6318        .39692E-03   -1.5658    
   7  Prefactor     .59397E-08    5.4726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.9171        6.6598        .33539E-03   -1.5648    
   9  Prefactor     19.394        13.240        .22772E-03   -1.5620    
  10  Prefactor     16.697        24.496        .24360E-03   -1.5626    
  11  norm          .40872        .58501        .19729E-02   -1.5695    
  12  Prefactor     12.243        12.137        .28596E-03   -1.5638    
  13  Prefactor     2.3657        19.865        .67020E-03   -1.5677    
  14  norm          4.4160        2.6338        .47898E-03   -1.5666    
  15  Prefactor     3.1501        6.3847        .56897E-03   -1.5672    
  16  Prefactor     .69389E-08    20.825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.331        5.5477        .24755E-03   -1.5627    
  18  norm          10.033        3.8163        .31639E-03   -1.5645    
  19  norm          .11102E-09    .57607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .27534E-07    3.2863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .51120        .48725        .14286E-02   -1.5694    
  22  Prefactor     .49960E-09    4.4354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.0329        4.3811        .57916E-03   -1.5673    
  24  Prefactor     50.431        25.394        .14078E-03   -1.5566    
  25  Prefactor     .67724E-08    2.6724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .27756E-09    1.4061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          6.6998        4.4669        .38705E-03   -1.5656    
  28  norm          6.1367        4.5105        .40570E-03   -1.5658    
  29  Prefactor     6.5698        6.0719        .39116E-03   -1.5657    
  30  Normalizat    .99331        .15359        .66580E-01   -.93255    
  31  Prefactor     .89879        .96086E-01    .44989E-01   -.96184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15911e-07
Minuit parameter uncertainties:
  1  0.000145555
  2  3.94191
  3  0.00301654
  4  0.000307283
  5  3.26805e-05
  6  6.63184
  7  0.000361161
  8  6.65985
  9  13.2396
  10  24.4966
  11  0.585005
  12  12.1373
  13  13.7108
  14  2.6338
  15  6.38471
  16  0.000761522
  17  5.54771
  18  3.81626
  19  1.66991e-05
  20  0.000601587
  21  0.487253
  22  9.54202e-05
  23  4.38113
  24  25.3943
  25  0.000269031
  26  3.77694e-05
  27  4.46687
  28  4.51049
  29  6.07193
  30  0.153654
  31  0.0961044
Done.

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

Extracting fit parameters...

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  1.224e+01  1.214e+01  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.379e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.988e-01  9.610e-02  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  9.933e-01  1.537e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.57
Ra Dec: 117.082 49.475
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 3.54e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 1.19e-05

TS (Fixed Index): 1.57
Ra Dec: 117.082 49.475
Photon Flux Upper Limit: 1.02278135233e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00789200833849 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/60727560/likelihoodResults_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.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) = 11241.7555189
delta logL = 0.301213865145

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11241.7262845
delta logL = 0.330448229264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5858       1.0000          .0000       .10000E+07
     2 'Index     '    2.9152       1.0000          .0000       10.000    
     3 'Normalizat'    .97331       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90661       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+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=   11241.73     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      340 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5869        13.386        .15632E-04    .18996E-02
   2  Index         2.9151        1.0116        .67736E-02    .10322E-03
   3  Normalizat    .97331        .16598        .29708E-03    .19479E-03
   4  Prefactor     .90662        .10884        .20307E-03    .30169E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.58685
  Index      = 2.91512
  Normalizat = 0.973313
  Prefactor  = 0.906618
 **********
 **   18 **HESSE 
 **********

 FCN=   11241.73     FROM HESSE     STATUS=OK            25 CALLS      365 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5869        9.4860        .62529E-06   -1.5657    
   2  Index         2.9151        .71902        .27094E-03   -.43012    
   3  Normalizat    .97331        .16560        .11883E-04   -.93930    
   4  Prefactor     .90662        .10851        .40614E-04   -.95910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49715e-11
Minuit parameter uncertainties:
  1  9.48601
  2  0.722059
  3  0.165691
  4  0.108536
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) = 11241.7262845
delta logL = 0.330448245506

Extracting fit parameters...

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  6.587e+00  9.486e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.915e+00  7.221e-01  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  1.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  9.066e-01  1.085e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  9.733e-01  1.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.27
Ra Dec: 117.082 49.475
Photon Index (Free Index): 2.92 +/- 0.72
Photon Flux (Free Index): 5.35e-08 +/- 4.23e-08
Energy Flux (Free Index): 1.12e-05 +/- 8.73e-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/60727560/cmap_HighResolution_756086401_756691201_4FGL_J0748.3+4928_weekly_bin855.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.89e-03', comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.12e-05', photon_flux_error='3.54e-08', dlogl='3.30e-01', energy_flux='1.20e-05', photon_flux2='5.35e-08', job_status='DONE', time_completed='2024-12-24 03:30:31.566228', photon_index_error2='0.72', photon_index2='2.92', ts='1.57', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='8.73e-06', EG='0.99', time_epoch_completed='1735039831.57', return_code='0', job_id='60727560', GAL2='0.91', EG2='0.97', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='4.23e-08', ts2='2.27', photon_index='2.38' WHERE bin_id='855' AND source_name='4FGL J0748.3+4928' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 24 03:30:31 PST 2024

