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

 FCN=   5785.219     FROM HESSE     STATUS=OK           337 CALLS     1874 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.321        29.601        .25560E-03   -1.5630    
   2  Prefactor     .22615E-06    16.506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.3125        19.215        .34697E-03   -1.5650    
   4  Prefactor     .13593E-05    10.234        .11093E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11746E-06    17.397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.1382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .86206        .63101        .48359E-03   -1.5689    
   8  Prefactor     15.027        43.210        .25833E-03   -1.5630    
   9  Prefactor     .35305E-07    12.304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        7.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .42522        .68676        .15931E-02   -1.5695    
  12  Prefactor      .0000        25.222        .16371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .32509        .29295        .78571E-03   -1.5697    
  14  norm          34.002        10.381        .17160E-03   -1.5591    
  15  Prefactor     9.7948        30.267        .31971E-03   -1.5645    
  16  Prefactor     14.728        12.612        .26070E-03   -1.5631    
  17  Prefactor      .0000        2.6443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .52654        .32241        .74556E-03   -1.5693    
  19  Normalizat    1.1008        .17367        .37967E-01   -.89726    
  20  Prefactor     .89636        .19763        .44954E-01   -.96268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72803e-07
Minuit parameter uncertainties:
  1  29.6015
  2  0.00386429
  3  19.2149
  4  0.00745964
  5  0.00285889
  6  4.14346e-06
  7  0.631006
  8  43.2112
  9  0.00131776
  10  1.33209e-05
  11  0.686763
  12  1.57923e-05
  13  0.292949
  14  10.3806
  15  30.2675
  16  12.6121
  17  3.71737e-06
  18  0.32241
  19  0.173761
  20  0.197783
number of points = 7669
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0334.2-3725_daily_bin2180
RA = 53.5556, Dec = -37.4327
tmin = 804384001, tmax = 804643201
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='31063507', job_status='RUN', time_executed='2026-07-08 15:34:57.169070', time_epoch_executed='1783550097.17' WHERE source_name='4FGL J0334.2-3725' and cadence='daily' and bin_id='2180'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31063507

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31063507/ft1_4FGL_J0334.2-3725_daily_bin2180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31063507/ft2_4FGL_J0334.2-3725_daily_bin2180.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31063507/ft1_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063507/ft1_filteredMKT_4FGL_J0334.2-3725_daily_bin2180.fits ra=53.5556 dec=-37.4327 rad=12.0 tmin=804384001.0 tmax=804643201.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 2.23
user 1.75
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31063507/ft2_4FGL_J0334.2-3725_daily_bin2180.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31063507/ft2_4FGL_J0334.2-3725_daily_bin2180.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/31063507/ft1_filteredMKT_4FGL_J0334.2-3725_daily_bin2180.fits evtable="EVENTS" outfile="/lscratch/kocevski/31063507/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.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.64
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 529

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31063507/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31063507/ft2_4FGL_J0334.2-3725_daily_bin2180.fits sctable="SC_DATA" 
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.

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

Extracting fit parameters...

4FGL J0334.2-3725
   Spectrum: LogParabola
263         norm:  0.000e+00  4.143e-06  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  1.916e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  6.798e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  9.584e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.964e-01  1.978e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.101e+00  1.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 53.556 -37.433
Photon Flux Upper Limit: 3.63983776688e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31063272/likelihoodResults_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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) = 5785.21921257
delta logL = -0.000479913322124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5785.2187329
delta logL = -2.43718204729e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5785.219     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      243 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .95662        .42118E-03** at limit **
   2  alpha         3.1055        1.2401       -.10346E-04     .0000    
   3  Normalizat    1.1008        1.1549        .41217E-05   -.23869E-04
   4  Prefactor     .89636        1.2415       -.70921E-05    .34089E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.10549
  Normalizat = 1.10081
  Prefactor  = 0.896362
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5785.219     FROM HESSE     STATUS=FAILED         7 CALLS      250 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .95662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8443        1.2401       -.10346E-04    .24463    
   3  Normalizat    1.1008        1.1549        .41217E-05   -.89726    
   4  Prefactor     .89636        1.2415       -.70921E-05   -.96268    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.07265e-11
Minuit parameter uncertainties:
  1  2.46631e-06
  2  1.30166
  3  1.18308
  4  1.28432
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) = 5785.21873266
delta logL = -7.27595761418e-12

Extracting fit parameters...

4FGL J0334.2-3725
   Spectrum: LogParabola
263         norm:  0.000e+00  2.466e-06  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  3.105e+00  1.302e+00  0.000e+00  5.000e+00 ( 1.000e+00)
265         beta:  6.798e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  9.584e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.964e-01  1.284e+00  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.101e+00  1.183e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 53.556 -37.433

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/31063272/cmap_HighResolution_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='3.64e-08', time_completed='2026-07-08 15:36:51.031282', job_id='31063272', GAL2='0.90', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1783550211.03', return_code2='101', ts='0.00', return_code='0', GAL='0.90', dlogl='-7.28e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='2180' AND source_name='4FGL J0334.2-3725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 15:36:51 PDT 2026

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


