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


Performing analysis on: 4FGL_J0028.4+2001_weekly_bin853
RA = 7.1222, Dec = 20.0311
tmin = 754876801, tmax = 755481601
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='59976286', job_status='RUN', time_executed='2024-12-10 00:01:56.710847', time_epoch_executed='1733817716.71' WHERE source_name='4FGL J0028.4+2001' and cadence='weekly' and bin_id='853'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/59976286

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/59976286/ft1_4FGL_J0028.4+2001_weekly_bin853.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/59976286/ft2_4FGL_J0028.4+2001_weekly_bin853.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/59976286/ft1_4FGL_J0028.4+2001_weekly_bin853.fits outfile=/lscratch/kocevski/59976286/ft1_filteredMKT_4FGL_J0028.4+2001_weekly_bin853.fits ra=7.1222 dec=20.0311 rad=12.0 tmin=754876801.0 tmax=755481601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.80
user 3.32
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/59976286/ft2_4FGL_J0028.4+2001_weekly_bin853.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/59976286/ft2_4FGL_J0028.4+2001_weekly_bin853.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/59976286/ft1_filteredMKT_4FGL_J0028.4+2001_weekly_bin853.fits evtable="EVENTS" outfile="/lscratch/kocevski/59976286/ft1_filtered_4FGL_J0028.4+2001_weekly_bin853.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.81
user 0.25
sys 0.14

Number of photons that the gtmktime cut: 1156

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/59976286/ft1_filtered_4FGL_J0028.4+2001_weekly_bin853.fits" evtable="EVENTS" scfile=/lscratch/kocevski/59976286/ft2_4FGL_J0028.4+2001_weekly_bin853.fits sctable="SC_DATA" outfile=/lscratch/kocevski/59976286/ltcube_754876801_755481601_4FGL_J0028.4+2001_weekly_bin853.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/59976286/ft2_4FGL_J0028.4+2001_weekly_bin853.fits
.....................!
real 41.64
user 40.12
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/59976286/ft1_filtered_4FGL_J0028.4+2001_weekly_bin853.fits evtable="EVENTS" scfile=/lscratch/kocevski/59976286/ft2_4FGL_J0028.4+2001_weekly_bin853.fits sctable="SC_DATA" expcube=/lscratch/kocevski/59976286/ltcube_754876801_755481601_4FGL_J0028.4+2001_weekly_bin853.fits outfile=/lscratch/kocevski/59976286/expmap_754876801_755481601_4FGL_J0028.4+2001_weekly_bin853.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/59976286/ltcube_754876801_755481601_4FGL_J0028.4+2001_weekly_bin853.fits
.....................!
real 77.18
user 71.73
sys 4.48

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

Setting source of interest to:
4FGL J0028.4+2001 @ 7.1222 20.0311

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/59976286/ft1_filtered_4FGL_J0028.4+2001_weekly_bin853.fits scfile=/lscratch/kocevski/59976286/ft2_4FGL_J0028.4+2001_weekly_bin853.fits outfile=/lscratch/kocevski/59976286/cmap_754876801_755481601_4FGL_J0028.4+2001_weekly_bin853.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=7.1222 yref=20.0311 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.77
user 0.26
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/59976286/ft1_filtered_4FGL_J0028.4+2001_weekly_bin853.fits scfile=/lscratch/kocevski/59976286/ft2_4FGL_J0028.4+2001_weekly_bin853.fits outfile=/lscratch/kocevski/59976286/cmap_HighResolution_754876801_755481601_4FGL_J0028.4+2001_weekly_bin853.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=7.1222 yref=20.0311 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.70
user 0.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/59976286/ft1_filtered_4FGL_J0028.4+2001_weekly_bin853.fits evtable="EVENTS" scfile=/lscratch/kocevski/59976286/ft2_4FGL_J0028.4+2001_weekly_bin853.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/59976286/Model_4FGL_J0028.4+2001_weekly_bin853.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/59976286/ft1_filtered_4FGL_J0028.4+2001_weekly_bin853.fits.....................!
real 57.26
user 54.78
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/59976286/ft1_filtered_4FGL_J0028.4+2001_weekly_bin853.fits', '/lscratch/kocevski/59976286/ft2_4FGL_J0028.4+2001_weekly_bin853.fits', expMap='/lscratch/kocevski/59976286/expmap_754876801_755481601_4FGL_J0028.4+2001_weekly_bin853.fits', expCube='/lscratch/kocevski/59976286/ltcube_754876801_755481601_4FGL_J0028.4+2001_weekly_bin853.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/59976286/Model_4FGL_J0028.4+2001_weekly_bin853.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0028.4+2001'

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.480e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/59976286/ft1_filtered_4FGL_J0028.4+2001_weekly_bin853.fits
Spacecraft file(s): /lscratch/kocevski/59976286/ft2_4FGL_J0028.4+2001_weekly_bin853.fits
Exposure map: /lscratch/kocevski/59976286/expmap_754876801_755481601_4FGL_J0028.4+2001_weekly_bin853.fits
Exposure cube: /lscratch/kocevski/59976286/ltcube_754876801_755481601_4FGL_J0028.4+2001_weekly_bin853.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/59976286/Model_4FGL_J0028.4+2001_weekly_bin853.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) = 12725.1877138

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11752E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .35017E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .14171       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.1569       1.0000          .0000       .10000E+07
     5 'norm      '    .28311E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.3404       1.0000          .0000       .10000E+07
     7 'Prefactor '    .76600E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .31567E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26224E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10636E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    14.475       1.0000          .0000       .10000E+07
    12 'norm      '    .52293       1.0000          .0000       .10000E+07
    13 'Prefactor '    .44180E-03   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0701       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .92746       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12725.15     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      858 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .96982        .67524E-07** at limit **
   2  Prefactor     .20217E-06    11.030       -.32611E-06** at limit **
   3  Prefactor     .14091        18.004        .82211E-06** at limit **
   4  Prefactor     4.1618        2.3973        .18939E-07   -.13999E-02
   5  norm          .55511E-09    4.1939       -.18515E-06** at limit **
   6  Prefactor     2.3215        3.3811       -.11125E-06    .35339E-01
   7  Prefactor     .55511E-10    3.8303       -.78759E-07** at limit **
   8  norm           .0000        1.7143       -.17556E-07** at limit **
   9  Prefactor      .0000        1.5053       -.80461E-08** at limit **
  10  Prefactor     .11913E-06    13.925       -.23701E-06** at limit **
  11  Prefactor     15.218        19.492       -.82222E-07   -.26824E-01
  12  norm          .52298        .42298       -.82316E-08    .86506E-03
  13  Prefactor      .0000        2.2216       -.64797E-07** at limit **
  14  Normalizat    1.0701        .14757       -.16390E-05    .31900E-04
  15  Prefactor     .92730        .10138        .39585E-06    .38045E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 2.02172e-07
  Prefactor  = 0.140905
  Prefactor  = 4.16179
  norm       = 5.55112e-10
  Prefactor  = 2.32146
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.19127e-07
  Prefactor  = 15.2184
  norm       = 0.52298
  Prefactor  = 0
  Normalizat = 1.07008
  Prefactor  = 0.927302
 **********
 **   18 **HESSE 
 **********

 FCN=   12725.15     FROM HESSE     STATUS=OK           220 CALLS     1078 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .95849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .20217E-06    2.3223        .63612E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .14091        2.7429        .56424E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.1618        2.4647        .49411E-03   -1.5667    
   5  norm          .55511E-09    4.1628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3215        30.114        .66993E-03   -1.5677    
   7  Prefactor     .55511E-10    3.8357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.7216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.5014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11913E-06    17.817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.218        23.216        .26300E-03   -1.5630    
  12  norm          .52298        .43034        .76436E-03   -1.5693    
  13  Prefactor      .0000        2.2125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.0701        .12535        .59097E-01   -.90718    
  15  Prefactor     .92730        .85443E-01    .45354E-01   -.95194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92844e-07
