/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_J0623.0-3010_daily_bin1896
RA = 95.7646, Dec = -30.1828
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='44291139', job_status='RUN', time_executed='2024-04-19 18:45:44.331285', time_epoch_executed='1713577544.33' WHERE source_name='4FGL J0623.0-3010' and cadence='daily' and bin_id='1896'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/44291139

Creating custom pfile directory:
/lscratch/kocevski/44291139/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/44291139/ft1_4FGL_J0623.0-3010_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/44291139/ft2_4FGL_J0623.0-3010_daily_bin1896.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/44291139/ft1_4FGL_J0623.0-3010_daily_bin1896.fits outfile=/lscratch/kocevski/44291139/ft1_filteredMKT_4FGL_J0623.0-3010_daily_bin1896.fits ra=95.7646 dec=-30.1828 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.61
user 1.36
sys 0.14

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/44291139/ft2_4FGL_J0623.0-3010_daily_bin1896.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/44291139/ft2_4FGL_J0623.0-3010_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/44291139/ft1_filteredMKT_4FGL_J0623.0-3010_daily_bin1896.fits evtable="EVENTS" outfile="/lscratch/kocevski/44291139/ft1_filtered_4FGL_J0623.0-3010_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.34
user 0.17
sys 0.13

Number of photons that the gtmktime cut: 964

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/44291139/ft1_filtered_4FGL_J0623.0-3010_daily_bin1896.fits" evtable="EVENTS" scfile=/lscratch/kocevski/44291139/ft2_4FGL_J0623.0-3010_daily_bin1896.fits sctable="SC_DATA" outfile=/lscratch/kocevski/44291139/ltcube_730771201_731030401_4FGL_J0623.0-3010_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/44291139/ft2_4FGL_J0623.0-3010_daily_bin1896.fits
.....................!
real 7.51
user 7.22
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/44291139/ft1_filtered_4FGL_J0623.0-3010_daily_bin1896.fits evtable="EVENTS" scfile=/lscratch/kocevski/44291139/ft2_4FGL_J0623.0-3010_daily_bin1896.fits sctable="SC_DATA" expcube=/lscratch/kocevski/44291139/ltcube_730771201_731030401_4FGL_J0623.0-3010_daily_bin1896.fits outfile=/lscratch/kocevski/44291139/expmap_730771201_731030401_4FGL_J0623.0-3010_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/44291139/ltcube_730771201_731030401_4FGL_J0623.0-3010_daily_bin1896.fits
.....................!
real 61.98
user 58.33
sys 3.21

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

Setting source of interest to:
4FGL J0623.0-3010 @ 95.7646 -30.1828

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/44291139/ft1_filtered_4FGL_J0623.0-3010_daily_bin1896.fits scfile=/lscratch/kocevski/44291139/ft2_4FGL_J0623.0-3010_daily_bin1896.fits outfile=/lscratch/kocevski/44291139/cmap_730771201_731030401_4FGL_J0623.0-3010_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=95.7646 yref=-30.1828 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.20
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/44291139/ft1_filtered_4FGL_J0623.0-3010_daily_bin1896.fits scfile=/lscratch/kocevski/44291139/ft2_4FGL_J0623.0-3010_daily_bin1896.fits outfile=/lscratch/kocevski/44291139/cmap_HighResolution_730771201_731030401_4FGL_J0623.0-3010_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=95.7646 yref=-30.1828 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/44291139/ft1_filtered_4FGL_J0623.0-3010_daily_bin1896.fits evtable="EVENTS" scfile=/lscratch/kocevski/44291139/ft2_4FGL_J0623.0-3010_daily_bin1896.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/44291139/Model_4FGL_J0623.0-3010_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/44291139/ft1_filtered_4FGL_J0623.0-3010_daily_bin1896.fits.....................!
real 43.99
user 43.13
sys 0.55

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/44291139/ft1_filtered_4FGL_J0623.0-3010_daily_bin1896.fits', '/lscratch/kocevski/44291139/ft2_4FGL_J0623.0-3010_daily_bin1896.fits', expMap='/lscratch/kocevski/44291139/expmap_730771201_731030401_4FGL_J0623.0-3010_daily_bin1896.fits', expCube='/lscratch/kocevski/44291139/ltcube_730771201_731030401_4FGL_J0623.0-3010_daily_bin1896.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/44291139/Model_4FGL_J0623.0-3010_daily_bin1896.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0623.0-3010'

