/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J1535.9+3743_weekly_bin906
RA = 233.983, Dec = 37.7249
tmin = 786931201, tmax = 787536001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='17379771', job_status='RUN', time_executed='2025-12-16 02:45:52.924254', time_epoch_executed='1765881952.92' WHERE source_name='4FGL J1535.9+3743' and cadence='weekly' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17379771

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17379771/ft1_4FGL_J1535.9+3743_weekly_bin906.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17379771/ft2_4FGL_J1535.9+3743_weekly_bin906.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17379771/ft1_4FGL_J1535.9+3743_weekly_bin906.fits outfile=/lscratch/kocevski/17379771/ft1_filteredMKT_4FGL_J1535.9+3743_weekly_bin906.fits ra=233.983 dec=37.7249 rad=12.0 tmin=786931201.0 tmax=787536001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.84
user 4.98
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17379771/ft2_4FGL_J1535.9+3743_weekly_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17379771/ft2_4FGL_J1535.9+3743_weekly_bin906.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/17379771/ft1_filteredMKT_4FGL_J1535.9+3743_weekly_bin906.fits evtable="EVENTS" outfile="/lscratch/kocevski/17379771/ft1_filtered_4FGL_J1535.9+3743_weekly_bin906.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.91
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1400

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17379771/ft1_filtered_4FGL_J1535.9+3743_weekly_bin906.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17379771/ft2_4FGL_J1535.9+3743_weekly_bin906.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17379771/ltcube_786931201_787536001_4FGL_J1535.9+3743_weekly_bin906.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/17379771/ft2_4FGL_J1535.9+3743_weekly_bin906.fits
.....................!
real 18.18
user 17.37
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17379771/ft1_filtered_4FGL_J1535.9+3743_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17379771/ft2_4FGL_J1535.9+3743_weekly_bin906.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17379771/ltcube_786931201_787536001_4FGL_J1535.9+3743_weekly_bin906.fits outfile=/lscratch/kocevski/17379771/expmap_786931201_787536001_4FGL_J1535.9+3743_weekly_bin906.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/17379771/ltcube_786931201_787536001_4FGL_J1535.9+3743_weekly_bin906.fits
.....................!
real 66.61
user 61.99
sys 3.78

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

Setting source of interest to:
4FGL J1535.9+3743 @ 233.983 37.7249

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17379771/ft1_filtered_4FGL_J1535.9+3743_weekly_bin906.fits scfile=/lscratch/kocevski/17379771/ft2_4FGL_J1535.9+3743_weekly_bin906.fits outfile=/lscratch/kocevski/17379771/cmap_786931201_787536001_4FGL_J1535.9+3743_weekly_bin906.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=233.983 yref=37.7249 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 1.05
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17379771/ft1_filtered_4FGL_J1535.9+3743_weekly_bin906.fits scfile=/lscratch/kocevski/17379771/ft2_4FGL_J1535.9+3743_weekly_bin906.fits outfile=/lscratch/kocevski/17379771/cmap_HighResolution_786931201_787536001_4FGL_J1535.9+3743_weekly_bin906.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=233.983 yref=37.7249 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 1.03
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17379771/ft1_filtered_4FGL_J1535.9+3743_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17379771/ft2_4FGL_J1535.9+3743_weekly_bin906.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17379771/Model_4FGL_J1535.9+3743_weekly_bin906.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/17379771/ft1_filtered_4FGL_J1535.9+3743_weekly_bin906.fits....................!
real 38.38
user 36.55
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17379771/ft1_filtered_4FGL_J1535.9+3743_weekly_bin906.fits', '/lscratch/kocevski/17379771/ft2_4FGL_J1535.9+3743_weekly_bin906.fits', expMap='/lscratch/kocevski/17379771/expmap_786931201_787536001_4FGL_J1535.9+3743_weekly_bin906.fits', expCube='/lscratch/kocevski/17379771/ltcube_786931201_787536001_4FGL_J1535.9+3743_weekly_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17379771/Model_4FGL_J1535.9+3743_weekly_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1535.9+3743'

4FGL J1535.9+3743
   Spectrum: LogParabola
