/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.3+3111_weekly_bin907
RA = 221.591, Dec = 31.1955
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='17774695', job_status='RUN', time_executed='2025-12-23 01:56:25.473530', time_epoch_executed='1766483785.47' WHERE source_name='4FGL J1446.3+3111' and cadence='weekly' and bin_id='907'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17774695

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


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17774695/ft1_4FGL_J1446.3+3111_weekly_bin907.fits outfile=/lscratch/kocevski/17774695/ft1_filteredMKT_4FGL_J1446.3+3111_weekly_bin907.fits ra=221.591 dec=31.1955 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.84
user 3.78
sys 0.34

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17774695/ft2_4FGL_J1446.3+3111_weekly_bin907.fits

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

Number of photons that the gtmktime cut: 1676

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17774695/ft1_filtered_4FGL_J1446.3+3111_weekly_bin907.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17774695/ft2_4FGL_J1446.3+3111_weekly_bin907.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17774695/ltcube_787536001_788140801_4FGL_J1446.3+3111_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/17774695/ft2_4FGL_J1446.3+3111_weekly_bin907.fits
.....................!
real 19.58
user 18.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17774695/ft1_filtered_4FGL_J1446.3+3111_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17774695/ft2_4FGL_J1446.3+3111_weekly_bin907.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17774695/ltcube_787536001_788140801_4FGL_J1446.3+3111_weekly_bin907.fits outfile=/lscratch/kocevski/17774695/expmap_787536001_788140801_4FGL_J1446.3+3111_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/17774695/ltcube_787536001_788140801_4FGL_J1446.3+3111_weekly_bin907.fits
.....................!
real 62.58
user 58.11
sys 3.75

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

Setting source of interest to:
4FGL J1446.3+3111 @ 221.591 31.1955

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17774695/ft1_filtered_4FGL_J1446.3+3111_weekly_bin907.fits scfile=/lscratch/kocevski/17774695/ft2_4FGL_J1446.3+3111_weekly_bin907.fits outfile=/lscratch/kocevski/17774695/cmap_787536001_788140801_4FGL_J1446.3+3111_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.591 yref=31.1955 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.76
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17774695/ft1_filtered_4FGL_J1446.3+3111_weekly_bin907.fits scfile=/lscratch/kocevski/17774695/ft2_4FGL_J1446.3+3111_weekly_bin907.fits outfile=/lscratch/kocevski/17774695/cmap_HighResolution_787536001_788140801_4FGL_J1446.3+3111_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.591 yref=31.1955 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.81
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17774695/ft1_filtered_4FGL_J1446.3+3111_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17774695/ft2_4FGL_J1446.3+3111_weekly_bin907.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17774695/Model_4FGL_J1446.3+3111_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/17774695/ft1_filtered_4FGL_J1446.3+3111_weekly_bin907.fits.....................!
real 41.09
user 39.77
sys 0.70

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

Using source of interest name: '4FGL J1446.3+3111'

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  5.552e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9589       1.0000          .0000       .10000E+07
     2 'norm      '    .96384       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.0805       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.9878       1.0000          .0000       .10000E+07
     5 'Prefactor '    65.326       1.0000          .0000       .10000E+07
     6 'norm      '    .10332E-03   1.0000          .0000       .10000E+07
     7 'norm      '    2.5942       1.0000          .0000       .10000E+07
     8 'norm      '    .13792E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .11796E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .63691       1.0000          .0000       .10000E+07
    11 'Prefactor '    44.907       1.0000          .0000       .10000E+07
    12 'norm      '    .30302E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.097       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.0670       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10520E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .12212E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    15.789       1.0000          .0000       .10000E+07
    18 'norm      '    2.8634       1.0000          .0000       .10000E+07
    19 'Prefactor '    .10353E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    9.1017       1.0000          .0000       .10000E+07
    21 'Normalizat'    .86364       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0848       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17741.86     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1844 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9596        2.1660        .92186E-07    .22170E-02
   2  norm          .96656        1.4657        .37703E-08    .45520E-01
   3  Prefactor     6.0848        6.5101       -.12196E-06    .16306E-01
   4  Prefactor     9.9806        7.0820        .12427E-06    .41567E-02
   5  Prefactor     65.329        4.8795       -.55676E-08   -.95905E-01
   6  norm          .12490E-07    3.3906        .37331E-07** at limit **
   7  norm          2.5945        1.2917        .61658E-08    .80143E-03
   8  norm          .11102E-08    1.8450        .10496E-07** at limit **
   9  norm           .0000        .99587        .14366E-07** at limit **
  10  norm          .63720        1.1187        .50522E-07    .16136E-02
  11  Prefactor     44.756        15.638       -.15121E-06    .87030E-01
  12  norm          .28144E-07    3.9844       -.10812E-06** at limit **
  13  Prefactor     18.150        7.1823       -.76187E-07   -.11668    
  14  Prefactor     1.0587        3.0762        .26332E-07    .99614E-03
  15  Prefactor     .66613E-09    1.4278       -.12333E-06** at limit **
  16  norm           .0000        .29472       -.89603E-07** at limit **
  17  Prefactor     16.137        16.273       -.28432E-07    .34716E-01
  18  norm          2.8634        .77822       -.21792E-07   -.65638E-02
  19  Prefactor     .38858E-09    1.9787        .25481E-06** at limit **
  20  Prefactor     9.1054        1.1318       -.35721E-09   -.10087E-02
  21  Normalizat    .86357        .13417       -.14140E-05   -.67246E-04
  22  Prefactor     1.0848        .11904        .12891E-05   -.10754E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.95959
  norm       = 0.966557
  Prefactor  = 6.0848
  Prefactor  = 9.98061
  Prefactor  = 65.329
  norm       = 1.249e-08
  norm       = 2.5945
  norm       = 1.11022e-09
  norm       = 0
  norm       = 0.637198
  Prefactor  = 44.7562
  norm       = 2.81442e-08
  Prefactor  = 18.1499
  Prefactor  = 1.05868
  Prefactor  = 6.66134e-10
  norm       = 0
  Prefactor  = 16.1373
  norm       = 2.86342
  Prefactor  = 3.88578e-10
  Prefactor  = 9.10539
  Normalizat = 0.863565
  Prefactor  = 1.08484
 **********
 **   18 **HESSE 
 **********

 FCN=   17741.86     FROM HESSE     STATUS=OK           392 CALLS     2236 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9596        2.1687        .74091E-03   -1.5680    
   2  norm          .96656        2.4734        .42481E-03   -1.5688    
   3  Prefactor     6.0848        11.409        .40693E-03   -1.5659    
   4  Prefactor     9.9806        13.783        .31682E-03   -1.5645    
   5  Prefactor     65.329        5.3056        .12373E-03   -1.5546    
   6  norm          .12490E-07    3.4770        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.5945        1.2916        .63323E-03   -1.5676    
   8  norm          .11102E-08    1.8481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .99437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .63720        1.1385        .65984E-03   -1.5692    
  11  Prefactor     44.756        21.269        .14924E-03   -1.5574    
  12  norm          .28144E-07    4.1273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.150        10.191        .23516E-03   -1.5623    
  14  Prefactor     1.0587        3.1536        .11789E-02   -1.5687    
  15  Prefactor     .66613E-09    1.4423        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .29265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.137        18.605        .25180E-03   -1.5628    
  18  norm          2.8634        .77992        .60049E-03   -1.5674    
  19  Prefactor     .38858E-09    1.9772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.1054        9.3379        .33197E-03   -1.5648    
  21  Normalizat    .86357        .11620        .64290E-01   -.97752    
  22  Prefactor     1.0848        .10224        .38193E-01   -.89953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54632e-07
