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


Performing analysis on: 4FGL_J1428.9+5406_weekly_bin908
RA = 217.229, Dec = 54.1114
tmin = 788140801, tmax = 788745601
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='18159618', job_status='RUN', time_executed='2025-12-30 01:50:34.620482', time_epoch_executed='1767088234.62' WHERE source_name='4FGL J1428.9+5406' and cadence='weekly' and bin_id='908'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/18159618

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/18159618/ft1_4FGL_J1428.9+5406_weekly_bin908.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/18159618/ft2_4FGL_J1428.9+5406_weekly_bin908.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/18159618/ft1_4FGL_J1428.9+5406_weekly_bin908.fits outfile=/lscratch/kocevski/18159618/ft1_filteredMKT_4FGL_J1428.9+5406_weekly_bin908.fits ra=217.229 dec=54.1114 rad=12.0 tmin=788140801.0 tmax=788745601.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.35
user 4.63
sys 0.35

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18159618/ft2_4FGL_J1428.9+5406_weekly_bin908.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/18159618/ft2_4FGL_J1428.9+5406_weekly_bin908.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/18159618/ft1_filteredMKT_4FGL_J1428.9+5406_weekly_bin908.fits evtable="EVENTS" outfile="/lscratch/kocevski/18159618/ft1_filtered_4FGL_J1428.9+5406_weekly_bin908.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.62
user 0.25
sys 0.15

Number of photons that the gtmktime cut: 1221

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/18159618/ft1_filtered_4FGL_J1428.9+5406_weekly_bin908.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18159618/ft2_4FGL_J1428.9+5406_weekly_bin908.fits sctable="SC_DATA" outfile=/lscratch/kocevski/18159618/ltcube_788140801_788745601_4FGL_J1428.9+5406_weekly_bin908.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/18159618/ft2_4FGL_J1428.9+5406_weekly_bin908.fits
.....................!
real 21.89
user 21.13
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/18159618/ft1_filtered_4FGL_J1428.9+5406_weekly_bin908.fits evtable="EVENTS" scfile=/lscratch/kocevski/18159618/ft2_4FGL_J1428.9+5406_weekly_bin908.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18159618/ltcube_788140801_788745601_4FGL_J1428.9+5406_weekly_bin908.fits outfile=/lscratch/kocevski/18159618/expmap_788140801_788745601_4FGL_J1428.9+5406_weekly_bin908.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/18159618/ltcube_788140801_788745601_4FGL_J1428.9+5406_weekly_bin908.fits
.....................!
real 74.27
user 68.70
sys 4.22

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