Performing analysis on: 4FGL_J0334.2-3725_daily_bin2180
RA = 53.5556, Dec = -37.4327
tmin = 804384001, tmax = 804643201
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='31063752', job_status='RUN', time_executed='2026-07-08 15:35:48.186715', time_epoch_executed='1783550148.19' WHERE source_name='4FGL J0334.2-3725' and cadence='daily' and bin_id='2180'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31063752

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31063752/ft1_4FGL_J0334.2-3725_daily_bin2180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31063752/ft2_4FGL_J0334.2-3725_daily_bin2180.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31063752/ft1_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063752/ft1_filteredMKT_4FGL_J0334.2-3725_daily_bin2180.fits ra=53.5556 dec=-37.4327 rad=12.0 tmin=804384001.0 tmax=804643201.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 2.40
user 1.75
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31063752/ft2_4FGL_J0334.2-3725_daily_bin2180.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31063752/ft2_4FGL_J0334.2-3725_daily_bin2180.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/31063752/ft1_filteredMKT_4FGL_J0334.2-3725_daily_bin2180.fits evtable="EVENTS" outfile="/lscratch/kocevski/31063752/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.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.66
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 529

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31063752/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31063752/ft2_4FGL_J0334.2-3725_daily_bin2180.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31063507/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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/31063507/ft2_4FGL_J0334.2-3725_daily_bin2180.fits
.....................!
real 8.90
user 8.35
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31063507/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31063507/ft2_4FGL_J0334.2-3725_daily_bin2180.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31063507/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063507/expmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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/31063507/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits
.....................!
real 69.50
user 64.76
sys 4.09

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
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 179 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0334.2-3725 @ 53.5556 -37.4327

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31063507/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits scfile=/lscratch/kocevski/31063507/ft2_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063507/cmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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=53.5556 yref=-37.4327 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.66
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31063507/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits scfile=/lscratch/kocevski/31063507/ft2_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063507/cmap_HighResolution_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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=53.5556 yref=-37.4327 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.62
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31063507/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31063507/ft2_4FGL_J0334.2-3725_daily_bin2180.finumber of points = 7669
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0334.2-3725_daily_bin2180
RA = 53.5556, Dec = -37.4327
tmin = 804384001, tmax = 804643201
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='31063455', job_status='RUN', time_executed='2026-07-08 15:36:46.865716', time_epoch_executed='1783550206.87' WHERE source_name='4FGL J0334.2-3725' and cadence='daily' and bin_id='2180'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31063455

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31063455/ft1_4FGL_J0334.2-3725_daily_bin2180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31063455/ft2_4FGL_J0334.2-3725_daily_bin2180.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31063455/ft1_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063455/ft1_filteredMKT_4FGL_J0334.2-3725_daily_bin2180.fits ra=53.5556 dec=-37.4327 rad=12.0 tmin=804384001.0 tmax=804643201.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 2.35
user 1.86
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31063455/ft2_4FGL_J0334.2-3725_daily_bin2180.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31063455/ft2_4FGL_J0334.2-3725_daily_bin2180.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/31063455/ft1_filteredMKT_4FGL_J0334.2-3725_daily_bin2180.fits evtable="EVENTS" outfile="/lscratch/kocevski/31063455/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.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.67
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 529

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31063455/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31063455/ft2_4FGL_J0334.2-3725_daily_bin2180.fits sctable="SC_DATA" /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)
outfile=/lscratch/kocevski/31063752/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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/31063752/ft2_4FGL_J0334.2-3725_daily_bin2180.fits
.....................!
real 8.97
user 8.26
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31063752/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31063752/ft2_4FGL_J0334.2-3725_daily_bin2180.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31063752/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063752/expmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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/31063752/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits
.....................!
real 71.56
user 66.69
sys 4.20

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
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 179 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0334.2-3725 @ 53.5556 -37.4327

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31063752/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits scfile=/lscratch/kocevski/31063752/ft2_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063752/cmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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=53.5556 yref=-37.4327 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 1.21
user 0.24
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31063752/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits scfile=/lscratch/kocevski/31063752/ft2_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063752/cmap_HighResolution_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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=53.5556 yref=-37.4327 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.98
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31063752/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31063752/ft2_4FGL_J0334.2-3725_daily_bin2180.fioutfile=/lscratch/kocevski/31063455/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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/31063455/ft2_4FGL_J0334.2-3725_daily_bin2180.fits
.....................!
real 9.24
user 8.61
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31063455/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31063455/ft2_4FGL_J0334.2-3725_daily_bin2180.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31063455/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063455/expmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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/31063455/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits
.....................!
real 73.71
user 68.43
sys 4.39

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 179 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0334.2-3725 @ 53.5556 -37.4327

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31063455/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits scfile=/lscratch/kocevski/31063455/ft2_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063455/cmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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=53.5556 yref=-37.4327 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.79
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31063455/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits scfile=/lscratch/kocevski/31063455/ft2_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063455/cmap_HighResolution_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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=53.5556 yref=-37.4327 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.67
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31063455/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31063455/ft2_4FGL_J0334.2-3725_daily_bin2180.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31063507/Model_4FGL_J0334.2-3725_daily_bin2180.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/31063507/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits.....................!
real 50.07
user 48.39
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31063507/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits', '/lscratch/kocevski/31063507/ft2_4FGL_J0334.2-3725_daily_bin2180.fits', expMap='/lscratch/kocevski/31063507/expmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits', expCube='/lscratch/kocevski/31063507/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31063507/Model_4FGL_J0334.2-3725_daily_bin2180.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0334.2-3725'

