 **********
 **   18 **HESSE 
 **********

 FCN=   9123.709     FROM HESSE     STATUS=OK           763 CALLS     4031 TOTAL
                     EDM=   .66E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7603        2.4218        .61201E-03   -1.5675    
   2  Prefactor     .55511E-10    2.3198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.8283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.219        25.202        .20269E-03   -1.5610    
   5  Prefactor     116.67        97.850        .92646E-04   -1.5492    
   6  Prefactor     5.0404        5.5514        .44548E-03   -1.5663    
   7  Prefactor     .11435E-07    13.528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.7494        7.1832        .46148E-03   -1.5664    
   9  Prefactor     .55511E-10    1.2513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        5.5710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.0465        7.8803        .50122E-03   -1.5668    
  12  Prefactor     3.0827        3.6914        .57522E-03   -1.5673    
  13  Prefactor     .17208E-08    2.0382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .93203E-07    37.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.5113        6.6768        .47429E-03   -1.5665    
  16  Prefactor     6.6659        3.3936        .38810E-03   -1.5656    
  17  Prefactor     .67923        1.2343        .62406E-03   -1.5691    
  18  Prefactor     2.2582        7.0873        .68381E-03   -1.5678    
  19  Prefactor     .22204E-09    6.0157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .71935        .61850        .59215E-03   -1.5691    
  21  Prefactor     .15765E-07    13.218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .76977        .61010        .55223E-03   -1.5690    
  23  Prefactor     .31086E-08    2.0875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .16653E-09    2.8699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.0733        1.5982        .57824E-03   -1.5673    
  26  Prefactor     4.8296        3.2426        .45700E-03   -1.5664    
  27  Prefactor      .0000        21.063        .16814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          3.2949        3.9936        .56093E-03   -1.5672    
  29  Prefactor     7.7873        4.0855        .35871E-03   -1.5652    
  30  Prefactor     43.090        47.706        .15223E-03   -1.5577    
  31  Prefactor     .37070E-06    55.280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .91659        .15947        .45108E-01   -.95880    
  33  Prefactor     1.1282        .15127        .54205E-01   -.88570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64055e-06
Minuit parameter uncertainties:
  1  2.4218
  2  1.91289e-05
  3  9.75713e-06
  4  25.2017
  5  97.8509
  6  5.55144
  7  0.000785691
  8  7.18317
  9  1.36469e-05
  10  9.12901e-06
  11  7.8803
  12  3.69135
  13  0.000119039
  14  0.00375447
  15  6.67678
  16  3.39364
  17  1.23428
  18  7.0873
  19  7.6388e-05
  20  0.618498
  21  0.000913469
  22  0.610096
  23  0.000161288
  24  4.04555e-05
  25  1.59818
  26  3.24261
  27  1.7384e-05
  28  3.99365
  29  4.08548
  30  47.7069
  31  0.00905346
  32  0.159553
  33  0.151323
/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).

 **********
 **   18 **HESSE 
 **********

 FCN=   9123.709     FROM HESSE     STATUS=OK           763 CALLS     4031 TOTAL
                     EDM=   .66E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7603        2.4218        .61201E-03   -1.5675    
   2  Prefactor     .55511E-10    2.3198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.8283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.219        25.202        .20269E-03   -1.5610    
   5  Prefactor     116.67        97.850        .92646E-04   -1.5492    
   6  Prefactor     5.0404        5.5514        .44548E-03   -1.5663    
   7  Prefactor     .11435E-07    13.528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.7494        7.1832        .46148E-03   -1.5664    
   9  Prefactor     .55511E-10    1.2513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        5.5710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.0465        7.8803        .50122E-03   -1.5668    
  12  Prefactor     3.0827        3.6914        .57522E-03   -1.5673    
  13  Prefactor     .17208E-08    2.0382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .93203E-07    37.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.5113        6.6768        .47429E-03   -1.5665    
  16  Prefactor     6.6659        3.3936        .38810E-03   -1.5656    
  17  Prefactor     .67923        1.2343        .62406E-03   -1.5691    
  18  Prefactor     2.2582        7.0873        .68381E-03   -1.5678    
  19  Prefactor     .22204E-09    6.0157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .71935        .61850        .59215E-03   -1.5691    
  21  Prefactor     .15765E-07    13.218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .76977        .61010        .55223E-03   -1.5690    
  23  Prefactor     .31086E-08    2.0875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .16653E-09    2.8699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.0733        1.5982        .57824E-03   -1.5673    
  26  Prefactor     4.8296        3.2426        .45700E-03   -1.5664    
  27  Prefactor      .0000        21.063        .16814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          3.2949        3.9936        .56093E-03   -1.5672    
  29  Prefactor     7.7873        4.0855        .35871E-03   -1.5652    
  30  Prefactor     43.090        47.706        .15223E-03   -1.5577    
  31  Prefactor     .37070E-06    55.280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .91659        .15947        .45108E-01   -.95880    
  33  Prefactor     1.1282        .15127        .54205E-01   -.88570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64055e-06
