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


Performing analysis on: 4FGL_J0921.6+6216_weekly_bin906
RA = 140.419, Dec = 62.2708
tmin = 786931201, tmax = 787536001
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='17377579', job_status='RUN', time_executed='2025-12-16 01:55:31.551850', time_epoch_executed='1765878931.55' WHERE source_name='4FGL J0921.6+6216' and cadence='weekly' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17377579

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17377579/ft1_4FGL_J0921.6+6216_weekly_bin906.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17377579/ft2_4FGL_J0921.6+6216_weekly_bin906.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17377579/ft1_4FGL_J0921.6+6216_weekly_bin906.fits outfile=/lscratch/kocevski/17377579/ft1_filteredMKT_4FGL_J0921.6+6216_weekly_bin906.fits ra=140.419 dec=62.2708 rad=12.0 tmin=786931201.0 tmax=787536001.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.37
user 4.37
sys 0.35

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17377579/ft2_4FGL_J0921.6+6216_weekly_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17377579/ft2_4FGL_J0921.6+6216_weekly_bin906.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/17377579/ft1_filteredMKT_4FGL_J0921.6+6216_weekly_bin906.fits evtable="EVENTS" outfile="/lscratch/kocevski/17377579/ft1_filtered_4FGL_J0921.6+6216_weekly_bin906.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.84
user 0.18
sys 0.14

Number of photons that the gtmktime cut: 1876

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17377579/ft1_filtered_4FGL_J0921.6+6216_weekly_bin906.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17377579/ft2_4FGL_J0921.6+6216_weekly_bin906.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17377579/ltcube_786931201_787536001_4FGL_J0921.6+6216_weekly_bin906.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/17377579/ft2_4FGL_J0921.6+6216_weekly_bin906.fits
.....................!
real 16.26
user 15.13
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17377579/ft1_filtered_4FGL_J0921.6+6216_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17377579/ft2_4FGL_J0921.6+6216_weekly_bin906.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17377579/ltcube_786931201_787536001_4FGL_J0921.6+6216_weekly_bin906.fits outfile=/lscratch/kocevski/17377579/expmap_786931201_787536001_4FGL_J0921.6+6216_weekly_bin906.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/17377579/ltcube_786931201_787536001_4FGL_J0921.6+6216_weekly_bin906.fits
.....................!
real 60.58
user 56.02
sys 3.56

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

Setting source of interest to:
4FGL J0921.6+6216 @ 140.419 62.2708

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17377579/ft1_filtered_4FGL_J0921.6+6216_weekly_bin906.fits scfile=/lscratch/kocevski/17377579/ft2_4FGL_J0921.6+6216_weekly_bin906.fits outfile=/lscratch/kocevski/17377579/cmap_786931201_787536001_4FGL_J0921.6+6216_weekly_bin906.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=140.419 yref=62.2708 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.02
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17377579/ft1_filtered_4FGL_J0921.6+6216_weekly_bin906.fits scfile=/lscratch/kocevski/17377579/ft2_4FGL_J0921.6+6216_weekly_bin906.fits outfile=/lscratch/kocevski/17377579/cmap_HighResolution_786931201_787536001_4FGL_J0921.6+6216_weekly_bin906.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=140.419 yref=62.2708 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.92
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17377579/ft1_filtered_4FGL_J0921.6+6216_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17377579/ft2_4FGL_J0921.6+6216_weekly_bin906.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17377579/Model_4FGL_J0921.6+6216_weekly_bin906.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/17377579/ft1_filtered_4FGL_J0921.6+6216_weekly_bin906.fits.....................!
real 68.14
user 65.87
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17377579/ft1_filtered_4FGL_J0921.6+6216_weekly_bin906.fits', '/lscratch/kocevski/17377579/ft2_4FGL_J0921.6+6216_weekly_bin906.fits', expMap='/lscratch/kocevski/17377579/expmap_786931201_787536001_4FGL_J0921.6+6216_weekly_bin906.fits', expCube='/lscratch/kocevski/17377579/ltcube_786931201_787536001_4FGL_J0921.6+6216_weekly_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17377579/Model_4FGL_J0921.6+6216_weekly_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0921.6+6216'

4FGL J0921.6+6216
   Spectrum: LogParabola