4FGL J0334.2-3725
   Spectrum: LogParabola
263         norm:  3.336e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  1.916e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  6.798e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  9.584e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31063507/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31063507/ft2_4FGL_J0334.2-3725_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31063507/expmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31063507/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31063507/Model_4FGL_J0334.2-3725_daily_bin2180.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) = 5785.21925886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.323       1.0000          .0000       .10000E+07
     2 'Prefactor '    .58268E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.3368       1.0000          .0000       .10000E+07
     4 'Prefactor '    .24064       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10945E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .22149E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .86290       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.001       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12400E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .99993E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .42417       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31532E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .32612       1.0000          .0000       .10000E+07
    14 'norm      '    33.968       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.8089       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.731       1.0000          .0000       .10000E+07
    17 'Prefactor '    .36491E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .52670       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1008       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .89599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5785.219     FROM MIGRAD    STATUS=CONVERGED     94 CALLS     1537 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.321        2.0956       -.18801E-07    .15145E-01
   2  Prefactor     .22615E-06    9.7831        .39163E-06** at limit **
   3  Prefactor     8.3125        1.2109       -.10829E-07    .14134E-02
   4  Prefactor     .13593E-05    46.199       -.31473E-06** at limit **
   5  Prefactor     .11746E-06    12.684        .12214E-06** at limit **
   6  norm           .0000        1.1400       -.12615E-06** at limit **
   7  norm          .86206        .62793        .36334E-07   -.22900E-02
   8  Prefactor     15.027        1.6592        .13511E-07   -.13430E-01
   9  Prefactor     .35305E-07    11.700        .37231E-06** at limit **
  10  Prefactor      .0000        7.2763        .25749E-06** at limit **
  11  norm          .42522        .59739        .35641E-07   -.13150E-02
  12  Prefactor      .0000        25.207       -.93676E-07** at limit **
  13  norm          .32509        .27750        .29541E-07   -.36498E-02
  14  norm          34.002        9.5807       -.75895E-08   -.13579E-01
  15  Prefactor     9.7948        4.9744       -.63227E-07    .32541E-01
  16  Prefactor     14.728        4.4870        .26668E-07    .32760E-01
  17  Prefactor      .0000        2.6403       -.86187E-07** at limit **
  18  norm          .52654        .32298        .22142E-07   -.33390E-02
  19  Normalizat    1.1008        .19726        .15706E-05    .76062E-06
  20  Prefactor     .89636        .22680       -.33324E-05    .16032E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3212
  Prefactor  = 2.26152e-07
  Prefactor  = 8.31246
  Prefactor  = 1.3593e-06
  Prefactor  = 1.17462e-07
  norm       = 0
  norm       = 0.862058
  Prefactor  = 15.0271
  Prefactor  = 3.53051e-08
  Prefactor  = 0
  norm       = 0.425224
  Prefactor  = 0
  norm       = 0.325095
  norm       = 34.0022
  Prefactor  = 9.79484
  Prefactor  = 14.7284
  Prefactor  = 0
  norm       = 0.526539
  Normalizat = 1.10081
  Prefactor  = 0.896361
 **********
 **   18 **HESSE 
 **********

 FCN=   5785.219     FROM HESSE     STATUS=OK           337 CALLS     1874 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.321        29.601        .25560E-03   -1.5630    
   2  Prefactor     .22615E-06    16.506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.3125        19.215        .34697E-03   -1.5650    
   4  Prefactor     .13593E-05    10.234        .11093E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11746E-06    17.397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.1382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .86206        .63101        .48359E-03   -1.5689    
   8  Prefactor     15.027        43.210        .25833E-03   -1.5630    
   9  Prefactor     .35305E-07    12.304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        7.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .42522        .68676        .15931E-02   -1.5695    
  12  Prefactor      .0000        25.222        .16371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .32509        .29295        .78571E-03   -1.5697    
  14  norm          34.002        10.381        .17160E-03   -1.5591    
  15  Prefactor     9.7948        30.267        .31971E-03   -1.5645    
  16  Prefactor     14.728        12.612        .26070E-03   -1.5631    
  17  Prefactor      .0000        2.6443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .52654        .32241        .74556E-03   -1.5693    
  19  Normalizat    1.1008        .17367        .37967E-01   -.89726    
  20  Prefactor     .89636        .19763        .44954E-01   -.96268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72803e-07
Minuit parameter uncertainties:
  1  29.6015
  2  0.00386429
  3  19.2149
  4  0.00745964
  5  0.00285889
  6  4.14346e-06
  7  0.631006
  8  43.2112
  9  0.00131776
  10  1.33209e-05
  11  0.686763
  12  1.57923e-05
  13  0.292949
  14  10.3806
  15  30.2675
  16  12.6121
  17  3.71737e-06
  18  0.32241
  19  0.173761
  20  0.197783
Done.

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

Extracting fit parameters...

4FGL J0334.2-3725
   Spectrum: LogParabola