Setting source of interest to:
4FGL J1428.9+5406 @ 217.229 54.1114

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/18159618/ft1_filtered_4FGL_J1428.9+5406_weekly_bin908.fits scfile=/lscratch/kocevski/18159618/ft2_4FGL_J1428.9+5406_weekly_bin908.fits outfile=/lscratch/kocevski/18159618/cmap_788140801_788745601_4FGL_J1428.9+5406_weekly_bin908.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=217.229 yref=54.1114 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.01
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/18159618/ft1_filtered_4FGL_J1428.9+5406_weekly_bin908.fits scfile=/lscratch/kocevski/18159618/ft2_4FGL_J1428.9+5406_weekly_bin908.fits outfile=/lscratch/kocevski/18159618/cmap_HighResolution_788140801_788745601_4FGL_J1428.9+5406_weekly_bin908.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=217.229 yref=54.1114 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.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/18159618/ft1_filtered_4FGL_J1428.9+5406_weekly_bin908.fits evtable="EVENTS" scfile=/lscratch/kocevski/18159618/ft2_4FGL_J1428.9+5406_weekly_bin908.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18159618/Model_4FGL_J1428.9+5406_weekly_bin908.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/18159618/ft1_filtered_4FGL_J1428.9+5406_weekly_bin908.fits.....................!
real 43.41
user 40.93
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/18159618/ft1_filtered_4FGL_J1428.9+5406_weekly_bin908.fits', '/lscratch/kocevski/18159618/ft2_4FGL_J1428.9+5406_weekly_bin908.fits', expMap='/lscratch/kocevski/18159618/expmap_788140801_788745601_4FGL_J1428.9+5406_weekly_bin908.fits', expCube='/lscratch/kocevski/18159618/ltcube_788140801_788745601_4FGL_J1428.9+5406_weekly_bin908.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18159618/Model_4FGL_J1428.9+5406_weekly_bin908.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1428.9+5406'

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  4.001e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
347        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/18159618/ft1_filtered_4FGL_J1428.9+5406_weekly_bin908.fits
Spacecraft file(s): /lscratch/kocevski/18159618/ft2_4FGL_J1428.9+5406_weekly_bin908.fits
Exposure map: /lscratch/kocevski/18159618/expmap_788140801_788745601_4FGL_J1428.9+5406_weekly_bin908.fits
Exposure cube: /lscratch/kocevski/18159618/ltcube_788140801_788745601_4FGL_J1428.9+5406_weekly_bin908.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/18159618/Model_4FGL_J1428.9+5406_weekly_bin908.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) = 13139.2425802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.640       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18513E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .12053E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    31.852       1.0000          .0000       .10000E+07
     5 'norm      '    2.4797       1.0000          .0000       .10000E+07
     6 'norm      '    .37559E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .35167E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .37660E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24566E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .66847E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .55776       1.0000          .0000       .10000E+07
    12 'Prefactor '    14.675       1.0000          .0000       .10000E+07
    13 'Prefactor '    .61489E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .22223E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    4.2326       1.0000          .0000       .10000E+07
    16 'Prefactor '    .72037E-03   1.0000          .0000       .10000E+07
    17 'norm      '    2.6755       1.0000          .0000       .10000E+07
    18 'Prefactor '    .26237E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.8847       1.0000          .0000       .10000E+07
    20 'Prefactor '    .83001E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .14881E-05   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.2303       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .84373       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13139.23     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1864 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.692        6.7438        .27913E-06   -.52727E-01
   2  Prefactor     .20006E-05    43.302       -.15435E-05** at limit **
   3  norm          .61062E-09    3.0242        .18956E-06** at limit **
   4  Prefactor     32.530        9.6724        .54511E-06   -.15730    
   5  norm          2.4789        .99113       -.13168E-06   -.12537E-02
   6  norm          .11102E-09    4.0600       -.83006E-06** at limit **
   7  Prefactor     .24425E-08    7.5116       -.89812E-06** at limit **
   8  Prefactor      .0000        23.083        .15063E-05** at limit **
   9  Prefactor     .22204E-09    2.1806        .21486E-06** at limit **
  10  Prefactor     .72164E-09    5.6911       -.20642E-05** at limit **
  11  Prefactor     .55824        1.0796        .23511E-06    .18569E-04
  12  Prefactor     14.671        1.0640       -.44169E-08   -.34171E-02
  13  Prefactor     .10114E-06    12.309       -.12620E-05** at limit **
  14  Prefactor     .12379E-07    10.628        .16399E-05** at limit **
  15  Prefactor     4.2319        1.7421       -.22284E-06   -.82322E-01
  16  Prefactor      .0000        3.0131       -.70210E-06** at limit **
  17  norm          2.6768        1.1499       -.16453E-06   -.43098E-04
  18  Prefactor     .90450E-06    21.555        .11488E-05** at limit **
  19  Prefactor     3.8808        3.2686        .42222E-07    .17105E-02
  20  Prefactor     .27756E-09    2.2638       -.87542E-06** at limit **
  21  norm           .0000        1.2232        .65738E-06** at limit **
  22  Normalizat    1.2299        .13003        .66439E-05    .37012E-04
  23  Prefactor     .84390        .15164       -.10431E-04   -.85909E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.6918
  Prefactor  = 2.00062e-06
  norm       = 6.10623e-10
  Prefactor  = 32.5295
  norm       = 2.47892
  norm       = 1.11022e-10
  Prefactor  = 2.44249e-09
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 7.21645e-10
  Prefactor  = 0.558244
  Prefactor  = 14.6705
  Prefactor  = 1.01141e-07
  Prefactor  = 1.2379e-08
  Prefactor  = 4.2319
  Prefactor  = 0
  norm       = 2.6768
  Prefactor  = 9.04499e-07
  Prefactor  = 3.88079
  Prefactor  = 2.77556e-10
  norm       = 0
  Normalizat = 1.22986
  Prefactor  = 0.843904
 **********
 **   18 **HESSE 
 **********

 FCN=   13139.23     FROM HESSE     STATUS=OK           414 CALLS     2278 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.692        27.271        .14968E-03   -1.5574    
   2  Prefactor     .20006E-05    45.047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .61062E-09    2.9776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     32.530        37.012        .17721E-03   -1.5594    
   5  norm          2.4789        .99269        .64896E-03   -1.5676    
   6  norm          .11102E-09    3.9436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .24425E-08    7.5359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        22.658        .16071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-09    2.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .72164E-09    5.6911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55824        1.1471        .73100E-03   -1.5693    
  12  Prefactor     14.671        14.783        .26120E-03   -1.5631    
  13  Prefactor     .10114E-06    12.650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .12379E-07    10.781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.2319        7.8718        .48955E-03   -1.5667    
  16  Prefactor      .0000        3.0148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.6768        1.1559        .62274E-03   -1.5675    
  18  Prefactor     .90450E-06    22.223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.8808        3.2786        .51170E-03   -1.5669    
  20  Prefactor     .27756E-09    2.2672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        1.2215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2299        .11373        .34187E-01   -.85685    
  23  Prefactor     .84390        .13018        .65010E-01   -.98130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28726e-06
