 **********
 **   18 **HESSE 
 **********

 FCN=   8039.130     FROM HESSE     STATUS=OK           306 CALLS     1447 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7457        2.6342        .79054E-03   -1.5682    
   2  Prefactor     8.0529        8.2224        .35461E-03   -1.5651    
   3  Prefactor      .0000        3.1378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        17.315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .85659        .17270        .36298E-02   -1.5523    
   6  Prefactor      .0000        43.492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.7557        4.9483        .60989E-03   -1.5675    
   8  Prefactor     4.3665        6.8501        .47457E-03   -1.5666    
   9  Prefactor     8.5517        9.1756        .34199E-03   -1.5649    
  10  Prefactor     16.094        18.229        .24934E-03   -1.5628    
  11  norm           .0000        2.7769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.2935        6.1821        .43362E-03   -1.5662    
  13  Prefactor      .0000        13.286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        6.9080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.1079        170.58        .55935E-03   -1.5679    
  16  Prefactor      .0000        5.0070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        3.1351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .67159        .19398        .82230E-01   -1.0503    
  19  Prefactor     1.1749        .11770        .35259E-01   -.87108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38989e-07
Minuit parameter uncertainties:
  1  2.63416
  2  8.22243
  3  1.93483e-06
  4  3.7365e-06
  5  0.172702
  6  4.24463e-05
  7  4.94834
  8  6.85009
  9  9.17564
  10  18.2294
  11  8.60198e-07
  12  6.18209
  13  8.80102e-06
  14  2.07086e-06
  15  37.9256
  16  2.35461e-06
  17  2.93031e-06
  18  0.19418
  19  0.117724
/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).

Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  0.000e+00  2.071e-06  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  1.902e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
451         beta:  8.816e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.175e+00  1.177e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  6.716e-01  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 353.723 14.535
Photon Flux Upper Limit: 4.23235478379e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/19484623/likelihoodResults_710812801_711072001_4FGL_J2334.8+1432_daily_bin1819.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) = 8039.13007962
delta logL = -0.000344624885656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8038.17338674
delta logL = 0.956348260894

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8038.173     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      313 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61155E-01    .55596E-01    .39273E-03** at limit **
   2  alpha         4.9176        .50278        .48457       -.16228E-03
   3  Normalizat    .58280        .19574        .87865E-01    .56685E-04
   4  Prefactor     1.2084        .12172        .34441E-01    .38656E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0611553
  alpha      = 4.91755
  Normalizat = 0.5828
  Prefactor  = 1.20842
 **********
 **   18 **HESSE 
 **********

 FCN=   8038.173     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      348 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61155E-01    2.0661        .18060E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.9176        3.3857        .56124E-01    1.3133    
   3  Normalizat    .58280        .20294        .38925E-03   -1.0872    
   4  Prefactor     1.2084        .12145        .17847E-03   -.86073    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.93344e-07
Minuit parameter uncertainties:
  1  0.710924
  2  4.67053
  3  0.203199
  4  0.121476
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8038.17337555
delta logL = 0.956359443708

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  6.116e-02  7.109e-01  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  4.918e+00  4.671e+00  0.000e+00  5.000e+00 ( 1.000e+00)
451         beta:  8.816e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.208e+00  1.215e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  5.828e-01  2.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.08
Ra Dec: 353.723 14.535
Photon Index (Free Index): 4.92 +/- 4.67
Photon Flux (Free Index): 6.22e-08 +/- 5.17e-08
Energy Flux (Free Index): 8.63e-06 +/- 9.05e-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/19484623/cmap_HighResolution_710812801_711072001_4FGL_J2334.8+1432_daily_bin1819.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', energy_flux2='8.63e-06', dlogl='9.56e-01', photon_flux2='6.22e-08', job_status='DONE', time_completed='2023-07-15 01:21:44.052124', photon_index_error2='4.67', photon_index2='4.92', ts='0.00', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='4.23e-08', energy_flux_error2='9.05e-06', EG='0.67', time_epoch_completed='1689409304.05', return_code='0', job_id='19484623', GAL2='1.21', EG2='0.58', return_code2='102', photon_flux_error2='5.17e-08', ts2='2.08', photon_index='1.90' WHERE bin_id='1819' AND source_name='4FGL J2334.8+1432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 15 01:21:44 PDT 2023

