/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_J1446.7+1719_weekly_bin907
RA = 221.688, Dec = 17.3237
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='17774696', job_status='RUN', time_executed='2025-12-23 01:56:24.863130', time_epoch_executed='1766483784.86' WHERE source_name='4FGL J1446.7+1719' and cadence='weekly' and bin_id='907'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17774696

Creating custom pfile directory:
/lscratch/kocevski/17774696/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/17774696/ft1_4FGL_J1446.7+1719_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/17774696/ft2_4FGL_J1446.7+1719_weekly_bin907.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17774696/ft1_4FGL_J1446.7+1719_weekly_bin907.fits outfile=/lscratch/kocevski/17774696/ft1_filteredMKT_4FGL_J1446.7+1719_weekly_bin907.fits ra=221.688 dec=17.3237 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.86
user 4.09
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17774696/ft2_4FGL_J1446.7+1719_weekly_bin907.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17774696/ft2_4FGL_J1446.7+1719_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/17774696/ft1_filteredMKT_4FGL_J1446.7+1719_weekly_bin907.fits evtable="EVENTS" outfile="/lscratch/kocevski/17774696/ft1_filtered_4FGL_J1446.7+1719_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 0.83
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1561

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17774696/ft1_filtered_4FGL_J1446.7+1719_weekly_bin907.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17774696/ft2_4FGL_J1446.7+1719_weekly_bin907.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17774696/ltcube_787536001_788140801_4FGL_J1446.7+1719_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/17774696/ft2_4FGL_J1446.7+1719_weekly_bin907.fits
.....................!
real 17.44
user 16.61
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17774696/ft1_filtered_4FGL_J1446.7+1719_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17774696/ft2_4FGL_J1446.7+1719_weekly_bin907.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17774696/ltcube_787536001_788140801_4FGL_J1446.7+1719_weekly_bin907.fits outfile=/lscratch/kocevski/17774696/expmap_787536001_788140801_4FGL_J1446.7+1719_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/17774696/ltcube_787536001_788140801_4FGL_J1446.7+1719_weekly_bin907.fits
.....................!
real 65.31
user 60.66
sys 3.87

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

