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

 FCN=   9517.218     FROM HESSE     STATUS=OK           530 CALLS     2793 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6988        5.0521        .52487E-03   -1.5669    
   2  norm          .50107        .32808        .78602E-03   -1.5694    
   3  Prefactor     .86098E-06    6.6574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          30.301        10.180        .18165E-03   -1.5598    
   5  norm          .66508        .68676        .63560E-03   -1.5692    
   6  Prefactor     .72164E-08    1.1092        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16220E-06    12.874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .12720E-05    2.6625        .53477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24847E-06    11.055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .89845E-06    29.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.1970        2.2624        .44069E-03   -1.5662    
  12  Prefactor     .11102E-09    1.1461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.280        2.4695        .31227E-03   -1.5644    
  14  Prefactor     14.505        14.850        .26273E-03   -1.5632    
  15  norm          .33352        1.5283        .65964E-02   -1.5696    
  16  norm          .11102E-09    1.1232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.9926        4.3984        .58683E-03   -1.5673    
  18  Prefactor     .93819E-06    32.561        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .11657E-08    1.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .88845        68.585        .45925E-03   -1.5689    
  21  norm          15.875        1.6665        .25111E-03   -1.5628    
  22  norm          1.6558        1.6207        .81992E-03   -1.5682    
  23  norm          6.9286        8.7450        .38086E-03   -1.5655    
  24  Prefactor     .33767E-06    5.5899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .69590        .15815        .71782E-01   -1.0406    
  26  Prefactor     1.0650        .13253        .39103E-01   -.90593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8792e-06
Minuit parameter uncertainties:
  1  5.05211
  2  0.32808
  3  0.00478828
  4  10.1798
  5  0.686759
  6  0.000179176
  7  0.00289001
  8  0.00368059
  9  0.00331462
  10  0.0102268
  11  2.26245
  12  2.13138e-05
  13  2.4695
  14  14.8501
  15  1.42791
  16  2.24746e-05
  17  4.39838
  18  0.011054
  19  8.24528e-05
  20  15.6123
  21  1.6665
  22  1.62067
  23  8.745
  24  0.00274775
  25  0.158249
  26  0.132569
/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)
number of points = 7412
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0521.8-3848_daily_bin2170
RA = 80.4718, Dec = -38.8066
tmin = 801792001, tmax = 802051201
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='27622734', job_status='RUN', time_executed='2026-06-02 04:34:56.110073', time_epoch_executed='1780400096.11' WHERE source_name='4FGL J0521.8-3848' and cadence='daily' and bin_id='2170'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27622734

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27622734/ft1_4FGL_J0521.8-3848_daily_bin2170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27622734/ft2_4FGL_J0521.8-3848_daily_bin2170.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27622734/ft1_4FGL_J0521.8-3848_daily_bin2170.fits outfile=/lscratch/kocevski/27622734/ft1_filteredMKT_4FGL_J0521.8-3848_daily_bin2170.fits ra=80.4718 dec=-38.8066 rad=12.0 tmin=801792001.0 tmax=802051201.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.87
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27622734/ft2_4FGL_J0521.8-3848_daily_bin2170.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27622734/ft2_4FGL_J0521.8-3848_daily_bin2170.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/27622734/ft1_filteredMKT_4FGL_J0521.8-3848_daily_bin2170.fits evtable="EVENTS" outfile="/lscratch/kocevski/27622734/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.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: 923

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27622734/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27622734/ft2_4FGL_J0521.8-3848_daily_bin2170.fits sctable="SC_DATA" 
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

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

 FCN=   9517.218     FROM HESSE     STATUS=OK           530 CALLS     2793 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6988        5.0521        .52487E-03   -1.5669    
   2  norm          .50107        .32808        .78602E-03   -1.5694    
   3  Prefactor     .86098E-06    6.6574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          30.301        10.180        .18165E-03   -1.5598    
   5  norm          .66508        .68676        .63560E-03   -1.5692    
   6  Prefactor     .72164E-08    1.1092        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16220E-06    12.874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .12720E-05    2.6625        .53477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24847E-06    11.055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .89845E-06    29.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.1970        2.2624        .44069E-03   -1.5662    
  12  Prefactor     .11102E-09    1.1461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.280        2.4695        .31227E-03   -1.5644    
  14  Prefactor     14.505        14.850        .26273E-03   -1.5632    
  15  norm          .33352        1.5283        .65964E-02   -1.5696    
  16  norm          .11102E-09    1.1232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.9926        4.3984        .58683E-03   -1.5673    
  18  Prefactor     .93819E-06    32.561        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .11657E-08    1.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .88845        68.585        .45925E-03   -1.5689    
  21  norm          15.875        1.6665        .25111E-03   -1.5628    
  22  norm          1.6558        1.6207        .81992E-03   -1.5682    
  23  norm          6.9286        8.7450        .38086E-03   -1.5655    
  24  Prefactor     .33767E-06    5.5899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .69590        .15815        .71782E-01   -1.0406    
  26  Prefactor     1.0650        .13253        .39103E-01   -.90593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8792e-06