Minuit parameter uncertainties:
  1  2.4218
  2  1.91289e-05
  3  9.75713e-06
  4  25.2017
  5  97.8509
  6  5.55144
  7  0.000785691
  8  7.18317
  9  1.36469e-05
  10  9.12901e-06
  11  7.8803
  12  3.69135
  13  0.000119039
  14  0.00375447
  15  6.67678
  16  3.39364
  17  1.23428
  18  7.0873
  19  7.6388e-05
  20  0.618498
  21  0.000913469
  22  0.610096
  23  0.000161288
  24  4.04555e-05
  25  1.59818
  26  3.24261
  27  1.7384e-05
  28  3.99365
  29  4.08548
  30  47.7069
  31  0.00905346
  32  0.159553
  33  0.151323
number of points = 7621
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1630.7+5221_daily_bin2208
RA = 247.682, Dec = 52.3543
tmin = 811641601, tmax = 811900801
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='39005546', job_status='RUN', time_executed='2026-09-24 13:21:26.316037', time_epoch_executed='1790281286.32' WHERE source_name='4FGL J1630.7+5221' and cadence='daily' and bin_id='2208'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39005546

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39005546/ft1_4FGL_J1630.7+5221_daily_bin2208.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39005546/ft2_4FGL_J1630.7+5221_daily_bin2208.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39005546/ft1_4FGL_J1630.7+5221_daily_bin2208.fits outfile=/lscratch/kocevski/39005546/ft1_filteredMKT_4FGL_J1630.7+5221_daily_bin2208.fits ra=247.682 dec=52.3543 rad=12.0 tmin=811641601.0 tmax=811900801.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 2.98
user 2.41
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39005546/ft2_4FGL_J1630.7+5221_daily_bin2208.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39005546/ft2_4FGL_J1630.7+5221_daily_bin2208.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/39005546/ft1_filteredMKT_4FGL_J1630.7+5221_daily_bin2208.fits evtable="EVENTS" outfile="/lscratch/kocevski/39005546/ft1_filtered_4FGL_J1630.7+5221_daily_bin2208.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.10
user 0.20
sys 0.11

Number of photons that the gtmktime cut: 849

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39005546/ft1_filtered_4FGL_J1630.7+5221_daily_bin2208.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39005546/ft2_4FGL_J1630.7+5221_daily_bin2208.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  0.000e+00  9.129e-06  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  1.128e+00  1.513e-01  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  9.166e-01  1.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 247.682 52.354
Photon Flux Upper Limit: 2.69430245982e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/39005142/likelihoodResults_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.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) = 9123.70942711
delta logL = -0.000118354571896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9123.70931346
delta logL = -4.70760460303e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18482E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    .77899       1.0000          .0000       5.0000    
     3 'Normalizat'    .91661       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1282       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9123.709     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      232 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.5490        .42118E-03** at limit **
   2  alpha         3.3384        1.4030       -.74867E-04     .0000    
   3  Normalizat    .91659        1.2511       -.91816E-05   -.40514E-03
   4  Prefactor     1.1282        1.1323       -.15098E-05   -.27653E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.33845
  Normalizat = 0.916591
  Prefactor  = 1.12822
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9123.709     FROM HESSE     STATUS=FAILED         7 CALLS      239 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.5490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0820        1.4030       -.74867E-04    .34201    
   3  Normalizat    .91659        1.2511       -.91816E-05   -.95880    
   4  Prefactor     1.1282        1.1323       -.15098E-05   -.88570    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.44103e-10