366         norm:  1.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
367        alpha:  2.223e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
368         beta:  8.311e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
369           Eb:  5.899e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17377579/ft1_filtered_4FGL_J0921.6+6216_weekly_bin906.fits
Spacecraft file(s): /lscratch/kocevski/17377579/ft2_4FGL_J0921.6+6216_weekly_bin906.fits
Exposure map: /lscratch/kocevski/17377579/expmap_786931201_787536001_4FGL_J0921.6+6216_weekly_bin906.fits
Exposure cube: /lscratch/kocevski/17377579/ltcube_786931201_787536001_4FGL_J0921.6+6216_weekly_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17377579/Model_4FGL_J0921.6+6216_weekly_bin906.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) = 20080.4312844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28664E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .37748E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .19373E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.3456       1.0000          .0000       .10000E+07
     5 'Prefactor '    17.673       1.0000          .0000       .10000E+07
     6 'norm      '    1.2307       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5988       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10266E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .15658E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    18.889       1.0000          .0000       .10000E+07
    11 'Prefactor '    27.250       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.9832       1.0000          .0000       .10000E+07
    13 'norm      '    .83649       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.1358       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10714E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24192       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7964       1.0000          .0000       .10000E+07
    18 'norm      '    .15616E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    22.835       1.0000          .0000       .10000E+07
    20 'norm      '    1.7085       1.0000          .0000       .10000E+07
    21 'norm      '    2.0607       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.3859       1.0000          .0000       .10000E+07
    23 'norm      '    9.2503       1.0000          .0000       .10000E+07
    24 'Prefactor '    .29212E-04   1.0000          .0000       .10000E+07
    25 'norm      '    .64628       1.0000          .0000       .10000E+07
    26 'norm      '    1.4615       1.0000          .0000       .10000E+07
    27 'Prefactor '    .59910E-02   1.0000          .0000       .10000E+07
    28 'Normalizat'    .91237       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0165       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20080.35     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     2097 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62172E-08    23.279        .79474E-06** at limit **
   2  norm           .0000        .97521       -.19093E-06** at limit **
   3  Prefactor      .0000        .33999       -.34313E-06** at limit **
   4  Prefactor     1.3490        4.2803        .84547E-06    .54686E-03
   5  Prefactor     17.678        4.4801       -.93373E-07   -.27714E-02
   6  norm          1.2219        1.2658       -.62979E-07    .61122E-02
   7  Prefactor     5.6107        3.5440        .10145E-06   -.12559E-02
   8  Prefactor     .88818E-09    9.1636       -.47064E-07** at limit **
   9  norm          .16653E-09    1.8004        .28517E-08** at limit **
  10  Prefactor     18.893        2.3676       -.35113E-06    .49110E-01
  11  Prefactor     27.419        1.1454        .34593E-07   -.43400E-01
  12  Prefactor     6.0372        7.4939        .88720E-06    .83083E-02
  13  norm          .83692        .48414       -.27818E-08   -.15618E-01
  14  Prefactor     3.1418        6.6244        .12816E-05    .40038E-02
  15  Prefactor     .11102E-09    .49133        .12924E-07** at limit **
  16  Prefactor     .24260        8.4492        .64067E-05** at limit **
  17  Prefactor     5.8029        3.7945        .56583E-07    .21187E-02
  18  norm           .0000        1.3130       -.14049E-06** at limit **
  19  Prefactor     22.809        1.3008        .87872E-07   -.70137E-01
  20  norm          1.7086        .35137        .70583E-07    .23536E-01
  21  norm          2.0605        .48416        .12380E-07   -.15949E-01
  22  Prefactor     7.4209        1.1437       -.96550E-07    .24345E-01
  23  norm          9.2981        1.1620        .89732E-07   -.97289E-02
  24  Prefactor     .55511E-10    4.8199        .14382E-06** at limit **
  25  norm          .64770        .73345       -.39768E-07   -.40547E-02
  26  norm          1.4615        .78918       -.14162E-06   -.25786E-02
  27  Prefactor     .72164E-09    29.639       -.20447E-05** at limit **
  28  Normalizat    .91216        .11113       -.44243E-05    .26415E-03
  29  Prefactor     1.0166        .96467E-01    .28376E-05   -.24270E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.21725e-09
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.34902
  Prefactor  = 17.6779
  norm       = 1.22187
  Prefactor  = 5.6107
  Prefactor  = 8.88178e-10
  norm       = 1.66533e-10
  Prefactor  = 18.8925
  Prefactor  = 27.419
  Prefactor  = 6.03721
  norm       = 0.836925
  Prefactor  = 3.14179
  Prefactor  = 1.11022e-10
  Prefactor  = 0.242603
  Prefactor  = 5.80294
  norm       = 0
  Prefactor  = 22.8091
  norm       = 1.70862
  norm       = 2.0605
  Prefactor  = 7.42093
  norm       = 9.29812
  Prefactor  = 5.55112e-11
  norm       = 0.647701
  norm       = 1.46154
  Prefactor  = 7.21645e-10
  Normalizat = 0.912157
  Prefactor  = 1.01656
 **********
 **   18 **HESSE 
 **********

 FCN=   20080.35     FROM HESSE     STATUS=OK           621 CALLS     2718 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62172E-08    23.191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .96688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        .33147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3490        4.3311        .94365E-03   -1.5685    
   5  Prefactor     17.678        4.5287        .23797E-03   -1.5624    
   6  norm          1.2219        1.5707        .10133E-02   -1.5686    
   7  Prefactor     5.6107        3.5614        .42433E-03   -1.5661    
   8  Prefactor     .88818E-09    9.1917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .16653E-09    1.8070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.893        7.5451        .23017E-03   -1.5621    
  11  Prefactor     27.419        16.655        .19160E-03   -1.5603    
  12  Prefactor     6.0372        7.6707        .41027E-03   -1.5659    
  13  norm          .83692        .48976        .50254E-04   -1.5690    
  14  Prefactor     3.1418        6.7609        .57223E-03   -1.5673    
  15  Prefactor     .11102E-09    .49202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .24260        1.8895        .59207E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.8029        3.7958        .41692E-03   -1.5660    
  18  norm           .0000        1.3200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     22.809        16.348        .20932E-03   -1.5612    
  20  norm          1.7086        .35588        .80402E-03   -1.5682    
  21  norm          2.0605        .48772        .71959E-03   -1.5679    
  22  Prefactor     7.4209        16.158        .36881E-03   -1.5653    
  23  norm          9.2981        7.6299        .32928E-03   -1.5647    
  24  Prefactor     .55511E-10    4.8105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .64770        .74642        .65181E-03   -1.5692    
  26  norm          1.4615        .79352        .88958E-03   -1.5684    
  27  Prefactor     .72164E-09    29.705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .91216        .10436        .45060E-01   -.96034    
  29  Prefactor     1.0166        .87203E-01    .42504E-01   -.92179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37816e-07