Minuit parameter uncertainties:
  1  5.05211
  2  0.32808
  3  0.00478828
  4  10.1798
  5  0.686759
  6  0.000179176
  7  0.00289001
  8  0.00368059
  9  0.00331462
  10  0.0102268
  11  2.26245
  12  2.13138e-05
  13  2.4695
  14  14.8501
  15  1.42791
  16  2.24746e-05
  17  4.39838
  18  0.011054
  19  8.24528e-05
  20  15.6123
  21  1.6665
  22  1.62067
  23  8.745
  24  0.00274775
  25  0.158249
  26  0.132569
Done.

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

Extracting fit parameters...

4FGL J0521.8-3848
   Spectrum: PowerLaw
282    Prefactor:  1.110e-10  2.131e-05  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.594e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.225e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.065e+00  1.326e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  6.959e-01  1.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 80.472 -38.807
Photon Flux Upper Limit: 5.33641055667e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00417481881162 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27622027/likelihoodResults_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.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) = 9517.22030905
delta logL = -0.00227786812684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9517.21803276
delta logL = -1.57805152412e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63366E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3897       1.0000          .0000       10.000    
     3 'Normalizat'    .69601       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0650       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9517.218     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      237 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .80615        .42118E-03** at limit **
   2  Index         3.3201        1.4458       -.18740E-03     .0000    
   3  Normalizat    .69590        1.0356        .15498E-04   -.29362E-03
   4  Prefactor     1.0650        1.1757       -.23098E-04   -.19776E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.32008
  Normalizat = 0.695896
  Prefactor  = 1.06501
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9517.218     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .80615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2349        2.1663       -.18740E-03   -.34265    
   3  Normalizat    .69590        1.0356        .15498E-04   -1.0406    
   4  Prefactor     1.0650        1.1757       -.23098E-04   -.90593    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.53348e-11
Minuit parameter uncertainties:
  1  3.3715e-07
  2  1.46958
  3  1.06699
  4  1.20616
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) = 9517.21803118
delta logL = -2.0008883439e-11

Extracting fit parameters...

4FGL J0521.8-3848
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  3.372e-07  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  3.320e+00  1.470e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  7.225e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  6.959e-01  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 80.472 -38.807

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27622027/cmap_HighResolution_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-03', job_status='DONE', photon_flux_upper_limit='5.34e-08', time_completed='2026-06-02 04:36:30.034880', job_id='27622027', GAL2='1.07', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1780400190.03', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-2.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2170' AND source_name='4FGL J0521.8-3848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 04:36:30 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0521.8-3848
   Spectrum: PowerLaw
282    Prefactor:  1.110e-10  2.131e-05  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.594e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.225e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.065e+00  1.326e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  6.959e-01  1.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 80.472 -38.807
Photon Flux Upper Limit: 5.33641055667e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00417481881162 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27622213/likelihoodResults_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.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) = 9517.22030905
delta logL = -0.00227786812684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9517.21803276
delta logL = -1.57805152412e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63366E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3897       1.0000          .0000       10.000    
     3 'Normalizat'    .69601       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0650       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9517.218     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      237 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .80615        .42118E-03** at limit **
   2  Index         3.3201        1.4458       -.18740E-03     .0000    
   3  Normalizat    .69590        1.0356        .15498E-04   -.29362E-03
   4  Prefactor     1.0650        1.1757       -.23098E-04   -.19776E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.32008
  Normalizat = 0.695896
  Prefactor  = 1.06501
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9517.218     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .80615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2349        2.1663       -.18740E-03   -.34265    
   3  Normalizat    .69590        1.0356        .15498E-04   -1.0406    
   4  Prefactor     1.0650        1.1757       -.23098E-04   -.90593    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.53348e-11
