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


Performing analysis on: 4FGL_J2352.0+1750_weekly_bin949
RA = 358.013, Dec = 17.8394
tmin = 812937601, tmax = 813542401
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='40750900', job_status='RUN', time_executed='2026-10-13 20:39:57.294123', time_epoch_executed='1791949197.29' WHERE source_name='4FGL J2352.0+1750' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40750900

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40750900/ft1_4FGL_J2352.0+1750_weekly_bin949.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40750900/ft2_4FGL_J2352.0+1750_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40750900/ft1_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750900/ft1_filteredMKT_4FGL_J2352.0+1750_weekly_bin949.fits ra=358.013 dec=17.8394 rad=12.0 tmin=812937601.0 tmax=813542401.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.88
user 4.37
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40750900/ft2_4FGL_J2352.0+1750_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40750900/ft2_4FGL_J2352.0+1750_weekly_bin949.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/40750900/ft1_filteredMKT_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40750900/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.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.59
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 339

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40750900/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40750900/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" /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/40750818/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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/40750818/ft2_4FGL_J2352.0+1750_weekly_bin949.fits
.....................!
real 20.63
user 19.65
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40750818/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40750818/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40750818/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750818/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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/40750818/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
.....................!
real 69.16
user 62.63
sys 3.96

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

Setting source of interest to:
4FGL J2352.0+1750 @ 358.013 17.8394

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40750818/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits scfile=/lscratch/kocevski/40750818/ft2_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750818/cmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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=358.013 yref=17.8394 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.57
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40750818/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits scfile=/lscratch/kocevski/40750818/ft2_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750818/cmap_HighResolution_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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=358.013 yref=17.8394 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.54
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40750818/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40750818/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40750818/Model_4FGL_J2352.0+1750_weekly_bin949.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 outfile=/lscratch/kocevski/40750859/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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/40750859/ft2_4FGL_J2352.0+1750_weekly_bin949.fits
.....................!
real 18.43
user 17.87
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40750859/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40750859/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40750859/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750859/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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/40750859/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
.....................!
real 66.20
user 61.83
sys 3.80

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

Setting source of interest to:
4FGL J2352.0+1750 @ 358.013 17.8394

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40750859/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits scfile=/lscratch/kocevski/40750859/ft2_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750859/cmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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=358.013 yref=17.8394 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.54
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40750859/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits scfile=/lscratch/kocevski/40750859/ft2_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750859/cmap_HighResolution_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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=358.013 yref=17.8394 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.55
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40750859/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40750859/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40750859/Model_4FGL_J2352.0+1750_weekly_bin949.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 sourceGAL_V02
Working on...
/lscratch/kocevski/40750818/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits......................!
real 20.45
user 18.80
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40750818/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits', '/lscratch/kocevski/40750818/ft2_4FGL_J2352.0+1750_weekly_bin949.fits', expMap='/lscratch/kocevski/40750818/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits', expCube='/lscratch/kocevski/40750818/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40750818/Model_4FGL_J2352.0+1750_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2352.0+1750'

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.218e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40750818/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40750818/ft2_4FGL_J2352.0+1750_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40750818/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40750818/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40750818/Model_4FGL_J2352.0+1750_weekly_bin949.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) = 3846.27553685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11591E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .32092E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .23064E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7898       1.0000          .0000       .10000E+07
     5 'norm      '    .25994       1.0000          .0000       .10000E+07
     6 'Prefactor '    .87393E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11675E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .97183       1.0000          .0000       .10000E+07
     9 'Prefactor '    15.925       1.0000          .0000       .10000E+07
    10 'Prefactor '    17.498       1.0000          .0000       .10000E+07
    11 'norm      '    .21279E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .31043E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.4672       1.0000          .0000       .10000E+07
    14 'norm      '    .27393E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.6495       1.0000          .0000       .10000E+07
    16 'Normalizat'    .50454       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3846.265     FROM MIGRAD    STATUS=CONVERGED     87 CALLS     1141 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26290E-06    6.0560       -.25602E-05** at limit **
   2  Prefactor     .20384E-06    4.9566        .19297E-05** at limit **
   3  Prefactor     .93187E-06    13.120       -.39983E-05** at limit **
   4  Prefactor     3.7788        4.2237       -.17667E-06   -.13873E-03
   5  norm          .23165E-05    5.4490        .55016E-05** at limit **
   6  Prefactor     .30659E-06    6.6209       -.24121E-07** at limit **
   7  Prefactor     .22204E-09    1.7063       -.28590E-06** at limit **
   8  Prefactor     1.0493        1.1087       -.93165E-06   -.59105E-02
   9  Prefactor     15.977        2.5305        .28125E-07    .48649E-02
  10  Prefactor     17.639        1.6974       -.30072E-06   -.67746E-02
  11  norm          .55511E-10    6.0453        .72844E-06** at limit **
  12  Prefactor     .44764E-06    4.1976       -.29209E-05** at limit **
  13  Prefactor     5.4951        14.224        .75594E-05   -.75326E-01
  14  norm          .30015E-06    7.0662        .41613E-05** at limit **
  15  Prefactor     6.6562        7.7185       -.86422E-07   -.16892E-02
  16  Normalizat    .50453        .29162       -.66688E-05   -.22878E-04
  17  Prefactor     1.2584        .19037        .67137E-05   -.67511E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.62901e-07
  Prefactor  = 2.03837e-07
  Prefactor  = 9.31866e-07
  Prefactor  = 3.77883
  norm       = 2.31648e-06
  Prefactor  = 3.06588e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 1.04928
  Prefactor  = 15.9774
  Prefactor  = 17.6394
  norm       = 5.55112e-11
  Prefactor  = 4.47642e-07
  Prefactor  = 5.49507
  norm       = 3.00149e-07
  Prefactor  = 6.65617
  Normalizat = 0.504525
  Prefactor  = 1.25842
 **********
 **   18 **HESSE 
 **********

 FCN=   3846.265     FROM HESSE     STATUS=OK           255 CALLS     1396 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26290E-06    11.426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .20384E-06    12.518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .93187E-06    14.712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7788        4.2281        .51829E-03   -1.5669    
   5  norm          .23165E-05    41.262        .10793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .30659E-06    11.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22204E-09    1.7111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0493        22.672        .42766E-03   -1.5687    
   9  Prefactor     15.977        14.971        .25072E-03   -1.5628    
  10  Prefactor     17.639        26.647        .23916E-03   -1.5624    
  11  norm          .55511E-10    6.3122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .44764E-06    9.3588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.4951        50.420        .42949E-03   -1.5661    
  14  norm          .30015E-06    8.1644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.6562        7.7287        .38891E-03   -1.5656    
  16  Normalizat    .50453        .27599        .92763E-01   -1.1221    
  17  Prefactor     1.2584        .17692        .33372E-01   -.84552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4148e-06
Minuit parameter uncertainties:
  1  0.00346627
  2  0.00319491
  3  0.00740532
  4  4.22815
  5  0.0195536
  6  0.00369884
  7  3.81365e-05
  8  9.75493
  9  14.9709
  10  26.6467
  11  2.9147e-05
  12  0.00409373
  13  33.2905
  14  0.0031308
  15  7.72867
  16  0.276744
  17  0.176999
