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


Performing analysis on: 4FGL_J1230.2+2517_weekly_bin911
RA = 187.56, Dec = 25.2983
tmin = 789955201, tmax = 790560001
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='19243827', job_status='RUN', time_executed='2026-01-20 00:48:13.790464', time_epoch_executed='1768898893.79' WHERE source_name='4FGL J1230.2+2517' and cadence='weekly' and bin_id='911'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/19243827

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/19243827/ft1_4FGL_J1230.2+2517_weekly_bin911.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/19243827/ft2_4FGL_J1230.2+2517_weekly_bin911.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/19243827/ft1_4FGL_J1230.2+2517_weekly_bin911.fits outfile=/lscratch/kocevski/19243827/ft1_filteredMKT_4FGL_J1230.2+2517_weekly_bin911.fits ra=187.56 dec=25.2983 rad=12.0 tmin=789955201.0 tmax=790560001.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.59
user 3.16
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19243827/ft2_4FGL_J1230.2+2517_weekly_bin911.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/19243827/ft2_4FGL_J1230.2+2517_weekly_bin911.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/19243827/ft1_filteredMKT_4FGL_J1230.2+2517_weekly_bin911.fits evtable="EVENTS" outfile="/lscratch/kocevski/19243827/ft1_filtered_4FGL_J1230.2+2517_weekly_bin911.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.63
user 0.24
sys 0.15

