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


Performing analysis on: 4FGL_J1748.6+7005_weekly_bin927
RA = 267.158, Dec = 70.0969
tmin = 799632001, tmax = 800236801
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='26509957', job_status='RUN', time_executed='2026-05-12 02:35:05.460056', time_epoch_executed='1778578505.46' WHERE source_name='4FGL J1748.6+7005' and cadence='weekly' and bin_id='927'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26509957

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26509957/ft1_4FGL_J1748.6+7005_weekly_bin927.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26509957/ft2_4FGL_J1748.6+7005_weekly_bin927.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26509957/ft1_4FGL_J1748.6+7005_weekly_bin927.fits outfile=/lscratch/kocevski/26509957/ft1_filteredMKT_4FGL_J1748.6+7005_weekly_bin927.fits ra=267.158 dec=70.0969 rad=12.0 tmin=799632001.0 tmax=800236801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.21
user 3.49
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26509957/ft2_4FGL_J1748.6+7005_weekly_bin927.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26509957/ft2_4FGL_J1748.6+7005_weekly_bin927.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/26509957/ft1_filteredMKT_4FGL_J1748.6+7005_weekly_bin927.fits evtable="EVENTS" outfile="/lscratch/kocevski/26509957/ft1_filtered_4FGL_J1748.6+7005_weekly_bin927.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.74
user 0.21
sys 0.15

Number of photons that the gtmktime cut: 5307

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26509957/ft1_filtered_4FGL_J1748.6+7005_weekly_bin927.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26509957/ft2_4FGL_J1748.6+7005_weekly_bin927.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26509957/ltcube_799632001_800236801_4FGL_J1748.6+7005_weekly_bin927.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/26509957/ft2_4FGL_J1748.6+7005_weekly_bin927.fits
.....................!
real 20.21
user 19.38
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26509957/ft1_filtered_4FGL_J1748.6+7005_weekly_bin927.fits evtable="EVENTS" scfile=/lscratch/kocevski/26509957/ft2_4FGL_J1748.6+7005_weekly_bin927.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26509957/ltcube_799632001_800236801_4FGL_J1748.6+7005_weekly_bin927.fits outfile=/lscratch/kocevski/26509957/expmap_799632001_800236801_4FGL_J1748.6+7005_weekly_bin927.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/26509957/ltcube_799632001_800236801_4FGL_J1748.6+7005_weekly_bin927.fits
.....................!
real 75.12
user 69.53
sys 4.28

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

Setting source of interest to:
4FGL J1748.6+7005 @ 267.158 70.0969

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26509957/ft1_filtered_4FGL_J1748.6+7005_weekly_bin927.fits scfile=/lscratch/kocevski/26509957/ft2_4FGL_J1748.6+7005_weekly_bin927.fits outfile=/lscratch/kocevski/26509957/cmap_799632001_800236801_4FGL_J1748.6+7005_weekly_bin927.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=267.158 yref=70.0969 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.87
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26509957/ft1_filtered_4FGL_J1748.6+7005_weekly_bin927.fits scfile=/lscratch/kocevski/26509957/ft2_4FGL_J1748.6+7005_weekly_bin927.fits outfile=/lscratch/kocevski/26509957/cmap_HighResolution_799632001_800236801_4FGL_J1748.6+7005_weekly_bin927.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=267.158 yref=70.0969 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.82
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26509957/ft1_filtered_4FGL_J1748.6+7005_weekly_bin927.fits evtable="EVENTS" scfile=/lscratch/kocevski/26509957/ft2_4FGL_J1748.6+7005_weekly_bin927.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26509957/Model_4FGL_J1748.6+7005_weekly_bin927.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/26509957/ft1_filtered_4FGL_J1748.6+7005_weekly_bin927.fits.....................!
real 219.86
user 216.81
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26509957/ft1_filtered_4FGL_J1748.6+7005_weekly_bin927.fits', '/lscratch/kocevski/26509957/ft2_4FGL_J1748.6+7005_weekly_bin927.fits', expMap='/lscratch/kocevski/26509957/expmap_799632001_800236801_4FGL_J1748.6+7005_weekly_bin927.fits', expCube='/lscratch/kocevski/26509957/ltcube_799632001_800236801_4FGL_J1748.6+7005_weekly_bin927.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26509957/Model_4FGL_J1748.6+7005_weekly_bin927.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1748.6+7005'