number of points = 17394
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2352.0+1750_weekly_bin949
RA = 358.013, Dec = 17.8394
tmin = 812937601, tmax = 813542401
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='40750941', job_status='RUN', time_executed='2026-10-13 20:41:53.726117', time_epoch_executed='1791949313.73' WHERE source_name='4FGL J2352.0+1750' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40750941

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40750941/ft1_4FGL_J2352.0+1750_weekly_bin949.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40750941/ft2_4FGL_J2352.0+1750_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40750941/ft1_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750941/ft1_filteredMKT_4FGL_J2352.0+1750_weekly_bin949.fits ra=358.013 dec=17.8394 rad=12.0 tmin=812937601.0 tmax=813542401.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 5.09
user 4.52
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40750941/ft2_4FGL_J2352.0+1750_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40750941/ft2_4FGL_J2352.0+1750_weekly_bin949.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/40750941/ft1_filteredMKT_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40750941/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.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.54
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 339

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40750941/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40750941/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" outfile=/lscratch/kocevski/40750883/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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/40750883/ft2_4FGL_J2352.0+1750_weekly_bin949.fits
.....................!
real 17.94
user 17.43
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40750883/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40750883/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40750883/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750883/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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/40750883/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
.....................!
real 66.11
user 61.67
sys 3.91

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

Setting source of interest to:
4FGL J2352.0+1750 @ 358.013 17.8394

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40750883/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits scfile=/lscratch/kocevski/40750883/ft2_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750883/cmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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=358.013 yref=17.8394 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.54
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40750883/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits scfile=/lscratch/kocevski/40750883/ft2_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750883/cmap_HighResolution_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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=358.013 yref=17.8394 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.52
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40750883/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40750883/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40750883/Model_4FGL_J2352.0+1750_weekly_bin949.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 sourceDone.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  6.656e+00  7.729e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.258e+00  1.770e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  5.045e-01  2.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 358.013 17.839
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 2.93e-08 +/- 3.40e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 2.01e-05

TS (Fixed Index): 1.34
Ra Dec: 358.013 17.839
Photon Flux Upper Limit: 1.26071482668e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00950645291392 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40750818/likelihoodResults_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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) = 3846.2602106
delta logL = 0.00438072643601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3846.25668725
delta logL = 0.00790407910154

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8401       1.0000          .0000       .10000E+07
     2 'Index     '    2.1741       1.0000          .0000       10.000    
     3 'Normalizat'    .50092       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+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=   3846.257     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      245 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8383        10.418        .16613E-04    .11083E-01
   2  Index         2.1744        .95041        .75423E-02    .22798E-03
   3  Normalizat    .50101        .29306        .41248E-03   -.25592E-03
   4  Prefactor     1.2598        .19052        .17452E-03   -.69989E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.83834
  Index      = 2.17435
  Normalizat = 0.501014
  Prefactor  = 1.25979
 **********
 **   18 **HESSE 
 **********

 FCN=   3846.257     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8383        9.6161        .66454E-06   -1.5660    
   2  Index         2.1744        .87803        .30169E-03   -.60059    
   3  Normalizat    .50101        .29281        .16499E-04   -1.1237    
   4  Prefactor     1.2598        .19046        .34904E-04   -.84511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78135e-09
Minuit parameter uncertainties:
  1  9.61614
  2  0.884794
  3  0.293719
  4  0.190562
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) = 3846.25668714
delta logL = 0.00790419420764

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  5.838e+00  9.616e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.174e+00  8.848e-01  0.000e+00  1.000e+01 (-1.000e+00)
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.260e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  5.010e-01  2.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 358.013 17.839
Photon Index (Free Index): 2.17 +/- 0.88
Photon Flux (Free Index): 3.22e-08 +/- 4.37e-08
Energy Flux (Free Index): 1.52e-05 +/- 2.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40750818/cmap_HighResolution_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.51e-03', comment='SUCCESS', photon_flux='2.93e-08', energy_flux2='1.52e-05', photon_flux_error='3.40e-08', dlogl='7.90e-03', energy_flux='1.73e-05', photon_flux2='3.22e-08', job_status='DONE', time_completed='2026-10-13 20:44:53.689656', photon_index_error2='0.88', photon_index2='2.17', ts='1.34', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='2.32e-05', EG='0.50', time_epoch_completed='1791949493.69', return_code='0', job_id='40750818', GAL2='1.26', EG2='0.50', return_code2='0', energy_flux_error='2.01e-05', photon_flux_error2='4.37e-08', ts2='1.36', photon_index='2.07' WHERE bin_id='949' AND source_name='4FGL J2352.0+1750' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 20:44:53 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/40750859/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits......................!
real 20.66
user 18.93
sys 1.42

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40750859/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits', '/lscratch/kocevski/40750859/ft2_4FGL_J2352.0+1750_weekly_bin949.fits', expMap='/lscratch/kocevski/40750859/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits', expCube='/lscratch/kocevski/40750859/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40750859/Model_4FGL_J2352.0+1750_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2352.0+1750'

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.218e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40750859/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40750859/ft2_4FGL_J2352.0+1750_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40750859/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40750859/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40750859/Model_4FGL_J2352.0+1750_weekly_bin949.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) = 3846.27553685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11591E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .32092E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .23064E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7898       1.0000          .0000       .10000E+07
     5 'norm      '    .25994       1.0000          .0000       .10000E+07
     6 'Prefactor '    .87393E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11675E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .97183       1.0000          .0000       .10000E+07
     9 'Prefactor '    15.925       1.0000          .0000       .10000E+07
    10 'Prefactor '    17.498       1.0000          .0000       .10000E+07
    11 'norm      '    .21279E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .31043E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.4672       1.0000          .0000       .10000E+07
    14 'norm      '    .27393E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.6495       1.0000          .0000       .10000E+07
    16 'Normalizat'    .50454       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3846.265     FROM MIGRAD    STATUS=CONVERGED     87 CALLS     1141 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26290E-06    6.0560       -.25602E-05** at limit **
   2  Prefactor     .20384E-06    4.9566        .19297E-05** at limit **
   3  Prefactor     .93187E-06    13.120       -.39983E-05** at limit **
   4  Prefactor     3.7788        4.2237       -.17667E-06   -.13873E-03
   5  norm          .23165E-05    5.4490        .55016E-05** at limit **
   6  Prefactor     .30659E-06    6.6209       -.24121E-07** at limit **
   7  Prefactor     .22204E-09    1.7063       -.28590E-06** at limit **
   8  Prefactor     1.0493        1.1087       -.93165E-06   -.59105E-02
   9  Prefactor     15.977        2.5305        .28125E-07    .48649E-02
  10  Prefactor     17.639        1.6974       -.30072E-06   -.67746E-02
  11  norm          .55511E-10    6.0453        .72844E-06** at limit **
  12  Prefactor     .44764E-06    4.1976       -.29209E-05** at limit **
  13  Prefactor     5.4951        14.224        .75594E-05   -.75326E-01
  14  norm          .30015E-06    7.0662        .41613E-05** at limit **
  15  Prefactor     6.6562        7.7185       -.86422E-07   -.16892E-02
  16  Normalizat    .50453        .29162       -.66688E-05   -.22878E-04
  17  Prefactor     1.2584        .19037        .67137E-05   -.67511E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.62901e-07
  Prefactor  = 2.03837e-07
  Prefactor  = 9.31866e-07
  Prefactor  = 3.77883
  norm       = 2.31648e-06
  Prefactor  = 3.06588e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 1.04928
  Prefactor  = 15.9774
  Prefactor  = 17.6394
  norm       = 5.55112e-11
  Prefactor  = 4.47642e-07
  Prefactor  = 5.49507
  norm       = 3.00149e-07
  Prefactor  = 6.65617
  Normalizat = 0.504525
  Prefactor  = 1.25842
 **********
 **   18 **HESSE 
 **********

 FCN=   3846.265     FROM HESSE     STATUS=OK           255 CALLS     1396 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26290E-06    11.426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .20384E-06    12.518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .93187E-06    14.712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7788        4.2281        .51829E-03   -1.5669    
   5  norm          .23165E-05    41.262        .10793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .30659E-06    11.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22204E-09    1.7111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0493        22.672        .42766E-03   -1.5687    
   9  Prefactor     15.977        14.971        .25072E-03   -1.5628    
  10  Prefactor     17.639        26.647        .23916E-03   -1.5624    
  11  norm          .55511E-10    6.3122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .44764E-06    9.3588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.4951        50.420        .42949E-03   -1.5661    
  14  norm          .30015E-06    8.1644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.6562        7.7287        .38891E-03   -1.5656    
  16  Normalizat    .50453        .27599        .92763E-01   -1.1221    
  17  Prefactor     1.2584        .17692        .33372E-01   -.84552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4148e-06
