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


Performing analysis on: 4FGL_J0932.6+5306_weekly_bin855
RA = 143.159, Dec = 53.1008
tmin = 756086401, tmax = 756691201
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='60728758', job_status='RUN', time_executed='2024-12-24 03:26:35.248931', time_epoch_executed='1735039595.25' WHERE source_name='4FGL J0932.6+5306' and cadence='weekly' and bin_id='855'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/60728758

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

Retrieving the FT1 file...

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

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

Retrieving 65 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/60728758/ft1_4FGL_J0932.6+5306_weekly_bin855.fits


Retrieving the FT1 file...

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

Retrieving 65 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/60728758/ft2_4FGL_J0932.6+5306_weekly_bin855.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/60728758/ft1_4FGL_J0932.6+5306_weekly_bin855.fits outfile=/lscratch/kocevski/60728758/ft1_filteredMKT_4FGL_J0932.6+5306_weekly_bin855.fits ra=143.159 dec=53.1008 rad=12.0 tmin=756086401.0 tmax=756691201.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 3.39
user 2.68
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/60728758/ft2_4FGL_J0932.6+5306_weekly_bin855.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/60728758/ft2_4FGL_J0932.6+5306_weekly_bin855.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/60728758/ft1_filteredMKT_4FGL_J0932.6+5306_weekly_bin855.fits evtable="EVENTS" outfile="/lscratch/kocevski/60728758/ft1_filtered_4FGL_J0932.6+5306_weekly_bin855.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.23
sys 0.14

Number of photons that the gtmktime cut: 911

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/60728758/ft1_filtered_4FGL_J0932.6+5306_weekly_bin855.fits" evtable="EVENTS" scfile=/lscratch/kocevski/60728758/ft2_4FGL_J0932.6+5306_weekly_bin855.fits sctable="SC_DATA" outfile=/lscratch/kocevski/60728758/ltcube_756086401_756691201_4FGL_J0932.6+5306_weekly_bin855.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/60728758/ft2_4FGL_J0932.6+5306_weekly_bin855.fits
.....................!
real 12.20
user 11.17
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/60728758/ft1_filtered_4FGL_J0932.6+5306_weekly_bin855.fits evtable="EVENTS" scfile=/lscratch/kocevski/60728758/ft2_4FGL_J0932.6+5306_weekly_bin855.fits sctable="SC_DATA" expcube=/lscratch/kocevski/60728758/ltcube_756086401_756691201_4FGL_J0932.6+5306_weekly_bin855.fits outfile=/lscratch/kocevski/60728758/expmap_756086401_756691201_4FGL_J0932.6+5306_weekly_bin855.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/60728758/ltcube_756086401_756691201_4FGL_J0932.6+5306_weekly_bin855.fits
.....................!
real 71.70
user 66.62
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 233 point sources and 0 extended sources