Minuit parameter uncertainties:
  1  3.3715e-07
  2  1.46958
  3  1.06699
  4  1.20616
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) = 9517.21803118
delta logL = -2.0008883439e-11

Extracting fit parameters...

4FGL J0521.8-3848
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  3.372e-07  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  3.320e+00  1.470e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  7.225e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  6.959e-01  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 80.472 -38.807

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27622213/cmap_HighResolution_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-03', job_status='DONE', photon_flux_upper_limit='5.34e-08', time_completed='2026-06-02 04:36:37.433178', job_id='27622213', GAL2='1.07', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1780400197.43', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-2.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2170' AND source_name='4FGL J0521.8-3848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 04:36:37 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0521.8-3848
   Spectrum: PowerLaw
282    Prefactor:  1.110e-10  2.131e-05  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.594e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.225e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.065e+00  1.326e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  6.959e-01  1.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 80.472 -38.807
Photon Flux Upper Limit: 5.33641055667e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00417481881162 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27622148/likelihoodResults_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.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) = 9517.22030905
delta logL = -0.00227786812684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9517.21803276
delta logL = -1.57805152412e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63366E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3897       1.0000          .0000       10.000    
     3 'Normalizat'    .69601       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0650       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9517.218     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      237 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .80615        .42118E-03** at limit **
   2  Index         3.3201        1.4458       -.18740E-03     .0000    
   3  Normalizat    .69590        1.0356        .15498E-04   -.29362E-03
   4  Prefactor     1.0650        1.1757       -.23098E-04   -.19776E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.32008
  Normalizat = 0.695896
  Prefactor  = 1.06501
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9517.218     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .80615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2349        2.1663       -.18740E-03   -.34265    
   3  Normalizat    .69590        1.0356        .15498E-04   -1.0406    
   4  Prefactor     1.0650        1.1757       -.23098E-04   -.90593    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.53348e-11
Minuit parameter uncertainties:
  1  3.3715e-07
  2  1.46958
  3  1.06699
  4  1.20616
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) = 9517.21803118
delta logL = -2.0008883439e-11

Extracting fit parameters...

4FGL J0521.8-3848
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  3.372e-07  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  3.320e+00  1.470e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  7.225e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  6.959e-01  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 80.472 -38.807

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27622148/cmap_HighResolution_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-03', job_status='DONE', photon_flux_upper_limit='5.34e-08', time_completed='2026-06-02 04:36:49.974306', job_id='27622148', GAL2='1.07', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1780400209.97', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-2.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2170' AND source_name='4FGL J0521.8-3848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 04:36:50 PDT 2026

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


Performing analysis on: 4FGL_J0521.8-3848_daily_bin2170
RA = 80.4718, Dec = -38.8066
tmin = 801792001, tmax = 802051201
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='27622866', job_status='RUN', time_executed='2026-06-02 04:36:03.286297', time_epoch_executed='1780400163.29' WHERE source_name='4FGL J0521.8-3848' and cadence='daily' and bin_id='2170'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27622866

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27622866/ft1_4FGL_J0521.8-3848_daily_bin2170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27622866/ft2_4FGL_J0521.8-3848_daily_bin2170.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27622866/ft1_4FGL_J0521.8-3848_daily_bin2170.fits outfile=/lscratch/kocevski/27622866/ft1_filteredMKT_4FGL_J0521.8-3848_daily_bin2170.fits ra=80.4718 dec=-38.8066 rad=12.0 tmin=801792001.0 tmax=802051201.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.36
user 1.89
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27622866/ft2_4FGL_J0521.8-3848_daily_bin2170.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27622866/ft2_4FGL_J0521.8-3848_daily_bin2170.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/27622866/ft1_filteredMKT_4FGL_J0521.8-3848_daily_bin2170.fits evtable="EVENTS" outfile="/lscratch/kocevski/27622866/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.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.76
user 0.17
sys 0.14

