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


Performing analysis on: 4FGL_J0930.3+8612_weekly_bin854
RA = 142.599, Dec = 86.2021
tmin = 755481601, tmax = 756086401
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='60351594', job_status='RUN', time_executed='2024-12-17 00:27:01.631360', time_epoch_executed='1734424021.63' WHERE source_name='4FGL J0930.3+8612' and cadence='weekly' and bin_id='854'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/60351594

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

Retrieving the FT1 file...

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

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

Retrieving 92 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/60351594/ft1_4FGL_J0930.3+8612_weekly_bin854.fits


Retrieving the FT1 file...

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

Retrieving 92 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/60351594/ft2_4FGL_J0930.3+8612_weekly_bin854.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/60351594/ft1_4FGL_J0930.3+8612_weekly_bin854.fits outfile=/lscratch/kocevski/60351594/ft1_filteredMKT_4FGL_J0930.3+8612_weekly_bin854.fits ra=142.599 dec=86.2021 rad=12.0 tmin=755481601.0 tmax=756086401.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.85
sys 0.38

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/60351594/ft2_4FGL_J0930.3+8612_weekly_bin854.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/60351594/ft1_filteredMKT_4FGL_J0930.3+8612_weekly_bin854.fits evtable="EVENTS" outfile="/lscratch/kocevski/60351594/ft1_filtered_4FGL_J0930.3+8612_weekly_bin854.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.43
user 0.23
sys 0.16