Setting source of interest to:
4FGL J1446.7+1719 @ 221.688 17.3237

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17774696/ft1_filtered_4FGL_J1446.7+1719_weekly_bin907.fits scfile=/lscratch/kocevski/17774696/ft2_4FGL_J1446.7+1719_weekly_bin907.fits outfile=/lscratch/kocevski/17774696/cmap_787536001_788140801_4FGL_J1446.7+1719_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=221.688 yref=17.3237 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.88
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17774696/ft1_filtered_4FGL_J1446.7+1719_weekly_bin907.fits scfile=/lscratch/kocevski/17774696/ft2_4FGL_J1446.7+1719_weekly_bin907.fits outfile=/lscratch/kocevski/17774696/cmap_HighResolution_787536001_788140801_4FGL_J1446.7+1719_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=221.688 yref=17.3237 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.85
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17774696/ft1_filtered_4FGL_J1446.7+1719_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17774696/ft2_4FGL_J1446.7+1719_weekly_bin907.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17774696/Model_4FGL_J1446.7+1719_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/17774696/ft1_filtered_4FGL_J1446.7+1719_weekly_bin907.fits.....................!
real 41.11
user 39.27
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17774696/ft1_filtered_4FGL_J1446.7+1719_weekly_bin907.fits', '/lscratch/kocevski/17774696/ft2_4FGL_J1446.7+1719_weekly_bin907.fits', expMap='/lscratch/kocevski/17774696/expmap_787536001_788140801_4FGL_J1446.7+1719_weekly_bin907.fits', expCube='/lscratch/kocevski/17774696/ltcube_787536001_788140801_4FGL_J1446.7+1719_weekly_bin907.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17774696/Model_4FGL_J1446.7+1719_weekly_bin907.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.7+1719'

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  3.187e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
234        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17774696/ft1_filtered_4FGL_J1446.7+1719_weekly_bin907.fits
Spacecraft file(s): /lscratch/kocevski/17774696/ft2_4FGL_J1446.7+1719_weekly_bin907.fits
Exposure map: /lscratch/kocevski/17774696/expmap_787536001_788140801_4FGL_J1446.7+1719_weekly_bin907.fits
Exposure cube: /lscratch/kocevski/17774696/ltcube_787536001_788140801_4FGL_J1446.7+1719_weekly_bin907.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17774696/Model_4FGL_J1446.7+1719_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) = 16942.9396887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5727       1.0000          .0000       .10000E+07
     2 'Prefactor '    94.349       1.0000          .0000       .10000E+07
     3 'Prefactor '    .14377E-07   1.0000          .0000       .10000E+07
     4 'norm      '    2.4927       1.0000          .0000       .10000E+07
     5 'norm      '    .13339E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .80916E-02   1.0000          .0000       .10000E+07
     7 'norm      '    9.5612       1.0000          .0000       .10000E+07
     8 'norm      '    .61670       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.715       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79136E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.557       1.0000          .0000       .10000E+07
    12 'Prefactor '    .95812E-07   1.0000          .0000       .10000E+07
    13 'norm      '    .11058       1.0000          .0000       .10000E+07
    14 'norm      '    2.1924       1.0000          .0000       .10000E+07
    15 'norm      '    .15429E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .43771E-01   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1592       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93430       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16938.61     FROM MIGRAD    STATUS=CONVERGED    119 CALLS      819 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5369        7.7662        .47321E-07   -.22844E-03
   2  Prefactor     95.109        20.705        .14977E-07   -.42055E-01
   3  Prefactor      .0000        1.0939        .16241E-06** at limit **
   4  norm          2.4935        1.2505        .41825E-07   -.51946E-03
   5  norm           .0000        1.3062        .19523E-06** at limit **
   6  Prefactor     .61062E-09    11.775        .22277E-06** at limit **
   7  norm          9.4571        9.4392        .94888E-07   -.65614E-03
   8  norm          .61799        1.0863        .88744E-07   -.50901E-04
   9  Prefactor     19.184        5.5744        .48221E-08    .14467E-01
  10  Prefactor     .11657E-08    8.6663       -.25420E-06** at limit **
  11  Prefactor     35.356        7.8470        .20549E-08   -.55559E-01
  12  Prefactor      .0000        1.3273       -.11239E-06** at limit **
  13  norm          .11068        .89490E-01   -.71992E-08** at limit **
  14  norm          2.1946        2.7867       -.39887E-07    .18870E-03
  15  norm          .22204E-09    7.5928       -.14671E-06** at limit **
  16  Prefactor      .0000        14.914        .15898E-06** at limit **
  17  Normalizat    1.1581        .14884       -.18205E-05    .11204E-04
  18  Prefactor     .93468        .10263        .10731E-05    .62893E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.53692
  Prefactor  = 95.1088
  Prefactor  = 0
  norm       = 2.49352
  norm       = 0
  Prefactor  = 6.10623e-10
  norm       = 9.45709
  norm       = 0.617987
  Prefactor  = 19.1835
  Prefactor  = 1.16573e-09
  Prefactor  = 35.3559
  Prefactor  = 0
  norm       = 0.110678
  norm       = 2.19463
  norm       = 2.22045e-10
  Prefactor  = 0
  Normalizat = 1.15806
  Prefactor  = 0.93468
 **********
 **   18 **HESSE 
 **********

 FCN=   16938.61     FROM HESSE     STATUS=OK           282 CALLS     1101 TOTAL
                     EDM=   .70E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5369        7.7810        .39120E-03   -1.5657    
   2  Prefactor     95.109        23.031        .10296E-03   -1.5513    
   3  Prefactor      .0000        1.0914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.4935        1.2506        .64712E-03   -1.5676    
   5  norm           .0000        1.2808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61062E-09    11.846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.4571        9.4636        .32385E-03   -1.5646    
   8  norm          .61799        1.1077        .67746E-03   -1.5692    
   9  Prefactor     19.184        16.850        .23124E-03   -1.5620    
  10  Prefactor     .11657E-08    8.7206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.356        19.997        .16772E-03   -1.5589    
  12  Prefactor      .0000        1.3235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .11068        .97192E-01    .75921E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.1946        2.8076        .69475E-03   -1.5678    
  15  norm          .22204E-09    7.6019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        14.698        .15798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1581        .12392        .61368E-01   -.87909    
  18  Prefactor     .93468        .84246E-01    .45441E-01   -.94940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95151e-08
