/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_J0325.7+2225_weekly_bin853
RA = 51.4421, Dec = 22.4326
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='59976498', job_status='RUN', time_executed='2024-12-10 00:02:21.509733', time_epoch_executed='1733817741.51' WHERE source_name='4FGL J0325.7+2225' and cadence='weekly' and bin_id='853'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/59976498

Creating custom pfile directory:
/lscratch/kocevski/59976498/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/59976498/ft1_4FGL_J0325.7+2225_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/59976498/ft2_4FGL_J0325.7+2225_weekly_bin853.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/59976498/ft1_4FGL_J0325.7+2225_weekly_bin853.fits outfile=/lscratch/kocevski/59976498/ft1_filteredMKT_4FGL_J0325.7+2225_weekly_bin853.fits ra=51.4421 dec=22.4326 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.03
user 2.61
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/59976498/ft2_4FGL_J0325.7+2225_weekly_bin853.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/59976498/ft2_4FGL_J0325.7+2225_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/59976498/ft1_filteredMKT_4FGL_J0325.7+2225_weekly_bin853.fits evtable="EVENTS" outfile="/lscratch/kocevski/59976498/ft1_filtered_4FGL_J0325.7+2225_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.60
user 0.27
sys 0.15

Number of photons that the gtmktime cut: 330

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/59976498/ft1_filtered_4FGL_J0325.7+2225_weekly_bin853.fits" evtable="EVENTS" scfile=/lscratch/kocevski/59976498/ft2_4FGL_J0325.7+2225_weekly_bin853.fits sctable="SC_DATA" outfile=/lscratch/kocevski/59976498/ltcube_754876801_755481601_4FGL_J0325.7+2225_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/59976498/ft2_4FGL_J0325.7+2225_weekly_bin853.fits
.....................!
real 29.86
user 29.14
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/59976498/ft1_filtered_4FGL_J0325.7+2225_weekly_bin853.fits evtable="EVENTS" scfile=/lscratch/kocevski/59976498/ft2_4FGL_J0325.7+2225_weekly_bin853.fits sctable="SC_DATA" expcube=/lscratch/kocevski/59976498/ltcube_754876801_755481601_4FGL_J0325.7+2225_weekly_bin853.fits outfile=/lscratch/kocevski/59976498/expmap_754876801_755481601_4FGL_J0325.7+2225_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/59976498/ltcube_754876801_755481601_4FGL_J0325.7+2225_weekly_bin853.fits
.....................!
real 59.17
user 55.58
sys 3.19

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

Setting source of interest to:
4FGL J0325.7+2225 @ 51.4421 22.4326

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/59976498/ft1_filtered_4FGL_J0325.7+2225_weekly_bin853.fits scfile=/lscratch/kocevski/59976498/ft2_4FGL_J0325.7+2225_weekly_bin853.fits outfile=/lscratch/kocevski/59976498/cmap_754876801_755481601_4FGL_J0325.7+2225_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=51.4421 yref=22.4326 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.51
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/59976498/ft1_filtered_4FGL_J0325.7+2225_weekly_bin853.fits scfile=/lscratch/kocevski/59976498/ft2_4FGL_J0325.7+2225_weekly_bin853.fits outfile=/lscratch/kocevski/59976498/cmap_HighResolution_754876801_755481601_4FGL_J0325.7+2225_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=51.4421 yref=22.4326 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.49
user 0.20
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/59976498/ft1_filtered_4FGL_J0325.7+2225_weekly_bin853.fits evtable="EVENTS" scfile=/lscratch/kocevski/59976498/ft2_4FGL_J0325.7+2225_weekly_bin853.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/59976498/Model_4FGL_J0325.7+2225_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/59976498/ft1_filtered_4FGL_J0325.7+2225_weekly_bin853.fits.....................!
real 22.74
user 21.86
sys 0.55

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/59976498/ft1_filtered_4FGL_J0325.7+2225_weekly_bin853.fits', '/lscratch/kocevski/59976498/ft2_4FGL_J0325.7+2225_weekly_bin853.fits', expMap='/lscratch/kocevski/59976498/expmap_754876801_755481601_4FGL_J0325.7+2225_weekly_bin853.fits', expCube='/lscratch/kocevski/59976498/ltcube_754876801_755481601_4FGL_J0325.7+2225_weekly_bin853.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/59976498/Model_4FGL_J0325.7+2225_weekly_bin853.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0325.7+2225'

