/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_J0025.7-4801_weekly_bin927
RA = 6.4351, Dec = -48.0191
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='26502903', job_status='RUN', time_executed='2026-05-12 00:14:41.433559', time_epoch_executed='1778570081.43' WHERE source_name='4FGL J0025.7-4801' and cadence='weekly' and bin_id='927'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26502903

Creating custom pfile directory:
/lscratch/kocevski/26502903/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/26502903/ft1_4FGL_J0025.7-4801_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/26502903/ft2_4FGL_J0025.7-4801_weekly_bin927.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26502903/ft1_4FGL_J0025.7-4801_weekly_bin927.fits outfile=/lscratch/kocevski/26502903/ft1_filteredMKT_4FGL_J0025.7-4801_weekly_bin927.fits ra=6.4351 dec=-48.0191 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 3.72
user 2.95
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26502903/ft2_4FGL_J0025.7-4801_weekly_bin927.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26502903/ft2_4FGL_J0025.7-4801_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/26502903/ft1_filteredMKT_4FGL_J0025.7-4801_weekly_bin927.fits evtable="EVENTS" outfile="/lscratch/kocevski/26502903/ft1_filtered_4FGL_J0025.7-4801_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.82
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 1677

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26502903/ft1_filtered_4FGL_J0025.7-4801_weekly_bin927.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26502903/ft2_4FGL_J0025.7-4801_weekly_bin927.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26502903/ltcube_799632001_800236801_4FGL_J0025.7-4801_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/26502903/ft2_4FGL_J0025.7-4801_weekly_bin927.fits
.....................!
real 20.48
user 19.57
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26502903/ft1_filtered_4FGL_J0025.7-4801_weekly_bin927.fits evtable="EVENTS" scfile=/lscratch/kocevski/26502903/ft2_4FGL_J0025.7-4801_weekly_bin927.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26502903/ltcube_799632001_800236801_4FGL_J0025.7-4801_weekly_bin927.fits outfile=/lscratch/kocevski/26502903/expmap_799632001_800236801_4FGL_J0025.7-4801_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/26502903/ltcube_799632001_800236801_4FGL_J0025.7-4801_weekly_bin927.fits
.....................!
real 76.95
user 71.34
sys 4.40

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

Setting source of interest to:
4FGL J0025.7-4801 @ 6.4351 -48.0191

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26502903/ft1_filtered_4FGL_J0025.7-4801_weekly_bin927.fits scfile=/lscratch/kocevski/26502903/ft2_4FGL_J0025.7-4801_weekly_bin927.fits outfile=/lscratch/kocevski/26502903/cmap_799632001_800236801_4FGL_J0025.7-4801_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=6.4351 yref=-48.0191 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.69
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26502903/ft1_filtered_4FGL_J0025.7-4801_weekly_bin927.fits scfile=/lscratch/kocevski/26502903/ft2_4FGL_J0025.7-4801_weekly_bin927.fits outfile=/lscratch/kocevski/26502903/cmap_HighResolution_799632001_800236801_4FGL_J0025.7-4801_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=6.4351 yref=-48.0191 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.10
user 0.23
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26502903/ft1_filtered_4FGL_J0025.7-4801_weekly_bin927.fits evtable="EVENTS" scfile=/lscratch/kocevski/26502903/ft2_4FGL_J0025.7-4801_weekly_bin927.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26502903/Model_4FGL_J0025.7-4801_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
Working on...
/lscratch/kocevski/26502903/ft1_filtered_4FGL_J0025.7-4801_weekly_bin927.fits.....................!
real 46.53
user 44.67
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26502903/ft1_filtered_4FGL_J0025.7-4801_weekly_bin927.fits', '/lscratch/kocevski/26502903/ft2_4FGL_J0025.7-4801_weekly_bin927.fits', expMap='/lscratch/kocevski/26502903/expmap_799632001_800236801_4FGL_J0025.7-4801_weekly_bin927.fits', expCube='/lscratch/kocevski/26502903/ltcube_799632001_800236801_4FGL_J0025.7-4801_weekly_bin927.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26502903/Model_4FGL_J0025.7-4801_weekly_bin927.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0025.7-4801'

4FGL J0025.7-4801
   Spectrum: PowerLaw