4FGL J1748.6+7005
   Spectrum: LogParabola
353         norm:  4.089e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
354        alpha:  1.953e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
355         beta:  4.795e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
356           Eb:  1.080e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26509957/ft1_filtered_4FGL_J1748.6+7005_weekly_bin927.fits
Spacecraft file(s): /lscratch/kocevski/26509957/ft2_4FGL_J1748.6+7005_weekly_bin927.fits
Exposure map: /lscratch/kocevski/26509957/expmap_799632001_800236801_4FGL_J1748.6+7005_weekly_bin927.fits
Exposure cube: /lscratch/kocevski/26509957/ltcube_799632001_800236801_4FGL_J1748.6+7005_weekly_bin927.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26509957/Model_4FGL_J1748.6+7005_weekly_bin927.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) = 53044.8799054

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4089       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.3393       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55961E-01   1.0000          .0000       .10000E+07
     4 'norm      '    7.1694       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16986E-05   1.0000          .0000       .10000E+07
     6 'norm      '    .35860E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30204E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16639E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    7.2769       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.9266       1.0000          .0000       .10000E+07
    11 'Prefactor '    12.025       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4700       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1454       1.0000          .0000       .10000E+07
    14 'norm      '    1.7112       1.0000          .0000       .10000E+07
    15 'norm      '    16.492       1.0000          .0000       .10000E+07
    16 'norm      '    4.6519       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.8023       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.5841       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.2988       1.0000          .0000       .10000E+07
    20 'Prefactor '    .60207E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    3.0119       1.0000          .0000       .10000E+07
    22 'Prefactor '    .74556E-02   1.0000          .0000       .10000E+07
    23 'norm      '    8.7728       1.0000          .0000       .10000E+07
    24 'Prefactor '    4.2698       1.0000          .0000       .10000E+07
    25 'Prefactor '    4.3265       1.0000          .0000       .10000E+07
    26 'norm      '    .68279E-08   1.0000          .0000       .10000E+07
    27 'norm      '    4.6850       1.0000          .0000       .10000E+07
    28 'norm      '    .47478       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.0518       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .97299       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   53044.81     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     2255 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3747        4.3342        .29580E-06    .16857E-02
   2  Prefactor     9.7941        34.872        .91072E-06   -.62942E-03
   3  Prefactor     .16098E-07    47.264       -.11291E-05** at limit **
   4  norm          7.1632        3.3579        .21193E-06    .27872E-02
   5  Prefactor     .13212E-07    1.4900       -.23828E-07** at limit **
   6  norm           .0000        .84585E-01    .55220E-07** at limit **
   7  Prefactor     .27756E-09    1.4401        .63405E-07** at limit **
   8  Prefactor      .0000        .64278        .30529E-07** at limit **
   9  Prefactor     7.2823        5.0791       -.15621E-06    .19487E-01
  10  Prefactor     4.9354        2.7601        .65091E-08   -.68429E-03
  11  Prefactor     12.169        12.084        .60873E-06   -.13939E-01
  12  Prefactor     1.4702        2.9563        .13784E-07    .21547E-03
  13  Prefactor     1.0691        2.0703       -.27509E-06    .72613E-02
  14  norm          1.7095        .97522       -.99572E-07   -.35740E-02
  15  norm          16.490        .73852       -.14833E-07   -.11256E-01
  16  norm          4.6541        1.8940        .32304E-08   -.12180E-02
  17  Prefactor     2.7995        4.8282        .14207E-06    .88696E-02
  18  Prefactor     6.6314        1.4326        .38073E-07   -.24825E-02
  19  Prefactor     1.2996        1.9328        .18125E-06   -.16600E-02
  20  Prefactor     .16154E-07    1.4432       -.18178E-07** at limit **
  21  Prefactor     3.0171        3.1040        .11146E-06    .77601E-01
  22  Prefactor     .33307E-09    13.624       -.26494E-06** at limit **
  23  norm          8.7750        1.5987       -.30132E-07   -.10997E-01
  24  Prefactor     4.2192        6.8790       -.14956E-06   -.10378E-01
  25  Prefactor     4.3282        2.2551       -.10011E-06   -.69769E-03
  26  norm          .38858E-09    6.2803       -.74507E-06** at limit **
  27  norm          4.6854        1.6576        .50396E-07    .83783E-03
  28  norm          .47579        .97678       -.15487E-06   -.47841E-03
  29  Normalizat    1.0517        .91894E-01   -.63799E-05   -.48571E-04
  30  Prefactor     .97290        .55584E-01    .32431E-05    .46770E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.37468
  Prefactor  = 9.7941
  Prefactor  = 1.60982e-08
  norm       = 7.1632
  Prefactor  = 1.32117e-08
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 7.28231
  Prefactor  = 4.93542
  Prefactor  = 12.1691
  Prefactor  = 1.47018
  Prefactor  = 1.06905
  norm       = 1.70947
  norm       = 16.4904
  norm       = 4.65405
  Prefactor  = 2.79945
  Prefactor  = 6.6314
  Prefactor  = 1.29958
  Prefactor  = 1.61537e-08
  Prefactor  = 3.01706
  Prefactor  = 3.33067e-10
  norm       = 8.77501
  Prefactor  = 4.21918
  Prefactor  = 4.32819
  norm       = 3.88578e-10
  norm       = 4.68537
  norm       = 0.475786
  Normalizat = 1.0517
  Prefactor  = 0.972902
 **********
 **   18 **HESSE 
 **********

 FCN=   53044.81     FROM HESSE     STATUS=OK           664 CALLS     2919 TOTAL
                     EDM=   .48E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3747        4.3416        .54767E-03   -1.5671    
   2  Prefactor     9.7941        34.828        .34691E-03   -1.5645    
   3  Prefactor     .16098E-07    3.1855        .15310E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.1632        3.3469        .37439E-03   -1.5654    
   5  Prefactor     .13212E-07    1.6371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .80991E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    1.4327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .63177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.2823        5.1328        .37159E-03   -1.5654    
  10  Prefactor     4.9354        3.3401        .45290E-03   -1.5664    
  11  Prefactor     12.169        12.394        .28863E-03   -1.5638    
  12  Prefactor     1.4702        2.9886        .88608E-03   -1.5684    
  13  Prefactor     1.0691        81.288        .10834E-02   -1.5687    
  14  norm          1.7095        .98464        .80326E-03   -1.5682    
  15  norm          16.490        .73939        .24636E-03   -1.5627    
  16  norm          4.6541        1.9198        .46638E-03   -1.5665    
  17  Prefactor     2.7995        4.8598        .60746E-03   -1.5675    
  18  Prefactor     6.6314        37.216        .39086E-03   -1.5656    
  19  Prefactor     1.2996        2.0053        .96952E-03   -1.5685    
  20  Prefactor     .16154E-07    1.6203        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.0171        5.5920        .58456E-03   -1.5673    
  22  Prefactor     .33307E-09    13.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          8.7750        1.6584        .33818E-03   -1.5649    
  24  Prefactor     4.2192        6.9397        .48735E-03   -1.5667    
  25  Prefactor     4.3282        2.2692        .48405E-03   -1.5666    
  26  norm          .38858E-09    6.2739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          4.6854        1.6569        .46469E-03   -1.5665    
  28  norm          .47579        .99852        .81288E-03   -1.5694    
  29  Normalizat    1.0517        .80987E-01    .76996E-01   -.91318    
  30  Prefactor     .97290        .48719E-01    .45929E-01   -.93638    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.80681e-06
