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


Performing analysis on: 4FGL_J1350.8+3033_weekly_bin907
RA = 207.715, Dec = 30.5588
tmin = 787536001, tmax = 788140801
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='17774568', job_status='RUN', time_executed='2025-12-23 01:53:25.689276', time_epoch_executed='1766483605.69' WHERE source_name='4FGL J1350.8+3033' and cadence='weekly' and bin_id='907'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17774568

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17774568/ft1_4FGL_J1350.8+3033_weekly_bin907.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17774568/ft2_4FGL_J1350.8+3033_weekly_bin907.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17774568/ft1_4FGL_J1350.8+3033_weekly_bin907.fits outfile=/lscratch/kocevski/17774568/ft1_filteredMKT_4FGL_J1350.8+3033_weekly_bin907.fits ra=207.715 dec=30.5588 rad=12.0 tmin=787536001.0 tmax=788140801.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.58
user 3.73
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17774568/ft2_4FGL_J1350.8+3033_weekly_bin907.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17774568/ft2_4FGL_J1350.8+3033_weekly_bin907.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/17774568/ft1_filteredMKT_4FGL_J1350.8+3033_weekly_bin907.fits evtable="EVENTS" outfile="/lscratch/kocevski/17774568/ft1_filtered_4FGL_J1350.8+3033_weekly_bin907.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 1.06
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 1698

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17774568/ft1_filtered_4FGL_J1350.8+3033_weekly_bin907.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17774568/ft2_4FGL_J1350.8+3033_weekly_bin907.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17774568/ltcube_787536001_788140801_4FGL_J1350.8+3033_weekly_bin907.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/17774568/ft2_4FGL_J1350.8+3033_weekly_bin907.fits
.....................!
real 16.67
user 15.63
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17774568/ft1_filtered_4FGL_J1350.8+3033_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17774568/ft2_4FGL_J1350.8+3033_weekly_bin907.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17774568/ltcube_787536001_788140801_4FGL_J1350.8+3033_weekly_bin907.fits outfile=/lscratch/kocevski/17774568/expmap_787536001_788140801_4FGL_J1350.8+3033_weekly_bin907.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/17774568/ltcube_787536001_788140801_4FGL_J1350.8+3033_weekly_bin907.fits
.....................!
real 65.01
user 59.88
sys 3.53

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