number of points = 7440
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2334.8+1432_daily_bin1819
RA = 353.723, Dec = 14.5346
tmin = 710812801, tmax = 711072001
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='19485549', job_status='RUN', time_executed='2023-07-15 01:21:21.211652', time_epoch_executed='1689409281.21' WHERE source_name='4FGL J2334.8+1432' and cadence='daily' and bin_id='1819'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/19485549

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/19485549/ft1_4FGL_J2334.8+1432_daily_bin1819.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/19485549/ft2_4FGL_J2334.8+1432_daily_bin1819.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/19485549/ft1_4FGL_J2334.8+1432_daily_bin1819.fits outfile=/lscratch/kocevski/19485549/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1819.fits ra=353.723 dec=14.5346 rad=12.0 tmin=710812801.0 tmax=711072001.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.84
user 1.62
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19485549/ft2_4FGL_J2334.8+1432_daily_bin1819.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/19485549/ft2_4FGL_J2334.8+1432_daily_bin1819.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/19485549/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1819.fits evtable="EVENTS" outfile="/lscratch/kocevski/19485549/ft1_filtered_4FGL_J2334.8+1432_daily_bin1819.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: 737

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/19485549/ft1_filtered_4FGL_J2334.8+1432_daily_bin1819.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19485549/ft2_4FGL_J2334.8+1432_daily_bin1819.fits sctable="SC_DATA" outfile=/lscratch/kocevski/19485549/ltcube_710812801_711072001_4FGL_J2334.8+1432_daily_bin1819.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/19485549/ft2_4FGL_J2334.8+1432_daily_bin1819.fits
.....................!
real 7.07
user 6.79
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/19485549/ft1_filtered_4FGL_J2334.8+1432_daily_bin1819.fits evtable="EVENTS" scfile=/lscratch/kocevski/19485549/ft2_4FGL_J2334.8+1432_daily_bin1819.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19485549/ltcube_710812801_711072001_4FGL_J2334.8+1432_daily_bin1819.fits outfile=/lscratch/kocevski/19485549/expmap_710812801_711072001_4FGL_J2334.8+1432_daily_bin1819.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/19485549/ltcube_710812801_711072001_4FGL_J2334.8+1432_daily_bin1819.fits
.....................!
real 59.44
user 55.49
sys 3.65

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