Number of photons that the gtmktime cut: 923

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27622866/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27622866/ft2_4FGL_J0521.8-3848_daily_bin2170.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27622734/ltcube_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.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/27622734/ft2_4FGL_J0521.8-3848_daily_bin2170.fits
.....................!
real 8.90
user 7.74
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27622734/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27622734/ft2_4FGL_J0521.8-3848_daily_bin2170.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27622734/ltcube_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.fits outfile=/lscratch/kocevski/27622734/expmap_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.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/27622734/ltcube_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.fits
.....................!
real 67.99
user 63.04
sys 4.11

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 194 point sources and 0 extended sources

Setting source of interest to:
4FGL J0521.8-3848 @ 80.4718 -38.8066

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27622734/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits scfile=/lscratch/kocevski/27622734/ft2_4FGL_J0521.8-3848_daily_bin2170.fits outfile=/lscratch/kocevski/27622734/cmap_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.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=80.4718 yref=-38.8066 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.65
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27622734/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits scfile=/lscratch/kocevski/27622734/ft2_4FGL_J0521.8-3848_daily_bin2170.fits outfile=/lscratch/kocevski/27622734/cmap_HighResolution_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.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=80.4718 yref=-38.8066 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.89
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27622734/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27622734/ft2_4FGL_J0521.8-3848_daily_bin2170.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27622734/Model_4FGL_J0521.8-3848_daily_bin2170.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 sourcoutfile=/lscratch/kocevski/27622866/ltcube_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.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/27622866/ft2_4FGL_J0521.8-3848_daily_bin2170.fits
.....................!
real 8.27
user 7.61
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27622866/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27622866/ft2_4FGL_J0521.8-3848_daily_bin2170.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27622866/ltcube_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.fits outfile=/lscratch/kocevski/27622866/expmap_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.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/27622866/ltcube_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.fits
.....................!
real 66.96
user 62.81
sys 3.41

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 194 point sources and 0 extended sources

Setting source of interest to:
4FGL J0521.8-3848 @ 80.4718 -38.8066

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27622866/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits scfile=/lscratch/kocevski/27622866/ft2_4FGL_J0521.8-3848_daily_bin2170.fits outfile=/lscratch/kocevski/27622866/cmap_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.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=80.4718 yref=-38.8066 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27622866/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits scfile=/lscratch/kocevski/27622866/ft2_4FGL_J0521.8-3848_daily_bin2170.fits outfile=/lscratch/kocevski/27622866/cmap_HighResolution_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.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=80.4718 yref=-38.8066 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.81
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27622866/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27622866/ft2_4FGL_J0521.8-3848_daily_bin2170.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27622866/Model_4FGL_J0521.8-3848_daily_bin2170.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/27622734/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits.....................!
real 37.91
user 35.98
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27622734/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits', '/lscratch/kocevski/27622734/ft2_4FGL_J0521.8-3848_daily_bin2170.fits', expMap='/lscratch/kocevski/27622734/expmap_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.fits', expCube='/lscratch/kocevski/27622734/ltcube_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27622734/Model_4FGL_J0521.8-3848_daily_bin2170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0521.8-3848'

4FGL J0521.8-3848
   Spectrum: PowerLaw
