/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J0526.2-4830_weekly_bin927
RA = 81.5714, Dec = -48.5151
tmin = 799632001, tmax = 800236801
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='26504811', job_status='RUN', time_executed='2026-05-12 01:09:12.671687', time_epoch_executed='1778573352.67' WHERE source_name='4FGL J0526.2-4830' and cadence='weekly' and bin_id='927'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26504811

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26504811/ft1_4FGL_J0526.2-4830_weekly_bin927.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26504811/ft2_4FGL_J0526.2-4830_weekly_bin927.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26504811/ft1_4FGL_J0526.2-4830_weekly_bin927.fits outfile=/lscratch/kocevski/26504811/ft1_filteredMKT_4FGL_J0526.2-4830_weekly_bin927.fits ra=81.5714 dec=-48.5151 rad=12.0 tmin=799632001.0 tmax=800236801.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 4.29
user 3.41
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26504811/ft2_4FGL_J0526.2-4830_weekly_bin927.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26504811/ft2_4FGL_J0526.2-4830_weekly_bin927.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/26504811/ft1_filteredMKT_4FGL_J0526.2-4830_weekly_bin927.fits evtable="EVENTS" outfile="/lscratch/kocevski/26504811/ft1_filtered_4FGL_J0526.2-4830_weekly_bin927.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.70
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 2595

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26504811/ft1_filtered_4FGL_J0526.2-4830_weekly_bin927.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26504811/ft2_4FGL_J0526.2-4830_weekly_bin927.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26504811/ltcube_799632001_800236801_4FGL_J0526.2-4830_weekly_bin927.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/26504811/ft2_4FGL_J0526.2-4830_weekly_bin927.fits
.....................!
real 19.98
user 19.11
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26504811/ft1_filtered_4FGL_J0526.2-4830_weekly_bin927.fits evtable="EVENTS" scfile=/lscratch/kocevski/26504811/ft2_4FGL_J0526.2-4830_weekly_bin927.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26504811/ltcube_799632001_800236801_4FGL_J0526.2-4830_weekly_bin927.fits outfile=/lscratch/kocevski/26504811/expmap_799632001_800236801_4FGL_J0526.2-4830_weekly_bin927.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/26504811/ltcube_799632001_800236801_4FGL_J0526.2-4830_weekly_bin927.fits
.....................!
real 71.58
user 66.39
sys 4.14

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 LMC-FarWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template.
Added 202 point sources and 4 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 J0526.2-4830 @ 81.5714 -48.5151

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26504811/ft1_filtered_4FGL_J0526.2-4830_weekly_bin927.fits scfile=/lscratch/kocevski/26504811/ft2_4FGL_J0526.2-4830_weekly_bin927.fits outfile=/lscratch/kocevski/26504811/cmap_799632001_800236801_4FGL_J0526.2-4830_weekly_bin927.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=81.5714 yref=-48.5151 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.71
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26504811/ft1_filtered_4FGL_J0526.2-4830_weekly_bin927.fits scfile=/lscratch/kocevski/26504811/ft2_4FGL_J0526.2-4830_weekly_bin927.fits outfile=/lscratch/kocevski/26504811/cmap_HighResolution_799632001_800236801_4FGL_J0526.2-4830_weekly_bin927.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=81.5714 yref=-48.5151 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.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26504811/ft1_filtered_4FGL_J0526.2-4830_weekly_bin927.fits evtable="EVENTS" scfile=/lscratch/kocevski/26504811/ft2_4FGL_J0526.2-4830_weekly_bin927.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26504811/Model_4FGL_J0526.2-4830_weekly_bin927.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
Working on...
/lscratch/kocevski/26504811/ft1_filtered_4FGL_J0526.2-4830_weekly_bin927.fits.....................!
real 6206.25
user 6169.27
sys 1.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26504811/ft1_filtered_4FGL_J0526.2-4830_weekly_bin927.fits', '/lscratch/kocevski/26504811/ft2_4FGL_J0526.2-4830_weekly_bin927.fits', expMap='/lscratch/kocevski/26504811/expmap_799632001_800236801_4FGL_J0526.2-4830_weekly_bin927.fits', expCube='/lscratch/kocevski/26504811/ltcube_799632001_800236801_4FGL_J0526.2-4830_weekly_bin927.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26504811/Model_4FGL_J0526.2-4830_weekly_bin927.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0526.2-4830'

4FGL J0526.2-4830
   Spectrum: LogParabola