4FGL J0623.0-3010
   Spectrum: PowerLaw
309    Prefactor:  3.371e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.480e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  9.562e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/44291139/ft1_filtered_4FGL_J0623.0-3010_daily_bin1896.fits
Spacecraft file(s): /lscratch/kocevski/44291139/ft2_4FGL_J0623.0-3010_daily_bin1896.fits
Exposure map: /lscratch/kocevski/44291139/expmap_730771201_731030401_4FGL_J0623.0-3010_daily_bin1896.fits
Exposure cube: /lscratch/kocevski/44291139/ltcube_730771201_731030401_4FGL_J0623.0-3010_daily_bin1896.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/44291139/Model_4FGL_J0623.0-3010_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) = 10384.3126838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '     .0000       1.0000          .0000       .10000E+07
     2 'norm      '    1.1278       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28311E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    .95796E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    44.259       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.4024       1.0000          .0000       .10000E+07
     7 'Prefactor '    17.318       1.0000          .0000       .10000E+07
     8 'Prefactor '    .20607E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.4033       1.0000          .0000       .10000E+07
    10 'norm      '    7.4254       1.0000          .0000       .10000E+07
    11 'Prefactor '    .18541E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .61506E-06   1.0000          .0000       .10000E+07
    13 'norm      '    44.479       1.0000          .0000       .10000E+07
    14 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    15 'norm      '    .10825E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .19595E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .33695E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    8.4823       1.0000          .0000       .10000E+07
    19 'norm      '    4.5824       1.0000          .0000       .10000E+07
    20 'Prefactor '    .11266E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .10103E-07   1.0000          .0000       .10000E+07
    22 'norm      '    .21625E-05   1.0000          .0000       .10000E+07
    23 'Normalizat'    .89525       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0819       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10384.30     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     2462 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        6.9797       -.44617E-06** at limit **
   2  norm          1.1279        1.7691       -.31236E-06    .11801E-02
   3  Prefactor      .0000        2.2065       -.40267E-07** at limit **
   4  Prefactor     .28866E-08    21.986        .88639E-06** at limit **
   5  Prefactor     44.260        1.2559        .72961E-08    .11408E-02
   6  Prefactor     4.4019        14.120       -.79489E-06   -.50941E-03
   7  Prefactor     17.295        12.830        .40586E-06   -.39543E-01
   8  Prefactor     .16678E-05    453.07       -.30588E-05** at limit **
   9  Prefactor     1.4038        17.631        .88722E-06   -.42316E-03
  10  norm          7.4250        4.7049       -.12864E-06    .85528E-03
  11  Prefactor      .0000        1.6488       -.12049E-06** at limit **
  12  Prefactor     .33346E-06    31.099       -.11464E-05** at limit **
  13  norm          44.471        1.2309        .19699E-07   -.21296E-01
  14  norm           .0000        1.0866        .65449E-07** at limit **
  15  norm           .0000        1.4664        .47886E-06** at limit **
  16  norm           .0000        3.3502        .16414E-07** at limit **
  17  Prefactor      .0000        1.6790       -.82972E-07** at limit **
  18  Prefactor     8.4822        4.9891       -.20911E-07   -.11237E-02
  19  norm          4.5836        11.151       -.63830E-06    .12244E-03
  20  Prefactor     .46629E-08    16.163       -.32846E-06** at limit **
  21  norm          .28277E-06    25.138        .45502E-06** at limit **
  22  norm           .0000        13.596       -.28595E-06** at limit **
  23  Normalizat    .89516        .19744        .13298E-04   -.37915E-05
  24  Prefactor     1.0819        .87427E-01   -.33557E-05    .16355E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 1.12788
  Prefactor  = 0
  Prefactor  = 2.88658e-09
  Prefactor  = 44.26
  Prefactor  = 4.40195
  Prefactor  = 17.2954
  Prefactor  = 1.66778e-06
  Prefactor  = 1.4038
  norm       = 7.42501
  Prefactor  = 0
  Prefactor  = 3.33455e-07
  norm       = 44.4713
  norm       = 0
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 8.48224
  norm       = 4.58359
  Prefactor  = 4.66294e-09
  norm       = 2.82774e-07
  norm       = 0
  Normalizat = 0.895165
  Prefactor  = 1.08192
 **********
 **   18 **HESSE 
 **********

 FCN=   10384.30     FROM HESSE     STATUS=OK           449 CALLS     2911 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        6.7777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1279        1.7960        .11012E-02   -1.5687    
   3  Prefactor      .0000        2.2022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .28866E-08    22.047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     44.260        20.922        .15033E-03   -1.5575    
   6  Prefactor     4.4019        14.162        .47975E-03   -1.5666    
   7  Prefactor     17.295        22.361        .24040E-03   -1.5625    
   8  Prefactor     .16678E-05    479.31        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.4038        17.511        .91520E-03   -1.5684    
  10  norm          7.4250        4.7143        .36782E-03   -1.5653    
  11  Prefactor      .0000        1.6484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .33346E-06    36.096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          44.471        29.860        .14995E-03   -1.5575    
  14  norm           .0000        1.0882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .44175        .26419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        3.3555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.6757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.4822        5.0012        .34396E-03   -1.5650    
  19  norm          4.5836        11.185        .46999E-03   -1.5665    
  20  Prefactor     .46629E-08    16.219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .28277E-06    29.221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        13.610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .89516        .18727        .87330E-01   -.96630    
  24  Prefactor     1.0819        .80180E-01    .38319E-01   -.90046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.84025e-07