4FGL J0325.7+2225
   Spectrum: LogParabola
326         norm:  2.137e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
327        alpha:  2.537e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.671e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  4.327e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/59976498/ft1_filtered_4FGL_J0325.7+2225_weekly_bin853.fits
Spacecraft file(s): /lscratch/kocevski/59976498/ft2_4FGL_J0325.7+2225_weekly_bin853.fits
Exposure map: /lscratch/kocevski/59976498/expmap_754876801_755481601_4FGL_J0325.7+2225_weekly_bin853.fits
Exposure cube: /lscratch/kocevski/59976498/ltcube_754876801_755481601_4FGL_J0325.7+2225_weekly_bin853.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/59976498/Model_4FGL_J0325.7+2225_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) = 3572.55766782

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84802E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .95979E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.415       1.0000          .0000       .10000E+07
     4 'norm      '    .21649E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1825       1.0000          .0000       .10000E+07
     6 'Prefactor '    .31963E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .52578E-01   1.0000          .0000       .10000E+07
     8 'norm      '    3.0724       1.0000          .0000       .10000E+07
     9 'norm      '    .16653E-08   1.0000          .0000       .10000E+07
    10 'norm      '    .89934E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .55413E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.3403       1.0000          .0000       .10000E+07
    13 'Normalizat'    .83025       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .92606       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3572.555     FROM MIGRAD    STATUS=CONVERGED    123 CALLS      948 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19189E-05    15.959       -.11335E-05** at limit **
   2  Prefactor     .16392E-06    39.068       -.18294E-05** at limit **
   3  Prefactor     12.484        4.3570        .23474E-06    .29774E-01
   4  norm          .39694E-05    12.610       -.13036E-05** at limit **
   5  Prefactor     5.1908        12.267        .27363E-05   -.61308E-03
   6  Prefactor     .12879E-07    23.902        .18438E-05** at limit **
   7  Prefactor     .53450E-01    36.167        .67750E-05** at limit **
   8  norm          3.0729        3.9795       -.38945E-06   -.40235E-03
   9  norm           .0000        1.1705       -.22982E-07** at limit **
  10  norm          .55511E-10    4.6637        .45217E-06** at limit **
  11  norm          .67335E-07    82.375       -.58499E-06** at limit **
  12  Prefactor     7.1355        2.7610       -.55647E-07   -.54846E-02
  13  Normalizat    .83053        .40046       -.18559E-04    .35179E-04
  14  Prefactor     .92601        .12122        .20555E-05    .71989E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.91891e-06
  Prefactor  = 1.63924e-07
  Prefactor  = 12.4841
  norm       = 3.96944e-06
  Prefactor  = 5.19083
  Prefactor  = 1.28786e-08
  Prefactor  = 0.0534503
  norm       = 3.07288
  norm       = 0
  norm       = 5.55112e-11
  norm       = 6.7335e-08
  Prefactor  = 7.13549
  Normalizat = 0.830528
  Prefactor  = 0.92601
 **********
 **   18 **HESSE 
 **********

 FCN=   3572.555     FROM HESSE     STATUS=OK           196 CALLS     1144 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19189E-05    27.144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16392E-06    40.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.484        23.058        .28404E-03   -1.5637    
   4  norm          .39694E-05    30.381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.1908        12.374        .44135E-03   -1.5662    
   6  Prefactor     .12879E-07    24.180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .53450E-01    1.9286        .54072E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.0729        4.0217        .57844E-03   -1.5673    
   9  norm           .0000        1.1651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    4.7083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .67335E-07    83.203        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.1355        62.623        .36996E-03   -1.5655    
  13  Normalizat    .83053        .37315        .10781       -.98946    
  14  Prefactor     .92601        .11143        .30791E-01   -.95238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64365e-07