297         norm:  5.258e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  2.226e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  6.704e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26504811/ft1_filtered_4FGL_J0526.2-4830_weekly_bin927.fits
Spacecraft file(s): /lscratch/kocevski/26504811/ft2_4FGL_J0526.2-4830_weekly_bin927.fits
Exposure map: /lscratch/kocevski/26504811/expmap_799632001_800236801_4FGL_J0526.2-4830_weekly_bin927.fits
Exposure cube: /lscratch/kocevski/26504811/ltcube_799632001_800236801_4FGL_J0526.2-4830_weekly_bin927.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26504811/Model_4FGL_J0526.2-4830_weekly_bin927.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) = 27029.3642056

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30973       1.0000          .0000       .10000E+07
     2 'Prefactor '    .21074E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .82231       1.0000          .0000       .10000E+07
     4 'norm      '    33.578       1.0000          .0000       .10000E+07
     5 'norm      '    4.2110       1.0000          .0000       .10000E+07
     6 'Prefactor '    .90197E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .44287E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .17508E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16148E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    19.320       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.7855       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9284       1.0000          .0000       .10000E+07
    13 'norm      '    3.0645       1.0000          .0000       .10000E+07
    14 'norm      '    .18083E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.5335       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.1856       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16648E-04   1.0000          .0000       .10000E+07
    18 'norm      '    12.560       1.0000          .0000       .10000E+07
    19 'Prefactor '    .10280E-03   1.0000          .0000       .10000E+07
    20 'norm      '    4.8556       1.0000          .0000       .10000E+07
    21 'norm      '    4.9451       1.0000          .0000       .10000E+07
    22 'Prefactor '    .29930E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .27646E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .15404E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.3273       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .91843       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27029.31     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     1825 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30816        1.0639       -.52966E-06   -.13910E-02
   2  Prefactor     .32196E-08    13.311       -.15271E-06** at limit **
   3  Prefactor     .82500        1.4337        .30509E-07   -.20810E-02
   4  norm          33.557        7.0532        .52796E-07    .64608E-01
   5  norm          4.2063        1.1134       -.89612E-07   -.17213E-02
   6  Prefactor     .10453        7.2473        .19243E-06** at limit **
   7  Prefactor     .16653E-09    3.3946       -.35603E-06** at limit **
   8  norm          .55511E-10    1.0184       -.20927E-06** at limit **
   9  Prefactor     .88818E-09    7.0497        .23090E-06** at limit **
  10  Prefactor     18.597        19.256        .82942E-06   -.16532E-01
  11  Prefactor     2.7850        1.2668       -.34446E-07    .11608E-02
  12  Prefactor     1.9303        2.2063       -.32664E-07   -.27516E-03
  13  norm          3.0672        1.9608        .20636E-06   -.44403E-05
  14  norm          .11102E-09    1.2678        .18284E-07** at limit **
  15  Prefactor     2.5528        3.0044       -.23765E-06   -.65723E-02
  16  Prefactor     7.1646        3.2615        .10610E-06    .96225E-01
  17  Prefactor     .46629E-08    39.630       -.15031E-06** at limit **
  18  norm          12.560        1.0099        .39540E-08   -.19554E-02
  19  Prefactor     .11824E-07    5.8405        .64834E-07** at limit **
  20  norm          4.8701        2.9332        .53875E-07    .14674E-02
  21  norm          4.9483        4.9924       -.11764E-06    .17989E-03
  22  Prefactor     .22204E-09    2.0061        .14048E-07** at limit **
  23  Prefactor      .0000        2.1349       -.24105E-06** at limit **
  24  Prefactor     .19984E-08    4.3530       -.44922E-07** at limit **
  25  Normalizat    1.3272        .12321        .13665E-05    .22871E-04
  26  Prefactor     .91860        .90380E-01   -.46604E-06   -.35317E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.30816
  Prefactor  = 3.21965e-09
  Prefactor  = 0.824998
  norm       = 33.5575
  norm       = 4.2063
  Prefactor  = 0.104533
  Prefactor  = 1.66533e-10
  norm       = 5.55112e-11
  Prefactor  = 8.88178e-10
  Prefactor  = 18.5972
  Prefactor  = 2.785
  Prefactor  = 1.93034
  norm       = 3.06725
  norm       = 1.11022e-10
  Prefactor  = 2.55281
  Prefactor  = 7.16458
  Prefactor  = 4.66294e-09
  norm       = 12.5597
  Prefactor  = 1.18239e-08
  norm       = 4.87011
  norm       = 4.94826
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 1.9984e-09
  Normalizat = 1.3272
  Prefactor  = 0.918603
 **********
 **   18 **HESSE 
 **********

 FCN=   27029.31     FROM HESSE     STATUS=OK           522 CALLS     2347 TOTAL
                     EDM=   .34E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .30816        .85140        .48352E-02   -1.5697    
   2  Prefactor     .32196E-08    13.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .82500        1.4465        .51287E-03   -1.5690    
   4  norm          33.557        7.3344        .17259E-03   -1.5592    
   5  norm          4.2063        1.0442        .49083E-04   -1.5667    
   6  Prefactor     .10453        .37720        .70722E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    3.4059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    1.0155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .88818E-09    7.0798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.597        19.915        .22759E-03   -1.5622    
  11  Prefactor     2.7850        1.2813        .60942E-03   -1.5675    
  12  Prefactor     1.9303        2.2398        .74773E-03   -1.5680    
  13  norm          3.0672        1.9757        .57922E-03   -1.5673    
  14  norm          .11102E-09    1.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.5528        3.1330        .64142E-03   -1.5676    
  16  Prefactor     7.1646        7.3527        .37396E-03   -1.5654    
  17  Prefactor     .46629E-08    39.195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          12.560        1.0118        .28239E-04   -1.5637    
  19  Prefactor     .11824E-07    .59371        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.8701        2.9493        .45627E-03   -1.5664    
  21  norm          4.9483        4.9962        .45203E-03   -1.5663    
  22  Prefactor     .22204E-09    2.0100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        2.1279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .19984E-08    4.4035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.3272        .10602        .64308E-01   -.82758    
  26  Prefactor     .91860        .77874E-01    .45240E-01   -.95494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44575e-06