Minuit parameter uncertainties:
  1  0.00346627
  2  0.00319491
  3  0.00740532
  4  4.22815
  5  0.0195536
  6  0.00369884
  7  3.81365e-05
  8  9.75493
  9  14.9709
  10  26.6467
  11  2.9147e-05
  12  0.00409373
  13  33.2905
  14  0.0031308
  15  7.72867
  16  0.276744
  17  0.176999
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  6.656e+00  7.729e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.258e+00  1.770e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  5.045e-01  2.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 358.013 17.839
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 2.93e-08 +/- 3.40e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 2.01e-05

TS (Fixed Index): 1.34
Ra Dec: 358.013 17.839
Photon Flux Upper Limit: 1.26071482668e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00950645291392 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40750859/likelihoodResults_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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) = 3846.2602106
delta logL = 0.00438072643601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3846.25668725
delta logL = 0.00790407910154

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8401       1.0000          .0000       .10000E+07
     2 'Index     '    2.1741       1.0000          .0000       10.000    
     3 'Normalizat'    .50092       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+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=   3846.257     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      245 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8383        10.418        .16613E-04    .11083E-01
   2  Index         2.1744        .95041        .75423E-02    .22798E-03
   3  Normalizat    .50101        .29306        .41248E-03   -.25592E-03
   4  Prefactor     1.2598        .19052        .17452E-03   -.69989E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.83834
  Index      = 2.17435
  Normalizat = 0.501014
  Prefactor  = 1.25979
 **********
 **   18 **HESSE 
 **********

 FCN=   3846.257     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8383        9.6161        .66454E-06   -1.5660    
   2  Index         2.1744        .87803        .30169E-03   -.60059    
   3  Normalizat    .50101        .29281        .16499E-04   -1.1237    
   4  Prefactor     1.2598        .19046        .34904E-04   -.84511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78135e-09
Minuit parameter uncertainties:
  1  9.61614
  2  0.884794
  3  0.293719
  4  0.190562
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) = 3846.25668714
delta logL = 0.00790419420764

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  5.838e+00  9.616e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.174e+00  8.848e-01  0.000e+00  1.000e+01 (-1.000e+00)
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.260e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  5.010e-01  2.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 358.013 17.839
Photon Index (Free Index): 2.17 +/- 0.88
Photon Flux (Free Index): 3.22e-08 +/- 4.37e-08
Energy Flux (Free Index): 1.52e-05 +/- 2.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40750859/cmap_HighResolution_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.51e-03', comment='SUCCESS', photon_flux='2.93e-08', energy_flux2='1.52e-05', photon_flux_error='3.40e-08', dlogl='7.90e-03', energy_flux='1.73e-05', photon_flux2='3.22e-08', job_status='DONE', time_completed='2026-10-13 20:45:16.636439', photon_index_error2='0.88', photon_index2='2.17', ts='1.34', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='2.32e-05', EG='0.50', time_epoch_completed='1791949516.64', return_code='0', job_id='40750859', GAL2='1.26', EG2='0.50', return_code2='0', energy_flux_error='2.01e-05', photon_flux_error2='4.37e-08', ts2='1.36', photon_index='2.07' WHERE bin_id='949' AND source_name='4FGL J2352.0+1750' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 20:45:16 PDT 2026

outfile=/lscratch/kocevski/40750908/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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/40750908/ft2_4FGL_J2352.0+1750_weekly_bin949.fits
.....................!
real 17.85
user 17.34
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40750908/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40750908/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40750908/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750908/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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/40750908/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
.....................!
real 66.54
user 62.11
sys 3.92

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

Setting source of interest to:
4FGL J2352.0+1750 @ 358.013 17.8394

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40750908/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits scfile=/lscratch/kocevski/40750908/ft2_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750908/cmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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=358.013 yref=17.8394 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.60
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40750908/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits scfile=/lscratch/kocevski/40750908/ft2_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750908/cmap_HighResolution_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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=358.013 yref=17.8394 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.59
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40750908/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40750908/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40750908/Model_4FGL_J2352.0+1750_weekly_bin949.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/40750883/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits......................!
real 20.49
user 19.17
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40750883/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits', '/lscratch/kocevski/40750883/ft2_4FGL_J2352.0+1750_weekly_bin949.fits', expMap='/lscratch/kocevski/40750883/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits', expCube='/lscratch/kocevski/40750883/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40750883/Model_4FGL_J2352.0+1750_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2352.0+1750'

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.218e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40750883/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40750883/ft2_4FGL_J2352.0+1750_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40750883/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40750883/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40750883/Model_4FGL_J2352.0+1750_weekly_bin949.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) = 3846.27553685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11591E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .32092E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .23064E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7898       1.0000          .0000       .10000E+07
     5 'norm      '    .25994       1.0000          .0000       .10000E+07
     6 'Prefactor '    .87393E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11675E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .97183       1.0000          .0000       .10000E+07
     9 'Prefactor '    15.925       1.0000          .0000       .10000E+07
    10 'Prefactor '    17.498       1.0000          .0000       .10000E+07
    11 'norm      '    .21279E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .31043E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.4672       1.0000          .0000       .10000E+07
    14 'norm      '    .27393E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.6495       1.0000          .0000       .10000E+07
    16 'Normalizat'    .50454       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3846.265     FROM MIGRAD    STATUS=CONVERGED     87 CALLS     1141 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26290E-06    6.0560       -.25602E-05** at limit **
   2  Prefactor     .20384E-06    4.9566        .19297E-05** at limit **
   3  Prefactor     .93187E-06    13.120       -.39983E-05** at limit **
   4  Prefactor     3.7788        4.2237       -.17667E-06   -.13873E-03
   5  norm          .23165E-05    5.4490        .55016E-05** at limit **
   6  Prefactor     .30659E-06    6.6209       -.24121E-07** at limit **
   7  Prefactor     .22204E-09    1.7063       -.28590E-06** at limit **
   8  Prefactor     1.0493        1.1087       -.93165E-06   -.59105E-02
   9  Prefactor     15.977        2.5305        .28125E-07    .48649E-02
  10  Prefactor     17.639        1.6974       -.30072E-06   -.67746E-02
  11  norm          .55511E-10    6.0453        .72844E-06** at limit **
  12  Prefactor     .44764E-06    4.1976       -.29209E-05** at limit **
  13  Prefactor     5.4951        14.224        .75594E-05   -.75326E-01
  14  norm          .30015E-06    7.0662        .41613E-05** at limit **
  15  Prefactor     6.6562        7.7185       -.86422E-07   -.16892E-02
  16  Normalizat    .50453        .29162       -.66688E-05   -.22878E-04
  17  Prefactor     1.2584        .19037        .67137E-05   -.67511E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.62901e-07
  Prefactor  = 2.03837e-07
  Prefactor  = 9.31866e-07
  Prefactor  = 3.77883
  norm       = 2.31648e-06
  Prefactor  = 3.06588e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 1.04928
  Prefactor  = 15.9774
  Prefactor  = 17.6394
  norm       = 5.55112e-11
  Prefactor  = 4.47642e-07
  Prefactor  = 5.49507
  norm       = 3.00149e-07
  Prefactor  = 6.65617
  Normalizat = 0.504525
  Prefactor  = 1.25842