Minuit parameter uncertainties:
  1  27.2709
  2  0.0189867
  3  8.59401e-05
  4  37.012
  5  0.992685
  6  4.33865e-05
  7  0.000272588
  8  3.61671e-05
  9  4.20046e-05
  10  0.000126182
  11  1.14711
  12  14.7835
  13  0.00226246
  14  0.000731044
  15  7.87178
  16  7.13468e-06
  17  1.15588
  18  0.00896674
  19  3.27856
  20  4.76905e-05
  21  5.15035e-06
  22  0.113752
  23  0.130232
Done.

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

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.467e+01  1.478e+01  0.000e+00  1.000e+06 ( 1.000e-13)
347        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  8.439e-01  1.302e-01  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  1.230e+00  1.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.42
Ra Dec: 217.229 54.111
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 2.07e-08 +/- 2.08e-08
Energy Flux (Fixed Index): 5.56e-06 +/- 5.60e-06

TS (Fixed Index): 1.42
Ra Dec: 217.229 54.111
Photon Flux Upper Limit: 6.36393046089e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00497249986472 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/18159618/likelihoodResults_788140801_788745601_4FGL_J1428.9+5406_weekly_bin908.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) = 13139.2301723
delta logL = 0.00338691606157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13139.2281238
delta logL = 0.0054354222375

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.796       1.0000          .0000       .10000E+07
     2 'Index     '    2.4903       1.0000          .0000       10.000    
     3 'Normalizat'    1.2315       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84253       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13139.23     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      214 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.782        389.77        .25174E-03    .29481E-03
   2  Index         2.4916        6.2457        .23570        .98578E-04
   3  Normalizat    1.2314        .37286E-01    .34161E-01    .34037E-04
   4  Prefactor     .84246        .39124E-01    .65059E-01    .59984E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.7819
  Index      = 2.49157
  Normalizat = 1.23144
  Prefactor  = 0.842465
 **********
 **   18 **HESSE 
 **********

 FCN=   13139.23     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.782        19.292        .10070E-04   -1.5629    
   2  Index         2.4916        .81399        .11282E-01   -.52555    
   3  Normalizat    1.2314        .13082        .20832E-03   -.85637    
   4  Prefactor     .84246        .15193        .28778E-03   -.98182    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.65874e-09
Minuit parameter uncertainties:
  1  19.2925
  2  0.818869
  3  0.130859
  4  0.152008
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) = 13139.2281211
delta logL = 0.0054381713544

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.578e+01  1.929e+01  0.000e+00  1.000e+06 ( 1.000e-13)
347        Index:  2.492e+00  8.189e-01  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  8.425e-01  1.520e-01  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  1.231e+00  1.309e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.43
Ra Dec: 217.229 54.111
Photon Index (Free Index): 2.49 +/- 0.82
Photon Flux (Free Index): 1.98e-08 +/- 2.09e-08
Energy Flux (Free Index): 5.79e-06 +/- 6.30e-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/18159618/cmap_HighResolution_788140801_788745601_4FGL_J1428.9+5406_weekly_bin908.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.97e-03', comment='SUCCESS', photon_flux='2.07e-08', energy_flux2='5.79e-06', photon_flux_error='2.08e-08', dlogl='5.44e-03', energy_flux='5.56e-06', photon_flux2='1.98e-08', job_status='DONE', time_completed='2025-12-30 02:01:33.189139', photon_index_error2='0.82', photon_index2='2.49', ts='1.42', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='6.36e-08', energy_flux_error2='6.30e-06', EG='1.23', time_epoch_completed='1767088893.19', return_code='0', job_id='18159618', GAL2='0.84', EG2='1.23', return_code2='0', energy_flux_error='5.60e-06', photon_flux_error2='2.09e-08', ts2='1.43', photon_index='2.57' WHERE bin_id='908' AND source_name='4FGL J1428.9+5406' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 30 02:01:33 PST 2025