Minuit parameter uncertainties:
  1  4.34157
  2  34.8286
  3  0.000453058
  4  3.34693
  5  0.00029435
  6  1.85473e-07
  7  3.88153e-05
  8  4.76284e-07
  9  5.1328
  10  3.3401
  11  12.3943
  12  2.98858
  13  18.6444
  14  0.984639
  15  0.739385
  16  1.91984
  17  4.85978
  18  31.4195
  19  2.00534
  20  0.000323527
  21  5.59204
  22  0.000135825
  23  1.65837
  24  6.9397
  25  2.26922
  26  9.77844e-05
  27  1.65689
  28  0.998525
  29  0.0809964
  30  0.0487217
Done.

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

Extracting fit parameters...

4FGL J1748.6+7005
   Spectrum: LogParabola
353         norm:  1.709e+00  9.846e-01  0.000e+00  1.000e+06 ( 1.000e-12)
354        alpha:  1.953e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
355         beta:  4.795e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
356           Eb:  1.080e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  9.729e-01  4.872e-02  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.052e+00  8.100e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.38
Ra Dec: 267.158 70.097
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 1.64e-08 +/- 9.44e-09
Energy Flux (Fixed Index): 1.16e-05 +/- 6.66e-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) = 53043.6008249
delta logL = 1.20719257155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 53043.5908707
delta logL = 1.2171467823

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4898       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5580       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0309       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97823       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   53043.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      246 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4904        5.3581        .87806E-03    .47464E-01
   2  alpha         2.5581        1.4774        .41166        .31094E-03
   3  Normalizat    1.0309        .20892E-01    .77651E-01    .14696E-03
   4  Prefactor     .97822        .12234E-01    .45994E-01    .35213E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.4904
  alpha      = 2.55813
  Normalizat = 1.03089
  Prefactor  = 0.97822
 **********
 **   18 **HESSE 
 **********

 FCN=   53043.59     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4904        .93227        .11537E-04   -1.5684    
   2  alpha         2.5581        .42783        .16607E-01    .23254E-01
   3  Normalizat    1.0309        .86560E-01    .34368E-03   -.92003    
   4  Prefactor     .97822        .53494E-01    .21985E-03   -.93459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.78334e-08
