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


Performing analysis on: 4FGL_J1123.4-2529_daily_bin1865
RA = 170.868, Dec = -25.488
tmin = 722736001, tmax = 722995201
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='34655118', job_status='RUN', time_executed='2023-11-30 00:20:48.011381', time_epoch_executed='1701332448.01' WHERE source_name='4FGL J1123.4-2529' and cadence='daily' and bin_id='1865'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/34655118

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/34655118/ft1_4FGL_J1123.4-2529_daily_bin1865.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/34655118/ft2_4FGL_J1123.4-2529_daily_bin1865.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/34655118/ft1_4FGL_J1123.4-2529_daily_bin1865.fits outfile=/lscratch/kocevski/34655118/ft1_filteredMKT_4FGL_J1123.4-2529_daily_bin1865.fits ra=170.868 dec=-25.488 rad=12.0 tmin=722736001.0 tmax=722995201.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 2.02
user 1.72
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34655118/ft2_4FGL_J1123.4-2529_daily_bin1865.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/34655118/ft2_4FGL_J1123.4-2529_daily_bin1865.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/34655118/ft1_filteredMKT_4FGL_J1123.4-2529_daily_bin1865.fits evtable="EVENTS" outfile="/lscratch/kocevski/34655118/ft1_filtered_4FGL_J1123.4-2529_daily_bin1865.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.55
user 0.20
sys 0.16

Number of photons that the gtmktime cut: 889

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/34655118/ft1_filtered_4FGL_J1123.4-2529_daily_bin1865.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34655118/ft2_4FGL_J1123.4-2529_daily_bin1865.fits sctable="SC_DATA" outfile=/lscratch/kocevski/34655118/ltcube_722736001_722995201_4FGL_J1123.4-2529_daily_bin1865.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/34655118/ft2_4FGL_J1123.4-2529_daily_bin1865.fits
.....................!
real 13.85
user 13.49
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34655118/ft1_filtered_4FGL_J1123.4-2529_daily_bin1865.fits evtable="EVENTS" scfile=/lscratch/kocevski/34655118/ft2_4FGL_J1123.4-2529_daily_bin1865.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34655118/ltcube_722736001_722995201_4FGL_J1123.4-2529_daily_bin1865.fits outfile=/lscratch/kocevski/34655118/expmap_722736001_722995201_4FGL_J1123.4-2529_daily_bin1865.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/34655118/ltcube_722736001_722995201_4FGL_J1123.4-2529_daily_bin1865.fits
.....................!
real 73.76
user 69.20
sys 4.04

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

Setting source of interest to:
4FGL J1123.4-2529 @ 170.868 -25.488

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34655118/ft1_filtered_4FGL_J1123.4-2529_daily_bin1865.fits scfile=/lscratch/kocevski/34655118/ft2_4FGL_J1123.4-2529_daily_bin1865.fits outfile=/lscratch/kocevski/34655118/cmap_722736001_722995201_4FGL_J1123.4-2529_daily_bin1865.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=170.868 yref=-25.488 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.54
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34655118/ft1_filtered_4FGL_J1123.4-2529_daily_bin1865.fits scfile=/lscratch/kocevski/34655118/ft2_4FGL_J1123.4-2529_daily_bin1865.fits outfile=/lscratch/kocevski/34655118/cmap_HighResolution_722736001_722995201_4FGL_J1123.4-2529_daily_bin1865.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=170.868 yref=-25.488 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.50
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34655118/ft1_filtered_4FGL_J1123.4-2529_daily_bin1865.fits evtable="EVENTS" scfile=/lscratch/kocevski/34655118/ft2_4FGL_J1123.4-2529_daily_bin1865.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34655118/Model_4FGL_J1123.4-2529_daily_bin1865.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/34655118/ft1_filtered_4FGL_J1123.4-2529_daily_bin1865.fits.....................!
real 38.04
user 36.90
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34655118/ft1_filtered_4FGL_J1123.4-2529_daily_bin1865.fits', '/lscratch/kocevski/34655118/ft2_4FGL_J1123.4-2529_daily_bin1865.fits', expMap='/lscratch/kocevski/34655118/expmap_722736001_722995201_4FGL_J1123.4-2529_daily_bin1865.fits', expCube='/lscratch/kocevski/34655118/ltcube_722736001_722995201_4FGL_J1123.4-2529_daily_bin1865.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34655118/Model_4FGL_J1123.4-2529_daily_bin1865.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1123.4-2529'

