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


Performing analysis on: 4FGL_J1759.1-3849_weekly_bin924
RA = 269.793, Dec = -38.8217
tmin = 797817601, tmax = 798422401
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='25595023', job_status='RUN', time_executed='2026-04-21 02:36:47.699799', time_epoch_executed='1776764207.7' WHERE source_name='4FGL J1759.1-3849' and cadence='weekly' and bin_id='924'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/25595023

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/25595023/ft1_4FGL_J1759.1-3849_weekly_bin924.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/25595023/ft2_4FGL_J1759.1-3849_weekly_bin924.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/25595023/ft1_4FGL_J1759.1-3849_weekly_bin924.fits outfile=/lscratch/kocevski/25595023/ft1_filteredMKT_4FGL_J1759.1-3849_weekly_bin924.fits ra=269.793 dec=-38.8217 rad=12.0 tmin=797817601.0 tmax=798422401.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.66
user 5.05
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/25595023/ft2_4FGL_J1759.1-3849_weekly_bin924.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/25595023/ft2_4FGL_J1759.1-3849_weekly_bin924.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/25595023/ft1_filteredMKT_4FGL_J1759.1-3849_weekly_bin924.fits evtable="EVENTS" outfile="/lscratch/kocevski/25595023/ft1_filtered_4FGL_J1759.1-3849_weekly_bin924.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.70
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 15639

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/25595023/ft1_filtered_4FGL_J1759.1-3849_weekly_bin924.fits" evtable="EVENTS" scfile=/lscratch/kocevski/25595023/ft2_4FGL_J1759.1-3849_weekly_bin924.fits sctable="SC_DATA" outfile=/lscratch/kocevski/25595023/ltcube_797817601_798422401_4FGL_J1759.1-3849_weekly_bin924.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/25595023/ft2_4FGL_J1759.1-3849_weekly_bin924.fits
.....................!
real 18.57
user 17.89
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/25595023/ft1_filtered_4FGL_J1759.1-3849_weekly_bin924.fits evtable="EVENTS" scfile=/lscratch/kocevski/25595023/ft2_4FGL_J1759.1-3849_weekly_bin924.fits sctable="SC_DATA" expcube=/lscratch/kocevski/25595023/ltcube_797817601_798422401_4FGL_J1759.1-3849_weekly_bin924.fits outfile=/lscratch/kocevski/25595023/expmap_797817601_798422401_4FGL_J1759.1-3849_weekly_bin924.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/25595023/ltcube_797817601_798422401_4FGL_J1759.1-3849_weekly_bin924.fits
.....................!
real 69.44
user 64.67
sys 4.07

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
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Extended source FGES J1745.8-3028 in ROI with RadialDisk spatial model.
Extended source RX J1713.7-3946 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RXJ1713_2016_250GeV.fits is the correct path to the extended template.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source W 28 in ROI with RadialDisk spatial model.
Extended source HESS J1804-216 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Added 568 point sources and 16 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1759.1-3849 @ 269.793 -38.8217

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/25595023/ft1_filtered_4FGL_J1759.1-3849_weekly_bin924.fits scfile=/lscratch/kocevski/25595023/ft2_4FGL_J1759.1-3849_weekly_bin924.fits outfile=/lscratch/kocevski/25595023/cmap_797817601_798422401_4FGL_J1759.1-3849_weekly_bin924.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=269.793 yref=-38.8217 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/25595023/ft1_filtered_4FGL_J1759.1-3849_weekly_bin924.fits scfile=/lscratch/kocevski/25595023/ft2_4FGL_J1759.1-3849_weekly_bin924.fits outfile=/lscratch/kocevski/25595023/cmap_HighResolution_797817601_798422401_4FGL_J1759.1-3849_weekly_bin924.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=269.793 yref=-38.8217 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.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/25595023/ft1_filtered_4FGL_J1759.1-3849_weekly_bin924.fits evtable="EVENTS" scfile=/lscratch/kocevski/25595023/ft2_4FGL_J1759.1-3849_weekly_bin924.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/25595023/Model_4FGL_J1759.1-3849_weekly_bin924.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FGES J1745.8-3028
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1616-508
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source RX J1713.7-3946
adding source W 28
adding source W 30
Working on...
/lscratch/kocevski/25595023/ft1_filtered_4FGL_J1759.1-3849_weekly_bin924.fits.....................!
real 1830.58
user 1820.69
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/25595023/ft1_filtered_4FGL_J1759.1-3849_weekly_bin924.fits', '/lscratch/kocevski/25595023/ft2_4FGL_J1759.1-3849_weekly_bin924.fits', expMap='/lscratch/kocevski/25595023/expmap_797817601_798422401_4FGL_J1759.1-3849_weekly_bin924.fits', expCube='/lscratch/kocevski/25595023/ltcube_797817601_798422401_4FGL_J1759.1-3849_weekly_bin924.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/25595023/Model_4FGL_J1759.1-3849_weekly_bin924.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1759.1-3849'

4FGL J1759.1-3849
   Spectrum: LogParabola
