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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1896
RA = 340.957, Dec = -25.1701
tmin = 730771201, tmax = 731030401
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='44579031', job_status='RUN', time_executed='2024-04-20 20:25:25.317600', time_epoch_executed='1713669925.32' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1896'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/44579031

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/44579031/ft1_4FGL_J2243.8-2510_daily_bin1896.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/44579031/ft2_4FGL_J2243.8-2510_daily_bin1896.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/44579031/ft1_4FGL_J2243.8-2510_daily_bin1896.fits outfile=/lscratch/kocevski/44579031/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1896.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=730771201.0 tmax=731030401.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 1.59
user 1.33
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/44579031/ft2_4FGL_J2243.8-2510_daily_bin1896.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/44579031/ft2_4FGL_J2243.8-2510_daily_bin1896.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/44579031/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1896.fits evtable="EVENTS" outfile="/lscratch/kocevski/44579031/ft1_filtered_4FGL_J2243.8-2510_daily_bin1896.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.41
user 0.16
sys 0.14

Number of photons that the gtmktime cut: 13

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/44579031/ft1_filtered_4FGL_J2243.8-2510_daily_bin1896.fits" evtable="EVENTS" scfile=/lscratch/kocevski/44579031/ft2_4FGL_J2243.8-2510_daily_bin1896.fits sctable="SC_DATA" outfile=/lscratch/kocevski/44579031/ltcube_730771201_731030401_4FGL_J2243.8-2510_daily_bin1896.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/44579031/ft2_4FGL_J2243.8-2510_daily_bin1896.fits
.....................!
real 7.31
user 6.99
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/44579031/ft1_filtered_4FGL_J2243.8-2510_daily_bin1896.fits evtable="EVENTS" scfile=/lscratch/kocevski/44579031/ft2_4FGL_J2243.8-2510_daily_bin1896.fits sctable="SC_DATA" expcube=/lscratch/kocevski/44579031/ltcube_730771201_731030401_4FGL_J2243.8-2510_daily_bin1896.fits outfile=/lscratch/kocevski/44579031/expmap_730771201_731030401_4FGL_J2243.8-2510_daily_bin1896.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/44579031/ltcube_730771201_731030401_4FGL_J2243.8-2510_daily_bin1896.fits
.....................!
real 59.35
user 55.59
sys 3.39

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