Minuit parameter uncertainties:
  1  0.932266
  2  0.429952
  3  0.0865721
  4  0.0534966
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) = 53043.5908699
delta logL = 1.21714753371

Extracting fit parameters...

4FGL J1748.6+7005
   Spectrum: LogParabola
353         norm:  1.490e+00  9.323e-01  0.000e+00  1.000e+06 ( 1.000e-12)
354        alpha:  2.558e+00  4.300e-01  0.000e+00  5.000e+00 ( 1.000e+00)
355         beta:  4.795e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
356           Eb:  1.080e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  9.782e-01  5.350e-02  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.031e+00  8.657e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.85
Ra Dec: 267.158 70.097
Photon Index (Free Index): 2.56 +/- 0.43
Photon Flux (Free Index): 3.59e-08 +/- 1.82e-08
Energy Flux (Free Index): 1.02e-05 +/- 4.56e-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/26509957/cmap_HighResolution_799632001_800236801_4FGL_J1748.6+7005_weekly_bin927.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.64e-08', energy_flux2='1.02e-05', photon_flux_error='9.44e-09', dlogl='1.22e+00', energy_flux='1.16e-05', photon_flux2='3.59e-08', job_status='DONE', time_completed='2026-05-12 03:06:28.508251', photon_index_error2='0.43', photon_index2='2.56', ts='6.38', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='4.56e-06', EG='1.05', time_epoch_completed='1778580388.51', return_code='0', job_id='26509957', GAL2='0.98', EG2='1.03', return_code2='0', energy_flux_error='6.66e-06', photon_flux_error2='1.82e-08', ts2='8.85', photon_index='1.95' WHERE bin_id='927' AND source_name='4FGL J1748.6+7005' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 12 03:06:28 PDT 2026