Minuit parameter uncertainties:
  1  1.07462e-05
  2  1.50296
  3  1.2946
  4  1.158
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) = 9123.70930875
delta logL = -6.73026079312e-11

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  0.000e+00  1.075e-05  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  3.338e+00  1.503e+00  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  1.128e+00  1.158e+00  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  9.166e-01  1.295e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 247.682 52.354

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/39005142/cmap_HighResolution_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='2.69e-08', time_completed='2026-09-24 13:22:31.369384', job_id='39005142', GAL2='1.13', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1790281351.37', return_code2='101', ts='0.00', return_code='0', GAL='1.13', dlogl='-6.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='2208' AND source_name='4FGL J1630.7+5221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 24 13:22:31 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  0.000e+00  9.129e-06  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  1.128e+00  1.513e-01  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  9.166e-01  1.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 247.682 52.354
Photon Flux Upper Limit: 2.69430245982e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/39005162/likelihoodResults_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.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) = 9123.70942711
delta logL = -0.000118354571896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9123.70931346
delta logL = -4.70760460303e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18482E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    .77899       1.0000          .0000       5.0000    
     3 'Normalizat'    .91661       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1282       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9123.709     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      232 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.5490        .42118E-03** at limit **
   2  alpha         3.3384        1.4030       -.74867E-04     .0000    
   3  Normalizat    .91659        1.2511       -.91816E-05   -.40514E-03
   4  Prefactor     1.1282        1.1323       -.15098E-05   -.27653E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.33845
  Normalizat = 0.916591
  Prefactor  = 1.12822
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9123.709     FROM HESSE     STATUS=FAILED         7 CALLS      239 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.5490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0820        1.4030       -.74867E-04    .34201    
   3  Normalizat    .91659        1.2511       -.91816E-05   -.95880    
   4  Prefactor     1.1282        1.1323       -.15098E-05   -.88570    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.44103e-10
Minuit parameter uncertainties:
  1  1.07462e-05
  2  1.50296
  3  1.2946
  4  1.158
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) = 9123.70930875
delta logL = -6.73026079312e-11

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  0.000e+00  1.075e-05  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  3.338e+00  1.503e+00  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  1.128e+00  1.158e+00  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  9.166e-01  1.295e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 247.682 52.354

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/39005162/cmap_HighResolution_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='2.69e-08', time_completed='2026-09-24 13:23:09.891234', job_id='39005162', GAL2='1.13', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1790281389.89', return_code2='101', ts='0.00', return_code='0', GAL='1.13', dlogl='-6.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='2208' AND source_name='4FGL J1630.7+5221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 24 13:23:10 PDT 2026

tfile=/lscratch/kocevski/39005546/ltcube_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.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/39005546/ft2_4FGL_J1630.7+5221_daily_bin2208.fits
.....................!
real 9.28
user 8.36
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39005546/ft1_filtered_4FGL_J1630.7+5221_daily_bin2208.fits evtable="EVENTS" scfile=/lscratch/kocevski/39005546/ft2_4FGL_J1630.7+5221_daily_bin2208.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39005546/ltcube_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.fits outfile=/lscratch/kocevski/39005546/expmap_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.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/39005546/ltcube_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.fits
.....................!
real 72.08
user 67.11
sys 4.10

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