Minuit parameter uncertainties:
  1  2.23424e-05
  2  1.796
  3  7.31868e-06
  4  0.000503572
  5  20.9225
  6  14.1621
  7  22.3614
  8  0.0565508
  9  9.91597
  10  4.71435
  11  4.55941e-06
  12  0.00693879
  13  29.8605
  14  1.82197e-07
  15  4.53811e-06
  16  1.61536e-06
  17  2.56853e-06
  18  5.00122
  19  11.1853
  20  0.000550538
  21  0.00574902
  22  3.19147e-05
  23  0.187402
  24  0.0801887
Done.

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

Extracting fit parameters...

4FGL J0623.0-3010
   Spectrum: PowerLaw
309    Prefactor:  3.335e-07  6.939e-03  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.480e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  9.562e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.082e+00  8.019e-02  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.952e-01  1.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 95.765 -30.183
Photon Flux Upper Limit: 7.95137093184e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00617633305285 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/44291139/likelihoodResults_730771201_731030401_4FGL_J0623.0-3010_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): 102
logL (Free Index) = 10384.313491
delta logL = -0.0144280394561

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10384.2990636
delta logL = -6.89162334311e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10384.30     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      210 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        43.242        .42118E-03** at limit **
   2  Index         2.3993        1.1219        .43579E-04     .0000    
   3  Normalizat    .89516        1.2307       -.79367E-05   -.33722E-04
   4  Prefactor     1.0819        1.1613        .14754E-05   -.97980E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.39928
  Normalizat = 0.895165
  Prefactor  = 1.08192
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10384.30     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        43.242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64553        1.8451        .43579E-04   -.54702    
   3  Normalizat    .89516        1.2307       -.79367E-05   -.96630    
   4  Prefactor     1.0819        1.1613        .14754E-05   -.90046    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.66336e-12
Minuit parameter uncertainties:
  1  2.59293e-06
  2  1.13525
  3  1.27294
  4  1.19023
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) = 10384.2990629
delta logL = 4.59658622276e-09

Extracting fit parameters...

4FGL J0623.0-3010
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.593e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.399e+00  1.135e+00  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  9.562e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.082e+00  1.190e+00  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.952e-01  1.273e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 95.765 -30.183

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/44291139/cmap_HighResolution_730771201_731030401_4FGL_J0623.0-3010_daily_bin1896.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.18e-03', job_status='DONE', photon_flux_upper_limit='7.95e-08', time_completed='2024-04-19 18:51:31.003045', job_id='44291139', GAL2='1.08', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1713577891.0', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.60e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1896' AND source_name='4FGL J0623.0-3010' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Apr 19 18:51:31 PDT 2024