Setting source of interest to:
4FGL J0932.6+5306 @ 143.159 53.1008

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/60728758/ft1_filtered_4FGL_J0932.6+5306_weekly_bin855.fits scfile=/lscratch/kocevski/60728758/ft2_4FGL_J0932.6+5306_weekly_bin855.fits outfile=/lscratch/kocevski/60728758/cmap_756086401_756691201_4FGL_J0932.6+5306_weekly_bin855.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=143.159 yref=53.1008 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.77
user 0.25
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/60728758/ft1_filtered_4FGL_J0932.6+5306_weekly_bin855.fits scfile=/lscratch/kocevski/60728758/ft2_4FGL_J0932.6+5306_weekly_bin855.fits outfile=/lscratch/kocevski/60728758/cmap_HighResolution_756086401_756691201_4FGL_J0932.6+5306_weekly_bin855.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=143.159 yref=53.1008 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.58
user 0.27
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/60728758/ft1_filtered_4FGL_J0932.6+5306_weekly_bin855.fits evtable="EVENTS" scfile=/lscratch/kocevski/60728758/ft2_4FGL_J0932.6+5306_weekly_bin855.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/60728758/Model_4FGL_J0932.6+5306_weekly_bin855.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/60728758/ft1_filtered_4FGL_J0932.6+5306_weekly_bin855.fits.....................!
real 37.35
user 35.68
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/60728758/ft1_filtered_4FGL_J0932.6+5306_weekly_bin855.fits', '/lscratch/kocevski/60728758/ft2_4FGL_J0932.6+5306_weekly_bin855.fits', expMap='/lscratch/kocevski/60728758/expmap_756086401_756691201_4FGL_J0932.6+5306_weekly_bin855.fits', expCube='/lscratch/kocevski/60728758/ltcube_756086401_756691201_4FGL_J0932.6+5306_weekly_bin855.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/60728758/Model_4FGL_J0932.6+5306_weekly_bin855.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0932.6+5306'

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.653e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
372        Index:  2.453e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
373        Scale:  7.321e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/60728758/ft1_filtered_4FGL_J0932.6+5306_weekly_bin855.fits
Spacecraft file(s): /lscratch/kocevski/60728758/ft2_4FGL_J0932.6+5306_weekly_bin855.fits
Exposure map: /lscratch/kocevski/60728758/expmap_756086401_756691201_4FGL_J0932.6+5306_weekly_bin855.fits
Exposure cube: /lscratch/kocevski/60728758/ltcube_756086401_756691201_4FGL_J0932.6+5306_weekly_bin855.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/60728758/Model_4FGL_J0932.6+5306_weekly_bin855.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) = 9911.34173692

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49193E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.3510       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57256E-04   1.0000          .0000       .10000E+07
     4 'norm      '    6.4057       1.0000          .0000       .10000E+07
     5 'norm      '    4.7330       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.1392       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.913       1.0000          .0000       .10000E+07
     8 'norm      '    .21649E-07   1.0000          .0000       .10000E+07
     9 'norm      '    1.1982       1.0000          .0000       .10000E+07
    10 'Prefactor '    .88370       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.5969       1.0000          .0000       .10000E+07
    12 'Prefactor '    .29517E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    3.0305       1.0000          .0000       .10000E+07
    14 'Prefactor '    .56038E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .78301E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .17208E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    .18016E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .46074E-08   1.0000          .0000       .10000E+07
    19 'norm      '    .14923E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .25105E-03   1.0000          .0000       .10000E+07
    21 'norm      '    1.7943       1.0000          .0000       .10000E+07
    22 'norm      '    .16791E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .59462       1.0000          .0000       .10000E+07
    24 'norm      '    4.5400       1.0000          .0000       .10000E+07
    25 'Prefactor '    .21700       1.0000          .0000       .10000E+07
    26 'norm      '    17.618       1.0000          .0000       .10000E+07
    27 'Prefactor '    .26162       1.0000          .0000       .10000E+07
    28 'norm      '    .16259E-06   1.0000          .0000       .10000E+07
    29 'norm      '    .84838       1.0000          .0000       .10000E+07
    30 'Normalizat'    1.2037       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .70367       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9911.281     FROM MIGRAD    STATUS=CONVERGED    194 CALLS     2984 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13434E-07    2.7421       -.44072E-06** at limit **
   2  Prefactor     4.3463        4.5649       -.83213E-07    .12589E-02
   3  Prefactor      .0000        1.3110        .15912E-07** at limit **
   4  norm          6.4059        4.2894       -.95936E-08   -.42493E-03
   5  norm          4.7415        3.9607       -.47799E-07   -.47296E-04
   6  Prefactor     8.1329        6.7932       -.74803E-06   -.37965E-01
   7  Prefactor     23.675        12.536        .98315E-07    .41971E-01
   8  norm           .0000        .13133       -.33219E-08** at limit **
   9  norm          1.1974        .63158        .14886E-08    .10529E-02
  10  Prefactor     .89499        1.8777        .10024E-06   -.13135E-02
  11  Prefactor     1.5930        1.7677       -.62577E-07    .79765E-03
  12  Prefactor     .13878E-08    1.2193        .17211E-06** at limit **
  13  Prefactor     3.0208        2.8594       -.12905E-06    .83938E-03
  14  Prefactor     .19751E-06    6.1909       -.59070E-06** at limit **
  15  norm          .75495E-08    4.9104        .19739E-06** at limit **
  16  Prefactor     .38680E-06    3.7950       -.76046E-07** at limit **
  17  Prefactor     .69944E-08    1.6375        .25415E-06** at limit **
  18  Prefactor     .60507E-08    3.5859        .27579E-06** at limit **
  19  norm           .0000        1.4013       -.46976E-07** at limit **
  20  Prefactor     .87153E-07    5.9869       -.41233E-06** at limit **
  21  norm          1.7945        .42723        .24489E-07    .16434E-01
  22  norm          .99920E-09    2.4126       -.46767E-07** at limit **
  23  Prefactor     .59335        3.2982       -.76715E-07   -.13562E-03
  24  norm          4.5391        1.9845        .10721E-07    .88617E-03
  25  Prefactor     .16551E-05    491.93       -.12293E-04** at limit **
  26  norm          17.697        5.2104       -.19084E-07   -.44770E-01
  27  Prefactor     .10904E-04    82.772        .10406E-05** at limit **
  28  norm           .0000        .79789       -.84058E-07** at limit **
  29  norm          .84987        1.1058        .13897E-07    .14071E-02
  30  Normalizat    1.2048        .14555       -.71004E-06    .30711E-03
  31  Prefactor     .70320        .14786        .37702E-05    .15643E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.34337e-08
  Prefactor  = 4.34634
  Prefactor  = 0
  norm       = 6.40586
  norm       = 4.74146
  Prefactor  = 8.13292
  Prefactor  = 23.6749
  norm       = 0
  norm       = 1.19745
  Prefactor  = 0.894993
  Prefactor  = 1.59301
  Prefactor  = 1.38778e-09
  Prefactor  = 3.02076
  Prefactor  = 1.97509e-07
  norm       = 7.54952e-09
  Prefactor  = 3.86802e-07
  Prefactor  = 6.99441e-09
  Prefactor  = 6.05072e-09
  norm       = 0
  Prefactor  = 8.71525e-08
  norm       = 1.79452
  norm       = 9.99201e-10
  Prefactor  = 0.593346
  norm       = 4.53912
  Prefactor  = 1.65506e-06
  norm       = 17.697
  Prefactor  = 1.09044e-05
  norm       = 0
  norm       = 0.849869
  Normalizat = 1.20476
  Prefactor  = 0.703201
 **********
 **   18 **HESSE 
 **********

 FCN=   9911.281     FROM HESSE     STATUS=OK           694 CALLS     3678 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13434E-07    2.9053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.3463        4.5791        .48265E-03   -1.5666    
   3  Prefactor      .0000        1.3110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.4059        4.3031        .39633E-03   -1.5657    
   5  norm          4.7415        4.0316        .46227E-03   -1.5664    
   6  Prefactor     8.1329        6.9655        .35118E-03   -1.5651    
   7  Prefactor     23.675        20.581        .20454E-03   -1.5611    
   8  norm           .0000        .13084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1974        .62969        .10375E-02   -1.5686    
  10  Prefactor     .89499        1.9107        .46894E-03   -1.5689    
  11  Prefactor     1.5930        1.7782        .83889E-03   -1.5683    
  12  Prefactor     .13878E-08    2.7765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.0208        2.8733        .58266E-03   -1.5673    
  14  Prefactor     .19751E-06    8.4791        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .75495E-08    4.9675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .38680E-06    7.8213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69944E-08    2.7554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .60507E-08    3.6095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        1.4013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .87153E-07    6.6530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.7945        .42889        .69588E-03   -1.5681    
  22  norm          .99920E-09    2.4215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .59335        3.2893        .69711E-03   -1.5693    
  24  norm          4.5391        1.9843        .47223E-03   -1.5665    
  25  Prefactor     .16551E-05    9.4568        .16993E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          17.697        19.725        .23834E-03   -1.5624    
  27  Prefactor     .10904E-04    5.6603        .10768E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        .79583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .84987        1.1163        .49396E-03   -1.5690    
  30  Normalizat    1.2048        .13438        .34801E-01   -.86456    
  31  Prefactor     .70320        .13294        .66002E-01   -1.0340    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74729e-06