Number of photons that the gtmktime cut: 2125

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/60351594/ft1_filtered_4FGL_J0930.3+8612_weekly_bin854.fits" evtable="EVENTS" scfile=/lscratch/kocevski/60351594/ft2_4FGL_J0930.3+8612_weekly_bin854.fits sctable="SC_DATA" outfile=/lscratch/kocevski/60351594/ltcube_755481601_756086401_4FGL_J0930.3+8612_weekly_bin854.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/60351594/ft2_4FGL_J0930.3+8612_weekly_bin854.fits
.....................!
real 17.93
user 17.38
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/60351594/ft1_filtered_4FGL_J0930.3+8612_weekly_bin854.fits evtable="EVENTS" scfile=/lscratch/kocevski/60351594/ft2_4FGL_J0930.3+8612_weekly_bin854.fits sctable="SC_DATA" expcube=/lscratch/kocevski/60351594/ltcube_755481601_756086401_4FGL_J0930.3+8612_weekly_bin854.fits outfile=/lscratch/kocevski/60351594/expmap_755481601_756086401_4FGL_J0930.3+8612_weekly_bin854.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/60351594/ltcube_755481601_756086401_4FGL_J0930.3+8612_weekly_bin854.fits
.....................!
real 72.05
user 67.60
sys 4.06

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/60351594/ft1_filtered_4FGL_J0930.3+8612_weekly_bin854.fits scfile=/lscratch/kocevski/60351594/ft2_4FGL_J0930.3+8612_weekly_bin854.fits outfile=/lscratch/kocevski/60351594/cmap_755481601_756086401_4FGL_J0930.3+8612_weekly_bin854.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.42
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/60351594/ft1_filtered_4FGL_J0930.3+8612_weekly_bin854.fits scfile=/lscratch/kocevski/60351594/ft2_4FGL_J0930.3+8612_weekly_bin854.fits outfile=/lscratch/kocevski/60351594/cmap_HighResolution_755481601_756086401_4FGL_J0930.3+8612_weekly_bin854.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 0.42
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/60351594/ft1_filtered_4FGL_J0930.3+8612_weekly_bin854.fits evtable="EVENTS" scfile=/lscratch/kocevski/60351594/ft2_4FGL_J0930.3+8612_weekly_bin854.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/60351594/Model_4FGL_J0930.3+8612_weekly_bin854.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/60351594/ft1_filtered_4FGL_J0930.3+8612_weekly_bin854.fits.....................!
real 112.59
user 110.69
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/60351594/ft1_filtered_4FGL_J0930.3+8612_weekly_bin854.fits', '/lscratch/kocevski/60351594/ft2_4FGL_J0930.3+8612_weekly_bin854.fits', expMap='/lscratch/kocevski/60351594/expmap_755481601_756086401_4FGL_J0930.3+8612_weekly_bin854.fits', expCube='/lscratch/kocevski/60351594/ltcube_755481601_756086401_4FGL_J0930.3+8612_weekly_bin854.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/60351594/Model_4FGL_J0930.3+8612_weekly_bin854.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/60351594/ft1_filtered_4FGL_J0930.3+8612_weekly_bin854.fits
Spacecraft file(s): /lscratch/kocevski/60351594/ft2_4FGL_J0930.3+8612_weekly_bin854.fits
Exposure map: /lscratch/kocevski/60351594/expmap_755481601_756086401_4FGL_J0930.3+8612_weekly_bin854.fits
Exposure cube: /lscratch/kocevski/60351594/ltcube_755481601_756086401_4FGL_J0930.3+8612_weekly_bin854.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/60351594/Model_4FGL_J0930.3+8612_weekly_bin854.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) = 22308.4060193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60161E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.7818       1.0000          .0000       .10000E+07
     3 'Prefactor '    .17218E-01   1.0000          .0000       .10000E+07
     4 'norm      '    17.374       1.0000          .0000       .10000E+07
     5 'norm      '    .38871E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19468E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.4085       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.0280       1.0000          .0000       .10000E+07
     9 'Prefactor '    28.547       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19605E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .29147E-04   1.0000          .0000       .10000E+07
    12 'norm      '    2.1446       1.0000          .0000       .10000E+07
    13 'Prefactor '    7.1908       1.0000          .0000       .10000E+07
    14 'Prefactor '    .14433E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    37.685       1.0000          .0000       .10000E+07
    16 'norm      '    1.5751       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.421       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.2564       1.0000          .0000       .10000E+07
    19 'Prefactor '    .12562E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .94223E-03   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2468       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88898       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=   22308.37     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1343 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10719E-06    5.6460       -.31008E-06** at limit **
   2  Prefactor     4.7992        5.3187       -.10537E-06    .21662E-03
   3  Prefactor      .0000        14.337        .23324E-06** at limit **
   4  norm          17.397        1.2560       -.25010E-07   -.11198E-01
   5  norm           .0000        2.8131        .94623E-07** at limit **
   6  Prefactor     .20539E-07    2.2818       -.85874E-06** at limit **
   7  Prefactor     4.4081        2.5388        .27181E-06    .17429E-02
   8  Prefactor     5.0137        4.3333        .34907E-07    .18230E-03
   9  Prefactor     28.663        10.154        .28976E-06    .65502E-01
  10  Prefactor     .94424E-07    4.2358       -.97375E-06** at limit **
  11  Prefactor     .79214E-07    8.1597       -.28095E-06** at limit **
  12  norm          2.1414        2.7836       -.39920E-07    .10532E-02
  13  Prefactor     7.1991        6.3856        .27247E-06    .68667E-03
  14  Prefactor      .0000        1.4726       -.41401E-06** at limit **
  15  Prefactor     39.346        30.494        .71261E-07   -.29090E-01
  16  norm          1.5748        1.1660       -.21243E-06   -.18446E-02
  17  Prefactor     16.353        1.1505       -.19897E-07    .13862E-01
  18  Prefactor     2.2765        6.3529       -.67844E-06    .14522E-03
  19  Prefactor     .78421E-05    9.7436        .14908E-06** at limit **
  20  Prefactor     .72891E-05    9.2747       -.23962E-06** at limit **
  21  Normalizat    1.2464        .11857        .66055E-05    .83462E-04
  22  Prefactor     .88906        .60884E-01   -.20091E-05    .26670E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07192e-07
  Prefactor  = 4.79919
  Prefactor  = 0
  norm       = 17.3971
  norm       = 0
  Prefactor  = 2.05391e-08
  Prefactor  = 4.40809
  Prefactor  = 5.01369
  Prefactor  = 28.6626
  Prefactor  = 9.44245e-08
  Prefactor  = 7.92144e-08
  norm       = 2.14144
  Prefactor  = 7.19906
  Prefactor  = 0
  Prefactor  = 39.3456
  norm       = 1.57478
  Prefactor  = 16.3534
  Prefactor  = 2.2765
  Prefactor  = 7.84206e-06
  Prefactor  = 7.28906e-06
  Normalizat = 1.24635
  Prefactor  = 0.889065
 **********
 **   18 **HESSE 
 **********

 FCN=   22308.37     FROM HESSE     STATUS=OK           396 CALLS     1739 TOTAL
                     EDM=   .95E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10719E-06    6.4879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.7992        5.3216        .45985E-03   -1.5664    
   3  Prefactor      .0000        1.4190        .10203E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          17.397        10.863        .24001E-03   -1.5625    
   5  norm           .0000        2.8166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .20539E-07    5.8720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.4081        2.5373        .47941E-03   -1.5666    
   8  Prefactor     5.0137        4.3367        .44821E-03   -1.5663    
   9  Prefactor     28.663        10.304        .18719E-03   -1.5601    
  10  Prefactor     .94424E-07    5.7930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .79214E-07    8.2512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.1414        2.8641        .70345E-03   -1.5679    
  13  Prefactor     7.1991        6.5251        .37383E-03   -1.5654    
  14  Prefactor      .0000        1.4701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     39.346        30.798        .16291E-03   -1.5583    
  16  norm          1.5748        1.1643        .84635E-03   -1.5683    
  17  Prefactor     16.353        16.754        .24689E-03   -1.5627    
  18  Prefactor     2.2765        6.3555        .68366E-03   -1.5678    
  19  Prefactor     .78421E-05    18.069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .72891E-05    17.062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2464        .10561        .66663E-01   -.85182    
  22  Prefactor     .88906        .54085E-01    .44864E-01   -.96524    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.49793e-07