263         norm:  0.000e+00  4.143e-06  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  1.916e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  6.798e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  9.584e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.964e-01  1.978e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.101e+00  1.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 53.556 -37.433
Photon Flux Upper Limit: 3.63983776688e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31063507/likelihoodResults_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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) = 5785.21921257
delta logL = -0.000479913322124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5785.2187329
delta logL = -2.43718204729e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5785.219     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      243 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .95662        .42118E-03** at limit **
   2  alpha         3.1055        1.2401       -.10346E-04     .0000    
   3  Normalizat    1.1008        1.1549        .41217E-05   -.23869E-04
   4  Prefactor     .89636        1.2415       -.70921E-05    .34089E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.10549
  Normalizat = 1.10081
  Prefactor  = 0.896362
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5785.219     FROM HESSE     STATUS=FAILED         7 CALLS      250 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .95662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8443        1.2401       -.10346E-04    .24463    
   3  Normalizat    1.1008        1.1549        .41217E-05   -.89726    
   4  Prefactor     .89636        1.2415       -.70921E-05   -.96268    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.07265e-11
Minuit parameter uncertainties:
  1  2.46631e-06
  2  1.30166
  3  1.18308
  4  1.28432
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) = 5785.21873266
delta logL = -7.27595761418e-12

Extracting fit parameters...

4FGL J0334.2-3725
   Spectrum: LogParabola
263         norm:  0.000e+00  2.466e-06  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  3.105e+00  1.302e+00  0.000e+00  5.000e+00 ( 1.000e+00)
265         beta:  6.798e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  9.584e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.964e-01  1.284e+00  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.101e+00  1.183e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 53.556 -37.433

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/31063507/cmap_HighResolution_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='3.64e-08', time_completed='2026-07-08 15:40:56.809206', job_id='31063507', GAL2='0.90', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1783550456.81', return_code2='101', ts='0.00', return_code='0', GAL='0.90', dlogl='-7.28e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='2180' AND source_name='4FGL J0334.2-3725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 15:40:57 PDT 2026


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

ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/31063752/Model_4FGL_J0334.2-3725_daily_bin2180.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/31063752/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits.....................!
real 53.50
user 50.42
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31063752/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits', '/lscratch/kocevski/31063752/ft2_4FGL_J0334.2-3725_daily_bin2180.fits', expMap='/lscratch/kocevski/31063752/expmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits', expCube='/lscratch/kocevski/31063752/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31063752/Model_4FGL_J0334.2-3725_daily_bin2180.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0334.2-3725'

4FGL J0334.2-3725
   Spectrum: LogParabola
263         norm:  3.336e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  1.916e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  6.798e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  9.584e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31063752/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31063752/ft2_4FGL_J0334.2-3725_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31063752/expmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31063752/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31063752/Model_4FGL_J0334.2-3725_daily_bin2180.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) = 5785.21925886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.323       1.0000          .0000       .10000E+07
     2 'Prefactor '    .58268E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.3368       1.0000          .0000       .10000E+07
     4 'Prefactor '    .24064       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10945E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .22149E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .86290       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.001       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12400E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .99993E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .42417       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31532E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .32612       1.0000          .0000       .10000E+07
    14 'norm      '    33.968       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.8089       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.731       1.0000          .0000       .10000E+07
    17 'Prefactor '    .36491E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .52670       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1008       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .89599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5785.219     FROM MIGRAD    STATUS=CONVERGED     94 CALLS     1537 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.321        2.0956       -.18801E-07    .15145E-01
   2  Prefactor     .22615E-06    9.7831        .39163E-06** at limit **
   3  Prefactor     8.3125        1.2109       -.10829E-07    .14134E-02
   4  Prefactor     .13593E-05    46.199       -.31473E-06** at limit **
   5  Prefactor     .11746E-06    12.684        .12214E-06** at limit **
   6  norm           .0000        1.1400       -.12615E-06** at limit **
   7  norm          .86206        .62793        .36334E-07   -.22900E-02
   8  Prefactor     15.027        1.6592        .13511E-07   -.13430E-01
   9  Prefactor     .35305E-07    11.700        .37231E-06** at limit **
  10  Prefactor      .0000        7.2763        .25749E-06** at limit **
  11  norm          .42522        .59739        .35641E-07   -.13150E-02
  12  Prefactor      .0000        25.207       -.93676E-07** at limit **
  13  norm          .32509        .27750        .29541E-07   -.36498E-02
  14  norm          34.002        9.5807       -.75895E-08   -.13579E-01
  15  Prefactor     9.7948        4.9744       -.63227E-07    .32541E-01
  16  Prefactor     14.728        4.4870        .26668E-07    .32760E-01
  17  Prefactor      .0000        2.6403       -.86187E-07** at limit **
  18  norm          .52654        .32298        .22142E-07   -.33390E-02
  19  Normalizat    1.1008        .19726        .15706E-05    .76062E-06
  20  Prefactor     .89636        .22680       -.33324E-05    .16032E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3212
  Prefactor  = 2.26152e-07
  Prefactor  = 8.31246
  Prefactor  = 1.3593e-06
  Prefactor  = 1.17462e-07
  norm       = 0
  norm       = 0.862058
  Prefactor  = 15.0271
  Prefactor  = 3.53051e-08
  Prefactor  = 0
  norm       = 0.425224
  Prefactor  = 0
  norm       = 0.325095
  norm       = 34.0022
  Prefactor  = 9.79484
  Prefactor  = 14.7284
  Prefactor  = 0
  norm       = 0.526539
  Normalizat = 1.10081
  Prefactor  = 0.896361
 **********
 **   18 **HESSE 
 **********

 FCN=   5785.219     FROM HESSE     STATUS=OK           337 CALLS     1874 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.321        29.601        .25560E-03   -1.5630    
   2  Prefactor     .22615E-06    16.506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.3125        19.215        .34697E-03   -1.5650    
   4  Prefactor     .13593E-05    10.234        .11093E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11746E-06    17.397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.1382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .86206        .63101        .48359E-03   -1.5689    
   8  Prefactor     15.027        43.210        .25833E-03   -1.5630    
   9  Prefactor     .35305E-07    12.304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        7.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .42522        .68676        .15931E-02   -1.5695    
  12  Prefactor      .0000        25.222        .16371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .32509        .29295        .78571E-03   -1.5697    
  14  norm          34.002        10.381        .17160E-03   -1.5591    
  15  Prefactor     9.7948        30.267        .31971E-03   -1.5645    
  16  Prefactor     14.728        12.612        .26070E-03   -1.5631    
  17  Prefactor      .0000        2.6443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .52654        .32241        .74556E-03   -1.5693    
  19  Normalizat    1.1008        .17367        .37967E-01   -.89726    
  20  Prefactor     .89636        .19763        .44954E-01   -.96268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72803e-07