outfile=/lscratch/kocevski/40750900/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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/40750900/ft2_4FGL_J2352.0+1750_weekly_bin949.fits
.....................!
real 19.67
user 19.04
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40750900/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40750900/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40750900/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750900/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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/40750900/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
.....................!
real 70.65
user 66.05
sys 4.02

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

Setting source of interest to:
4FGL J2352.0+1750 @ 358.013 17.8394

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40750900/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits scfile=/lscratch/kocevski/40750900/ft2_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750900/cmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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=358.013 yref=17.8394 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.59
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40750900/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits scfile=/lscratch/kocevski/40750900/ft2_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750900/cmap_HighResolution_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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=358.013 yref=17.8394 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.62
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40750900/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40750900/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40750900/Model_4FGL_J2352.0+1750_weekly_bin949.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 **********
 **   18 **HESSE 
 **********

 FCN=   3846.265     FROM HESSE     STATUS=OK           255 CALLS     1396 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26290E-06    11.426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .20384E-06    12.518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .93187E-06    14.712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7788        4.2281        .51829E-03   -1.5669    
   5  norm          .23165E-05    41.262        .10793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .30659E-06    11.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22204E-09    1.7111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0493        22.672        .42766E-03   -1.5687    
   9  Prefactor     15.977        14.971        .25072E-03   -1.5628    
  10  Prefactor     17.639        26.647        .23916E-03   -1.5624    
  11  norm          .55511E-10    6.3122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .44764E-06    9.3588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.4951        50.420        .42949E-03   -1.5661    
  14  norm          .30015E-06    8.1644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.6562        7.7287        .38891E-03   -1.5656    
  16  Normalizat    .50453        .27599        .92763E-01   -1.1221    
  17  Prefactor     1.2584        .17692        .33372E-01   -.84552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4148e-06
Minuit parameter uncertainties:
  1  0.00346627
  2  0.00319491
  3  0.00740532
  4  4.22815
  5  0.0195536
  6  0.00369884
  7  3.81365e-05
  8  9.75493
  9  14.9709
  10  26.6467
  11  2.9147e-05
  12  0.00409373
  13  33.2905
  14  0.0031308
  15  7.72867
  16  0.276744
  17  0.176999
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  6.656e+00  7.729e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.258e+00  1.770e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  5.045e-01  2.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 358.013 17.839
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 2.93e-08 +/- 3.40e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 2.01e-05

TS (Fixed Index): 1.34
Ra Dec: 358.013 17.839
Photon Flux Upper Limit: 1.26071482668e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00950645291392 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40750883/likelihoodResults_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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) = 3846.2602106
delta logL = 0.00438072643601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3846.25668725
delta logL = 0.00790407910154

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8401       1.0000          .0000       .10000E+07
     2 'Index     '    2.1741       1.0000          .0000       10.000    
     3 'Normalizat'    .50092       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+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=   3846.257     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      245 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8383        10.418        .16613E-04    .11083E-01
   2  Index         2.1744        .95041        .75423E-02    .22798E-03
   3  Normalizat    .50101        .29306        .41248E-03   -.25592E-03
   4  Prefactor     1.2598        .19052        .17452E-03   -.69989E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.83834
  Index      = 2.17435
  Normalizat = 0.501014
  Prefactor  = 1.25979
 **********
 **   18 **HESSE 
 **********

 FCN=   3846.257     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8383        9.6161        .66454E-06   -1.5660    
   2  Index         2.1744        .87803        .30169E-03   -.60059    
   3  Normalizat    .50101        .29281        .16499E-04   -1.1237    
   4  Prefactor     1.2598        .19046        .34904E-04   -.84511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78135e-09
Minuit parameter uncertainties:
  1  9.61614
  2  0.884794
  3  0.293719
  4  0.190562
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) = 3846.25668714
delta logL = 0.00790419420764

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  5.838e+00  9.616e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.174e+00  8.848e-01  0.000e+00  1.000e+01 (-1.000e+00)
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.260e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  5.010e-01  2.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 358.013 17.839
Photon Index (Free Index): 2.17 +/- 0.88
Photon Flux (Free Index): 3.22e-08 +/- 4.37e-08
Energy Flux (Free Index): 1.52e-05 +/- 2.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40750883/cmap_HighResolution_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.51e-03', comment='SUCCESS', photon_flux='2.93e-08', energy_flux2='1.52e-05', photon_flux_error='3.40e-08', dlogl='7.90e-03', energy_flux='1.73e-05', photon_flux2='3.22e-08', job_status='DONE', time_completed='2026-10-13 20:45:46.377999', photon_index_error2='0.88', photon_index2='2.17', ts='1.34', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='2.32e-05', EG='0.50', time_epoch_completed='1791949546.38', return_code='0', job_id='40750883', GAL2='1.26', EG2='0.50', return_code2='0', energy_flux_error='2.01e-05', photon_flux_error2='4.37e-08', ts2='1.36', photon_index='2.07' WHERE bin_id='949' AND source_name='4FGL J2352.0+1750' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 20:45:46 PDT 2026

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