Minuit parameter uncertainties:
  1  0.000395035
  2  4.57907
  3  9.65353e-07
  4  4.30307
  5  4.03163
  6  6.96549
  7  20.5815
  8  5.44807e-07
  9  0.629692
  10  1.91069
  11  1.77822
  12  0.000125079
  13  2.87325
  14  0.00258829
  15  0.000386786
  16  0.00347875
  17  0.000277473
  18  0.000295676
  19  3.57289e-06
  20  0.00152301
  21  0.428887
  22  9.91188e-05
  23  2.79405
  24  1.98426
  25  0.00791241
  26  19.7248
  27  0.0157127
  28  2.55264e-06
  29  1.11627
  30  0.134416
  31  0.132998
Done.

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

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  3.021e+00  2.873e+00  0.000e+00  1.000e+06 ( 1.000e-12)
372        Index:  2.453e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
373        Scale:  7.321e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  7.032e-01  1.330e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  1.205e+00  1.344e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.50
Ra Dec: 143.159 53.101
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 2.75e-08 +/- 2.61e-08
Energy Flux (Fixed Index): 8.42e-06 +/- 8.01e-06

TS (Fixed Index): 1.50
Ra Dec: 143.159 53.101
Photon Flux Upper Limit: 8.0489923198e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00624134708515 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/60728758/likelihoodResults_756086401_756691201_4FGL_J0932.6+5306_weekly_bin855.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) = 9911.25871488
delta logL = 0.0226543753706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9911.2502084
delta logL = 0.0311608621869

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9911.250     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6155        43.625        .63033E-03    .10124E-01
   2  Index         2.6650        3.3208        .22995        .95307E-04
   3  Normalizat    1.1985        .34259E-01    .34928E-01    .62194E-05
   4  Prefactor     .70786        .35961E-01    .65814E-01    .35233E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.61554
  Index      = 2.66502
  Normalizat = 1.19854
  Prefactor  = 0.707857
 **********
 **   18 **HESSE 
 **********

 FCN=   9911.250     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .85E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6155        3.5831        .13853E-04   -1.5676    
   2  Index         2.6650        1.0015        .89083E-02   -.48589    
   3  Normalizat    1.1985        .14247        .21833E-03   -.86648    
   4  Prefactor     .70786        .14771        .29118E-03   -1.0322    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.5433e-12