303         norm:  5.210e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
304        alpha:  2.450e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
305         beta:  1.985e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
306           Eb:  1.271e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17379771/ft1_filtered_4FGL_J1535.9+3743_weekly_bin906.fits
Spacecraft file(s): /lscratch/kocevski/17379771/ft2_4FGL_J1535.9+3743_weekly_bin906.fits
Exposure map: /lscratch/kocevski/17379771/expmap_786931201_787536001_4FGL_J1535.9+3743_weekly_bin906.fits
Exposure cube: /lscratch/kocevski/17379771/ltcube_786931201_787536001_4FGL_J1535.9+3743_weekly_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17379771/Model_4FGL_J1535.9+3743_weekly_bin906.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .89794       1.0000          .0000       .10000E+07
     2 'norm      '    .54198E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.0734       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.2929       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.5190       1.0000          .0000       .10000E+07
     6 'norm      '    .38887E-04   1.0000          .0000       .10000E+07
     7 'norm      '    1.0826       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13301E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    18.527       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.4874       1.0000          .0000       .10000E+07
    11 'Prefactor '    .28274E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .88785       1.0000          .0000       .10000E+07
    13 'Prefactor '    .84322E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    27.693       1.0000          .0000       .10000E+07
    15 'norm      '    17.211       1.0000          .0000       .10000E+07
    16 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    17 'Prefactor '    .23763E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .92947       1.0000          .0000       .10000E+07
    19 'Prefactor '    13.216       1.0000          .0000       .10000E+07
    20 'Prefactor '    .13060E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .78698E-06   1.0000          .0000       .10000E+07
    22 'norm      '    .12312       1.0000          .0000       .10000E+07
    23 'Prefactor '    .82445E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2054       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .77266       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15305.92     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     2126 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89330        2.3052       -.65625E-07   -.46389E-01
   2  norm          .22204E-09    2.4020       -.70143E-07** at limit **
   3  Prefactor     8.0708        1.0940       -.13547E-10   -.52063E-02
   4  Prefactor     3.2926        2.7921        .23952E-07    .24517E-02
   5  Prefactor     3.5167        2.8152       -.23621E-07   -.17907E-02
   6  norm          .22204E-09    1.6808       -.53385E-08** at limit **
   7  norm          1.0815        1.1888       -.13624E-07   -.13282E-02
   8  Prefactor     .38858E-09    2.1160       -.10219E-06** at limit **
   9  Prefactor     18.544        2.2261        .18747E-07   -.72814E-01
  10  Prefactor     4.4780        6.3815       -.26213E-07    .14956E-01
  11  Prefactor     .29421E-07    3.0084       -.28742E-07** at limit **
  12  norm          .88752        .54017        .31425E-07    .18501E-01
  13  Prefactor     .23315E-08    20.731        .45933E-06** at limit **
  14  Prefactor     27.657        3.4702        .57922E-08   -.13846    
  15  norm          17.210        1.3262       -.15924E-08    .10594E-01
  16  Prefactor      .0000        .36754       -.42676E-08** at limit **
  17  Prefactor     .19096E-07    2.8727        .15076E-07** at limit **
  18  Prefactor     .93066        1.8029        .31295E-09   -.36298E-03
  19  Prefactor     13.205        5.5120       -.20601E-07    .34003E-01
  20  Prefactor     .55511E-10    23.040        .28137E-06** at limit **
  21  Prefactor      .0000        .63378        .50704E-08** at limit **
  22  norm          .12308        .78983E-01   -.90224E-08** at limit **
  23  Prefactor     .13323E-08    5.0480       -.17733E-08** at limit **
  24  Normalizat    1.2053        .12618        .73607E-06    .18226E-03
  25  Prefactor     .77263        .11869       -.42334E-06    .10521E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.8933
  norm       = 2.22045e-10
  Prefactor  = 8.07078
  Prefactor  = 3.29263
  Prefactor  = 3.51671
  norm       = 2.22045e-10
  norm       = 1.08147
  Prefactor  = 3.88578e-10
  Prefactor  = 18.5435
  Prefactor  = 4.47801
  Prefactor  = 2.94209e-08
  norm       = 0.887517
  Prefactor  = 2.33147e-09
  Prefactor  = 27.6574
  norm       = 17.2098
  Prefactor  = 0
  Prefactor  = 1.90958e-08
  Prefactor  = 0.930656
  Prefactor  = 13.2046
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0.123083
  Prefactor  = 1.33227e-09
  Normalizat = 1.20533
  Prefactor  = 0.772634
 **********
 **   18 **HESSE 
 **********

 FCN=   15305.92     FROM HESSE     STATUS=OK           489 CALLS     2615 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89330        2.3998        .45903E-03   -1.5689    
   2  norm          .22204E-09    2.4043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.0708        7.3126        .35262E-03   -1.5651    
   4  Prefactor     3.2926        2.8323        .55770E-03   -1.5672    
   5  Prefactor     3.5167        2.8134        .53866E-03   -1.5670    
   6  norm          .22204E-09    .38978        .25199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.0815        1.1897        .11557E-03   -1.5687    
   8  Prefactor     .38858E-09    2.1137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.544        40.868        .23241E-03   -1.5622    
  10  Prefactor     4.4780        9.6479        .47506E-03   -1.5666    
  11  Prefactor     .29421E-07    3.7794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .88752        .56630        .46604E-03   -1.5689    
  13  Prefactor     .23315E-08    2.2954        .59341E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     27.657        14.903        .19006E-03   -1.5603    
  15  norm          17.210        8.8426        .24115E-03   -1.5625    
  16  Prefactor      .0000        .36801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .19096E-07    3.5051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .93066        1.8121        .43744E-03   -1.5689    
  19  Prefactor     13.205        5.5653        .27527E-03   -1.5635    
  20  Prefactor     .55511E-10    23.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        .63042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .12308        .84712E-01    .61135E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .13323E-08    5.0998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2053        .11173        .34761E-01   -.86438    
  25  Prefactor     .77263        .10277        .43360E-01   -1.0075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35386e-06