282    Prefactor:  1.199e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.594e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.225e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27622734/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27622734/ft2_4FGL_J0521.8-3848_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27622734/expmap_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27622734/ltcube_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27622734/Model_4FGL_J0521.8-3848_daily_bin2170.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) = 9517.31337639

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6987       1.0000          .0000       .10000E+07
     2 'norm      '    .50106       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12552E-03   1.0000          .0000       .10000E+07
     4 'norm      '    30.315       1.0000          .0000       .10000E+07
     5 'norm      '    .66543       1.0000          .0000       .10000E+07
     6 'Prefactor '    .21756E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .34783E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .50232E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
    10 'Prefactor '    .52180E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.1978       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
    13 'norm      '    10.279       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.504       1.0000          .0000       .10000E+07
    15 'norm      '    .33937       1.0000          .0000       .10000E+07
    16 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.9900       1.0000          .0000       .10000E+07
    18 'Prefactor '    .27785E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .37192E-08   1.0000          .0000       .10000E+07
    20 'Prefactor '    .89762       1.0000          .0000       .10000E+07
    21 'norm      '    15.875       1.0000          .0000       .10000E+07
    22 'norm      '    1.6556       1.0000          .0000       .10000E+07
    23 'norm      '    6.9301       1.0000          .0000       .10000E+07
    24 'Prefactor '    .13267E-07   1.0000          .0000       .10000E+07
    25 'Normalizat'    .69599       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0650       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9517.218     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     2263 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6988        5.0336       -.12243E-06   -.12840E-02
   2  norm          .50107        .33284        .16813E-07    .28497E-02
   3  Prefactor     .86098E-06    4.8585       -.12248E-07** at limit **
   4  norm          30.301        9.5574       -.72056E-07   -.11295    
   5  norm          .66508        .68721        .28823E-07    .33803E-02
   6  Prefactor     .72164E-08    4.6047       -.41353E-07** at limit **
   7  Prefactor     .16220E-06    8.6533        .31688E-06** at limit **
   8  norm          .12720E-05    14.414        .44656E-06** at limit **
   9  Prefactor     .24847E-06    10.124        .34332E-06** at limit **
  10  Prefactor     .89845E-06    18.206        .24126E-06** at limit **
  11  Prefactor     5.1970        2.2274        .81700E-07    .63888E-02
  12  Prefactor     .11102E-09    1.1481        .10995E-06** at limit **
  13  norm          10.280        2.4683        .63127E-07    .77117E-02
  14  Prefactor     14.505        1.5349        .47750E-08   -.24231E-02
  15  norm          .33352        7.0413       -.14013E-06   -.69764E-03
  16  norm          .11102E-09    1.1249        .72331E-07** at limit **
  17  Prefactor     2.9926        4.2266       -.14398E-06   -.10619E-02
  18  Prefactor     .93819E-06    16.519        .28892E-07** at limit **
  19  norm          .11657E-08    1.4860       -.23116E-06** at limit **
  20  Prefactor     .88845        8.9245        .25713E-06   -.57310E-01
  21  norm          15.875        1.6657       -.34455E-08    .79337E-03
  22  norm          1.6558        1.6004       -.51708E-07   -.25232E-02
  23  norm          6.9286        8.4680       -.47409E-07   -.60434E-01
  24  Prefactor     .33767E-06    5.0625        .96289E-07** at limit **
  25  Normalizat    .69590        .17374       -.72069E-06    .59909E-04
  26  Prefactor     1.0650        .14869        .82200E-06    .10537E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.6988
  norm       = 0.501074
  Prefactor  = 8.60978e-07
  norm       = 30.3006
  norm       = 0.665077
  Prefactor  = 7.21645e-09
  Prefactor  = 1.62204e-07
  norm       = 1.27198e-06
  Prefactor  = 2.48468e-07
  Prefactor  = 8.98448e-07
  Prefactor  = 5.19703
  Prefactor  = 1.11022e-10
  norm       = 10.2804
  Prefactor  = 14.5047
  norm       = 0.33352
  norm       = 1.11022e-10
  Prefactor  = 2.99264
  Prefactor  = 9.38194e-07
  norm       = 1.16573e-09
  Prefactor  = 0.888448
  norm       = 15.8754
  norm       = 1.65581
  norm       = 6.92856
  Prefactor  = 3.37674e-07
  Normalizat = 0.695897
  Prefactor  = 1.06501
 **********
 **   18 **HESSE 
 **********

 FCN=   9517.218     FROM HESSE     STATUS=OK           530 CALLS     2793 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6988        5.0521        .52487E-03   -1.5669    
   2  norm          .50107        .32808        .78602E-03   -1.5694    
   3  Prefactor     .86098E-06    6.6574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          30.301        10.180        .18165E-03   -1.5598    
   5  norm          .66508        .68676        .63560E-03   -1.5692    
   6  Prefactor     .72164E-08    1.1092        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16220E-06    12.874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .12720E-05    2.6625        .53477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24847E-06    11.055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .89845E-06    29.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.1970        2.2624        .44069E-03   -1.5662    
  12  Prefactor     .11102E-09    1.1461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.280        2.4695        .31227E-03   -1.5644    
  14  Prefactor     14.505        14.850        .26273E-03   -1.5632    
  15  norm          .33352        1.5283        .65964E-02   -1.5696    
  16  norm          .11102E-09    1.1232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.9926        4.3984        .58683E-03   -1.5673    
  18  Prefactor     .93819E-06    32.561        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .11657E-08    1.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .88845        68.585        .45925E-03   -1.5689    
  21  norm          15.875        1.6665        .25111E-03   -1.5628    
  22  norm          1.6558        1.6207        .81992E-03   -1.5682    
  23  norm          6.9286        8.7450        .38086E-03   -1.5655    
  24  Prefactor     .33767E-06    5.5899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .69590        .15815        .71782E-01   -1.0406    
  26  Prefactor     1.0650        .13253        .39103E-01   -.90593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8792e-06