Minuit parameter uncertainties:
  1  29.6015
  2  0.00386429
  3  19.2149
  4  0.00745964
  5  0.00285889
  6  4.14346e-06
  7  0.631006
  8  43.2112
  9  0.00131776
  10  1.33209e-05
  11  0.686763
  12  1.57923e-05
  13  0.292949
  14  10.3806
  15  30.2675
  16  12.6121
  17  3.71737e-06
  18  0.32241
  19  0.173761
  20  0.197783
ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/31063455/Model_4FGL_J0334.2-3725_daily_bin2180.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/31063455/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits.....................!
real 51.28
user 49.25
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31063455/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits', '/lscratch/kocevski/31063455/ft2_4FGL_J0334.2-3725_daily_bin2180.fits', expMap='/lscratch/kocevski/31063455/expmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits', expCube='/lscratch/kocevski/31063455/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31063455/Model_4FGL_J0334.2-3725_daily_bin2180.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0334.2-3725'

4FGL J0334.2-3725
   Spectrum: LogParabola
263         norm:  3.336e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  1.916e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  6.798e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  9.584e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31063455/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31063455/ft2_4FGL_J0334.2-3725_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31063455/expmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31063455/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31063455/Model_4FGL_J0334.2-3725_daily_bin2180.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) = 5785.21925886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.323       1.0000          .0000       .10000E+07
     2 'Prefactor '    .58268E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.3368       1.0000          .0000       .10000E+07
     4 'Prefactor '    .24064       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10945E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .22149E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .86290       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.001       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12400E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .99993E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .42417       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31532E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .32612       1.0000          .0000       .10000E+07
    14 'norm      '    33.968       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.8089       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.731       1.0000          .0000       .10000E+07
    17 'Prefactor '    .36491E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .52670       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1008       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .89599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5785.219     FROM MIGRAD    STATUS=CONVERGED     94 CALLS     1537 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.321        2.0956       -.18801E-07    .15145E-01
   2  Prefactor     .22615E-06    9.7831        .39163E-06** at limit **
   3  Prefactor     8.3125        1.2109       -.10829E-07    .14134E-02
   4  Prefactor     .13593E-05    46.199       -.31473E-06** at limit **
   5  Prefactor     .11746E-06    12.684        .12214E-06** at limit **
   6  norm           .0000        1.1400       -.12615E-06** at limit **
   7  norm          .86206        .62793        .36334E-07   -.22900E-02
   8  Prefactor     15.027        1.6592        .13511E-07   -.13430E-01
   9  Prefactor     .35305E-07    11.700        .37231E-06** at limit **
  10  Prefactor      .0000        7.2763        .25749E-06** at limit **
  11  norm          .42522        .59739        .35641E-07   -.13150E-02
  12  Prefactor      .0000        25.207       -.93676E-07** at limit **
  13  norm          .32509        .27750        .29541E-07   -.36498E-02
  14  norm          34.002        9.5807       -.75895E-08   -.13579E-01
  15  Prefactor     9.7948        4.9744       -.63227E-07    .32541E-01
  16  Prefactor     14.728        4.4870        .26668E-07    .32760E-01
  17  Prefactor      .0000        2.6403       -.86187E-07** at limit **
  18  norm          .52654        .32298        .22142E-07   -.33390E-02
  19  Normalizat    1.1008        .19726        .15706E-05    .76062E-06
  20  Prefactor     .89636        .22680       -.33324E-05    .16032E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3212
  Prefactor  = 2.26152e-07
  Prefactor  = 8.31246
  Prefactor  = 1.3593e-06
  Prefactor  = 1.17462e-07
  norm       = 0
  norm       = 0.862058
  Prefactor  = 15.0271
  Prefactor  = 3.53051e-08
  Prefactor  = 0
  norm       = 0.425224
  Prefactor  = 0
  norm       = 0.325095
  norm       = 34.0022
  Prefactor  = 9.79484
  Prefactor  = 14.7284
  Prefactor  = 0
  norm       = 0.526539
  Normalizat = 1.10081
  Prefactor  = 0.896361