Minuit parameter uncertainties:
  1  3.58307
  2  1.01029
  3  0.142519
  4  0.147794
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) = 9911.25020834
delta logL = 0.0311609171004

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  2.616e+00  3.583e+00  0.000e+00  1.000e+06 ( 1.000e-12)
372        Index:  2.665e+00  1.010e+00  0.000e+00  1.000e+01 (-1.000e+00)
373        Scale:  7.321e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  7.079e-01  1.478e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  1.199e+00  1.425e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.56
Ra Dec: 143.159 53.101
Photon Index (Free Index): 2.67 +/- 1.01
Photon Flux (Free Index): 3.17e-08 +/- 3.11e-08
Energy Flux (Free Index): 7.84e-06 +/- 7.99e-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/60728758/cmap_HighResolution_756086401_756691201_4FGL_J0932.6+5306_weekly_bin855.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.24e-03', comment='SUCCESS', photon_flux='2.75e-08', energy_flux2='7.84e-06', photon_flux_error='2.61e-08', dlogl='3.12e-02', energy_flux='8.42e-06', photon_flux2='3.17e-08', job_status='DONE', time_completed='2024-12-24 03:36:23.559519', photon_index_error2='1.01', photon_index2='2.67', ts='1.50', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='8.05e-08', energy_flux_error2='7.99e-06', EG='1.20', time_epoch_completed='1735040183.56', return_code='0', job_id='60728758', GAL2='0.71', EG2='1.20', return_code2='0', energy_flux_error='8.01e-06', photon_flux_error2='3.11e-08', ts2='1.56', photon_index='2.45' WHERE bin_id='855' AND source_name='4FGL J0932.6+5306' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 24 03:36:23 PST 2024