Number of photons that the gtmktime cut: 1776

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/19243827/ft1_filtered_4FGL_J1230.2+2517_weekly_bin911.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19243827/ft2_4FGL_J1230.2+2517_weekly_bin911.fits sctable="SC_DATA" outfile=/lscratch/kocevski/19243827/ltcube_789955201_790560001_4FGL_J1230.2+2517_weekly_bin911.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/19243827/ft2_4FGL_J1230.2+2517_weekly_bin911.fits
.....................!
real 21.77
user 21.07
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/19243827/ft1_filtered_4FGL_J1230.2+2517_weekly_bin911.fits evtable="EVENTS" scfile=/lscratch/kocevski/19243827/ft2_4FGL_J1230.2+2517_weekly_bin911.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19243827/ltcube_789955201_790560001_4FGL_J1230.2+2517_weekly_bin911.fits outfile=/lscratch/kocevski/19243827/expmap_789955201_790560001_4FGL_J1230.2+2517_weekly_bin911.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/19243827/ltcube_789955201_790560001_4FGL_J1230.2+2517_weekly_bin911.fits
.....................!
real 72.12
user 67.55
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 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1230.2+2517 @ 187.56 25.2983

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/19243827/ft1_filtered_4FGL_J1230.2+2517_weekly_bin911.fits scfile=/lscratch/kocevski/19243827/ft2_4FGL_J1230.2+2517_weekly_bin911.fits outfile=/lscratch/kocevski/19243827/cmap_789955201_790560001_4FGL_J1230.2+2517_weekly_bin911.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=187.56 yref=25.2983 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.65
user 0.23
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/19243827/ft1_filtered_4FGL_J1230.2+2517_weekly_bin911.fits scfile=/lscratch/kocevski/19243827/ft2_4FGL_J1230.2+2517_weekly_bin911.fits outfile=/lscratch/kocevski/19243827/cmap_HighResolution_789955201_790560001_4FGL_J1230.2+2517_weekly_bin911.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=187.56 yref=25.2983 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.79
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/19243827/ft1_filtered_4FGL_J1230.2+2517_weekly_bin911.fits evtable="EVENTS" scfile=/lscratch/kocevski/19243827/ft2_4FGL_J1230.2+2517_weekly_bin911.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19243827/Model_4FGL_J1230.2+2517_weekly_bin911.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/19243827/ft1_filtered_4FGL_J1230.2+2517_weekly_bin911.fits.....................!
real 61.40
user 59.48
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/19243827/ft1_filtered_4FGL_J1230.2+2517_weekly_bin911.fits', '/lscratch/kocevski/19243827/ft2_4FGL_J1230.2+2517_weekly_bin911.fits', expMap='/lscratch/kocevski/19243827/expmap_789955201_790560001_4FGL_J1230.2+2517_weekly_bin911.fits', expCube='/lscratch/kocevski/19243827/ltcube_789955201_790560001_4FGL_J1230.2+2517_weekly_bin911.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19243827/Model_4FGL_J1230.2+2517_weekly_bin911.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.2+2517'

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  6.557e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        alpha:  2.001e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
327         beta:  5.434e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  8.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/19243827/ft1_filtered_4FGL_J1230.2+2517_weekly_bin911.fits
Spacecraft file(s): /lscratch/kocevski/19243827/ft2_4FGL_J1230.2+2517_weekly_bin911.fits
Exposure map: /lscratch/kocevski/19243827/expmap_789955201_790560001_4FGL_J1230.2+2517_weekly_bin911.fits
Exposure cube: /lscratch/kocevski/19243827/ltcube_789955201_790560001_4FGL_J1230.2+2517_weekly_bin911.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/19243827/Model_4FGL_J1230.2+2517_weekly_bin911.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) = 18809.2086189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.994       1.0000          .0000       .10000E+07
     2 'Prefactor '    .52097       1.0000          .0000       .10000E+07
     3 'Prefactor '    .32370       1.0000          .0000       .10000E+07
     4 'norm      '    34.906       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.4959       1.0000          .0000       .10000E+07
     6 'Prefactor '    .36587E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2802       1.0000          .0000       .10000E+07
     8 'norm      '    2.1460       1.0000          .0000       .10000E+07
     9 'Prefactor '    .14616E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6346       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.8297       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.2405       1.0000          .0000       .10000E+07
    13 'norm      '    .31880E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.4921       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.4783       1.0000          .0000       .10000E+07
    16 'Prefactor '    .59496       1.0000          .0000       .10000E+07
    17 'norm      '    2.7893       1.0000          .0000       .10000E+07
    18 'Prefactor '    15.478       1.0000          .0000       .10000E+07
    19 'norm      '    4.4228       1.0000          .0000       .10000E+07
    20 'norm      '    30.922       1.0000          .0000       .10000E+07
    21 'norm      '    13.858       1.0000          .0000       .10000E+07
    22 'norm      '    13.821       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0752       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0036       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18808.59     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1539 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.009        1.5937        .27353E-08    .12128E-01
   2  Prefactor     .48633        11.238       -.14817E-06   -.21527E-02
   3  Prefactor     .31850        1.0890        .42582E-08    .69028E-02
   4  norm          34.916        1.7224        .10468E-07   -.73645E-01
   5  Prefactor     4.5007        2.5708       -.44430E-07   -.43168E-03
   6  Prefactor      .0000        .53985        .51677E-08** at limit **
   7  Prefactor     2.2815        1.8348       -.54889E-07    .20965E-03
   8  norm          2.1457        1.6257       -.89105E-09    .14904E-02
   9  Prefactor      .0000        1.9512       -.12972E-06** at limit **
  10  Prefactor     1.6351        1.1178       -.16174E-07   -.64843E-03
  11  Prefactor     1.8297        1.3500        .12643E-08   -.13581E-04
  12  Prefactor     3.2209        2.9151       -.12676E-07    .15954E-02
  13  norm           .0000        .17969       -.44559E-07** at limit **
  14  norm          2.5055        2.2953        .39832E-07    .47848E-02
  15  Prefactor     4.4706        1.6522       -.36023E-09    .35222E-01
  16  Prefactor     .59214        4.5506       -.23486E-06    .40022E-02
  17  norm          2.7813        2.2795       -.74472E-07    .99392E-02
  18  Prefactor     15.405        13.806        .25410E-07    .44271E-03
  19  norm          4.4228        2.0525        .11577E-06    .15285E-01
  20  norm          30.978        4.1404       -.91090E-08   -.36150E-03
  21  norm          13.834        3.1079       -.91908E-09    .39988E-02
  22  norm          13.864        1.2427        .41863E-08    .68826E-02
  23  Normalizat    1.0750        .13984       -.32655E-05   -.22961E-04
  24  Prefactor     1.0037        .14892        .37994E-05    .15032E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.0089
  Prefactor  = 0.486334
  Prefactor  = 0.318501
  norm       = 34.9155
  Prefactor  = 4.50074
  Prefactor  = 0
  Prefactor  = 2.28152
  norm       = 2.14568
  Prefactor  = 0
  Prefactor  = 1.63513
  Prefactor  = 1.82973
  Prefactor  = 3.22089
  norm       = 0
  norm       = 2.50554
  Prefactor  = 4.47057
  Prefactor  = 0.592137
  norm       = 2.78135
  Prefactor  = 15.4047
  norm       = 4.42281
  norm       = 30.9782
  norm       = 13.8337
  norm       = 13.8641
  Normalizat = 1.07496
  Prefactor  = 1.00373
 **********
 **   18 **HESSE 
 **********

 FCN=   18808.59     FROM HESSE     STATUS=OK           467 CALLS     2006 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.009        17.501        .30191E-03   -1.5642    
   2  Prefactor     .48633        11.330        .76627E-03   -1.5694    
   3  Prefactor     .31850        1.2150        .98919E-03   -1.5697    
   4  norm          34.916        2.2862        .16928E-03   -1.5590    
   5  Prefactor     4.5007        2.5806        .47460E-03   -1.5666    
   6  Prefactor      .0000        .53846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2815        1.8460        .67968E-03   -1.5678    
   8  norm          2.1457        1.6402        .70319E-03   -1.5679    
   9  Prefactor      .0000        1.9467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6351        1.1169        .82651E-04   -1.5682    
  11  Prefactor     1.8297        1.3757        .77130E-03   -1.5681    
  12  Prefactor     3.2209        2.9330        .56241E-03   -1.5672    
  13  norm           .0000        .49537E-01    .95807E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.5055        2.3403        .64720E-03   -1.5676    
  15  Prefactor     4.4706        5.3341        .47556E-03   -1.5666    
  16  Prefactor     .59214        4.7144        .69681E-03   -1.5693    
  17  norm          2.7813        2.4812        .60897E-03   -1.5675    
  18  Prefactor     15.405        14.081        .25432E-03   -1.5629    
  19  norm          4.4228        2.1458        .47861E-03   -1.5666    
  20  norm          30.978        6.4979        .17986E-03   -1.5597    
  21  norm          13.834        10.284        .26881E-03   -1.5634    
  22  norm          13.864        10.541        .26917E-03   -1.5633    
  23  Normalizat    1.0750        .11796        .64226E-01   -.90560    
  24  Prefactor     1.0037        .12452        .71510E-01   -.92605    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22214e-06