Done.

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

Extracting fit parameters...

4FGL J0334.2-3725
   Spectrum: LogParabola
263         norm:  0.000e+00  4.143e-06  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  1.916e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  6.798e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  9.584e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.964e-01  1.978e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.101e+00  1.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 53.556 -37.433
Photon Flux Upper Limit: 3.63983776688e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31063752/likelihoodResults_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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) = 5785.21921257
delta logL = -0.000479913322124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5785.2187329
delta logL = -2.43718204729e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5785.219     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      243 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .95662        .42118E-03** at limit **
   2  alpha         3.1055        1.2401       -.10346E-04     .0000    
   3  Normalizat    1.1008        1.1549        .41217E-05   -.23869E-04
   4  Prefactor     .89636        1.2415       -.70921E-05    .34089E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.10549
  Normalizat = 1.10081
  Prefactor  = 0.896362
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5785.219     FROM HESSE     STATUS=FAILED         7 CALLS      250 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .95662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8443        1.2401       -.10346E-04    .24463    
   3  Normalizat    1.1008        1.1549        .41217E-05   -.89726    
   4  Prefactor     .89636        1.2415       -.70921E-05   -.96268    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.07265e-11
Minuit parameter uncertainties:
  1  2.46631e-06
  2  1.30166
  3  1.18308
  4  1.28432
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) = 5785.21873266
delta logL = -7.27595761418e-12

Extracting fit parameters...

4FGL J0334.2-3725
   Spectrum: LogParabola
263         norm:  0.000e+00  2.466e-06  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  3.105e+00  1.302e+00  0.000e+00  5.000e+00 ( 1.000e+00)
265         beta:  6.798e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  9.584e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.964e-01  1.284e+00  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.101e+00  1.183e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 53.556 -37.433

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/31063752/cmap_HighResolution_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='3.64e-08', time_completed='2026-07-08 15:41:59.373047', job_id='31063752', GAL2='0.90', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1783550519.37', return_code2='101', ts='0.00', return_code='0', GAL='0.90', dlogl='-7.28e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='2180' AND source_name='4FGL J0334.2-3725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 15:41:59 PDT 2026

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

 FCN=   5785.219     FROM HESSE     STATUS=OK           337 CALLS     1874 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.321        29.601        .25560E-03   -1.5630    
   2  Prefactor     .22615E-06    16.506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.3125        19.215        .34697E-03   -1.5650    
   4  Prefactor     .13593E-05    10.234        .11093E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11746E-06    17.397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.1382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .86206        .63101        .48359E-03   -1.5689    
   8  Prefactor     15.027        43.210        .25833E-03   -1.5630    
   9  Prefactor     .35305E-07    12.304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        7.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .42522        .68676        .15931E-02   -1.5695    
  12  Prefactor      .0000        25.222        .16371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .32509        .29295        .78571E-03   -1.5697    
  14  norm          34.002        10.381        .17160E-03   -1.5591    
  15  Prefactor     9.7948        30.267        .31971E-03   -1.5645    
  16  Prefactor     14.728        12.612        .26070E-03   -1.5631    
  17  Prefactor      .0000        2.6443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .52654        .32241        .74556E-03   -1.5693    
  19  Normalizat    1.1008        .17367        .37967E-01   -.89726    
  20  Prefactor     .89636        .19763        .44954E-01   -.96268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72803e-07
Minuit parameter uncertainties:
  1  29.6015
  2  0.00386429
  3  19.2149
  4  0.00745964
  5  0.00285889
  6  4.14346e-06
  7  0.631006
  8  43.2112
  9  0.00131776
  10  1.33209e-05
  11  0.686763
  12  1.57923e-05
  13  0.292949
  14  10.3806
  15  30.2675
  16  12.6121
  17  3.71737e-06
  18  0.32241
  19  0.173761
  20  0.197783
Done.

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

Extracting fit parameters...

4FGL J0334.2-3725
   Spectrum: LogParabola
263         norm:  0.000e+00  4.143e-06  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  1.916e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  6.798e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  9.584e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.964e-01  1.978e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.101e+00  1.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 53.556 -37.433
Photon Flux Upper Limit: 3.63983776688e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31063455/likelihoodResults_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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) = 5785.21921257
delta logL = -0.000479913322124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5785.2187329
delta logL = -2.43718204729e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5785.219     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      243 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .95662        .42118E-03** at limit **
   2  alpha         3.1055        1.2401       -.10346E-04     .0000    
   3  Normalizat    1.1008        1.1549        .41217E-05   -.23869E-04
   4  Prefactor     .89636        1.2415       -.70921E-05    .34089E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.10549
  Normalizat = 1.10081
  Prefactor  = 0.896362
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5785.219     FROM HESSE     STATUS=FAILED         7 CALLS      250 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .95662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8443        1.2401       -.10346E-04    .24463    
   3  Normalizat    1.1008        1.1549        .41217E-05   -.89726    
   4  Prefactor     .89636        1.2415       -.70921E-05   -.96268    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.07265e-11
Minuit parameter uncertainties:
  1  2.46631e-06
  2  1.30166
  3  1.18308
  4  1.28432
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) = 5785.21873266
delta logL = -7.27595761418e-12