Setting source of interest to:
4FGL J2334.8+1432 @ 353.723 14.5346

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/19485549/ft1_filtered_4FGL_J2334.8+1432_daily_bin1819.fits scfile=/lscratch/kocevski/19485549/ft2_4FGL_J2334.8+1432_daily_bin1819.fits outfile=/lscratch/kocevski/19485549/cmap_710812801_711072001_4FGL_J2334.8+1432_daily_bin1819.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=353.723 yref=14.5346 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/19485549/ft1_filtered_4FGL_J2334.8+1432_daily_bin1819.fits scfile=/lscratch/kocevski/19485549/ft2_4FGL_J2334.8+1432_daily_bin1819.fits outfile=/lscratch/kocevski/19485549/cmap_HighResolution_710812801_711072001_4FGL_J2334.8+1432_daily_bin1819.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=353.723 yref=14.5346 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.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/19485549/ft1_filtered_4FGL_J2334.8+1432_daily_bin1819.fits evtable="EVENTS" scfile=/lscratch/kocevski/19485549/ft2_4FGL_J2334.8+1432_daily_bin1819.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19485549/Model_4FGL_J2334.8+1432_daily_bin1819.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/19485549/ft1_filtered_4FGL_J2334.8+1432_daily_bin1819.fits.....................!
real 30.77
user 29.74
sys 0.81

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/19485549/ft1_filtered_4FGL_J2334.8+1432_daily_bin1819.fits', '/lscratch/kocevski/19485549/ft2_4FGL_J2334.8+1432_daily_bin1819.fits', expMap='/lscratch/kocevski/19485549/expmap_710812801_711072001_4FGL_J2334.8+1432_daily_bin1819.fits', expCube='/lscratch/kocevski/19485549/ltcube_710812801_711072001_4FGL_J2334.8+1432_daily_bin1819.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19485549/Model_4FGL_J2334.8+1432_daily_bin1819.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2334.8+1432'

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  4.331e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  1.902e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
451         beta:  8.816e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/19485549/ft1_filtered_4FGL_J2334.8+1432_daily_bin1819.fits
Spacecraft file(s): /lscratch/kocevski/19485549/ft2_4FGL_J2334.8+1432_daily_bin1819.fits
Exposure map: /lscratch/kocevski/19485549/expmap_710812801_711072001_4FGL_J2334.8+1432_daily_bin1819.fits
Exposure cube: /lscratch/kocevski/19485549/ltcube_710812801_711072001_4FGL_J2334.8+1432_daily_bin1819.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/19485549/Model_4FGL_J2334.8+1432_daily_bin1819.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) = 8039.16409274

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7564       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.9837       1.0000          .0000       .10000E+07
     3 'Prefactor '    .26104E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .12874E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .85650       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .44404E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.7814       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.4965       1.0000          .0000       .10000E+07
     9 'Prefactor '    8.5795       1.0000          .0000       .10000E+07
    10 'Prefactor '    16.100       1.0000          .0000       .10000E+07
    11 'norm      '    .20264E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.3655       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10211E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .45128E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.2744       1.0000          .0000       .10000E+07
    16 'Prefactor '    .29193E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .21714E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    .67036       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1747       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8039.130     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1141 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7457        2.5975       -.42756E-07    .14373E-03
   2  Prefactor     8.0529        8.1855        .87697E-07   -.52375E-03
   3  Prefactor      .0000        3.1390        .13014E-07** at limit **
   4  Prefactor      .0000        17.296       -.51691E-07** at limit **
   5  Prefactor     .85659        .17255       -.11233E-07    .22127E-04
   6  Prefactor      .0000        43.084       -.73183E-06** at limit **
   7  Prefactor     2.7557        4.9266       -.97169E-07    .14037E-03
   8  Prefactor     4.3665        6.3896        .40396E-07   -.23165E-03
   9  Prefactor     8.5517        9.1457       -.47702E-07    .26172E-04
  10  Prefactor     16.094        1.4326        .89713E-08    .82620E-03
  11  norm           .0000        2.7774       -.29968E-07** at limit **
  12  Prefactor     5.2935        6.1679        .21374E-07   -.17907E-03
  13  Prefactor      .0000        13.288       -.28943E-07** at limit **
  14  norm           .0000        6.8958        .13813E-06** at limit **
  15  Prefactor     2.1079        167.18        .16761E-05   -.20782E-03
  16  Prefactor      .0000        4.9996        .26401E-07** at limit **
  17  Prefactor      .0000        3.1423        .72411E-07** at limit **
  18  Normalizat    .67159        .21371        .66054E-06   -.20842E-04
  19  Prefactor     1.1749        .13191        .45131E-06   -.40026E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.74569
  Prefactor  = 8.05285
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.856594
  Prefactor  = 0
  Prefactor  = 2.75572
  Prefactor  = 4.3665
  Prefactor  = 8.55166
  Prefactor  = 16.0943
  norm       = 0
  Prefactor  = 5.29347
  Prefactor  = 0
  norm       = 0
  Prefactor  = 2.10793
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.671594
  Prefactor  = 1.17487
 **********
 **   18 **HESSE 
 **********

 FCN=   8039.130     FROM HESSE     STATUS=OK           306 CALLS     1447 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7457        2.6342        .79054E-03   -1.5682    
   2  Prefactor     8.0529        8.2224        .35461E-03   -1.5651    
   3  Prefactor      .0000        3.1378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        17.315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .85659        .17270        .36298E-02   -1.5523    
   6  Prefactor      .0000        43.492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.7557        4.9483        .60989E-03   -1.5675    
   8  Prefactor     4.3665        6.8501        .47457E-03   -1.5666    
   9  Prefactor     8.5517        9.1756        .34199E-03   -1.5649    
  10  Prefactor     16.094        18.229        .24934E-03   -1.5628    
  11  norm           .0000        2.7769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.2935        6.1821        .43362E-03   -1.5662    
  13  Prefactor      .0000        13.286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        6.9080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.1079        170.58        .55935E-03   -1.5679    
  16  Prefactor      .0000        5.0070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        3.1351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .67159        .19398        .82230E-01   -1.0503    
  19  Prefactor     1.1749        .11770        .35259E-01   -.87108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38989e-07