Setting source of interest to:
4FGL J2243.8-2510 @ 340.957 -25.1701

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/44579031/ft1_filtered_4FGL_J2243.8-2510_daily_bin1896.fits scfile=/lscratch/kocevski/44579031/ft2_4FGL_J2243.8-2510_daily_bin1896.fits outfile=/lscratch/kocevski/44579031/cmap_730771201_731030401_4FGL_J2243.8-2510_daily_bin1896.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=340.957 yref=-25.1701 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.36
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/44579031/ft1_filtered_4FGL_J2243.8-2510_daily_bin1896.fits scfile=/lscratch/kocevski/44579031/ft2_4FGL_J2243.8-2510_daily_bin1896.fits outfile=/lscratch/kocevski/44579031/cmap_HighResolution_730771201_731030401_4FGL_J2243.8-2510_daily_bin1896.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=340.957 yref=-25.1701 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.35
user 0.19
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/44579031/ft1_filtered_4FGL_J2243.8-2510_daily_bin1896.fits evtable="EVENTS" scfile=/lscratch/kocevski/44579031/ft2_4FGL_J2243.8-2510_daily_bin1896.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/44579031/Model_4FGL_J2243.8-2510_daily_bin1896.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/44579031/ft1_filtered_4FGL_J2243.8-2510_daily_bin1896.fits.............!
real 5.59
user 4.95
sys 0.57

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/44579031/ft1_filtered_4FGL_J2243.8-2510_daily_bin1896.fits', '/lscratch/kocevski/44579031/ft2_4FGL_J2243.8-2510_daily_bin1896.fits', expMap='/lscratch/kocevski/44579031/expmap_730771201_731030401_4FGL_J2243.8-2510_daily_bin1896.fits', expCube='/lscratch/kocevski/44579031/ltcube_730771201_731030401_4FGL_J2243.8-2510_daily_bin1896.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/44579031/Model_4FGL_J2243.8-2510_daily_bin1896.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2243.8-2510'

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  7.852e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/44579031/ft1_filtered_4FGL_J2243.8-2510_daily_bin1896.fits
Spacecraft file(s): /lscratch/kocevski/44579031/ft2_4FGL_J2243.8-2510_daily_bin1896.fits
Exposure map: /lscratch/kocevski/44579031/expmap_730771201_731030401_4FGL_J2243.8-2510_daily_bin1896.fits
Exposure cube: /lscratch/kocevski/44579031/ltcube_730771201_731030401_4FGL_J2243.8-2510_daily_bin1896.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/44579031/Model_4FGL_J2243.8-2510_daily_bin1896.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) = 115.732371981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69650E-06   1.0000          .0000       .10000E+07
     2 'norm      '    1.1641       1.0000          .0000       .10000E+07
     3 'Prefactor '    24.077       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12101E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11848E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .18734E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .22283E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
    10 'norm      '    .53129E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .10000E+07   1.0000          .0000       .10000E+07
    12 'Prefactor '    601.76       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
    14 'norm      '    .10000E+07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
    17 'norm      '    .26877E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    5.4297       1.0000          .0000       .10000E+07
    19 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
    20 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    21 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    .16189E-06   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   102.0593     FROM MIGRAD    STATUS=CONVERGED     99 CALLS     2885 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    73.825        .99886E-06** at limit **
   2  norm          1.1622        1.4919       -.17856E-06    .16072E-02
   3  Prefactor     24.085        27.894       -.16354E-05    .79167E-03
   4  Prefactor     .16653E-09    87.899        .49851E-05** at limit **
   5  Prefactor     .41130E-04    246.83        .49524E-05** at limit **
   6  Prefactor     .11765E-03    739.11        .21941E-05** at limit **
   7  norm          .32617        147.62        .26451E-05    .44545E-01
   8  Prefactor     .10000E+07    .60602       -.63707E-07   -.12554E-02
   9  Prefactor     .10000E+07    .56095       -.54623E-07   -.10767E-02
  10  norm          .72518E-04    269.87       -.12128E-04** at limit **
  11  norm          .10000E+07    1.1224       -.14983E-06   -.29442E-02
  12  Prefactor     601.77        1.0525       -.18505E-08   -.38983E-02
  13  Prefactor     .10000E+07    .80959       -.14396E-06** at limit **
  14  norm          .10000E+07    .82969       -.10317E-06   -.20304E-02
  15  Prefactor     .10000E+07    2.1149       -.23401E-06   -.70243E-03
  16  Prefactor     .10000E+07    .63839       -.69875E-07   -.13767E-02
  17  norm          .24719E-01    981.53        .40432E-06** at limit **
  18  Prefactor     5.4315        1.0060       -.32514E-08   -.61313E-04
  19  Prefactor     .12466        333.14        .31965E-05** at limit **
  20  norm          .55511E-10    22.742       -.74574E-06** at limit **
  21  Normalizat    .10000E-01    .13496       -.78111E-05** at limit **
  22  Prefactor     .64393E-13    .11437        .92693E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  norm       = 1.16224
  Prefactor  = 24.0846
  Prefactor  = 1.66533e-10
  Prefactor  = 4.11302e-05
  Prefactor  = 0.000117648
  norm       = 0.326169
  Prefactor  = 999999
  Prefactor  = 999999
  norm       = 7.25181e-05
  norm       = 999999
  Prefactor  = 601.769
  Prefactor  = 1e+06
  norm       = 999999
  Prefactor  = 999999
  Prefactor  = 999999
  norm       = 0.024719
  Prefactor  = 5.43148
  Prefactor  = 0.124661
  norm       = 5.55112e-11
  Normalizat = 0.01
  Prefactor  = 6.43929e-14
 **********
 **   18 **HESSE 
 **********

 FCN=   102.0593     FROM HESSE     STATUS=OK           368 CALLS     3253 TOTAL
                     EDM=   .12E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    73.786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1622        1.4930        .30912E-03   -1.5686    
   3  Prefactor     24.085        27.957        .20385E-03   -1.5610    
   4  Prefactor     .16653E-09    87.858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .41130E-04    247.02        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11765E-03    2198.1        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .32617        6225.0        .42118E-03   -1.5697    
   8  Prefactor     .10000E+07    .13790E+06    .42118E-03    1.5689    
   9  Prefactor     .10000E+07    .14533E+06    .42118E-03    1.5689    
  10  norm          .72518E-04    270.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E+07    92615.        .42118E-03    1.5689    
  12  Prefactor     601.77        .22957E+06    .40777E-04   -1.5217    
  13  Prefactor     .10000E+07    .15544E+06    .14472E-02    1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E+07    .11275E+06    .42118E-03    1.5689    
  15  Prefactor     .10000E+07    .16650E+06    .10765E-02    1.5687    
  16  Prefactor     .10000E+07    .13327E+06    .42118E-03    1.5689    
  17  norm          .24719E-01    1726.9        .42118E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.4315        .21671E+06    .43100E-03   -1.5661    
  19  Prefactor     .12466        3838.7        .42118E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .55511E-10    22.740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .10000E-01    .12740        .52083E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .64393E-13    .10878        .47884E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.00011897
Minuit parameter uncertainties:
  1  0.00033823
  2  1.49301
  3  27.957
  4  0.000223776
  5  0.201602
  6  1.01744
  7  90.2135
  8  737.448
  9  758.925
  10  0.280099
  11  593.11
  12  24523.6
  13  216.617
  14  660.569
  15  879.378
  16  723.794
  17  13.0708
  18  2257.01
  19  43.7786
  20  5.6318e-05
  21  1.53174e-07
  22  1.67836e-07
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  6.018e+02  2.452e+04  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  6.439e-14  1.678e-07  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.000e-02  1.532e-07  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 1000000.0 is not large enough
delta logLike = 0.1572962595

TS (Fixed Index): 0.00
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: -1 ph cm-2 s-1
Energy Flux Upper Limit: -78753.7366872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/44579031/likelihoodResults_730771201_731030401_4FGL_J2243.8-2510_daily_bin1896.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) = 102.059266613
delta logL = 6.61134739062e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 102.059258315
delta logL = 7.44122908003e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.8400       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   101.7796     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      110 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index      10.0000        1.5818        .17881    ** at limit **
                               ERR DEF=  .500    
Final values: 
  Index      = 10
 **********
 **   18 **HESSE 
 **********

 FCN=   101.7796     FROM HESSE     STATUS=OK             5 CALLS      115 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index      10.0000        1.5160        .80795E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52329e-12
Minuit parameter uncertainties:
  1  5.08149e-06
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) = 101.779631882
delta logL = 0.279700844592

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  7.012e+02  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13) fixed
269        Index:  1.000e+01  5.081e-06  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  8.935e-12  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
Ra Dec: 340.957 -25.170

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/44579031/cmap_HighResolution_730771201_731030401_4FGL_J2243.8-2510_daily_bin1896.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.88e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2024-04-20 20:27:33.766421', job_id='44579031', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1713670053.77', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.00', dlogl='2.80e-01', ts2='0.56', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1896' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr 20 20:27:33 PDT 2024