Minuit parameter uncertainties:
  1  0.00166802
  2  5.32163
  3  3.27253e-06
  4  10.8629
  5  3.94315e-06
  6  0.000695007
  7  2.53725
  8  4.33666
  9  10.3044
  10  0.00147899
  11  0.00161699
  12  2.86412
  13  6.52506
  14  2.842e-07
  15  30.7978
  16  1.16426
  17  16.7542
  18  6.35549
  19  0.0238078
  20  0.022304
  21  0.105632
  22  0.0540884
Done.

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

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  5.014e+00  4.337e+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:  8.891e-01  5.409e-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:  1.246e+00  1.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.11
Ra Dec: 142.599 86.202
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 1.73e-08 +/- 1.49e-08
Energy Flux (Fixed Index): 7.48e-06 +/- 6.47e-06

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

Saving results to:
/lscratch/kocevski/60351594/likelihoodResults_755481601_756086401_4FGL_J0930.3+8612_weekly_bin854.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) = 22307.3499381
delta logL = 1.01909293583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22306.9776637
delta logL = 1.39136729841

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99463       1.0000          .0000       .10000E+07
     2 'Index     '    .76483       1.0000          .0000       10.000    
     3 'Normalizat'    1.2530       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89164       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.

 FCN=   22306.98     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      222 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98935        1.0362        .43575E-03   -.16814E-01
   2  Index         .76305        .43849        .43258       -.19309E-03
   3  Normalizat    1.2531        .10181        .66503E-01    .30661E-04
   4  Prefactor     .89162        .53382E-01    .44898E-01   -.22606E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.989353
  Index      = 0.763054
  Normalizat = 1.25311
  Prefactor  = 0.891619
 **********
 **   18 **HESSE 
 **********

 FCN=   22306.98     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98935        1.8304        .14700E-04   -1.5688    
   2  Index         .76305        .67517        .23414E-01   -1.0110    
   3  Normalizat    1.2531        .11444        .29420E-03   -.84977    
   4  Prefactor     .89162        .60057E-01    .17847E-03   -.96435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.86544e-11
Minuit parameter uncertainties:
  1  1.83037
  2  0.682668
  3  0.114465
  4  0.0600611
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) = 22306.9776607
delta logL = 1.39137031576

Extracting fit parameters...

4FGL J0930.3+8612
   Spectrum: PowerLaw
284    Prefactor:  9.894e-01  1.830e+00  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  7.631e-01  6.827e-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:  8.916e-01  6.006e-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:  1.253e+00  1.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.89
Ra Dec: 142.599 86.202
Photon Index (Free Index): 0.76 +/- 0.68
Photon Flux (Free Index): 1.38e-09 +/- 1.52e-09
Energy Flux (Free Index): 3.28e-05 +/- 4.17e-05

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/60351594/cmap_HighResolution_755481601_756086401_4FGL_J0930.3+8612_weekly_bin854.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.01e-03', comment='SUCCESS', photon_flux='1.73e-08', energy_flux2='3.28e-05', photon_flux_error='1.49e-08', dlogl='1.39e+00', energy_flux='7.48e-06', photon_flux2='1.38e-09', job_status='DONE', time_completed='2024-12-17 00:38:48.433527', photon_index_error2='0.68', photon_index2='0.76', ts='3.11', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='5.26e-08', energy_flux_error2='4.17e-05', EG='1.25', time_epoch_completed='1734424728.43', return_code='0', job_id='60351594', GAL2='0.89', EG2='1.25', return_code2='0', energy_flux_error='6.47e-06', photon_flux_error2='1.52e-09', ts2='5.89', photon_index='2.22' WHERE bin_id='854' AND source_name='4FGL J0930.3+8612' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 17 00:38:48 PST 2024