Performing analysis on: 4FGL_J2352.0+1750_weekly_bin949
RA = 358.013, Dec = 17.8394
tmin = 812937601, tmax = 813542401
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='40751009', job_status='RUN', time_executed='2026-10-13 20:43:48.117245', time_epoch_executed='1791949428.12' WHERE source_name='4FGL J2352.0+1750' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40751009

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40751009/ft1_4FGL_J2352.0+1750_weekly_bin949.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40751009/ft2_4FGL_J2352.0+1750_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40751009/ft1_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40751009/ft1_filteredMKT_4FGL_J2352.0+1750_weekly_bin949.fits ra=358.013 dec=17.8394 rad=12.0 tmin=812937601.0 tmax=813542401.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.56
user 4.13
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40751009/ft2_4FGL_J2352.0+1750_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40751009/ft2_4FGL_J2352.0+1750_weekly_bin949.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/40751009/ft1_filteredMKT_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40751009/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.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.56
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 339

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40751009/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40751009/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA"  GAL_V02
Working on...
/lscratch/kocevski/40750908/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits......................!
real 19.78
user 18.51
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40750908/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits', '/lscratch/kocevski/40750908/ft2_4FGL_J2352.0+1750_weekly_bin949.fits', expMap='/lscratch/kocevski/40750908/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits', expCube='/lscratch/kocevski/40750908/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40750908/Model_4FGL_J2352.0+1750_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2352.0+1750'

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.218e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40750908/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40750908/ft2_4FGL_J2352.0+1750_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40750908/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40750908/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40750908/Model_4FGL_J2352.0+1750_weekly_bin949.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) = 3846.27553685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11591E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .32092E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .23064E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7898       1.0000          .0000       .10000E+07
     5 'norm      '    .25994       1.0000          .0000       .10000E+07
     6 'Prefactor '    .87393E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11675E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .97183       1.0000          .0000       .10000E+07
     9 'Prefactor '    15.925       1.0000          .0000       .10000E+07
    10 'Prefactor '    17.498       1.0000          .0000       .10000E+07
    11 'norm      '    .21279E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .31043E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.4672       1.0000          .0000       .10000E+07
    14 'norm      '    .27393E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.6495       1.0000          .0000       .10000E+07
    16 'Normalizat'    .50454       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3846.265     FROM MIGRAD    STATUS=CONVERGED     87 CALLS     1141 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26290E-06    6.0560       -.25602E-05** at limit **
   2  Prefactor     .20384E-06    4.9566        .19297E-05** at limit **
   3  Prefactor     .93187E-06    13.120       -.39983E-05** at limit **
   4  Prefactor     3.7788        4.2237       -.17667E-06   -.13873E-03
   5  norm          .23165E-05    5.4490        .55016E-05** at limit **
   6  Prefactor     .30659E-06    6.6209       -.24121E-07** at limit **
   7  Prefactor     .22204E-09    1.7063       -.28590E-06** at limit **
   8  Prefactor     1.0493        1.1087       -.93165E-06   -.59105E-02
   9  Prefactor     15.977        2.5305        .28125E-07    .48649E-02
  10  Prefactor     17.639        1.6974       -.30072E-06   -.67746E-02
  11  norm          .55511E-10    6.0453        .72844E-06** at limit **
  12  Prefactor     .44764E-06    4.1976       -.29209E-05** at limit **
  13  Prefactor     5.4951        14.224        .75594E-05   -.75326E-01
  14  norm          .30015E-06    7.0662        .41613E-05** at limit **
  15  Prefactor     6.6562        7.7185       -.86422E-07   -.16892E-02
  16  Normalizat    .50453        .29162       -.66688E-05   -.22878E-04
  17  Prefactor     1.2584        .19037        .67137E-05   -.67511E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.62901e-07
  Prefactor  = 2.03837e-07
  Prefactor  = 9.31866e-07
  Prefactor  = 3.77883
  norm       = 2.31648e-06
  Prefactor  = 3.06588e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 1.04928
  Prefactor  = 15.9774
  Prefactor  = 17.6394
  norm       = 5.55112e-11
  Prefactor  = 4.47642e-07
  Prefactor  = 5.49507
  norm       = 3.00149e-07
  Prefactor  = 6.65617
  Normalizat = 0.504525
  Prefactor  = 1.25842
 **********
 **   18 **HESSE 
 **********

 FCN=   3846.265     FROM HESSE     STATUS=OK           255 CALLS     1396 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26290E-06    11.426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .20384E-06    12.518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .93187E-06    14.712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7788        4.2281        .51829E-03   -1.5669    
   5  norm          .23165E-05    41.262        .10793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .30659E-06    11.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22204E-09    1.7111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0493        22.672        .42766E-03   -1.5687    
   9  Prefactor     15.977        14.971        .25072E-03   -1.5628    
  10  Prefactor     17.639        26.647        .23916E-03   -1.5624    
  11  norm          .55511E-10    6.3122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .44764E-06    9.3588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.4951        50.420        .42949E-03   -1.5661    
  14  norm          .30015E-06    8.1644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.6562        7.7287        .38891E-03   -1.5656    
  16  Normalizat    .50453        .27599        .92763E-01   -1.1221    
  17  Prefactor     1.2584        .17692        .33372E-01   -.84552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4148e-06
Minuit parameter uncertainties:
  1  0.00346627
  2  0.00319491
  3  0.00740532
  4  4.22815
  5  0.0195536
  6  0.00369884
  7  3.81365e-05
  8  9.75493
  9  14.9709
  10  26.6467
  11  2.9147e-05
  12  0.00409373
  13  33.2905
  14  0.0031308
  15  7.72867
  16  0.276744
  17  0.176999
 GAL_V02
Working on...
/lscratch/kocevski/40750900/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits......................!
real 21.62
user 20.08
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40750900/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits', '/lscratch/kocevski/40750900/ft2_4FGL_J2352.0+1750_weekly_bin949.fits', expMap='/lscratch/kocevski/40750900/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits', expCube='/lscratch/kocevski/40750900/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40750900/Model_4FGL_J2352.0+1750_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2352.0+1750'

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.218e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40750900/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40750900/ft2_4FGL_J2352.0+1750_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40750900/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40750900/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40750900/Model_4FGL_J2352.0+1750_weekly_bin949.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) = 3846.27553685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11591E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .32092E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .23064E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7898       1.0000          .0000       .10000E+07
     5 'norm      '    .25994       1.0000          .0000       .10000E+07
     6 'Prefactor '    .87393E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11675E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .97183       1.0000          .0000       .10000E+07
     9 'Prefactor '    15.925       1.0000          .0000       .10000E+07
    10 'Prefactor '    17.498       1.0000          .0000       .10000E+07
    11 'norm      '    .21279E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .31043E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.4672       1.0000          .0000       .10000E+07
    14 'norm      '    .27393E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.6495       1.0000          .0000       .10000E+07
    16 'Normalizat'    .50454       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3846.265     FROM MIGRAD    STATUS=CONVERGED     87 CALLS     1141 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26290E-06    6.0560       -.25602E-05** at limit **
   2  Prefactor     .20384E-06    4.9566        .19297E-05** at limit **
   3  Prefactor     .93187E-06    13.120       -.39983E-05** at limit **
   4  Prefactor     3.7788        4.2237       -.17667E-06   -.13873E-03
   5  norm          .23165E-05    5.4490        .55016E-05** at limit **
   6  Prefactor     .30659E-06    6.6209       -.24121E-07** at limit **
   7  Prefactor     .22204E-09    1.7063       -.28590E-06** at limit **
   8  Prefactor     1.0493        1.1087       -.93165E-06   -.59105E-02
   9  Prefactor     15.977        2.5305        .28125E-07    .48649E-02
  10  Prefactor     17.639        1.6974       -.30072E-06   -.67746E-02
  11  norm          .55511E-10    6.0453        .72844E-06** at limit **
  12  Prefactor     .44764E-06    4.1976       -.29209E-05** at limit **
  13  Prefactor     5.4951        14.224        .75594E-05   -.75326E-01
  14  norm          .30015E-06    7.0662        .41613E-05** at limit **
  15  Prefactor     6.6562        7.7185       -.86422E-07   -.16892E-02
  16  Normalizat    .50453        .29162       -.66688E-05   -.22878E-04
  17  Prefactor     1.2584        .19037        .67137E-05   -.67511E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.62901e-07
  Prefactor  = 2.03837e-07
  Prefactor  = 9.31866e-07
  Prefactor  = 3.77883
  norm       = 2.31648e-06
  Prefactor  = 3.06588e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 1.04928
  Prefactor  = 15.9774
  Prefactor  = 17.6394
  norm       = 5.55112e-11
  Prefactor  = 4.47642e-07
  Prefactor  = 5.49507
  norm       = 3.00149e-07
  Prefactor  = 6.65617
  Normalizat = 0.504525
  Prefactor  = 1.25842
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  6.656e+00  7.729e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.258e+00  1.770e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  5.045e-01  2.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 358.013 17.839
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 2.93e-08 +/- 3.40e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 2.01e-05

TS (Fixed Index): 1.34
Ra Dec: 358.013 17.839
Photon Flux Upper Limit: 1.26071482668e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00950645291392 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40750908/likelihoodResults_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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) = 3846.2602106
delta logL = 0.00438072643601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3846.25668725
delta logL = 0.00790407910154

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8401       1.0000          .0000       .10000E+07
     2 'Index     '    2.1741       1.0000          .0000       10.000    
     3 'Normalizat'    .50092       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+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=   3846.257     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      245 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8383        10.418        .16613E-04    .11083E-01
   2  Index         2.1744        .95041        .75423E-02    .22798E-03
   3  Normalizat    .50101        .29306        .41248E-03   -.25592E-03
   4  Prefactor     1.2598        .19052        .17452E-03   -.69989E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.83834
  Index      = 2.17435
  Normalizat = 0.501014
  Prefactor  = 1.25979
 **********
 **   18 **HESSE 
 **********

 FCN=   3846.257     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8383        9.6161        .66454E-06   -1.5660    
   2  Index         2.1744        .87803        .30169E-03   -.60059    
   3  Normalizat    .50101        .29281        .16499E-04   -1.1237    
   4  Prefactor     1.2598        .19046        .34904E-04   -.84511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78135e-09