Minuit parameter uncertainties:
  1  0.000758525
  2  8.70516e-06
  3  4.78977e-06
  4  4.33109
  5  4.52867
  6  1.57068
  7  3.56141
  8  0.000180566
  9  3.31956e-05
  10  7.54513
  11  16.6548
  12  7.67068
  13  0.489761
  14  6.76092
  15  1.50697e-05
  16  1.35409
  17  3.79583
  18  7.51552e-06
  19  16.3479
  20  0.355884
  21  0.487721
  22  16.1585
  23  7.62988
  24  2.62363e-05
  25  0.746422
  26  0.79352
  27  0.000296436
  28  0.104386
  29  0.0872154
Done.

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

Extracting fit parameters...

4FGL J0921.6+6216
   Spectrum: LogParabola
366         norm:  8.369e-01  4.898e-01  0.000e+00  1.000e+06 ( 1.000e-11)
367        alpha:  2.223e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
368         beta:  8.311e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
369           Eb:  5.899e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
762    Prefactor:  1.017e+00  8.722e-02  0.000e+00  1.000e+01 ( 1.000e+00)
763        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
764        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
761   Normalization:  9.122e-01  1.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.32
Ra Dec: 140.419 62.271
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 3.12e-08 +/- 1.82e-08
Energy Flux (Fixed Index): 1.18e-05 +/- 6.89e-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) = 20079.8963006
delta logL = 0.456657863924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20079.8835423
delta logL = 0.469416136784

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   20079.88     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .77356        4.0993        .54920E-03    .26944E-01
   2  alpha         2.8093        3.8554        .41556        .12966E-03
   3  Normalizat    .88644        .33669E-01    .44728E-01    .56520E-04
   4  Prefactor     1.0275        .26645E-01    .41465E-01    .19472E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.773562
  alpha      = 2.80925
  Normalizat = 0.886439
  Prefactor  = 1.02746
 **********
 **   18 **HESSE 
 **********

 FCN=   20079.88     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .77356        .50882        .55717E-05   -1.5690    
   2  alpha         2.8093        .66854        .19400E-01    .12402    
   3  Normalizat    .88644        .11102        .27819E-03   -.96938    
   4  Prefactor     1.0275        .96597E-01    .23214E-03   -.91820    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00331e-08
Minuit parameter uncertainties:
  1  0.508824
  2  0.676907
  3  0.111053
  4  0.0966135
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) = 20079.8835423
delta logL = 0.469416158085

Extracting fit parameters...

4FGL J0921.6+6216
   Spectrum: LogParabola
366         norm:  7.736e-01  5.088e-01  0.000e+00  1.000e+06 ( 1.000e-11)
367        alpha:  2.809e+00  6.769e-01  0.000e+00  5.000e+00 ( 1.000e+00)
368         beta:  8.311e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
369           Eb:  5.899e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
762    Prefactor:  1.027e+00  9.661e-02  0.000e+00  1.000e+01 ( 1.000e+00)
763        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
764        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
761   Normalization:  8.864e-01  1.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.26
Ra Dec: 140.419 62.271
Photon Index (Free Index): 2.81 +/- 0.68
Photon Flux (Free Index): 5.41e-08 +/- 3.17e-08
Energy Flux (Free Index): 1.23e-05 +/- 5.84e-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/17377579/cmap_HighResolution_786931201_787536001_4FGL_J0921.6+6216_weekly_bin906.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.12e-08', energy_flux2='1.23e-05', photon_flux_error='1.82e-08', dlogl='4.69e-01', energy_flux='1.18e-05', photon_flux2='5.41e-08', job_status='DONE', time_completed='2025-12-16 02:11:53.275348', photon_index_error2='0.68', photon_index2='2.81', ts='6.32', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='5.84e-06', EG='0.91', time_epoch_completed='1765879913.28', return_code='0', job_id='17377579', GAL2='1.03', EG2='0.89', return_code2='0', energy_flux_error='6.89e-06', photon_flux_error2='3.17e-08', ts2='7.26', photon_index='2.22' WHERE bin_id='906' AND source_name='4FGL J0921.6+6216' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 16 02:11:53 PST 2025