Minuit parameter uncertainties:
  1  17.5006
  2  4.69481
  3  1.21498
  4  2.28615
  5  2.58058
  6  4.70131e-07
  7  1.846
  8  1.64015
  9  9.96751e-06
  10  1.11694
  11  1.37568
  12  2.93305
  13  2.04034e-07
  14  2.3403
  15  5.33415
  16  3.3416
  17  2.48123
  18  14.0806
  19  2.14583
  20  6.4979
  21  10.2843
  22  10.541
  23  0.117987
  24  0.12456
Done.

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

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  2.506e+00  2.340e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        alpha:  2.001e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
327         beta:  5.434e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  8.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  1.004e+00  1.246e-01  0.000e+00  1.000e+01 ( 1.000e+00)
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  1.075e+00  1.180e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.02
Ra Dec: 187.560 25.298
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 1.37e-08
Energy Flux (Fixed Index): 8.75e-06 +/- 8.18e-06

TS (Fixed Index): 2.02
Ra Dec: 187.560 25.298
Photon Flux Upper Limit: 4.5766548439e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.72114417782e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/19243827/likelihoodResults_789955201_790560001_4FGL_J1230.2+2517_weekly_bin911.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) = 18808.2592122
delta logL = 0.332572929503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18808.2591189
delta logL = 0.332666227558

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18808.26     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      247 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4861        28.385        .64812E-03    .15859E-01
   2  alpha         2.6758        3.8308        .41280        .13158E-03
   3  Normalizat    1.0473        .35297E-01    .64976E-01    .70952E-04
   4  Prefactor     1.0208        .34975E-01    .70982E-01    .30120E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.48614
  alpha      = 2.67581
  Normalizat = 1.04732
  Prefactor  = 1.02081
 **********
 **   18 **HESSE 
 **********

 FCN=   18808.26     FROM HESSE     STATUS=OK            33 CALLS      280 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4861        2.6957        .14763E-04   -1.5676    
   2  alpha         2.6758        .91344        .21224E-01    .70383E-01
   3  Normalizat    1.0473        .14254        .28742E-03   -.91461    
   4  Prefactor     1.0208        .15066        .31404E-03   -.92039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.25685e-11
Minuit parameter uncertainties:
  1  2.69569
  2  0.935208
  3  0.142592
  4  0.150726
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) = 18808.2591164
delta logL = 0.332668742467

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  2.486e+00  2.696e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        alpha:  2.676e+00  9.352e-01  0.000e+00  5.000e+00 ( 1.000e+00)
327         beta:  5.434e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  8.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  1.021e+00  1.507e-01  0.000e+00  1.000e+01 ( 1.000e+00)
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  1.047e+00  1.426e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.71
Ra Dec: 187.560 25.298
Photon Index (Free Index): 2.68 +/- 0.94
Photon Flux (Free Index): 3.50e-08 +/- 3.18e-08
Energy Flux (Free Index): 8.83e-06 +/- 6.49e-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/19243827/cmap_HighResolution_789955201_790560001_4FGL_J1230.2+2517_weekly_bin911.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.72e-05', comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='8.83e-06', photon_flux_error='1.37e-08', dlogl='3.33e-01', energy_flux='8.75e-06', photon_flux2='3.50e-08', job_status='DONE', time_completed='2026-01-20 01:00:31.787622', photon_index_error2='0.94', photon_index2='2.68', ts='2.02', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='4.58e-08', energy_flux_error2='6.49e-06', EG='1.07', time_epoch_completed='1768899631.79', return_code='0', job_id='19243827', GAL2='1.02', EG2='1.05', return_code2='0', energy_flux_error='8.18e-06', photon_flux_error2='3.18e-08', ts2='2.71', photon_index='2.00' WHERE bin_id='911' AND source_name='4FGL J1230.2+2517' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 20 01:00:31 PST 2026