72     Prefactor:  1.475e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
73         Index:  2.231e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
74         Scale:  1.512e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26502903/ft1_filtered_4FGL_J0025.7-4801_weekly_bin927.fits
Spacecraft file(s): /lscratch/kocevski/26502903/ft2_4FGL_J0025.7-4801_weekly_bin927.fits
Exposure map: /lscratch/kocevski/26502903/expmap_799632001_800236801_4FGL_J0025.7-4801_weekly_bin927.fits
Exposure cube: /lscratch/kocevski/26502903/ltcube_799632001_800236801_4FGL_J0025.7-4801_weekly_bin927.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26502903/Model_4FGL_J0025.7-4801_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) = 18198.2394615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.682       1.0000          .0000       .10000E+07
     2 'Prefactor '    14.712       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.2206       1.0000          .0000       .10000E+07
     4 'Prefactor '    .91134       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.3659       1.0000          .0000       .10000E+07
     6 'Prefactor '    .95290E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    8.0771       1.0000          .0000       .10000E+07
     8 'norm      '    9.3035       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21649E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .48712E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.2356       1.0000          .0000       .10000E+07
    12 'norm      '    35.974       1.0000          .0000       .10000E+07
    13 'Prefactor '    .99932E-03   1.0000          .0000       .10000E+07
    14 'norm      '    9.5615       1.0000          .0000       .10000E+07
    15 'norm      '    8.9329       1.0000          .0000       .10000E+07
    16 'Prefactor '    12.768       1.0000          .0000       .10000E+07
    17 'norm      '    .54533E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .82979       1.0000          .0000       .10000E+07
    19 'Prefactor '    .10716E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.8910       1.0000          .0000       .10000E+07
    21 'norm      '    1.0610       1.0000          .0000       .10000E+07
    22 'norm      '    .74267       1.0000          .0000       .10000E+07
    23 'Prefactor '    20.508       1.0000          .0000       .10000E+07
    24 'Prefactor '    3.2858       1.0000          .0000       .10000E+07
    25 'Prefactor '    .78922E-04   1.0000          .0000       .10000E+07
    26 'norm      '    17.070       1.0000          .0000       .10000E+07
    27 'Prefactor '    2.5831       1.0000          .0000       .10000E+07
    28 'Prefactor '    .21541E-03   1.0000          .0000       .10000E+07
    29 'Normalizat'    1.1769       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .93061       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18198.20     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     2211 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.374        13.259       -.15930E-05    .70343E-02
   2  Prefactor     14.865        6.2748        .69179E-06    .11850    
   3  Prefactor     1.7313        34.358       -.49754E-05    .13462E-01
   4  Prefactor     .91158        .59448       -.75850E-07   -.54332E-02
   5  Prefactor     8.3748        4.2449        .79546E-06    .10873E-01
   6  Prefactor      .0000        1.1972        .10382E-06** at limit **
   7  Prefactor     8.0942        3.3262       -.19690E-07   -.11411E-02
   8  norm          9.3043        1.0215       -.44372E-08   -.29679E-03
   9  Prefactor     .52736E-08    5.1165        .26413E-06** at limit **
  10  Prefactor     .22204E-09    2.8493        .36712E-06** at limit **
  11  Prefactor     3.2281        2.3974       -.67779E-07   -.40064E-02
  12  norm          35.958        2.7193       -.17977E-06   -.64593E-02
  13  Prefactor     .66003E-07    11.894       -.70438E-06** at limit **
  14  norm          9.5816        3.4578        .97376E-08   -.23939E-02
  15  norm          8.9376        4.7413        .34262E-06    .73600E-02
  16  Prefactor     12.770        1.1637        .26057E-07    .17082E-01
  17  norm          .99920E-09    4.3149        .25555E-07** at limit **
  18  norm          .82925        1.3390        .71632E-07    .81224E-03
  19  Prefactor      .0000        .82325        .59031E-07** at limit **
  20  Prefactor     5.8891        6.8656        .33600E-08    .13484E-02
  21  norm          1.0611        .57276        .45527E-07    .95007E-02
  22  norm          .75019        2.3690       -.67797E-06   -.20037E-02
  23  Prefactor     20.510        1.3706        .45037E-07    .40007E-01
  24  Prefactor     3.2882        2.3182        .13836E-06    .21098E-02
  25  Prefactor     .94702E-07    14.019        .18117E-05** at limit **
  26  norm          17.056        1.1633       -.58884E-07   -.11608E-01
  27  Prefactor     2.5949        3.2700       -.13564E-06   -.15209E-02
  28  Prefactor      .0000        1.2919        .89095E-07** at limit **
  29  Normalizat    1.1769        .12833        .11357E-05    .42023E-04
  30  Prefactor     .93064        .14193       -.45422E-06    .29100E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.3739
  Prefactor  = 14.8648
  Prefactor  = 1.7313
  Prefactor  = 0.911577
  Prefactor  = 8.37482
  Prefactor  = 0
  Prefactor  = 8.09417
  norm       = 9.30434
  Prefactor  = 5.27356e-09
  Prefactor  = 2.22045e-10
  Prefactor  = 3.22814
  norm       = 35.9579
  Prefactor  = 6.60028e-08
  norm       = 9.5816
  norm       = 8.93764
  Prefactor  = 12.7702
  norm       = 9.99201e-10
  norm       = 0.829245
  Prefactor  = 0
  Prefactor  = 5.88909
  norm       = 1.06106
  norm       = 0.75019
  Prefactor  = 20.5096
  Prefactor  = 3.28816
  Prefactor  = 9.4702e-08
  norm       = 17.0559
  Prefactor  = 2.59492
  Prefactor  = 0
  Normalizat = 1.17694
  Prefactor  = 0.930642
 **********
 **   18 **HESSE 
 **********

 FCN=   18198.20     FROM HESSE     STATUS=OK           660 CALLS     2871 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.374        22.471        .28103E-03   -1.5638    
   2  Prefactor     14.865        11.833        .26087E-03   -1.5631    
   3  Prefactor     1.7313        67.457        .68979E-03   -1.5682    
   4  Prefactor     .91158        2.0239        .44979E-03   -1.5689    
   5  Prefactor     8.3748        4.2837        .34636E-03   -1.5650    
   6  Prefactor      .0000        1.1960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.0942        3.3348        .35254E-03   -1.5651    
   8  norm          9.3043        10.770        .32833E-03   -1.5647    
   9  Prefactor     .52736E-08    5.1627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22204E-09    2.8443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2281        2.4177        .56287E-03   -1.5672    
  12  norm          35.958        18.927        .16675E-03   -1.5588    
  13  Prefactor     .66003E-07    12.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.5816        3.4804        .32384E-03   -1.5646    
  15  norm          8.9376        4.7576        .33511E-03   -1.5648    
  16  Prefactor     12.770        9.6648        .28008E-03   -1.5636    
  17  norm          .99920E-09    4.3143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .82925        1.3499        .50740E-03   -1.5690    
  19  Prefactor      .0000        .82337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.8891        6.9419        .41351E-03   -1.5659    
  21  norm          1.0611        .59574        .11887E-02   -1.5687    
  22  norm          .75019        2.4054        .57310E-03   -1.5691    
  23  Prefactor     20.510        10.164        .22089E-03   -1.5617    
  24  Prefactor     3.2882        2.3722        .55834E-03   -1.5672    
  25  Prefactor     .94702E-07    14.504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          17.056        11.305        .24214E-03   -1.5625    
  27  Prefactor     2.5949        3.6632        .63469E-03   -1.5676    
  28  Prefactor      .0000        1.2832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.1769        .10728        .52387E-01   -.87318    
  30  Prefactor     .93064        .11750        .66034E-01   -.95078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47208e-06
