/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_J0930.3+8612_weekly_bin906
RA = 142.599, Dec = 86.2021
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='17377605', job_status='RUN', time_executed='2025-12-16 01:55:50.695569', time_epoch_executed='1765878950.7' WHERE source_name='4FGL J0930.3+8612' and cadence='weekly' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17377605

Creating custom pfile directory:
/lscratch/kocevski/17377605/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/17377605/ft1_4FGL_J0930.3+8612_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/17377605/ft2_4FGL_J0930.3+8612_weekly_bin906.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17377605/ft1_4FGL_J0930.3+8612_weekly_bin906.fits outfile=/lscratch/kocevski/17377605/ft1_filteredMKT_4FGL_J0930.3+8612_weekly_bin906.fits ra=142.599 dec=86.2021 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.56
user 4.65
sys 0.30

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17377605/ft2_4FGL_J0930.3+8612_weekly_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17377605/ft2_4FGL_J0930.3+8612_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/17377605/ft1_filteredMKT_4FGL_J0930.3+8612_weekly_bin906.fits evtable="EVENTS" outfile="/lscratch/kocevski/17377605/ft1_filtered_4FGL_J0930.3+8612_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.76
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 2439

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17377605/ft1_filtered_4FGL_J0930.3+8612_weekly_bin906.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17377605/ft2_4FGL_J0930.3+8612_weekly_bin906.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17377605/ltcube_786931201_787536001_4FGL_J0930.3+8612_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/17377605/ft2_4FGL_J0930.3+8612_weekly_bin906.fits
.....................!
real 17.82
user 16.94
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17377605/ft1_filtered_4FGL_J0930.3+8612_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17377605/ft2_4FGL_J0930.3+8612_weekly_bin906.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17377605/ltcube_786931201_787536001_4FGL_J0930.3+8612_weekly_bin906.fits outfile=/lscratch/kocevski/17377605/expmap_786931201_787536001_4FGL_J0930.3+8612_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/17377605/ltcube_786931201_787536001_4FGL_J0930.3+8612_weekly_bin906.fits
.....................!
real 66.32
user 61.49
sys 3.96

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