Setting source of interest to:
4FGL J1350.8+3033 @ 207.715 30.5588

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17774568/ft1_filtered_4FGL_J1350.8+3033_weekly_bin907.fits scfile=/lscratch/kocevski/17774568/ft2_4FGL_J1350.8+3033_weekly_bin907.fits outfile=/lscratch/kocevski/17774568/cmap_787536001_788140801_4FGL_J1350.8+3033_weekly_bin907.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=207.715 yref=30.5588 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.92
user 0.19
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17774568/ft1_filtered_4FGL_J1350.8+3033_weekly_bin907.fits scfile=/lscratch/kocevski/17774568/ft2_4FGL_J1350.8+3033_weekly_bin907.fits outfile=/lscratch/kocevski/17774568/cmap_HighResolution_787536001_788140801_4FGL_J1350.8+3033_weekly_bin907.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=207.715 yref=30.5588 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.04
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17774568/ft1_filtered_4FGL_J1350.8+3033_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17774568/ft2_4FGL_J1350.8+3033_weekly_bin907.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17774568/Model_4FGL_J1350.8+3033_weekly_bin907.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/17774568/ft1_filtered_4FGL_J1350.8+3033_weekly_bin907.fits.....................!
real 43.57
user 41.65
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17774568/ft1_filtered_4FGL_J1350.8+3033_weekly_bin907.fits', '/lscratch/kocevski/17774568/ft2_4FGL_J1350.8+3033_weekly_bin907.fits', expMap='/lscratch/kocevski/17774568/expmap_787536001_788140801_4FGL_J1350.8+3033_weekly_bin907.fits', expCube='/lscratch/kocevski/17774568/ltcube_787536001_788140801_4FGL_J1350.8+3033_weekly_bin907.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17774568/Model_4FGL_J1350.8+3033_weekly_bin907.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1350.8+3033'

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.772e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
289        Index:  2.415e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17774568/ft1_filtered_4FGL_J1350.8+3033_weekly_bin907.fits
Spacecraft file(s): /lscratch/kocevski/17774568/ft2_4FGL_J1350.8+3033_weekly_bin907.fits
Exposure map: /lscratch/kocevski/17774568/expmap_787536001_788140801_4FGL_J1350.8+3033_weekly_bin907.fits
Exposure cube: /lscratch/kocevski/17774568/ltcube_787536001_788140801_4FGL_J1350.8+3033_weekly_bin907.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17774568/Model_4FGL_J1350.8+3033_weekly_bin907.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) = 17889.9272977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .71034       1.0000          .0000       .10000E+07
     2 'Prefactor '    .31198E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .19106E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .71239E-04   1.0000          .0000       .10000E+07
     5 'norm      '    26.522       1.0000          .0000       .10000E+07
     6 'norm      '    .55612E-03   1.0000          .0000       .10000E+07
     7 'norm      '    11.564       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82157E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    7.3922       1.0000          .0000       .10000E+07
    10 'norm      '    19.271       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62421E-05   1.0000          .0000       .10000E+07
    12 'norm      '    10.129       1.0000          .0000       .10000E+07
    13 'Prefactor '    .48983E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13445E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.8690       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.1217       1.0000          .0000       .10000E+07
    17 'norm      '    10.191       1.0000          .0000       .10000E+07
    18 'norm      '    1.0981       1.0000          .0000       .10000E+07
    19 'Prefactor '    6.0444       1.0000          .0000       .10000E+07
    20 'Prefactor '    9.8844       1.0000          .0000       .10000E+07
    21 'Prefactor '    64.826       1.0000          .0000       .10000E+07
    22 'norm      '    .25764E-03   1.0000          .0000       .10000E+07
    23 'norm      '    2.6964       1.0000          .0000       .10000E+07
    24 'norm      '    .11912E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    72.166       1.0000          .0000       .10000E+07
    26 'Normalizat'    .97208       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .94572       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17889.92     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     2406 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .70146        1.8754        .25557E-07    .14331E-04
   2  Prefactor     .88818E-09    2.3949        .10387E-07** at limit **
   3  Prefactor     .27756E-09    23.626        .25993E-07** at limit **
   4  norm          .55511E-10    1.3057       -.12840E-07** at limit **
   5  norm          26.522        3.6146       -.13670E-09    .10156E-02
   6  norm           .0000        10.778        .15834E-07** at limit **
   7  norm          11.565        1.1368       -.21607E-08   -.25592E-02
   8  Prefactor      .0000        .61043       -.10060E-07** at limit **
   9  Prefactor     7.4153        7.4585       -.28659E-07   -.72359E-02
  10  norm          19.269        3.6567       -.45974E-08   -.27637E-01
  11  Prefactor     .22204E-09    49.709        .36855E-06** at limit **
  12  norm          10.126        3.6850        .12521E-07    .19052E-01
  13  Prefactor     .55511E-10    1.4706       -.34384E-07** at limit **
  14  Prefactor      .0000        4.6349       -.21356E-08** at limit **
  15  Prefactor     1.8681        1.8272        .62934E-07    .11006E-02
  16  Prefactor     2.1188        5.2300       -.80691E-08   -.43569E-03
  17  norm          10.187        6.2044       -.23191E-07   -.13161E-01
  18  norm          1.0984        2.4471       -.78616E-07   -.50546E-03
  19  Prefactor     6.0222        5.5702        .37968E-07   -.19132E-01
  20  Prefactor     9.9095        4.4935       -.53704E-08    .26662E-01
  21  Prefactor     64.812        5.2562       -.18494E-08   -.33954E-02
  22  norm          .77716E-09    2.4389       -.56403E-07** at limit **
  23  norm          2.6961        1.3229        .10401E-07    .88896E-03
  24  norm           .0000        1.7958        .41759E-07** at limit **
  25  Prefactor     72.241        1.0914       -.17929E-08    .16305E-01
  26  Normalizat    .97202        .12966       -.11256E-05   -.52103E-04
  27  Prefactor     .94579        .14063        .70153E-06   -.38959E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.701456
  Prefactor  = 8.88178e-10
  Prefactor  = 2.77556e-10
  norm       = 5.55112e-11
  norm       = 26.5221
  norm       = 0
  norm       = 11.5654
  Prefactor  = 0
  Prefactor  = 7.41525
  norm       = 19.2694
  Prefactor  = 2.22045e-10
  norm       = 10.1258
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 1.86809
  Prefactor  = 2.11879
  norm       = 10.1866
  norm       = 1.09843
  Prefactor  = 6.02224
  Prefactor  = 9.90954
  Prefactor  = 64.8115
  norm       = 7.77156e-10
  norm       = 2.69608
  norm       = 0
  Prefactor  = 72.2409
  Normalizat = 0.972022
  Prefactor  = 0.945793
 **********
 **   18 **HESSE 
 **********

 FCN=   17889.92     FROM HESSE     STATUS=OK           546 CALLS     2952 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .70146        1.8906        .59873E-03   -1.5691    
   2  Prefactor     .88818E-09    3.5268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27756E-09    23.472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55511E-10    2.7695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          26.522        3.6491        .19421E-03   -1.5605    
   6  norm           .0000        10.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          11.565        8.3801        .29434E-03   -1.5640    
   8  Prefactor      .0000        .61331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.4153        8.0820        .36865E-03   -1.5654    
  10  norm          19.269        5.6265        .22787E-03   -1.5620    
  11  Prefactor     .22204E-09    49.637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.126        5.5785        .31460E-03   -1.5644    
  13  Prefactor     .55511E-10    2.5055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        4.6448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.8681        1.8330        .76161E-03   -1.5681    
  16  Prefactor     2.1188        5.2644        .70774E-03   -1.5679    
  17  norm          10.187        7.8407        .31364E-03   -1.5644    
  18  norm          1.0984        2.4846        .11352E-02   -1.5687    
  19  Prefactor     6.0222        11.259        .40816E-03   -1.5659    
  20  Prefactor     9.9095        13.856        .31848E-03   -1.5645    
  21  Prefactor     64.812        5.2912        .12421E-03   -1.5547    
  22  norm          .77716E-09    3.5710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.6961        1.3197        .62015E-03   -1.5675    
  24  norm           .0000        1.8236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     72.241        34.814        .11772E-03   -1.5538    
  26  Normalizat    .97202        .11002        .45816E-01   -.93974    
  27  Prefactor     .94579        .11865        .66562E-01   -.94559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76204e-06