Minuit parameter uncertainties:
  1  5.05211
  2  0.32808
  3  0.00478828
  4  10.1798
  5  0.686759
  6  0.000179176
  7  0.00289001
  8  0.00368059
  9  0.00331462
  10  0.0102268
  11  2.26245
  12  2.13138e-05
  13  2.4695
  14  14.8501
  15  1.42791
  16  2.24746e-05
  17  4.39838
  18  0.011054
  19  8.24528e-05
  20  15.6123
  21  1.6665
  22  1.62067
  23  8.745
  24  0.00274775
  25  0.158249
  26  0.132569
e GAL_V02
Working on...
/lscratch/kocevski/27622866/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits.....................!
real 36.92
user 35.12
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27622866/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits', '/lscratch/kocevski/27622866/ft2_4FGL_J0521.8-3848_daily_bin2170.fits', expMap='/lscratch/kocevski/27622866/expmap_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.fits', expCube='/lscratch/kocevski/27622866/ltcube_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27622866/Model_4FGL_J0521.8-3848_daily_bin2170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0521.8-3848'

4FGL J0521.8-3848
   Spectrum: PowerLaw
282    Prefactor:  1.199e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.594e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.225e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27622866/ft1_filtered_4FGL_J0521.8-3848_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27622866/ft2_4FGL_J0521.8-3848_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27622866/expmap_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27622866/ltcube_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27622866/Model_4FGL_J0521.8-3848_daily_bin2170.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) = 9517.31337639

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6987       1.0000          .0000       .10000E+07
     2 'norm      '    .50106       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12552E-03   1.0000          .0000       .10000E+07
     4 'norm      '    30.315       1.0000          .0000       .10000E+07
     5 'norm      '    .66543       1.0000          .0000       .10000E+07
     6 'Prefactor '    .21756E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .34783E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .50232E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
    10 'Prefactor '    .52180E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.1978       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
    13 'norm      '    10.279       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.504       1.0000          .0000       .10000E+07
    15 'norm      '    .33937       1.0000          .0000       .10000E+07
    16 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.9900       1.0000          .0000       .10000E+07
    18 'Prefactor '    .27785E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .37192E-08   1.0000          .0000       .10000E+07
    20 'Prefactor '    .89762       1.0000          .0000       .10000E+07
    21 'norm      '    15.875       1.0000          .0000       .10000E+07
    22 'norm      '    1.6556       1.0000          .0000       .10000E+07
    23 'norm      '    6.9301       1.0000          .0000       .10000E+07
    24 'Prefactor '    .13267E-07   1.0000          .0000       .10000E+07
    25 'Normalizat'    .69599       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0650       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9517.218     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     2263 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6988        5.0336       -.12243E-06   -.12840E-02
   2  norm          .50107        .33284        .16813E-07    .28497E-02
   3  Prefactor     .86098E-06    4.8585       -.12248E-07** at limit **
   4  norm          30.301        9.5574       -.72056E-07   -.11295    
   5  norm          .66508        .68721        .28823E-07    .33803E-02
   6  Prefactor     .72164E-08    4.6047       -.41353E-07** at limit **
   7  Prefactor     .16220E-06    8.6533        .31688E-06** at limit **
   8  norm          .12720E-05    14.414        .44656E-06** at limit **
   9  Prefactor     .24847E-06    10.124        .34332E-06** at limit **
  10  Prefactor     .89845E-06    18.206        .24126E-06** at limit **
  11  Prefactor     5.1970        2.2274        .81700E-07    .63888E-02
  12  Prefactor     .11102E-09    1.1481        .10995E-06** at limit **
  13  norm          10.280        2.4683        .63127E-07    .77117E-02
  14  Prefactor     14.505        1.5349        .47750E-08   -.24231E-02
  15  norm          .33352        7.0413       -.14013E-06   -.69764E-03
  16  norm          .11102E-09    1.1249        .72331E-07** at limit **
  17  Prefactor     2.9926        4.2266       -.14398E-06   -.10619E-02
  18  Prefactor     .93819E-06    16.519        .28892E-07** at limit **
  19  norm          .11657E-08    1.4860       -.23116E-06** at limit **
  20  Prefactor     .88845        8.9245        .25713E-06   -.57310E-01
  21  norm          15.875        1.6657       -.34455E-08    .79337E-03
  22  norm          1.6558        1.6004       -.51708E-07   -.25232E-02
  23  norm          6.9286        8.4680       -.47409E-07   -.60434E-01
  24  Prefactor     .33767E-06    5.0625        .96289E-07** at limit **
  25  Normalizat    .69590        .17374       -.72069E-06    .59909E-04
  26  Prefactor     1.0650        .14869        .82200E-06    .10537E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.6988
  norm       = 0.501074
  Prefactor  = 8.60978e-07
  norm       = 30.3006
  norm       = 0.665077
  Prefactor  = 7.21645e-09
  Prefactor  = 1.62204e-07
  norm       = 1.27198e-06
  Prefactor  = 2.48468e-07
  Prefactor  = 8.98448e-07
  Prefactor  = 5.19703
  Prefactor  = 1.11022e-10
  norm       = 10.2804
  Prefactor  = 14.5047
  norm       = 0.33352
  norm       = 1.11022e-10
  Prefactor  = 2.99264
  Prefactor  = 9.38194e-07
  norm       = 1.16573e-09
  Prefactor  = 0.888448
  norm       = 15.8754
  norm       = 1.65581
  norm       = 6.92856
  Prefactor  = 3.37674e-07
  Normalizat = 0.695897
  Prefactor  = 1.06501