Extracting fit parameters...

4FGL J0334.2-3725
   Spectrum: LogParabola
263         norm:  0.000e+00  2.466e-06  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  3.105e+00  1.302e+00  0.000e+00  5.000e+00 ( 1.000e+00)
265         beta:  6.798e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  9.584e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.964e-01  1.284e+00  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.101e+00  1.183e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 53.556 -37.433

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/31063455/cmap_HighResolution_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='3.64e-08', time_completed='2026-07-08 15:42:29.612672', job_id='31063455', GAL2='0.90', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1783550549.61', return_code2='101', ts='0.00', return_code='0', GAL='0.90', dlogl='-7.28e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='2180' AND source_name='4FGL J0334.2-3725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 15:42:29 PDT 2026

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


Performing analysis on: 4FGL_J0334.2-3725_daily_bin2180
RA = 53.5556, Dec = -37.4327
tmin = 804384001, tmax = 804643201
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='31063937', job_status='RUN', time_executed='2026-07-08 15:41:10.328682', time_epoch_executed='1783550470.33' WHERE source_name='4FGL J0334.2-3725' and cadence='daily' and bin_id='2180'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31063937

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31063937/ft1_4FGL_J0334.2-3725_daily_bin2180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31063937/ft2_4FGL_J0334.2-3725_daily_bin2180.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31063937/ft1_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063937/ft1_filteredMKT_4FGL_J0334.2-3725_daily_bin2180.fits ra=53.5556 dec=-37.4327 rad=12.0 tmin=804384001.0 tmax=804643201.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 2.46
user 1.97
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31063937/ft2_4FGL_J0334.2-3725_daily_bin2180.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31063937/ft2_4FGL_J0334.2-3725_daily_bin2180.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/31063937/ft1_filteredMKT_4FGL_J0334.2-3725_daily_bin2180.fits evtable="EVENTS" outfile="/lscratch/kocevski/31063937/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.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.79
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 529

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31063937/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31063937/ft2_4FGL_J0334.2-3725_daily_bin2180.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31063937/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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/31063937/ft2_4FGL_J0334.2-3725_daily_bin2180.fits
.....................!
real 10.36
user 9.67
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31063937/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31063937/ft2_4FGL_J0334.2-3725_daily_bin2180.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31063937/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063937/expmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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/31063937/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits
.....................!
real 79.85
user 74.95
sys 4.15

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
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 179 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0334.2-3725 @ 53.5556 -37.4327

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31063937/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits scfile=/lscratch/kocevski/31063937/ft2_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063937/cmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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=53.5556 yref=-37.4327 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.74
user 0.24
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31063937/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits scfile=/lscratch/kocevski/31063937/ft2_4FGL_J0334.2-3725_daily_bin2180.fits outfile=/lscratch/kocevski/31063937/cmap_HighResolution_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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=53.5556 yref=-37.4327 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.78
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31063937/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31063937/ft2_4FGL_J0334.2-3725_daily_bin2180.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31063937/Model_4FGL_J0334.2-3725_daily_bin2180.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/31063937/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits.....................!
real 54.86
user 53.20
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31063937/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits', '/lscratch/kocevski/31063937/ft2_4FGL_J0334.2-3725_daily_bin2180.fits', expMap='/lscratch/kocevski/31063937/expmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits', expCube='/lscratch/kocevski/31063937/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31063937/Model_4FGL_J0334.2-3725_daily_bin2180.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0334.2-3725'

4FGL J0334.2-3725
   Spectrum: LogParabola