1427         norm:  8.337e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
1428        alpha:  2.055e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1429         beta:  3.578e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
1430           Eb:  1.307e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/25595023/ft1_filtered_4FGL_J1759.1-3849_weekly_bin924.fits
Spacecraft file(s): /lscratch/kocevski/25595023/ft2_4FGL_J1759.1-3849_weekly_bin924.fits
Exposure map: /lscratch/kocevski/25595023/expmap_797817601_798422401_4FGL_J1759.1-3849_weekly_bin924.fits
Exposure cube: /lscratch/kocevski/25595023/ltcube_797817601_798422401_4FGL_J1759.1-3849_weekly_bin924.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/25595023/Model_4FGL_J1759.1-3849_weekly_bin924.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) = 131658.598128

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13107E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .56455E-07   1.0000          .0000       .10000E+07
     3 'norm      '    .46487E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6275       1.0000          .0000       .10000E+07
     5 'norm      '    .10396       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12659E-05   1.0000          .0000       .10000E+07
     7 'norm      '    3.9800       1.0000          .0000       .10000E+07
     8 'norm      '    1.0831       1.0000          .0000       .10000E+07
     9 'norm      '    .12157E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .55684E-05   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.1957       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .99114       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2112E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   131658.5     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      638 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        5.5624       -.24980E-07** at limit **
   2  norm           .0000        1.5752       -.18624E-06** at limit **
   3  norm          .55511E-10    11.345        .36653E-06** at limit **
   4  Prefactor     1.6331        6.4074       -.50503E-06    .26518E-03
   5  norm          .10394        .20166       -.20971E-07** at limit **
   6  Prefactor      .0000        4.8201        .35428E-07** at limit **
   7  norm          3.9798        2.3028        .24686E-06   -.38788E-02
   8  norm          1.0763        2.5871       -.22126E-06    .62947E-03
   9  norm          .55511E-10    12.756        .21437E-06** at limit **
  10  norm           .0000        3.8715        .28876E-06** at limit **
  11  Normalizat    1.1956        .17207        .37680E-05    .16515E-04
  12  Prefactor     .99114        .12171E-01   -.29111E-06    .52595E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 1.63307
  norm       = 0.103936
  Prefactor  = 0
  norm       = 3.97978
  norm       = 1.07626
  norm       = 5.55112e-11
  norm       = 0
  Normalizat = 1.19556
  Prefactor  = 0.991142
 **********
 **   18 **HESSE 
 **********

 FCN=   131658.5     FROM HESSE     STATUS=OK           155 CALLS      793 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        5.5287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.5746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    11.318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6331        6.4818        .82882E-03   -1.5682    
   5  norm          .10394        .16491        .34295E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.7969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.9798        2.3064        .50532E-03   -1.5668    
   8  norm          1.0763        2.6301        .11550E-02   -1.5687    
   9  norm          .55511E-10    12.671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        3.8737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1956        .18246        .33927       -.86740    
  12  Prefactor     .99114        .12459E-01    .26365E-01   -.93025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13703e-05
Minuit parameter uncertainties:
  1  1.29927e-05
  2  2.75453e-06
  3  4.03524e-05
  4  6.48183
  5  0.164906
  6  1.12273e-05
  7  2.30635
  8  2.63006
  9  3.82803e-05
  10  7.99261e-06
  11  0.182559
  12  0.0124587
Done.

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

Extracting fit parameters...

4FGL J1759.1-3849
   Spectrum: LogParabola
1427         norm:  5.551e-11  4.035e-05  0.000e+00  1.000e+06 ( 1.000e-13)
1428        alpha:  2.055e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1429         beta:  3.578e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
1430           Eb:  1.307e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2079    Prefactor:  9.911e-01  1.246e-02  0.000e+00  1.000e+01 ( 1.000e+00)
2080        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2081        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2052   Normalization:  1.196e+00  1.826e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 269.793 -38.822
Photon Flux Upper Limit: 2.23138045412e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.60223180538e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/25595023/likelihoodResults_797817601_798422401_4FGL_J1759.1-3849_weekly_bin924.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): 102
logL (Free Index) = 131658.488249
delta logL = -4.14559617639e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 131658.488208
delta logL = -7.05069396645e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .93714E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .70228       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1956       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99114       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2112E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   131658.5     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      239 TOTAL
                     EDM=   .47E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        9.4313       -.10255E-06** at limit **
   2  alpha         2.3601        3.3596        .21104E-04     .0000    
   3  Normalizat    1.1956        .16917       -.17430E-04   -.65024E-04
   4  Prefactor     .99114        .12164E-01    .14440E-05   -.31295E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.36012
  Normalizat = 1.19556
  Prefactor  = 0.991142
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   131658.5     FROM HESSE     STATUS=FAILED         9 CALLS      248 TOTAL
                     EDM=   .47E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        9.6780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.1594        1.4544        .21104E-04   -.55979E-01
   3  Normalizat    1.1956        1.1078       -.17430E-04   -.86740    
   4  Prefactor     .99114        1.3308        .14440E-05   -.93025    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.68108e-12
Minuit parameter uncertainties:
  1  2.57968e-06
  2  1.55266
  3  1.13078
  4  1.37922
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 131658.488207
delta logL = 0.0

Extracting fit parameters...

4FGL J1759.1-3849
   Spectrum: LogParabola
1427         norm:  0.000e+00  2.580e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1428        alpha:  2.360e+00  1.553e+00  0.000e+00  5.000e+00 ( 1.000e+00)
1429         beta:  3.578e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
1430           Eb:  1.307e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2079    Prefactor:  9.911e-01  1.379e+00  0.000e+00  1.000e+01 ( 1.000e+00)
2080        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2081        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2052   Normalization:  1.196e+00  1.131e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 269.793 -38.822

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /lscratch/kocevski/25595023/cmap_HighResolution_797817601_798422401_4FGL_J1759.1-3849_weekly_bin924.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.60e-05', job_status='DONE', photon_flux_upper_limit='2.23e-08', time_completed='2026-04-21 04:31:43.484213', job_id='25595023', GAL2='0.99', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1776771103.48', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='924' AND source_name='4FGL J1759.1-3849' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 21 04:31:43 PDT 2026