4FGL J1123.4-2529
   Spectrum: PowerLaw
284    Prefactor:  1.199e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  2.239e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.433e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34655118/ft1_filtered_4FGL_J1123.4-2529_daily_bin1865.fits
Spacecraft file(s): /lscratch/kocevski/34655118/ft2_4FGL_J1123.4-2529_daily_bin1865.fits
Exposure map: /lscratch/kocevski/34655118/expmap_722736001_722995201_4FGL_J1123.4-2529_daily_bin1865.fits
Exposure cube: /lscratch/kocevski/34655118/ltcube_722736001_722995201_4FGL_J1123.4-2529_daily_bin1865.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34655118/Model_4FGL_J1123.4-2529_daily_bin1865.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) = 9527.53178813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.620       1.0000          .0000       .10000E+07
     2 'norm      '    .37279       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55211E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .96528E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    10.836       1.0000          .0000       .10000E+07
     6 'Prefactor '    .72449E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .12301E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .84606E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .70656E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14237E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    84.288       1.0000          .0000       .10000E+07
    12 'norm      '    .27756E-09   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.485       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.0487       1.0000          .0000       .10000E+07
    15 'norm      '    21.905       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.739       1.0000          .0000       .10000E+07
    17 'norm      '    5.4171       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.4404       1.0000          .0000       .10000E+07
    19 'Prefactor '    11.911       1.0000          .0000       .10000E+07
    20 'Prefactor '    .45234E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.7804       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0943       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0251       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9527.505     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1925 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.609        10.739        .17281E-07    .13799E-01
   2  norm          .37312        2.3464       -.40674E-07   -.39658E-03
   3  Prefactor      .0000        2.7448        .41271E-07** at limit **
   4  Prefactor     .93431E-06    24.355       -.30245E-06** at limit **
   5  Prefactor     10.842        8.6917       -.14448E-06   -.14203E-02
   6  Prefactor     .25918E-05    1.9001       -.24299E-08** at limit **
   7  Prefactor     .83267E-09    6.3660       -.14996E-06** at limit **
   8  Prefactor     .28866E-08    8.8957        .46397E-07** at limit **
   9  Prefactor     .44298E-07    27.650        .33176E-06** at limit **
  10  Prefactor      .0000        3.5148       -.84873E-07** at limit **
  11  Prefactor     84.212        7.5143       -.44730E-08    .41809E-01
  12  norm           .0000        .29501       -.21759E-07** at limit **
  13  Prefactor     18.485        9.5524        .90051E-07    .55757E-02
  14  Prefactor     3.0767        5.5919       -.12160E-06    .52463E-03
  15  norm          21.766        9.0566       -.44642E-07   -.72195E-01
  16  Prefactor     25.788        3.9594       -.15670E-07   -.65701E-01
  17  norm          5.4132        3.7982       -.59566E-08    .36168E-02
  18  Prefactor     6.3396        7.1862       -.68613E-08    .52806E-02
  19  Prefactor     12.450        32.466        .30487E-07   -.34252E-01
  20  Prefactor     .31641E-08    7.7243        .43033E-07** at limit **
  21  Prefactor     9.1130        31.772        .34576E-07   -.29019E-01
  22  Normalizat    1.0941        .23351       -.19281E-05    .33887E-04
  23  Prefactor     1.0253        .12693       -.65774E-06    .57956E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6093
  norm       = 0.373125
  Prefactor  = 0
  Prefactor  = 9.34308e-07
  Prefactor  = 10.8424
  Prefactor  = 2.59182e-06
  Prefactor  = 8.32667e-10
  Prefactor  = 2.88658e-09
  Prefactor  = 4.42979e-08
  Prefactor  = 0
  Prefactor  = 84.2121
  norm       = 0
  Prefactor  = 18.4845
  Prefactor  = 3.07674
  norm       = 21.7664
  Prefactor  = 25.7877
  norm       = 5.4132
  Prefactor  = 6.33964
  Prefactor  = 12.4499
  Prefactor  = 3.16414e-09
  Prefactor  = 9.11303
  Normalizat = 1.09413
  Prefactor  = 1.02533
 **********
 **   18 **HESSE 
 **********

 FCN=   9527.505     FROM HESSE     STATUS=OK           432 CALLS     2357 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.609        10.996        .28172E-03   -1.5637    
   2  norm          .37312        2.4495        .92709E-03   -1.5696    
   3  Prefactor      .0000        2.7555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .93431E-06    1.4379        .63323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.842        8.8455        .30411E-03   -1.5642    
   6  Prefactor     .25918E-05    2.1069        .52797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .83267E-09    6.3766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .28866E-08    8.9336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .44298E-07    28.058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        3.5210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     84.212        52.583        .10893E-03   -1.5524    
  12  norm           .0000        .29302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.485        9.5323        .23268E-03   -1.5622    
  14  Prefactor     3.0767        5.6566        .58081E-03   -1.5673    
  15  norm          21.766        20.536        .21372E-03   -1.5615    
  16  Prefactor     25.788        17.905        .19715E-03   -1.5606    
  17  norm          5.4132        4.3027        .43151E-03   -1.5661    
  18  Prefactor     6.3396        8.7947        .39524E-03   -1.5658    
  19  Prefactor     12.450        51.842        .29001E-03   -1.5637    
  20  Prefactor     .31641E-08    7.7968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.1130        49.358        .32018E-03   -1.5648    
  22  Normalizat    1.0941        .19945        .75359E-01   -.89940    
  23  Prefactor     1.0253        .10723        .41665E-01   -.91890    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.36987e-07