Minuit parameter uncertainties:
  1  7.78098
  2  23.0314
  3  1.02939e-06
  4  1.2506
  5  1.14705e-06
  6  0.000172865
  7  9.46359
  8  1.10767
  9  16.8496
  10  0.000200114
  11  19.9971
  12  1.04989e-06
  13  0.0971924
  14  2.80764
  15  8.53428e-05
  16  8.9934e-06
  17  0.12395
  18  0.0842582
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.918e+01  1.685e+01  0.000e+00  1.000e+06 ( 1.000e-13)
234        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  9.347e-01  8.426e-02  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.158e+00  1.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.79
Ra Dec: 221.688 17.324
Photon Index (Fixed Index): 2.50 +/- 0.00
Photon Flux (Fixed Index): 3.28e-08 +/- 2.88e-08
Energy Flux (Fixed Index): 9.54e-06 +/- 8.38e-06

TS (Fixed Index): 1.79
Ra Dec: 221.688 17.324
Photon Flux Upper Limit: 8.51231968389e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00661949008932 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/17774696/likelihoodResults_787536001_788140801_4FGL_J1446.7+1719_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) = 16937.3959142
delta logL = 1.21007377738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16937.380938
delta logL = 1.2250500192

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1661       1.0000          .0000       .10000E+07
     2 'Index     '    3.5803       1.0000          .0000       10.000    
     3 'Normalizat'    1.1138       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95427       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+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=   16937.38     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      299 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1639        87.495        .16162E-04   -.70736E-02
   2  Index         3.5806        3.6233        .62389E-02   -.14759E-03
   3  Normalizat    1.1138        .14867        .27586E-03    .81394E-03
   4  Prefactor     .95421        .10374        .20441E-03    .10383E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.16394
  Index      = 3.58057
  Normalizat = 1.1138
  Prefactor  = 0.95421
 **********
 **   18 **HESSE 
 **********

 FCN=   16937.38     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1639        9.7656        .64648E-06   -1.5658    
   2  Index         3.5806        .85841        .24955E-03   -.28784    
   3  Normalizat    1.1138        .15119        .55173E-04   -.89310    
   4  Prefactor     .95421        .10311        .40882E-04   -.94272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75181e-10
Minuit parameter uncertainties:
  1  9.76568
  2  0.86306
  3  0.151247
  4  0.103131
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) = 16937.3809376
delta logL = 1.22505043857

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  6.164e+00  9.766e+00  0.000e+00  1.000e+06 ( 1.000e-13)
234        Index:  3.581e+00  8.631e-01  0.000e+00  1.000e+01 (-1.000e+00)
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  9.542e-01  1.031e-01  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.114e+00  1.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.38
Ra Dec: 221.688 17.324
Photon Index (Free Index): 3.58 +/- 0.86
Photon Flux (Free Index): 6.78e-08 +/- 3.77e-08
Energy Flux (Free Index): 1.10e-05 +/- 6.20e-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/17774696/cmap_HighResolution_787536001_788140801_4FGL_J1446.7+1719_weekly_bin907.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.62e-03', comment='SUCCESS', photon_flux='3.28e-08', energy_flux2='1.10e-05', photon_flux_error='2.88e-08', dlogl='1.23e+00', energy_flux='9.54e-06', photon_flux2='6.78e-08', job_status='DONE', time_completed='2025-12-23 02:09:02.320468', photon_index_error2='0.86', photon_index2='3.58', ts='1.79', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='8.51e-08', energy_flux_error2='6.20e-06', EG='1.16', time_epoch_completed='1766484542.32', return_code='0', job_id='17774696', GAL2='0.95', EG2='1.11', return_code2='0', energy_flux_error='8.38e-06', photon_flux_error2='3.77e-08', ts2='4.38', photon_index='2.50' WHERE bin_id='907' AND source_name='4FGL J1446.7+1719' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 23 02:09:02 PST 2025