Setting source of interest to:
4FGL J1630.7+5221 @ 247.682 52.3543

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39005546/ft1_filtered_4FGL_J1630.7+5221_daily_bin2208.fits scfile=/lscratch/kocevski/39005546/ft2_4FGL_J1630.7+5221_daily_bin2208.fits outfile=/lscratch/kocevski/39005546/cmap_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.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=247.682 yref=52.3543 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.84
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39005546/ft1_filtered_4FGL_J1630.7+5221_daily_bin2208.fits scfile=/lscratch/kocevski/39005546/ft2_4FGL_J1630.7+5221_daily_bin2208.fits outfile=/lscratch/kocevski/39005546/cmap_HighResolution_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.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=247.682 yref=52.3543 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.74
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39005546/ft1_filtered_4FGL_J1630.7+5221_daily_bin2208.fits evtable="EVENTS" scfile=/lscratch/kocevski/39005546/ft2_4FGL_J1630.7+5221_daily_bin2208.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39005546/Model_4FGL_J1630.7+5221_daily_bin2208.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/39005546/ft1_filtered_4FGL_J1630.7+5221_daily_bin2208.fits.....................!
real 29.22
user 27.73
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39005546/ft1_filtered_4FGL_J1630.7+5221_daily_bin2208.fits', '/lscratch/kocevski/39005546/ft2_4FGL_J1630.7+5221_daily_bin2208.fits', expMap='/lscratch/kocevski/39005546/expmap_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.fits', expCube='/lscratch/kocevski/39005546/ltcube_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39005546/Model_4FGL_J1630.7+5221_daily_bin2208.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1630.7+5221'

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  9.141e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39005546/ft1_filtered_4FGL_J1630.7+5221_daily_bin2208.fits
Spacecraft file(s): /lscratch/kocevski/39005546/ft2_4FGL_J1630.7+5221_daily_bin2208.fits
Exposure map: /lscratch/kocevski/39005546/expmap_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.fits
Exposure cube: /lscratch/kocevski/39005546/ltcube_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39005546/Model_4FGL_J1630.7+5221_daily_bin2208.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) = 9123.71991251

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7635       1.0000          .0000       .10000E+07
     2 'Prefactor '    .14794E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .24728E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.352       1.0000          .0000       .10000E+07
     5 'Prefactor '    116.52       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.0887       1.0000          .0000       .10000E+07
     7 'Prefactor '    .26424E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.7489       1.0000          .0000       .10000E+07
     9 'Prefactor '    .55372E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .46463E-07   1.0000          .0000       .10000E+07
    11 'norm      '    4.0433       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1050       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12670E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .97090E-04   1.0000          .0000       .10000E+07
    15 'norm      '    4.5017       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.6770       1.0000          .0000       .10000E+07
    17 'Prefactor '    .67929       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.2555       1.0000          .0000       .10000E+07
    19 'Prefactor '    .33699E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .71855       1.0000          .0000       .10000E+07
    21 'Prefactor '    .16981E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .76968       1.0000          .0000       .10000E+07
    23 'Prefactor '    .14056E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .91964E-03   1.0000          .0000       .10000E+07
    25 'norm      '    3.0743       1.0000          .0000       .10000E+07
    26 'Prefactor '    4.8405       1.0000          .0000       .10000E+07
    27 'Prefactor '    .23534E-01   1.0000          .0000       .10000E+07
    28 'norm      '    3.2569       1.0000          .0000       .10000E+07
    29 'Prefactor '    7.8037       1.0000          .0000       .10000E+07
    30 'Prefactor '    43.158       1.0000          .0000       .10000E+07
    31 'Prefactor '    .21205E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    .91620       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.1283       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9123.709     FROM MIGRAD    STATUS=CONVERGED    189 CALLS     3268 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7603        2.4140        .24321E-07    .58410E-02
   2  Prefactor     .55511E-10    2.3169       -.32313E-07** at limit **
   3  norm           .0000        1.8088       -.35562E-07** at limit **
   4  Prefactor     24.219        1.7560       -.56592E-07    .21897E-01
   5  Prefactor     116.67        5.2302        .15563E-06   -.28376    
   6  Prefactor     5.0404        5.3969        .13079E-06    .44076E-02
   7  Prefactor     .11435E-07    13.533       -.39934E-07** at limit **
   8  Prefactor     4.7494        2.4710       -.41296E-06   -.15320E-01
   9  Prefactor     .55511E-10    1.2579       -.20741E-07** at limit **
  10  norm           .0000        5.5721       -.21382E-07** at limit **
  11  norm          4.0465        3.9741        .86066E-06   -.36729E-03
  12  Prefactor     3.0827        3.6619        .36161E-07    .40419E-02
  13  Prefactor     .17208E-08    1.7710        .26394E-06** at limit **
  14  norm          .93203E-07    37.767        .14892E-06** at limit **
  15  norm          4.5113        5.7692        .87408E-06    .22768E-01
  16  Prefactor     6.6659        3.3467        .58367E-07    .65328E-02
  17  Prefactor     .67923        1.2168        .31224E-07    .87946E-02
  18  Prefactor     2.2582        3.3017       -.91577E-06   -.11336E-01
  19  Prefactor     .22204E-09    6.0214       -.82509E-07** at limit **
  20  norm          .71935        .60893       -.37798E-10    .99219E-02
  21  Prefactor     .15765E-07    13.468        .23042E-06** at limit **
  22  norm          .76977        .60435       -.17114E-08    .25089E-02
  23  Prefactor     .31086E-08    1.7597       -.33887E-06** at limit **
  24  Prefactor     .16653E-09    2.8635        .58767E-07** at limit **
  25  norm          3.0733        1.5946        .42630E-08    .10800E-02
  26  Prefactor     4.8296        3.2385        .22765E-07    .26393E-02
  27  Prefactor      .0000        21.121       -.33804E-07** at limit **
  28  norm          3.2949        3.9781        .31257E-07    .33834E-02
  29  Prefactor     7.7873        3.9630        .18423E-07    .31997E-02
  30  Prefactor     43.090        2.2671       -.73953E-07    .45739E-01
  31  Prefactor     .37070E-06    55.168       -.23322E-06** at limit **
  32  Normalizat    .91659        .18324        .31946E-06   -.29810E-04
  33  Prefactor     1.1282        .17839       -.96114E-06    .98380E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.76034
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 24.219
  Prefactor  = 116.667
  Prefactor  = 5.04038
  Prefactor  = 1.14353e-08
  Prefactor  = 4.74942
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 4.04651
  Prefactor  = 3.0827
  Prefactor  = 1.72085e-09
  norm       = 9.32032e-08
  norm       = 4.51135
  Prefactor  = 6.66591
  Prefactor  = 0.679231
  Prefactor  = 2.25819
  Prefactor  = 2.22045e-10
  norm       = 0.719349
  Prefactor  = 1.57652e-08
  norm       = 0.769771
  Prefactor  = 3.10862e-09
  Prefactor  = 1.66533e-10
  norm       = 3.07334
  Prefactor  = 4.82957
  Prefactor  = 0
  norm       = 3.29491
  Prefactor  = 7.78734
  Prefactor  = 43.0896
  Prefactor  = 3.70703e-07
  Normalizat = 0.916591
  Prefactor  = 1.12822
 **********
 **   18 **HESSE 
 **********

 FCN=   9123.709     FROM HESSE     STATUS=OK           763 CALLS     4031 TOTAL
                     EDM=   .66E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7603        2.4218        .61201E-03   -1.5675    
   2  Prefactor     .55511E-10    2.3198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.8283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.219        25.202        .20269E-03   -1.5610    
   5  Prefactor     116.67        97.850        .92646E-04   -1.5492    
   6  Prefactor     5.0404        5.5514        .44548E-03   -1.5663    
   7  Prefactor     .11435E-07    13.528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.7494        7.1832        .46148E-03   -1.5664    
   9  Prefactor     .55511E-10    1.2513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        5.5710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.0465        7.8803        .50122E-03   -1.5668    
  12  Prefactor     3.0827        3.6914        .57522E-03   -1.5673    
  13  Prefactor     .17208E-08    2.0382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .93203E-07    37.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.5113        6.6768        .47429E-03   -1.5665    
  16  Prefactor     6.6659        3.3936        .38810E-03   -1.5656    
  17  Prefactor     .67923        1.2343        .62406E-03   -1.5691    
  18  Prefactor     2.2582        7.0873        .68381E-03   -1.5678    
  19  Prefactor     .22204E-09    6.0157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .71935        .61850        .59215E-03   -1.5691    
  21  Prefactor     .15765E-07    13.218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .76977        .61010        .55223E-03   -1.5690    
  23  Prefactor     .31086E-08    2.0875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .16653E-09    2.8699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.0733        1.5982        .57824E-03   -1.5673    
  26  Prefactor     4.8296        3.2426        .45700E-03   -1.5664    
  27  Prefactor      .0000        21.063        .16814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          3.2949        3.9936        .56093E-03   -1.5672    
  29  Prefactor     7.7873        4.0855        .35871E-03   -1.5652    
  30  Prefactor     43.090        47.706        .15223E-03   -1.5577    
  31  Prefactor     .37070E-06    55.280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .91659        .15947        .45108E-01   -.95880    
  33  Prefactor     1.1282        .15127        .54205E-01   -.88570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64055e-06