Minuit parameter uncertainties:
  1  9.61614
  2  0.884794
  3  0.293719
  4  0.190562
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) = 3846.25668714
delta logL = 0.00790419420764

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  5.838e+00  9.616e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.174e+00  8.848e-01  0.000e+00  1.000e+01 (-1.000e+00)
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.260e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  5.010e-01  2.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 358.013 17.839
Photon Index (Free Index): 2.17 +/- 0.88
Photon Flux (Free Index): 3.22e-08 +/- 4.37e-08
Energy Flux (Free Index): 1.52e-05 +/- 2.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40750908/cmap_HighResolution_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.51e-03', comment='SUCCESS', photon_flux='2.93e-08', energy_flux2='1.52e-05', photon_flux_error='3.40e-08', dlogl='7.90e-03', energy_flux='1.73e-05', photon_flux2='3.22e-08', job_status='DONE', time_completed='2026-10-13 20:46:17.672637', photon_index_error2='0.88', photon_index2='2.17', ts='1.34', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='2.32e-05', EG='0.50', time_epoch_completed='1791949577.67', return_code='0', job_id='40750908', GAL2='1.26', EG2='0.50', return_code2='0', energy_flux_error='2.01e-05', photon_flux_error2='4.37e-08', ts2='1.36', photon_index='2.07' WHERE bin_id='949' AND source_name='4FGL J2352.0+1750' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 20:46:17 PDT 2026

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

 FCN=   3846.265     FROM HESSE     STATUS=OK           255 CALLS     1396 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26290E-06    11.426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .20384E-06    12.518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .93187E-06    14.712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7788        4.2281        .51829E-03   -1.5669    
   5  norm          .23165E-05    41.262        .10793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .30659E-06    11.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22204E-09    1.7111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0493        22.672        .42766E-03   -1.5687    
   9  Prefactor     15.977        14.971        .25072E-03   -1.5628    
  10  Prefactor     17.639        26.647        .23916E-03   -1.5624    
  11  norm          .55511E-10    6.3122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .44764E-06    9.3588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.4951        50.420        .42949E-03   -1.5661    
  14  norm          .30015E-06    8.1644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.6562        7.7287        .38891E-03   -1.5656    
  16  Normalizat    .50453        .27599        .92763E-01   -1.1221    
  17  Prefactor     1.2584        .17692        .33372E-01   -.84552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4148e-06
Minuit parameter uncertainties:
  1  0.00346627
  2  0.00319491
  3  0.00740532
  4  4.22815
  5  0.0195536
  6  0.00369884
  7  3.81365e-05
  8  9.75493
  9  14.9709
  10  26.6467
  11  2.9147e-05
  12  0.00409373
  13  33.2905
  14  0.0031308
  15  7.72867
  16  0.276744
  17  0.176999
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  6.656e+00  7.729e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.258e+00  1.770e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  5.045e-01  2.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 358.013 17.839
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 2.93e-08 +/- 3.40e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 2.01e-05

TS (Fixed Index): 1.34
Ra Dec: 358.013 17.839
Photon Flux Upper Limit: 1.26071482668e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00950645291392 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40750900/likelihoodResults_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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) = 3846.2602106
delta logL = 0.00438072643601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3846.25668725
delta logL = 0.00790407910154

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8401       1.0000          .0000       .10000E+07
     2 'Index     '    2.1741       1.0000          .0000       10.000    
     3 'Normalizat'    .50092       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+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=   3846.257     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      245 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8383        10.418        .16613E-04    .11083E-01
   2  Index         2.1744        .95041        .75423E-02    .22798E-03
   3  Normalizat    .50101        .29306        .41248E-03   -.25592E-03
   4  Prefactor     1.2598        .19052        .17452E-03   -.69989E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.83834
  Index      = 2.17435
  Normalizat = 0.501014
  Prefactor  = 1.25979
 **********
 **   18 **HESSE 
 **********

 FCN=   3846.257     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8383        9.6161        .66454E-06   -1.5660    
   2  Index         2.1744        .87803        .30169E-03   -.60059    
   3  Normalizat    .50101        .29281        .16499E-04   -1.1237    
   4  Prefactor     1.2598        .19046        .34904E-04   -.84511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78135e-09
Minuit parameter uncertainties:
  1  9.61614
  2  0.884794
  3  0.293719
  4  0.190562
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) = 3846.25668714
delta logL = 0.00790419420764

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  5.838e+00  9.616e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.174e+00  8.848e-01  0.000e+00  1.000e+01 (-1.000e+00)
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.260e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  5.010e-01  2.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 358.013 17.839
Photon Index (Free Index): 2.17 +/- 0.88
Photon Flux (Free Index): 3.22e-08 +/- 4.37e-08
Energy Flux (Free Index): 1.52e-05 +/- 2.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40750900/cmap_HighResolution_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.51e-03', comment='SUCCESS', photon_flux='2.93e-08', energy_flux2='1.52e-05', photon_flux_error='3.40e-08', dlogl='7.90e-03', energy_flux='1.73e-05', photon_flux2='3.22e-08', job_status='DONE', time_completed='2026-10-13 20:46:32.805642', photon_index_error2='0.88', photon_index2='2.17', ts='1.34', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='2.32e-05', EG='0.50', time_epoch_completed='1791949592.81', return_code='0', job_id='40750900', GAL2='1.26', EG2='0.50', return_code2='0', energy_flux_error='2.01e-05', photon_flux_error2='4.37e-08', ts2='1.36', photon_index='2.07' WHERE bin_id='949' AND source_name='4FGL J2352.0+1750' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 20:46:32 PDT 2026

outfile=/lscratch/kocevski/40750941/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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/40750941/ft2_4FGL_J2352.0+1750_weekly_bin949.fits
.....................!
real 19.47
user 18.94
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40750941/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40750941/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40750941/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750941/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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/40750941/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
.....................!
real 73.00
user 68.07
sys 4.30

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