Done.

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

Extracting fit parameters...

4FGL J0521.8-3848
   Spectrum: PowerLaw
282    Prefactor:  1.110e-10  2.131e-05  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.594e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.225e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.065e+00  1.326e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  6.959e-01  1.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 80.472 -38.807
Photon Flux Upper Limit: 5.33641055667e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00417481881162 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27622734/likelihoodResults_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.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) = 9517.22030905
delta logL = -0.00227786812684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9517.21803276
delta logL = -1.57805152412e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63366E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3897       1.0000          .0000       10.000    
     3 'Normalizat'    .69601       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0650       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9517.218     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      237 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .80615        .42118E-03** at limit **
   2  Index         3.3201        1.4458       -.18740E-03     .0000    
   3  Normalizat    .69590        1.0356        .15498E-04   -.29362E-03
   4  Prefactor     1.0650        1.1757       -.23098E-04   -.19776E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.32008
  Normalizat = 0.695896
  Prefactor  = 1.06501
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9517.218     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .80615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2349        2.1663       -.18740E-03   -.34265    
   3  Normalizat    .69590        1.0356        .15498E-04   -1.0406    
   4  Prefactor     1.0650        1.1757       -.23098E-04   -.90593    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.53348e-11
Minuit parameter uncertainties:
  1  3.3715e-07
  2  1.46958
  3  1.06699
  4  1.20616
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) = 9517.21803118
delta logL = -2.0008883439e-11

Extracting fit parameters...