Minuit parameter uncertainties:
  1  1.89062
  2  0.000111811
  3  0.000155319
  4  2.77183e-05
  5  3.64911
  6  2.46913e-05
  7  8.38015
  8  3.259e-07
  9  8.08198
  10  5.6265
  11  0.000219672
  12  5.57847
  13  2.48759e-05
  14  1.43242e-05
  15  1.833
  16  5.26436
  17  7.84069
  18  2.48464
  19  11.2592
  20  13.8558
  21  5.29125
  22  0.000106738
  23  1.31971
  24  3.16333e-06
  25  34.8137
  26  0.110047
  27  0.118681
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.868e+00  1.833e+00  0.000e+00  1.000e+06 ( 1.000e-12)
289        Index:  2.415e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.458e-01  1.187e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  9.720e-01  1.100e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.20
Ra Dec: 207.715 30.559
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 1.52e-08 +/- 1.49e-08
Energy Flux (Fixed Index): 4.87e-06 +/- 4.78e-06

TS (Fixed Index): 2.20
Ra Dec: 207.715 30.559
Photon Flux Upper Limit: 5.06420429455e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00391723968877 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/17774568/likelihoodResults_787536001_788140801_4FGL_J1350.8+3033_weekly_bin907.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) = 17889.7836251
delta logL = 0.134429726437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17889.7831059
delta logL = 0.134948928415

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9038       1.0000          .0000       .10000E+07
     2 'Index     '    1.9397       1.0000          .0000       10.000    
     3 'Normalizat'    .98230       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93817       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+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=   17889.78     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      261 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9038        1.9275        .17502E-04    .23540E-02
   2  Index         1.9396        .76261        .16839E-01   -.54536E-03
   3  Normalizat    .98224        .12423        .26039E-03   -.17988E-04
   4  Prefactor     .93824        .13801        .29541E-03   -.14470E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.90384
  Index      = 1.93959
  Normalizat = 0.982238
  Prefactor  = 0.938239
 **********
 **   18 **HESSE 
 **********

 FCN=   17889.78     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9038        1.9561        .70008E-06   -1.5680    
   2  Index         1.9396        .77453        .33677E-02   -.65869    
   3  Normalizat    .98224        .12436        .10415E-04   -.93628    
   4  Prefactor     .93824        .13814        .11816E-04   -.94817    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.27114e-11
Minuit parameter uncertainties:
  1  1.95611
  2  0.779567
  3  0.124395
  4  0.13819
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) = 17889.7831058
delta logL = 0.134949055009

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.904e+00  1.956e+00  0.000e+00  1.000e+06 ( 1.000e-12)
289        Index:  1.940e+00  7.796e-01  0.000e+00  1.000e+01 (-1.000e+00)
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.382e-01  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  9.822e-01  1.244e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.46
Ra Dec: 207.715 30.559
Photon Index (Free Index): 1.94 +/- 0.78
Photon Flux (Free Index): 9.13e-09 +/- 1.30e-08
Energy Flux (Free Index): 7.36e-06 +/- 1.04e-05

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/17774568/cmap_HighResolution_787536001_788140801_4FGL_J1350.8+3033_weekly_bin907.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.92e-03', comment='SUCCESS', photon_flux='1.52e-08', energy_flux2='7.36e-06', photon_flux_error='1.49e-08', dlogl='1.35e-01', energy_flux='4.87e-06', photon_flux2='9.13e-09', job_status='DONE', time_completed='2025-12-23 02:08:35.161777', photon_index_error2='0.78', photon_index2='1.94', ts='2.20', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='5.06e-08', energy_flux_error2='1.04e-05', EG='0.97', time_epoch_completed='1766484515.16', return_code='0', job_id='17774568', GAL2='0.94', EG2='0.98', return_code2='0', energy_flux_error='4.78e-06', photon_flux_error2='1.30e-08', ts2='2.46', photon_index='2.42' WHERE bin_id='907' AND source_name='4FGL J1350.8+3033' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 23 02:08:35 PST 2025