263         norm:  3.336e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  1.916e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  6.798e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  9.584e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31063937/ft1_filtered_4FGL_J0334.2-3725_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31063937/ft2_4FGL_J0334.2-3725_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31063937/expmap_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31063937/ltcube_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31063937/Model_4FGL_J0334.2-3725_daily_bin2180.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) = 5785.21925886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.323       1.0000          .0000       .10000E+07
     2 'Prefactor '    .58268E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.3368       1.0000          .0000       .10000E+07
     4 'Prefactor '    .24064       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10945E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .22149E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .86290       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.001       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12400E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .99993E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .42417       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31532E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .32612       1.0000          .0000       .10000E+07
    14 'norm      '    33.968       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.8089       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.731       1.0000          .0000       .10000E+07
    17 'Prefactor '    .36491E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .52670       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1008       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .89599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5785.219     FROM MIGRAD    STATUS=CONVERGED     94 CALLS     1537 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.321        2.0956       -.18801E-07    .15145E-01
   2  Prefactor     .22615E-06    9.7831        .39163E-06** at limit **
   3  Prefactor     8.3125        1.2109       -.10829E-07    .14134E-02
   4  Prefactor     .13593E-05    46.199       -.31473E-06** at limit **
   5  Prefactor     .11746E-06    12.684        .12214E-06** at limit **
   6  norm           .0000        1.1400       -.12615E-06** at limit **
   7  norm          .86206        .62793        .36334E-07   -.22900E-02
   8  Prefactor     15.027        1.6592        .13511E-07   -.13430E-01
   9  Prefactor     .35305E-07    11.700        .37231E-06** at limit **
  10  Prefactor      .0000        7.2763        .25749E-06** at limit **
  11  norm          .42522        .59739        .35641E-07   -.13150E-02
  12  Prefactor      .0000        25.207       -.93676E-07** at limit **
  13  norm          .32509        .27750        .29541E-07   -.36498E-02
  14  norm          34.002        9.5807       -.75895E-08   -.13579E-01
  15  Prefactor     9.7948        4.9744       -.63227E-07    .32541E-01
  16  Prefactor     14.728        4.4870        .26668E-07    .32760E-01
  17  Prefactor      .0000        2.6403       -.86187E-07** at limit **
  18  norm          .52654        .32298        .22142E-07   -.33390E-02
  19  Normalizat    1.1008        .19726        .15706E-05    .76062E-06
  20  Prefactor     .89636        .22680       -.33324E-05    .16032E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3212
  Prefactor  = 2.26152e-07
  Prefactor  = 8.31246
  Prefactor  = 1.3593e-06
  Prefactor  = 1.17462e-07
  norm       = 0
  norm       = 0.862058
  Prefactor  = 15.0271
  Prefactor  = 3.53051e-08
  Prefactor  = 0
  norm       = 0.425224
  Prefactor  = 0
  norm       = 0.325095
  norm       = 34.0022
  Prefactor  = 9.79484
  Prefactor  = 14.7284
  Prefactor  = 0
  norm       = 0.526539
  Normalizat = 1.10081
  Prefactor  = 0.896361
 **********
 **   18 **HESSE 
 **********

 FCN=   5785.219     FROM HESSE     STATUS=OK           337 CALLS     1874 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.321        29.601        .25560E-03   -1.5630    
   2  Prefactor     .22615E-06    16.506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.3125        19.215        .34697E-03   -1.5650    
   4  Prefactor     .13593E-05    10.234        .11093E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11746E-06    17.397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.1382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .86206        .63101        .48359E-03   -1.5689    
   8  Prefactor     15.027        43.210        .25833E-03   -1.5630    
   9  Prefactor     .35305E-07    12.304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        7.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .42522        .68676        .15931E-02   -1.5695    
  12  Prefactor      .0000        25.222        .16371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .32509        .29295        .78571E-03   -1.5697    
  14  norm          34.002        10.381        .17160E-03   -1.5591    
  15  Prefactor     9.7948        30.267        .31971E-03   -1.5645    
  16  Prefactor     14.728        12.612        .26070E-03   -1.5631    
  17  Prefactor      .0000        2.6443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .52654        .32241        .74556E-03   -1.5693    
  19  Normalizat    1.1008        .17367        .37967E-01   -.89726    
  20  Prefactor     .89636        .19763        .44954E-01   -.96268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72803e-07
Minuit parameter uncertainties:
  1  29.6015
  2  0.00386429
  3  19.2149
  4  0.00745964
  5  0.00285889
  6  4.14346e-06
  7  0.631006
  8  43.2112
  9  0.00131776
  10  1.33209e-05
  11  0.686763
  12  1.57923e-05
  13  0.292949
  14  10.3806
  15  30.2675
  16  12.6121
  17  3.71737e-06
  18  0.32241
  19  0.173761
  20  0.197783
Done.

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

Extracting fit parameters...

4FGL J0334.2-3725
   Spectrum: LogParabola
263         norm:  0.000e+00  4.143e-06  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  1.916e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  6.798e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  9.584e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.964e-01  1.978e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.101e+00  1.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 53.556 -37.433
Photon Flux Upper Limit: 3.63983776688e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31063937/likelihoodResults_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.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) = 5785.21921257
delta logL = -0.000479913322124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5785.2187329
delta logL = -2.43718204729e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5785.219     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      243 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .95662        .42118E-03** at limit **
   2  alpha         3.1055        1.2401       -.10346E-04     .0000    
   3  Normalizat    1.1008        1.1549        .41217E-05   -.23869E-04
   4  Prefactor     .89636        1.2415       -.70921E-05    .34089E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.10549
  Normalizat = 1.10081
  Prefactor  = 0.896362
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5785.219     FROM HESSE     STATUS=FAILED         7 CALLS      250 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .95662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8443        1.2401       -.10346E-04    .24463    
   3  Normalizat    1.1008        1.1549        .41217E-05   -.89726    
   4  Prefactor     .89636        1.2415       -.70921E-05   -.96268    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.07265e-11
Minuit parameter uncertainties:
  1  2.46631e-06
  2  1.30166
  3  1.18308
  4  1.28432
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) = 5785.21873266
delta logL = -7.27595761418e-12

Extracting fit parameters...

4FGL J0334.2-3725
   Spectrum: LogParabola
263         norm:  0.000e+00  2.466e-06  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  3.105e+00  1.302e+00  0.000e+00  5.000e+00 ( 1.000e+00)
265         beta:  6.798e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  9.584e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.964e-01  1.284e+00  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.101e+00  1.183e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 53.556 -37.433

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/31063937/cmap_HighResolution_804384001_804643201_4FGL_J0334.2-3725_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='3.64e-08', time_completed='2026-07-08 15:47:52.419320', job_id='31063937', GAL2='0.90', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1783550872.42', return_code2='101', ts='0.00', return_code='0', GAL='0.90', dlogl='-7.28e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='2180' AND source_name='4FGL J0334.2-3725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 15:47:53 PDT 2026