Minuit parameter uncertainties:
  1  9.5638e-07
  2  0.00137035
  3  1.24337
  4  2.46473
  5  9.38006e-05
  6  16.7224
  7  2.60207e-05
  8  5.55622e-06
  9  8.32259e-08
  10  0.00291348
  11  23.2164
  12  0.430337
  13  5.82626e-06
  14  0.125386
  15  0.0854553
Done.

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

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  4.162e+00  2.465e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  9.273e-01  8.546e-02  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.070e+00  1.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.39
Ra Dec: 7.122 20.031
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 4.42e-08 +/- 2.61e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 8.42e-06

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) = 12725.1338235
delta logL = 0.0119698779999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12725.1318666
delta logL = 0.0139267793747

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12725.13     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      237 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3058        2.6562        .13181E-04    .76523E-02
   2  Index         2.3278        .51914        .82793E-02    .12596E-03
   3  Normalizat    1.0746        .14946        .26088E-03   -.13849E-03
   4  Prefactor     .92544        .10184        .19234E-03   -.21487E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.30581
  Index      = 2.3278
  Normalizat = 1.07461
  Prefactor  = 0.925438
 **********
 **   18 **HESSE 
 **********

 FCN=   12725.13     FROM HESSE     STATUS=OK            25 CALLS      262 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3058        2.6199        .52723E-06   -1.5666    
   2  Index         2.3278        .51152        .33117E-03   -.56384    
   3  Normalizat    1.0746        .14949        .10435E-04   -.90571    
   4  Prefactor     .92544        .10189        .38468E-04   -.95258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51931e-10
Minuit parameter uncertainties:
  1  2.61991
  2  0.512781
  3  0.149553
  4  0.101906
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) = 12725.1318663
delta logL = 0.0139270247746

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  4.306e+00  2.620e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.328e+00  5.128e-01  0.000e+00  1.000e+01 (-1.000e+00)
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  9.254e-01  1.019e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.075e+00  1.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.41
Ra Dec: 7.122 20.031
Photon Index (Free Index): 2.33 +/- 0.51
Photon Flux (Free Index): 4.07e-08 +/- 3.19e-08
Energy Flux (Free Index): 1.48e-05 +/- 9.42e-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/59976286/cmap_HighResolution_754876801_755481601_4FGL_J0028.4+2001_weekly_bin853.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.42e-08', energy_flux2='1.48e-05', photon_flux_error='2.61e-08', dlogl='1.39e-02', energy_flux='1.42e-05', photon_flux2='4.07e-08', job_status='DONE', time_completed='2024-12-10 00:09:05.436792', photon_index_error2='0.51', photon_index2='2.33', ts='6.39', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='9.42e-06', EG='1.07', time_epoch_completed='1733818145.44', return_code='0', job_id='59976286', GAL2='0.93', EG2='1.07', return_code2='0', energy_flux_error='8.42e-06', photon_flux_error2='3.19e-08', ts2='6.41', photon_index='2.41' WHERE bin_id='853' AND source_name='4FGL J0028.4+2001' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 10 00:09:05 PST 2024