Minuit parameter uncertainties:
  1  22.4715
  2  11.8331
  3  21.6139
  4  2.02393
  5  4.28373
  6  7.25931e-06
  7  3.33485
  8  10.7699
  9  0.000330588
  10  5.06653e-05
  11  2.41774
  12  18.9267
  13  0.00180127
  14  3.48043
  15  4.7576
  16  9.66477
  17  0.000132354
  18  1.34988
  19  3.06373e-06
  20  6.94191
  21  0.595742
  22  2.40536
  23  10.164
  24  2.37222
  25  0.00234394
  26  11.3049
  27  3.66321
  28  6.41191e-07
  29  0.107303
  30  0.117528
Done.

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

Extracting fit parameters...

4FGL J0025.7-4801
   Spectrum: PowerLaw
72     Prefactor:  0.000e+00  7.259e-06  0.000e+00  1.000e+06 ( 1.000e-13)
73         Index:  2.231e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
74         Scale:  1.512e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  9.306e-01  1.175e-01  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.177e+00  1.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 6.435 -48.019
Photon Flux Upper Limit: 2.0395726294e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00155749077459 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26502903/likelihoodResults_799632001_800236801_4FGL_J0025.7-4801_weekly_bin927.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) = 18198.2011978
delta logL = -0.00220640925181

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18198.1989942
delta logL = -2.80016320175e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   18198.20     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      246 TOTAL
                     EDM=   .86E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5445        .42118E-03** at limit **
   2  Index         1.8250        1.3139        .11758E-04     .0000    
   3  Normalizat    1.1769        1.1149        .19595E-05   -.38485E-04
   4  Prefactor     .93064        1.2740       -.56394E-06   -.12039E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.825
  Normalizat = 1.17694
  Prefactor  = 0.930642
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   18198.20     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .86E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .34342        1.6709        .11758E-04   -.68801    
   3  Normalizat    1.1769        1.1149        .19595E-05   -.87318    
   4  Prefactor     .93064        1.2740       -.56394E-06   -.95078    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.61512e-13
Minuit parameter uncertainties:
  1  1.66838e-06
  2  1.3407
  3  1.13861
  4  1.31883
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) = 18198.1989914
delta logL = 0.0

Extracting fit parameters...

4FGL J0025.7-4801
   Spectrum: PowerLaw
72     Prefactor:  0.000e+00  1.668e-06  0.000e+00  1.000e+06 ( 1.000e-13)
73         Index:  1.825e+00  1.341e+00  0.000e+00  1.000e+01 (-1.000e+00)
74         Scale:  1.512e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  9.306e-01  1.319e+00  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.177e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 6.435 -48.019

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/26502903/cmap_HighResolution_799632001_800236801_4FGL_J0025.7-4801_weekly_bin927.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.56e-03', job_status='DONE', photon_flux_upper_limit='2.04e-08', time_completed='2026-05-12 00:30:51.575890', job_id='26502903', GAL2='0.93', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1778571051.58', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='927' AND source_name='4FGL J0025.7-4801' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 12 00:30:51 PDT 2026