4FGL J0521.8-3848
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  3.372e-07  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  3.320e+00  1.470e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  7.225e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  6.959e-01  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 80.472 -38.807

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27622734/cmap_HighResolution_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-03', job_status='DONE', photon_flux_upper_limit='5.34e-08', time_completed='2026-06-02 04:42:10.588242', job_id='27622734', GAL2='1.07', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1780400530.59', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-2.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2170' AND source_name='4FGL J0521.8-3848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 04:42:10 PDT 2026

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

 FCN=   9517.218     FROM HESSE     STATUS=OK           530 CALLS     2793 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6988        5.0521        .52487E-03   -1.5669    
   2  norm          .50107        .32808        .78602E-03   -1.5694    
   3  Prefactor     .86098E-06    6.6574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          30.301        10.180        .18165E-03   -1.5598    
   5  norm          .66508        .68676        .63560E-03   -1.5692    
   6  Prefactor     .72164E-08    1.1092        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16220E-06    12.874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .12720E-05    2.6625        .53477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24847E-06    11.055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .89845E-06    29.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.1970        2.2624        .44069E-03   -1.5662    
  12  Prefactor     .11102E-09    1.1461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.280        2.4695        .31227E-03   -1.5644    
  14  Prefactor     14.505        14.850        .26273E-03   -1.5632    
  15  norm          .33352        1.5283        .65964E-02   -1.5696    
  16  norm          .11102E-09    1.1232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.9926        4.3984        .58683E-03   -1.5673    
  18  Prefactor     .93819E-06    32.561        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .11657E-08    1.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .88845        68.585        .45925E-03   -1.5689    
  21  norm          15.875        1.6665        .25111E-03   -1.5628    
  22  norm          1.6558        1.6207        .81992E-03   -1.5682    
  23  norm          6.9286        8.7450        .38086E-03   -1.5655    
  24  Prefactor     .33767E-06    5.5899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .69590        .15815        .71782E-01   -1.0406    
  26  Prefactor     1.0650        .13253        .39103E-01   -.90593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8792e-06
Minuit parameter uncertainties:
  1  5.05211
  2  0.32808
  3  0.00478828
  4  10.1798
  5  0.686759
  6  0.000179176
  7  0.00289001
  8  0.00368059
  9  0.00331462
  10  0.0102268
  11  2.26245
  12  2.13138e-05
  13  2.4695
  14  14.8501
  15  1.42791
  16  2.24746e-05
  17  4.39838
  18  0.011054
  19  8.24528e-05
  20  15.6123
  21  1.6665
  22  1.62067
  23  8.745
  24  0.00274775
  25  0.158249
  26  0.132569
Done.

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

Extracting fit parameters...

4FGL J0521.8-3848
   Spectrum: PowerLaw
282    Prefactor:  1.110e-10  2.131e-05  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.594e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.225e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.065e+00  1.326e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  6.959e-01  1.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 80.472 -38.807
Photon Flux Upper Limit: 5.33641055667e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00417481881162 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27622866/likelihoodResults_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.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) = 9517.22030905
delta logL = -0.00227786812684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9517.21803276
delta logL = -1.57805152412e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63366E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3897       1.0000          .0000       10.000    
     3 'Normalizat'    .69601       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0650       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9517.218     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      237 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .80615        .42118E-03** at limit **
   2  Index         3.3201        1.4458       -.18740E-03     .0000    
   3  Normalizat    .69590        1.0356        .15498E-04   -.29362E-03
   4  Prefactor     1.0650        1.1757       -.23098E-04   -.19776E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.32008
  Normalizat = 0.695896
  Prefactor  = 1.06501
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9517.218     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .80615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2349        2.1663       -.18740E-03   -.34265    
   3  Normalizat    .69590        1.0356        .15498E-04   -1.0406    
   4  Prefactor     1.0650        1.1757       -.23098E-04   -.90593    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.53348e-11
Minuit parameter uncertainties:
  1  3.3715e-07
  2  1.46958
  3  1.06699
  4  1.20616
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) = 9517.21803118
delta logL = -2.0008883439e-11

Extracting fit parameters...

4FGL J0521.8-3848
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  3.372e-07  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  3.320e+00  1.470e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  7.225e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  6.959e-01  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 80.472 -38.807

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27622866/cmap_HighResolution_801792001_802051201_4FGL_J0521.8-3848_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-03', job_status='DONE', photon_flux_upper_limit='5.34e-08', time_completed='2026-06-02 04:43:06.601092', job_id='27622866', GAL2='1.07', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1780400586.6', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-2.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2170' AND source_name='4FGL J0521.8-3848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 04:43:06 PDT 2026