Setting source of interest to:
4FGL J0930.3+8612 @ 142.599 86.2021

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17377605/ft1_filtered_4FGL_J0930.3+8612_weekly_bin906.fits scfile=/lscratch/kocevski/17377605/ft2_4FGL_J0930.3+8612_weekly_bin906.fits outfile=/lscratch/kocevski/17377605/cmap_786931201_787536001_4FGL_J0930.3+8612_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=142.599 yref=86.2021 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.97
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17377605/ft1_filtered_4FGL_J0930.3+8612_weekly_bin906.fits scfile=/lscratch/kocevski/17377605/ft2_4FGL_J0930.3+8612_weekly_bin906.fits outfile=/lscratch/kocevski/17377605/cmap_HighResolution_786931201_787536001_4FGL_J0930.3+8612_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=142.599 yref=86.2021 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.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17377605/ft1_filtered_4FGL_J0930.3+8612_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17377605/ft2_4FGL_J0930.3+8612_weekly_bin906.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17377605/Model_4FGL_J0930.3+8612_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/17377605/ft1_filtered_4FGL_J0930.3+8612_weekly_bin906.fits.....................!
real 116.93
user 114.31
sys 1.44

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17377605/ft1_filtered_4FGL_J0930.3+8612_weekly_bin906.fits', '/lscratch/kocevski/17377605/ft2_4FGL_J0930.3+8612_weekly_bin906.fits', expMap='/lscratch/kocevski/17377605/expmap_786931201_787536001_4FGL_J0930.3+8612_weekly_bin906.fits', expCube='/lscratch/kocevski/17377605/ltcube_786931201_787536001_4FGL_J0930.3+8612_weekly_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17377605/Model_4FGL_J0930.3+8612_weekly_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0930.3+8612'

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  3.863e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  2.219e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.519e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17377605/ft1_filtered_4FGL_J0930.3+8612_weekly_bin906.fits
Spacecraft file(s): /lscratch/kocevski/17377605/ft2_4FGL_J0930.3+8612_weekly_bin906.fits
Exposure map: /lscratch/kocevski/17377605/expmap_786931201_787536001_4FGL_J0930.3+8612_weekly_bin906.fits
Exposure cube: /lscratch/kocevski/17377605/ltcube_786931201_787536001_4FGL_J0930.3+8612_weekly_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17377605/Model_4FGL_J0930.3+8612_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) = 25855.5797347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21096E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.5291       1.0000          .0000       .10000E+07
     3 'Prefactor '    .45193       1.0000          .0000       .10000E+07
     4 'norm      '    29.836       1.0000          .0000       .10000E+07
     5 'norm      '    .42982E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12790E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.6072       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5343       1.0000          .0000       .10000E+07
     9 'Prefactor '    .45353E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    13.499       1.0000          .0000       .10000E+07
    11 'Prefactor '    150.31       1.0000          .0000       .10000E+07
    12 'norm      '    9.0344       1.0000          .0000       .10000E+07
    13 'Prefactor '    .14821E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .42550E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .23820E-04   1.0000          .0000       .10000E+07
    16 'norm      '    1.1540       1.0000          .0000       .10000E+07
    17 'Prefactor '    13.097       1.0000          .0000       .10000E+07
    18 'Prefactor '    14.532       1.0000          .0000       .10000E+07
    19 'Prefactor '    .27858E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .48305E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .85221       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0161       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25855.27     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1422 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11657E-08    3.2395       -.41654E-07** at limit **
   2  Prefactor     2.5292        5.2747       -.22393E-06   -.17402E-02
   3  Prefactor     .45431        1.1726       -.67960E-06   -.39249E-02
   4  norm          29.842        1.2310        .68262E-07   -.14892E-01
   5  norm          .19429E-08    3.6104       -.10634E-06** at limit **
   6  Prefactor     .24936E-06    5.1121        .47576E-06** at limit **
   7  Prefactor     4.6064        2.2776        .13274E-06   -.25481E-03
   8  Prefactor     3.5415        3.9680       -.91780E-07    .78630E-03
   9  Prefactor     .28555E-06    3.0524        .56299E-06** at limit **
  10  Prefactor     13.503        6.9490       -.21394E-06   -.15905E-01
  11  Prefactor     150.33        9.0977        .40442E-06   -.52640    
  12  norm          9.0324        2.9469       -.13864E-06   -.55769E-02
  13  Prefactor      .0000        2.2002        .10565E-05** at limit **
  14  Prefactor     .67835E-07    2.5702       -.59210E-06** at limit **
  15  Prefactor     .58598E-06    11.527        .11784E-05** at limit **
  16  norm          1.1539        1.2720       -.23112E-07    .19807E-03
  17  Prefactor     13.028        1.1357       -.28416E-08   -.25740E-02
  18  Prefactor     14.520        7.4995       -.15248E-05   -.10347    
  19  Prefactor     .17575E-06    6.3000       -.92984E-06** at limit **
  20  Prefactor     .62800E-06    18.506       -.94503E-07** at limit **
  21  Normalizat    .85220        .10794        .15595E-05   -.23922E-03
  22  Prefactor     1.0161        .57249E-01    .28676E-05   -.29109E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.16573e-09
  Prefactor  = 2.52921
  Prefactor  = 0.454308
  norm       = 29.8423
  norm       = 1.94289e-09
  Prefactor  = 2.49356e-07
  Prefactor  = 4.60635
  Prefactor  = 3.54146
  Prefactor  = 2.85549e-07
  Prefactor  = 13.503
  Prefactor  = 150.325
  norm       = 9.03242
  Prefactor  = 0
  Prefactor  = 6.78346e-08
  Prefactor  = 5.85976e-07
  norm       = 1.15389
  Prefactor  = 13.028
  Prefactor  = 14.5199
  Prefactor  = 1.75748e-07
  Prefactor  = 6.27998e-07
  Normalizat = 0.852201
  Prefactor  = 1.01606
 **********
 **   18 **HESSE 
 **********

 FCN=   25855.27     FROM HESSE     STATUS=OK           386 CALLS     1808 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11657E-08    3.2423        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.5292        5.3019        .64203E-03   -1.5676    
   3  Prefactor     .45431        1.6920        .83701E-02   -1.5694    
   4  norm          29.842        11.573        .18310E-03   -1.5599    
   5  norm          .19429E-08    3.6150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .24936E-06    7.0997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.6064        2.2791        .46869E-03   -1.5665    
   8  Prefactor     3.5415        3.9762        .53745E-03   -1.5670    
   9  Prefactor     .28555E-06    7.5136        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.503        7.1061        .27236E-03   -1.5634    
  11  Prefactor     150.33        28.070        .81572E-04   -1.5463    
  12  norm          9.0324        2.9479        .33321E-03   -1.5648    
  13  Prefactor      .0000        2.2007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .67835E-07    10.593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .58598E-06    12.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.1539        1.2977        .10752E-02   -1.5686    
  17  Prefactor     13.028        21.303        .27653E-03   -1.5636    
  18  Prefactor     14.520        7.7810        .26248E-03   -1.5632    
  19  Prefactor     .17575E-06    9.1399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .62800E-06    19.020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .85220        .98683E-01    .76516E-01   -.98161    
  22  Prefactor     1.0161        .51332E-01    .42556E-01   -.92196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99418e-06