Minuit parameter uncertainties:
  1  2.63416
  2  8.22243
  3  1.93483e-06
  4  3.7365e-06
  5  0.172702
  6  4.24463e-05
  7  4.94834
  8  6.85009
  9  9.17564
  10  18.2294
  11  8.60198e-07
  12  6.18209
  13  8.80102e-06
  14  2.07086e-06
  15  37.9256
  16  2.35461e-06
  17  2.93031e-06
  18  0.19418
  19  0.117724
Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  0.000e+00  2.071e-06  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  1.902e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
451         beta:  8.816e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.175e+00  1.177e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  6.716e-01  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 353.723 14.535
Photon Flux Upper Limit: 4.23235478379e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/19485549/likelihoodResults_710812801_711072001_4FGL_J2334.8+1432_daily_bin1819.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) = 8039.13007962
delta logL = -0.000344624885656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8038.17338674
delta logL = 0.956348260894

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8038.173     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      313 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61155E-01    .55596E-01    .39273E-03** at limit **
   2  alpha         4.9176        .50278        .48457       -.16228E-03
   3  Normalizat    .58280        .19574        .87865E-01    .56685E-04
   4  Prefactor     1.2084        .12172        .34441E-01    .38656E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0611553
  alpha      = 4.91755
  Normalizat = 0.5828
  Prefactor  = 1.20842
 **********
 **   18 **HESSE 
 **********

 FCN=   8038.173     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      348 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61155E-01    2.0661        .18060E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.9176        3.3857        .56124E-01    1.3133    
   3  Normalizat    .58280        .20294        .38925E-03   -1.0872    
   4  Prefactor     1.2084        .12145        .17847E-03   -.86073    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.93344e-07
Minuit parameter uncertainties:
  1  0.710924
  2  4.67053
  3  0.203199
  4  0.121476
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8038.17337555
delta logL = 0.956359443708

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  6.116e-02  7.109e-01  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  4.918e+00  4.671e+00  0.000e+00  5.000e+00 ( 1.000e+00)
451         beta:  8.816e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.208e+00  1.215e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  5.828e-01  2.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.08
Ra Dec: 353.723 14.535
Photon Index (Free Index): 4.92 +/- 4.67
Photon Flux (Free Index): 6.22e-08 +/- 5.17e-08
Energy Flux (Free Index): 8.63e-06 +/- 9.05e-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/19485549/cmap_HighResolution_710812801_711072001_4FGL_J2334.8+1432_daily_bin1819.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', energy_flux2='8.63e-06', dlogl='9.56e-01', photon_flux2='6.22e-08', job_status='DONE', time_completed='2023-07-15 01:25:04.801951', photon_index_error2='4.67', photon_index2='4.92', ts='0.00', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='4.23e-08', energy_flux_error2='9.05e-06', EG='0.67', time_epoch_completed='1689409504.8', return_code='0', job_id='19485549', GAL2='1.21', EG2='0.58', return_code2='102', photon_flux_error2='5.17e-08', ts2='2.08', photon_index='1.90' WHERE bin_id='1819' AND source_name='4FGL J2334.8+1432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 15 01:25:04 PDT 2023