Minuit parameter uncertainties:
  1  0.851402
  2  0.000412744
  3  1.44655
  4  7.33444
  5  1.04422
  6  0.377201
  7  5.07977e-05
  8  1.25976e-05
  9  0.000156872
  10  19.9152
  11  1.28127
  12  2.23976
  13  1.97566
  14  2.11559e-05
  15  3.13304
  16  7.35268
  17  0.000853981
  18  1.01182
  19  0.000167409
  20  2.94929
  21  4.99616
  22  4.24049e-05
  23  3.42021e-07
  24  0.000187637
  25  0.106038
  26  0.0778833
Done.

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

Extracting fit parameters...

4FGL J0526.2-4830
   Spectrum: LogParabola
297         norm:  3.067e+00  1.976e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  2.226e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  6.704e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
657    Prefactor:  9.186e-01  7.788e-02  0.000e+00  1.000e+01 ( 1.000e+00)
658        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
659        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.327e+00  1.060e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.60
Ra Dec: 81.571 -48.515
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.45e-08 +/- 1.58e-08
Energy Flux (Fixed Index): 9.99e-06 +/- 6.43e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27028.9495079
delta logL = 0.364075864476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27028.940066
delta logL = 0.373517758668

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   27028.94     FROM MIGRAD    STATUS=FAILED        85 CALLS      249 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8091        2.0764        .13258E-04   -.58514E-02
   2  alpha         2.7627        .66337        .18314E-01    .67806E-03
   3  Normalizat    1.3019        .12040        .28665E-03   -.22733E-03
   4  Prefactor     .92817        .89829E-01    .25511E-03   -.16132E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   27028.94     FROM SIMPLEX   STATUS=UNCHANGED     71 CALLS      320 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8091        2.0764        .52452E-05   -1.5674    
   2  alpha         2.7627        .66337        .90976E-03    .10529    
   3  Normalizat    1.3019        .12040        .13763E-03   -.83511    
   4  Prefactor     .92817        .89829E-01    .15972E-03   -.95163    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   27028.94     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      358 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8091        1.8822        .53033E-06   -.92481E-03
   2  alpha         2.7628        .60147        .36628E-02    .21230E-05
   3  Normalizat    1.3019        .11996        .11466E-04   -.47592E-05
   4  Prefactor     .92817        .89684E-01    .10205E-04   -.35651E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.80908
  alpha      = 2.76275
  Normalizat = 1.30186
  Prefactor  = 0.928175
 **********
 **   18 **HESSE 
 **********

 FCN=   27028.94     FROM HESSE     STATUS=OK            23 CALLS      381 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8091        1.8498        .37371E-06   -1.5674    
   2  alpha         2.7628        .59090        .14651E-03    .10530    
   3  Normalizat    1.3019        .11982        .22932E-05   -.83511    
   4  Prefactor     .92817        .89605E-01    .20409E-05   -.95163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47362e-12
Minuit parameter uncertainties:
  1  1.84985
  2  0.596607
  3  0.119846
  4  0.0896193
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27028.940066
delta logL = 0.373517760265

Extracting fit parameters...

4FGL J0526.2-4830
   Spectrum: LogParabola
297         norm:  2.809e+00  1.850e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  2.763e+00  5.966e-01  0.000e+00  5.000e+00 ( 1.000e+00)
299         beta:  6.704e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
657    Prefactor:  9.282e-01  8.962e-02  0.000e+00  1.000e+01 ( 1.000e+00)
658        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
659        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.302e+00  1.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.39
Ra Dec: 81.571 -48.515
Photon Index (Free Index): 2.76 +/- 0.60
Photon Flux (Free Index): 4.78e-08 +/- 3.35e-08
Energy Flux (Free Index): 1.15e-05 +/- 5.89e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26504811/cmap_HighResolution_799632001_800236801_4FGL_J0526.2-4830_weekly_bin927.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.45e-08', energy_flux2='1.15e-05', photon_flux_error='1.58e-08', dlogl='3.74e-01', energy_flux='9.99e-06', photon_flux2='4.78e-08', job_status='DONE', time_completed='2026-05-12 03:07:33.644141', photon_index_error2='0.60', photon_index2='2.76', ts='5.60', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='5.89e-06', EG='1.33', time_epoch_completed='1778580453.64', return_code='0', job_id='26504811', GAL2='0.93', EG2='1.30', return_code2='0', energy_flux_error='6.43e-06', photon_flux_error2='3.35e-08', ts2='6.39', photon_index='2.23' WHERE bin_id='927' AND source_name='4FGL J0526.2-4830' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 12 03:07:34 PDT 2026