Minuit parameter uncertainties:
  1  10.9957
  2  1.91204
  3  1.57942e-05
  4  0.00231815
  5  8.84549
  6  0.00467358
  7  0.000143611
  8  0.00032043
  9  0.0022298
  10  6.60246e-06
  11  52.5829
  12  6.52811e-08
  13  9.53231
  14  5.65665
  15  20.5356
  16  17.9049
  17  4.30266
  18  8.79469
  19  50.8115
  20  0.00031434
  21  42.4177
  22  0.199587
  23  0.107255
Done.

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

Extracting fit parameters...

4FGL J1123.4-2529
   Spectrum: PowerLaw
284    Prefactor:  0.000e+00  6.602e-06  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  2.239e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.433e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
588    Prefactor:  1.025e+00  1.073e-01  0.000e+00  1.000e+01 ( 1.000e+00)
589        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
590        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  1.094e+00  1.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 170.868 -25.488
Photon Flux Upper Limit: 4.76248595502e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00363886327817 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34655118/likelihoodResults_722736001_722995201_4FGL_J1123.4-2529_daily_bin1865.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): 102
logL (Free Index) = 9527.50488059
delta logL = -0.000305972911519

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9527.50457512
delta logL = -5.03076080349e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10203E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.1911       1.0000          .0000       10.000    
     3 'Normalizat'    1.0939       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0255       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9527.505     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      240 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.6069        .42118E-03** at limit **
   2  Index         2.2211        1.4192        .14338E-04     .0000    
   3  Normalizat    1.0941        1.1599       -.57943E-05   -.30861E-04
   4  Prefactor     1.0253        1.2268        .90586E-06   -.75294E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.22107
  Normalizat = 1.09413
  Prefactor  = 1.02533
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9527.505     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.6069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .54553        1.8425        .14338E-04   -.58931    
   3  Normalizat    1.0941        1.1599       -.57943E-05   -.89940    
   4  Prefactor     1.0253        1.2268        .90586E-06   -.91890    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.80286e-12
Minuit parameter uncertainties:
  1  4.76338e-06
  2  1.44837
  3  1.18864
  4  1.26299
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9527.50457462
delta logL = 0.0

Extracting fit parameters...

4FGL J1123.4-2529
   Spectrum: PowerLaw
284    Prefactor:  0.000e+00  4.763e-06  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  2.221e+00  1.448e+00  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  1.433e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
588    Prefactor:  1.025e+00  1.263e+00  0.000e+00  1.000e+01 ( 1.000e+00)
589        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
590        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  1.094e+00  1.189e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 170.868 -25.488

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/34655118/cmap_HighResolution_722736001_722995201_4FGL_J1123.4-2529_daily_bin1865.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.64e-03', job_status='DONE', photon_flux_upper_limit='4.76e-08', time_completed='2023-11-30 00:27:31.220530', job_id='34655118', GAL2='1.03', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1701332851.22', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1865' AND source_name='4FGL J1123.4-2529' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Nov 30 00:27:31 PST 2023