Setting source of interest to:
4FGL J2352.0+1750 @ 358.013 17.8394

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40750941/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits scfile=/lscratch/kocevski/40750941/ft2_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750941/cmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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=358.013 yref=17.8394 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.25
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40750941/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits scfile=/lscratch/kocevski/40750941/ft2_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40750941/cmap_HighResolution_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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=358.013 yref=17.8394 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.54
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40750941/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40750941/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40750941/Model_4FGL_J2352.0+1750_weekly_bin949.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/40750941/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits......................!
real 22.99
user 21.30
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40750941/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits', '/lscratch/kocevski/40750941/ft2_4FGL_J2352.0+1750_weekly_bin949.fits', expMap='/lscratch/kocevski/40750941/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits', expCube='/lscratch/kocevski/40750941/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40750941/Model_4FGL_J2352.0+1750_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2352.0+1750'

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.218e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40750941/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40750941/ft2_4FGL_J2352.0+1750_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40750941/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40750941/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40750941/Model_4FGL_J2352.0+1750_weekly_bin949.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) = 3846.27553685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11591E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .32092E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .23064E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7898       1.0000          .0000       .10000E+07
     5 'norm      '    .25994       1.0000          .0000       .10000E+07
     6 'Prefactor '    .87393E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11675E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .97183       1.0000          .0000       .10000E+07
     9 'Prefactor '    15.925       1.0000          .0000       .10000E+07
    10 'Prefactor '    17.498       1.0000          .0000       .10000E+07
    11 'norm      '    .21279E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .31043E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.4672       1.0000          .0000       .10000E+07
    14 'norm      '    .27393E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.6495       1.0000          .0000       .10000E+07
    16 'Normalizat'    .50454       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3846.265     FROM MIGRAD    STATUS=CONVERGED     87 CALLS     1141 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26290E-06    6.0560       -.25602E-05** at limit **
   2  Prefactor     .20384E-06    4.9566        .19297E-05** at limit **
   3  Prefactor     .93187E-06    13.120       -.39983E-05** at limit **
   4  Prefactor     3.7788        4.2237       -.17667E-06   -.13873E-03
   5  norm          .23165E-05    5.4490        .55016E-05** at limit **
   6  Prefactor     .30659E-06    6.6209       -.24121E-07** at limit **
   7  Prefactor     .22204E-09    1.7063       -.28590E-06** at limit **
   8  Prefactor     1.0493        1.1087       -.93165E-06   -.59105E-02
   9  Prefactor     15.977        2.5305        .28125E-07    .48649E-02
  10  Prefactor     17.639        1.6974       -.30072E-06   -.67746E-02
  11  norm          .55511E-10    6.0453        .72844E-06** at limit **
  12  Prefactor     .44764E-06    4.1976       -.29209E-05** at limit **
  13  Prefactor     5.4951        14.224        .75594E-05   -.75326E-01
  14  norm          .30015E-06    7.0662        .41613E-05** at limit **
  15  Prefactor     6.6562        7.7185       -.86422E-07   -.16892E-02
  16  Normalizat    .50453        .29162       -.66688E-05   -.22878E-04
  17  Prefactor     1.2584        .19037        .67137E-05   -.67511E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.62901e-07
  Prefactor  = 2.03837e-07
  Prefactor  = 9.31866e-07
  Prefactor  = 3.77883
  norm       = 2.31648e-06
  Prefactor  = 3.06588e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 1.04928
  Prefactor  = 15.9774
  Prefactor  = 17.6394
  norm       = 5.55112e-11
  Prefactor  = 4.47642e-07
  Prefactor  = 5.49507
  norm       = 3.00149e-07
  Prefactor  = 6.65617
  Normalizat = 0.504525
  Prefactor  = 1.25842
 **********
 **   18 **HESSE 
 **********

 FCN=   3846.265     FROM HESSE     STATUS=OK           255 CALLS     1396 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26290E-06    11.426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .20384E-06    12.518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .93187E-06    14.712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7788        4.2281        .51829E-03   -1.5669    
   5  norm          .23165E-05    41.262        .10793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .30659E-06    11.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22204E-09    1.7111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0493        22.672        .42766E-03   -1.5687    
   9  Prefactor     15.977        14.971        .25072E-03   -1.5628    
  10  Prefactor     17.639        26.647        .23916E-03   -1.5624    
  11  norm          .55511E-10    6.3122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .44764E-06    9.3588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.4951        50.420        .42949E-03   -1.5661    
  14  norm          .30015E-06    8.1644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.6562        7.7287        .38891E-03   -1.5656    
  16  Normalizat    .50453        .27599        .92763E-01   -1.1221    
  17  Prefactor     1.2584        .17692        .33372E-01   -.84552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4148e-06
Minuit parameter uncertainties:
  1  0.00346627
  2  0.00319491
  3  0.00740532
  4  4.22815
  5  0.0195536
  6  0.00369884
  7  3.81365e-05
  8  9.75493
  9  14.9709
  10  26.6467
  11  2.9147e-05
  12  0.00409373
  13  33.2905
  14  0.0031308
  15  7.72867
  16  0.276744
  17  0.176999
outfile=/lscratch/kocevski/40751009/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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/40751009/ft2_4FGL_J2352.0+1750_weekly_bin949.fits
.....................!
real 18.61
user 18.03
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40751009/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40751009/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40751009/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40751009/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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/40751009/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
.....................!
real 68.45
user 64.02
sys 3.86

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

Setting source of interest to:
4FGL J2352.0+1750 @ 358.013 17.8394

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40751009/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits scfile=/lscratch/kocevski/40751009/ft2_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40751009/cmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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=358.013 yref=17.8394 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.55
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40751009/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits scfile=/lscratch/kocevski/40751009/ft2_4FGL_J2352.0+1750_weekly_bin949.fits outfile=/lscratch/kocevski/40751009/cmap_HighResolution_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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=358.013 yref=17.8394 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.54
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40751009/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40751009/ft2_4FGL_J2352.0+1750_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40751009/Model_4FGL_J2352.0+1750_weekly_bin949.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 sourceDone.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  6.656e+00  7.729e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.258e+00  1.770e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  5.045e-01  2.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 358.013 17.839
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 2.93e-08 +/- 3.40e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 2.01e-05

TS (Fixed Index): 1.34
Ra Dec: 358.013 17.839
Photon Flux Upper Limit: 1.26071482668e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00950645291392 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40750941/likelihoodResults_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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) = 3846.2602106
delta logL = 0.00438072643601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3846.25668725
delta logL = 0.00790407910154

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8401       1.0000          .0000       .10000E+07
     2 'Index     '    2.1741       1.0000          .0000       10.000    
     3 'Normalizat'    .50092       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+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=   3846.257     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      245 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8383        10.418        .16613E-04    .11083E-01
   2  Index         2.1744        .95041        .75423E-02    .22798E-03
   3  Normalizat    .50101        .29306        .41248E-03   -.25592E-03
   4  Prefactor     1.2598        .19052        .17452E-03   -.69989E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.83834
  Index      = 2.17435
  Normalizat = 0.501014
  Prefactor  = 1.25979
 **********
 **   18 **HESSE 
 **********

 FCN=   3846.257     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8383        9.6161        .66454E-06   -1.5660    
   2  Index         2.1744        .87803        .30169E-03   -.60059    
   3  Normalizat    .50101        .29281        .16499E-04   -1.1237    
   4  Prefactor     1.2598        .19046        .34904E-04   -.84511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78135e-09