Minuit parameter uncertainties:
  1  2.16874
  2  2.47341
  3  11.4093
  4  13.783
  5  5.3056
  6  0.000416919
  7  1.29156
  8  9.15798e-05
  9  1.47982e-06
  10  1.13852
  11  21.2686
  12  0.00068132
  13  10.1906
  14  3.15365
  15  6.10451e-05
  16  2.86897e-06
  17  18.6048
  18  0.779918
  19  5.37193e-05
  20  9.33796
  21  0.11623
  22  0.10226
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  4.476e+01  2.127e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.085e+00  1.023e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  8.636e-01  1.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.75
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 4.86e-08 +/- 2.31e-08
Energy Flux (Fixed Index): 1.33e-05 +/- 6.31e-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) = 17741.8200167
delta logL = 0.0359641917348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17741.8189757
delta logL = 0.037005183829

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.968       1.0000          .0000       .10000E+07
     2 'Index     '    2.6841       1.0000          .0000       10.000    
     3 'Normalizat'    .85762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0886       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+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=   17741.82     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      313 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.981        26.141        .62500E-05    .94587E-04
   2  Index         2.6846        .51107        .85027E-02    .10520E-02
   3  Normalizat    .85755        .12755        .28524E-03    .62813E-04
   4  Prefactor     1.0886        .11807        .24042E-03    .77552E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.9807
  Index      = 2.68464
  Normalizat = 0.857553
  Prefactor  = 1.0886
 **********
 **   18 **HESSE 
 **********

 FCN=   17741.82     FROM HESSE     STATUS=OK            25 CALLS      338 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.981        24.737        .25000E-06   -1.5580    
   2  Index         2.6846        .48340        .17005E-02   -.48146    
   3  Normalizat    .85755        .12752        .11410E-04   -.97968    
   4  Prefactor     1.0886        .11807        .96166E-05   -.89832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84071e-11
Minuit parameter uncertainties:
  1  24.7368
  2  0.484363
  3  0.12756
  4  0.118101
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) = 17741.8189735
delta logL = 0.0370074573948

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  4.098e+01  2.474e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.685e+00  4.844e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.089e+00  1.181e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  8.576e-01  1.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.85
Ra Dec: 221.591 31.195
Photon Index (Free Index): 2.68 +/- 0.48
Photon Flux (Free Index): 5.32e-08 +/- 2.92e-08
Energy Flux (Free Index): 1.30e-05 +/- 6.11e-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/17774695/cmap_HighResolution_787536001_788140801_4FGL_J1446.3+3111_weekly_bin907.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.86e-08', energy_flux2='1.30e-05', photon_flux_error='2.31e-08', dlogl='3.70e-02', energy_flux='1.33e-05', photon_flux2='5.32e-08', job_status='DONE', time_completed='2025-12-23 02:11:20.612219', photon_index_error2='0.48', photon_index2='2.68', ts='7.75', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='6.11e-06', EG='0.86', time_epoch_completed='1766484680.61', return_code='0', job_id='17774695', GAL2='1.09', EG2='0.86', return_code2='0', energy_flux_error='6.31e-06', photon_flux_error2='2.92e-08', ts2='7.85', photon_index='2.56' WHERE bin_id='907' AND source_name='4FGL J1446.3+3111' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 23 02:11:20 PST 2025