Minuit parameter uncertainties:
  1  0.000123087
  2  5.30195
  3  1.69198
  4  11.5733
  5  0.000168149
  6  0.0026611
  7  2.27914
  8  3.97615
  9  0.00292958
  10  7.10607
  11  28.0696
  12  2.94789
  13  8.76739e-06
  14  0.00169573
  15  0.00540221
  16  1.29767
  17  21.3036
  18  7.78105
  19  0.00253475
  20  0.00691206
  21  0.0987041
  22  0.0513345
Done.

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

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  3.541e+00  3.976e+00  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  2.219e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.519e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
673    Prefactor:  1.016e+00  5.133e-02  0.000e+00  1.000e+01 ( 1.000e+00)
674        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
675        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
672   Normalization:  8.522e-01  9.870e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.04
Ra Dec: 142.599 86.202
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 1.22e-08 +/- 1.37e-08
Energy Flux (Fixed Index): 5.28e-06 +/- 5.93e-06

TS (Fixed Index): 1.04
Ra Dec: 142.599 86.202
Photon Flux Upper Limit: 4.25428596093e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00324602991857 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/17377605/likelihoodResults_786931201_787536001_4FGL_J0930.3+8612_weekly_bin906.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) = 25855.2609328
delta logL = 0.0105331567102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25855.2579074
delta logL = 0.0135585522912

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25855.26     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      254 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9014        4.9814        .10211E-03   -.25010E-02
   2  Index         2.1252        .59442        .11851E-01    .67471E-03
   3  Normalizat    .85306        .10406        .33851E-03    .35733E-05
   4  Prefactor     1.0159        .56258E-01    .16764E-03    .21701E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.90135
  Index      = 2.12517
  Normalizat = 0.853059
  Prefactor  = 1.01587
 **********
 **   18 **HESSE 
 **********

 FCN=   25855.26     FROM HESSE     STATUS=OK            27 CALLS      281 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9014        4.7475        .40845E-05   -1.5668    
   2  Index         2.1252        .56716        .23702E-02   -.61256    
   3  Normalizat    .85306        .10409        .67703E-04   -.98130    
   4  Prefactor     1.0159        .56277E-01    .67056E-05   -.92202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.67804e-11
Minuit parameter uncertainties:
  1  4.74749
  2  0.568992
  3  0.10411
  4  0.0562801
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) = 25855.2579073
delta logL = 0.0135586181059

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  3.901e+00  4.747e+00  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  2.125e+00  5.690e-01  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  1.519e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
673    Prefactor:  1.016e+00  5.628e-02  0.000e+00  1.000e+01 ( 1.000e+00)
674        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
675        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
672   Normalization:  8.531e-01  1.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.07
Ra Dec: 142.599 86.202
Photon Index (Free Index): 2.13 +/- 0.57
Photon Flux (Free Index): 1.13e-08 +/- 1.40e-08
Energy Flux (Free Index): 5.85e-06 +/- 7.48e-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/17377605/cmap_HighResolution_786931201_787536001_4FGL_J0930.3+8612_weekly_bin906.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-03', comment='SUCCESS', photon_flux='1.22e-08', energy_flux2='5.85e-06', photon_flux_error='1.37e-08', dlogl='1.36e-02', energy_flux='5.28e-06', photon_flux2='1.13e-08', job_status='DONE', time_completed='2025-12-16 02:13:40.507110', photon_index_error2='0.57', photon_index2='2.13', ts='1.04', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='4.25e-08', energy_flux_error2='7.48e-06', EG='0.85', time_epoch_completed='1765880020.51', return_code='0', job_id='17377605', GAL2='1.02', EG2='0.85', return_code2='0', energy_flux_error='5.93e-06', photon_flux_error2='1.40e-08', ts2='1.07', photon_index='2.22' WHERE bin_id='906' AND source_name='4FGL J0930.3+8612' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 16 02:13:40 PST 2025