Minuit parameter uncertainties:
  1  2.39978
  2  4.36983e-05
  3  7.31258
  4  2.83232
  5  2.81344
  6  1.85695e-05
  7  1.18965
  8  5.55141e-05
  9  40.8686
  10  9.64798
  11  0.000667066
  12  0.566304
  13  0.000145828
  14  14.9032
  15  8.84264
  16  1.85921e-06
  17  0.000517399
  18  1.81206
  19  5.56529
  20  6.61366e-05
  21  5.73819e-06
  22  0.0847116
  23  0.000163809
  24  0.111754
  25  0.102799
Done.

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

Extracting fit parameters...

4FGL J1535.9+3743
   Spectrum: LogParabola
303         norm:  1.721e+01  8.843e+00  0.000e+00  1.000e+06 ( 1.000e-13)
304        alpha:  2.450e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
305         beta:  1.985e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
306           Eb:  1.271e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  7.726e-01  1.028e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  1.205e+00  1.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.71
Ra Dec: 233.983 37.725
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 2.98e-08 +/- 1.53e-08
Energy Flux (Fixed Index): 1.16e-05 +/- 5.96e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15305.8327726
delta logL = 0.0891920415597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15305.8290818
delta logL = 0.0928827915777

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.280       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6999       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77795       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+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=   15305.83     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      303 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.277        11.408        .10592E-04    .11049E-01
   2  alpha         2.6998        .63848        .14926E-01    .18748E-03
   3  Normalizat    1.1952        .12797        .21841E-03    .55172E-03
   4  Prefactor     .77809        .11956        .25111E-03    .56076E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.2772
  alpha      = 2.69982
  Normalizat = 1.1952
  Prefactor  = 0.778094
 **********
 **   18 **HESSE 
 **********

 FCN=   15305.83     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.277        10.281        .42366E-06   -1.5632    
   2  alpha         2.6998        .57560        .59704E-03    .80014E-01
   3  Normalizat    1.1952        .12745        .43682E-04   -.86751    
   4  Prefactor     .77809        .11939        .10044E-04   -1.0054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.0877e-10
Minuit parameter uncertainties:
  1  10.281
  2  0.58084
  3  0.127487
  4  0.119427
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) = 15305.8290799
delta logL = 0.0928847737414

Extracting fit parameters...

4FGL J1535.9+3743
   Spectrum: LogParabola
303         norm:  1.428e+01  1.028e+01  0.000e+00  1.000e+06 ( 1.000e-13)
304        alpha:  2.700e+00  5.808e-01  0.000e+00  5.000e+00 ( 1.000e+00)
305         beta:  1.985e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
306           Eb:  1.271e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  7.781e-01  1.194e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  1.195e+00  1.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.89
Ra Dec: 233.983 37.725
Photon Index (Free Index): 2.70 +/- 0.58
Photon Flux (Free Index): 3.75e-08 +/- 2.57e-08
Energy Flux (Free Index): 1.17e-05 +/- 5.72e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/17379771/cmap_HighResolution_786931201_787536001_4FGL_J1535.9+3743_weekly_bin906.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.98e-08', energy_flux2='1.17e-05', photon_flux_error='1.53e-08', dlogl='9.29e-02', energy_flux='1.16e-05', photon_flux2='3.75e-08', job_status='DONE', time_completed='2025-12-16 02:58:24.845951', photon_index_error2='0.58', photon_index2='2.70', ts='7.71', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='5.72e-06', EG='1.21', time_epoch_completed='1765882704.85', return_code='0', job_id='17379771', GAL2='0.78', EG2='1.20', return_code2='0', energy_flux_error='5.96e-06', photon_flux_error2='2.57e-08', ts2='7.89', photon_index='2.45' WHERE bin_id='906' AND source_name='4FGL J1535.9+3743' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 16 02:58:25 PST 2025