Minuit parameter uncertainties:
  1  2.4218
  2  1.91289e-05
  3  9.75713e-06
  4  25.2017
  5  97.8509
  6  5.55144
  7  0.000785691
  8  7.18317
  9  1.36469e-05
  10  9.12901e-06
  11  7.8803
  12  3.69135
  13  0.000119039
  14  0.00375447
  15  6.67678
  16  3.39364
  17  1.23428
  18  7.0873
  19  7.6388e-05
  20  0.618498
  21  0.000913469
  22  0.610096
  23  0.000161288
  24  4.04555e-05
  25  1.59818
  26  3.24261
  27  1.7384e-05
  28  3.99365
  29  4.08548
  30  47.7069
  31  0.00905346
  32  0.159553
  33  0.151323
Done.

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

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  0.000e+00  9.129e-06  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  1.128e+00  1.513e-01  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  9.166e-01  1.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 247.682 52.354
Photon Flux Upper Limit: 2.69430245982e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/39005546/likelihoodResults_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.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) = 9123.70942711
delta logL = -0.000118354571896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9123.70931346
delta logL = -4.70760460303e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18482E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    .77899       1.0000          .0000       5.0000    
     3 'Normalizat'    .91661       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1282       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9123.709     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      232 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.5490        .42118E-03** at limit **
   2  alpha         3.3384        1.4030       -.74867E-04     .0000    
   3  Normalizat    .91659        1.2511       -.91816E-05   -.40514E-03
   4  Prefactor     1.1282        1.1323       -.15098E-05   -.27653E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.33845
  Normalizat = 0.916591
  Prefactor  = 1.12822
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9123.709     FROM HESSE     STATUS=FAILED         7 CALLS      239 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.5490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0820        1.4030       -.74867E-04    .34201    
   3  Normalizat    .91659        1.2511       -.91816E-05   -.95880    
   4  Prefactor     1.1282        1.1323       -.15098E-05   -.88570    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.44103e-10
Minuit parameter uncertainties:
  1  1.07462e-05
  2  1.50296
  3  1.2946
  4  1.158
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) = 9123.70930875
delta logL = -6.73026079312e-11

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  0.000e+00  1.075e-05  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  3.338e+00  1.503e+00  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  1.128e+00  1.158e+00  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  9.166e-01  1.295e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 247.682 52.354

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/39005546/cmap_HighResolution_811641601_811900801_4FGL_J1630.7+5221_daily_bin2208.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='2.69e-08', time_completed='2026-09-24 13:30:12.777191', job_id='39005546', GAL2='1.13', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1790281812.78', return_code2='101', ts='0.00', return_code='0', GAL='1.13', dlogl='-6.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='2208' AND source_name='4FGL J1630.7+5221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 24 13:30:12 PDT 2026