Minuit parameter uncertainties:
  1  0.0144342
  2  0.00512229
  3  23.0579
  4  0.0219631
  5  12.3742
  6  0.00111711
  7  0.642132
  8  4.02173
  9  2.19818e-06
  10  3.25915e-05
  11  0.00473333
  12  42.278
  13  0.374313
  14  0.111457
Done.

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

Extracting fit parameters...

4FGL J0325.7+2225
   Spectrum: LogParabola
326         norm:  3.073e+00  4.022e+00  0.000e+00  1.000e+06 ( 1.000e-11)
327        alpha:  2.537e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.671e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  4.327e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  9.260e-01  1.115e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  8.305e-01  3.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.04
Ra Dec: 51.442 22.433
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 6.92e-08 +/- 9.05e-08
Energy Flux (Fixed Index): 1.79e-05 +/- 2.35e-05

TS (Fixed Index): 1.04
Ra Dec: 51.442 22.433
Photon Flux Upper Limit: 2.89639130874e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.51228906882e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/59976498/likelihoodResults_754876801_755481601_4FGL_J0325.7+2225_weekly_bin853.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) = 3571.07202418
delta logL = 1.48346861283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3571.03986901
delta logL = 1.51562378314

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3571.040     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      220 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9620        3.0905        .50658E-03    .18602E-02
   2  alpha         1.1585        .44400        .29103       -.40143E-04
   3  Normalizat    .88742        .36515        .10452        .16577E-04
   4  Prefactor     .90801        .11008        .30985E-01   -.18526E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.96201
  alpha      = 1.15852
  Normalizat = 0.887423
  Prefactor  = 0.908008
 **********
 **   18 **HESSE 
 **********

 FCN=   3571.040     FROM HESSE     STATUS=OK            33 CALLS      253 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9620        3.6782        .88298E-05   -1.5668    
   2  alpha         1.1585        .56094        .12099E-01   -.56639    
   3  Normalizat    .88742        .39782        .46328E-03   -.96903    
   4  Prefactor     .90801        .12041        .13692E-03   -.95862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81184e-11
Minuit parameter uncertainties:
  1  3.67823
  2  0.567772
  3  0.399148
  4  0.12044
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) = 3571.0398688
delta logL = 1.51562399639

Extracting fit parameters...

4FGL J0325.7+2225
   Spectrum: LogParabola
326         norm:  3.962e+00  3.678e+00  0.000e+00  1.000e+06 ( 1.000e-11)
327        alpha:  1.159e+00  5.678e-01  0.000e+00  5.000e+00 ( 1.000e+00)
328         beta:  1.671e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  4.327e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  9.080e-01  1.204e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  8.874e-01  3.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.09
Ra Dec: 51.442 22.433
Photon Index (Free Index): 1.16 +/- 0.57
Photon Flux (Free Index): 5.53e-08 +/- 4.61e-08
Energy Flux (Free Index): 8.76e-05 +/- 9.88e-05

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/59976498/cmap_HighResolution_754876801_755481601_4FGL_J0325.7+2225_weekly_bin853.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.51e-05', comment='SUCCESS', photon_flux='6.92e-08', energy_flux2='8.76e-05', photon_flux_error='9.05e-08', dlogl='1.52e+00', energy_flux='1.79e-05', photon_flux2='5.53e-08', job_status='DONE', time_completed='2024-12-10 00:06:53.796352', photon_index_error2='0.57', photon_index2='1.16', ts='1.04', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='2.90e-07', energy_flux_error2='9.88e-05', EG='0.83', time_epoch_completed='1733818013.8', return_code='0', job_id='59976498', GAL2='0.91', EG2='0.89', return_code2='0', energy_flux_error='2.35e-05', photon_flux_error2='4.61e-08', ts2='4.09', photon_index='2.54' WHERE bin_id='853' AND source_name='4FGL J0325.7+2225' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 10 00:06:53 PST 2024