Minuit parameter uncertainties:
  1  9.61614
  2  0.884794
  3  0.293719
  4  0.190562
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) = 3846.25668714
delta logL = 0.00790419420764

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  5.838e+00  9.616e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.174e+00  8.848e-01  0.000e+00  1.000e+01 (-1.000e+00)
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.260e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  5.010e-01  2.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 358.013 17.839
Photon Index (Free Index): 2.17 +/- 0.88
Photon Flux (Free Index): 3.22e-08 +/- 4.37e-08
Energy Flux (Free Index): 1.52e-05 +/- 2.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40750941/cmap_HighResolution_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.51e-03', comment='SUCCESS', photon_flux='2.93e-08', energy_flux2='1.52e-05', photon_flux_error='3.40e-08', dlogl='7.90e-03', energy_flux='1.73e-05', photon_flux2='3.22e-08', job_status='DONE', time_completed='2026-10-13 20:47:46.224311', photon_index_error2='0.88', photon_index2='2.17', ts='1.34', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='2.32e-05', EG='0.50', time_epoch_completed='1791949666.22', return_code='0', job_id='40750941', GAL2='1.26', EG2='0.50', return_code2='0', energy_flux_error='2.01e-05', photon_flux_error2='4.37e-08', ts2='1.36', photon_index='2.07' WHERE bin_id='949' AND source_name='4FGL J2352.0+1750' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 20:47:46 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/40751009/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits......................!
real 20.46
user 19.30
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40751009/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits', '/lscratch/kocevski/40751009/ft2_4FGL_J2352.0+1750_weekly_bin949.fits', expMap='/lscratch/kocevski/40751009/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits', expCube='/lscratch/kocevski/40751009/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40751009/Model_4FGL_J2352.0+1750_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2352.0+1750'

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.218e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40751009/ft1_filtered_4FGL_J2352.0+1750_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40751009/ft2_4FGL_J2352.0+1750_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40751009/expmap_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40751009/ltcube_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40751009/Model_4FGL_J2352.0+1750_weekly_bin949.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) = 3846.27553685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11591E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .32092E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .23064E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7898       1.0000          .0000       .10000E+07
     5 'norm      '    .25994       1.0000          .0000       .10000E+07
     6 'Prefactor '    .87393E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11675E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .97183       1.0000          .0000       .10000E+07
     9 'Prefactor '    15.925       1.0000          .0000       .10000E+07
    10 'Prefactor '    17.498       1.0000          .0000       .10000E+07
    11 'norm      '    .21279E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .31043E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.4672       1.0000          .0000       .10000E+07
    14 'norm      '    .27393E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.6495       1.0000          .0000       .10000E+07
    16 'Normalizat'    .50454       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3846.265     FROM MIGRAD    STATUS=CONVERGED     87 CALLS     1141 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26290E-06    6.0560       -.25602E-05** at limit **
   2  Prefactor     .20384E-06    4.9566        .19297E-05** at limit **
   3  Prefactor     .93187E-06    13.120       -.39983E-05** at limit **
   4  Prefactor     3.7788        4.2237       -.17667E-06   -.13873E-03
   5  norm          .23165E-05    5.4490        .55016E-05** at limit **
   6  Prefactor     .30659E-06    6.6209       -.24121E-07** at limit **
   7  Prefactor     .22204E-09    1.7063       -.28590E-06** at limit **
   8  Prefactor     1.0493        1.1087       -.93165E-06   -.59105E-02
   9  Prefactor     15.977        2.5305        .28125E-07    .48649E-02
  10  Prefactor     17.639        1.6974       -.30072E-06   -.67746E-02
  11  norm          .55511E-10    6.0453        .72844E-06** at limit **
  12  Prefactor     .44764E-06    4.1976       -.29209E-05** at limit **
  13  Prefactor     5.4951        14.224        .75594E-05   -.75326E-01
  14  norm          .30015E-06    7.0662        .41613E-05** at limit **
  15  Prefactor     6.6562        7.7185       -.86422E-07   -.16892E-02
  16  Normalizat    .50453        .29162       -.66688E-05   -.22878E-04
  17  Prefactor     1.2584        .19037        .67137E-05   -.67511E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.62901e-07
  Prefactor  = 2.03837e-07
  Prefactor  = 9.31866e-07
  Prefactor  = 3.77883
  norm       = 2.31648e-06
  Prefactor  = 3.06588e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 1.04928
  Prefactor  = 15.9774
  Prefactor  = 17.6394
  norm       = 5.55112e-11
  Prefactor  = 4.47642e-07
  Prefactor  = 5.49507
  norm       = 3.00149e-07
  Prefactor  = 6.65617
  Normalizat = 0.504525
  Prefactor  = 1.25842
 **********
 **   18 **HESSE 
 **********

 FCN=   3846.265     FROM HESSE     STATUS=OK           255 CALLS     1396 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26290E-06    11.426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .20384E-06    12.518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .93187E-06    14.712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7788        4.2281        .51829E-03   -1.5669    
   5  norm          .23165E-05    41.262        .10793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .30659E-06    11.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22204E-09    1.7111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0493        22.672        .42766E-03   -1.5687    
   9  Prefactor     15.977        14.971        .25072E-03   -1.5628    
  10  Prefactor     17.639        26.647        .23916E-03   -1.5624    
  11  norm          .55511E-10    6.3122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .44764E-06    9.3588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.4951        50.420        .42949E-03   -1.5661    
  14  norm          .30015E-06    8.1644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.6562        7.7287        .38891E-03   -1.5656    
  16  Normalizat    .50453        .27599        .92763E-01   -1.1221    
  17  Prefactor     1.2584        .17692        .33372E-01   -.84552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4148e-06
Minuit parameter uncertainties:
  1  0.00346627
  2  0.00319491
  3  0.00740532
  4  4.22815
  5  0.0195536
  6  0.00369884
  7  3.81365e-05
  8  9.75493
  9  14.9709
  10  26.6467
  11  2.9147e-05
  12  0.00409373
  13  33.2905
  14  0.0031308
  15  7.72867
  16  0.276744
  17  0.176999
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  6.656e+00  7.729e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.258e+00  1.770e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  5.045e-01  2.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 358.013 17.839
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 2.93e-08 +/- 3.40e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 2.01e-05

TS (Fixed Index): 1.34
Ra Dec: 358.013 17.839
Photon Flux Upper Limit: 1.26071482668e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00950645291392 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40751009/likelihoodResults_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.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) = 3846.2602106
delta logL = 0.00438072643601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3846.25668725
delta logL = 0.00790407910154

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8401       1.0000          .0000       .10000E+07
     2 'Index     '    2.1741       1.0000          .0000       10.000    
     3 'Normalizat'    .50092       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+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=   3846.257     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      245 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8383        10.418        .16613E-04    .11083E-01
   2  Index         2.1744        .95041        .75423E-02    .22798E-03
   3  Normalizat    .50101        .29306        .41248E-03   -.25592E-03
   4  Prefactor     1.2598        .19052        .17452E-03   -.69989E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.83834
  Index      = 2.17435
  Normalizat = 0.501014
  Prefactor  = 1.25979
 **********
 **   18 **HESSE 
 **********

 FCN=   3846.257     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8383        9.6161        .66454E-06   -1.5660    
   2  Index         2.1744        .87803        .30169E-03   -.60059    
   3  Normalizat    .50101        .29281        .16499E-04   -1.1237    
   4  Prefactor     1.2598        .19046        .34904E-04   -.84511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78135e-09
Minuit parameter uncertainties:
  1  9.61614
  2  0.884794
  3  0.293719
  4  0.190562
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) = 3846.25668714
delta logL = 0.00790419420764

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  5.838e+00  9.616e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.174e+00  8.848e-01  0.000e+00  1.000e+01 (-1.000e+00)
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.260e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  5.010e-01  2.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 358.013 17.839
Photon Index (Free Index): 2.17 +/- 0.88
Photon Flux (Free Index): 3.22e-08 +/- 4.37e-08
Energy Flux (Free Index): 1.52e-05 +/- 2.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40751009/cmap_HighResolution_812937601_813542401_4FGL_J2352.0+1750_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.51e-03', comment='SUCCESS', photon_flux='2.93e-08', energy_flux2='1.52e-05', photon_flux_error='3.40e-08', dlogl='7.90e-03', energy_flux='1.73e-05', photon_flux2='3.22e-08', job_status='DONE', time_completed='2026-10-13 20:48:41.880238', photon_index_error2='0.88', photon_index2='2.17', ts='1.34', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='2.32e-05', EG='0.50', time_epoch_completed='1791949721.88', return_code='0', job_id='40751009', GAL2='1.26', EG2='0.50', return_code2='0', energy_flux_error='2.01e-05', photon_flux_error2='4.37e-08', ts2='1.36', photon_index='2.07' WHERE bin_id='949' AND source_name='4FGL J2352.0+1750' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 20:48:42 PDT 2026

