/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 = 7668
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0733.5-5445_daily_bin2117
RA = 113.385, Dec = -54.7593
tmin = 788054401, tmax = 788313601
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='17878418', job_status='RUN', time_executed='2025-12-25 00:16:27.965652', time_epoch_executed='1766650587.97' WHERE source_name='4FGL J0733.5-5445' and cadence='daily' and bin_id='2117'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17878418

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17878418/ft1_4FGL_J0733.5-5445_daily_bin2117.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17878418/ft2_4FGL_J0733.5-5445_daily_bin2117.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17878418/ft1_4FGL_J0733.5-5445_daily_bin2117.fits outfile=/lscratch/kocevski/17878418/ft1_filteredMKT_4FGL_J0733.5-5445_daily_bin2117.fits ra=113.385 dec=-54.7593 rad=12.0 tmin=788054401.0 tmax=788313601.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.16
user 1.78
sys 0.12

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17878418/ft2_4FGL_J0733.5-5445_daily_bin2117.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17878418/ft2_4FGL_J0733.5-5445_daily_bin2117.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/17878418/ft1_filteredMKT_4FGL_J0733.5-5445_daily_bin2117.fits evtable="EVENTS" outfile="/lscratch/kocevski/17878418/ft1_filtered_4FGL_J0733.5-5445_daily_bin2117.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.56
user 0.16
sys 0.13

Number of photons that the gtmktime cut: 1824

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17878418/ft1_filtered_4FGL_J0733.5-5445_daily_bin2117.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17878418/ft2_4FGL_J0733.5-5445_daily_bin2117.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17878418/ltcube_788054401_788313601_4FGL_J0733.5-5445_daily_bin2117.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/17878418/ft2_4FGL_J0733.5-5445_daily_bin2117.fits
.....................!
real 10.79
user 10.21
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17878418/ft1_filtered_4FGL_J0733.5-5445_daily_bin2117.fits evtable="EVENTS" scfile=/lscratch/kocevski/17878418/ft2_4FGL_J0733.5-5445_daily_bin2117.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17878418/ltcube_788054401_788313601_4FGL_J0733.5-5445_daily_bin2117.fits outfile=/lscratch/kocevski/17878418/expmap_788054401_788313601_4FGL_J0733.5-5445_daily_bin2117.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/17878418/ltcube_788054401_788313601_4FGL_J0733.5-5445_daily_bin2117.fits
.....................!
real 72.50
user 67.58
sys 4.16

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 Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
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 222 point sources and 6 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 J0733.5-5445 @ 113.385 -54.7593

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17878418/ft1_filtered_4FGL_J0733.5-5445_daily_bin2117.fits scfile=/lscratch/kocevski/17878418/ft2_4FGL_J0733.5-5445_daily_bin2117.fits outfile=/lscratch/kocevski/17878418/cmap_788054401_788313601_4FGL_J0733.5-5445_daily_bin2117.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=113.385 yref=-54.7593 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.45
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17878418/ft1_filtered_4FGL_J0733.5-5445_daily_bin2117.fits scfile=/lscratch/kocevski/17878418/ft2_4FGL_J0733.5-5445_daily_bin2117.fits outfile=/lscratch/kocevski/17878418/cmap_HighResolution_788054401_788313601_4FGL_J0733.5-5445_daily_bin2117.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=113.385 yref=-54.7593 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.47
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17878418/ft1_filtered_4FGL_J0733.5-5445_daily_bin2117.fits evtable="EVENTS" scfile=/lscratch/kocevski/17878418/ft2_4FGL_J0733.5-5445_daily_bin2117.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17878418/Model_4FGL_J0733.5-5445_daily_bin2117.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-Galaxy
adding source LMC-North
adding source Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/lscratch/kocevski/17878418/ft1_filtered_4FGL_J0733.5-5445_daily_bin2117.fits.....................!
real 3160.43
user 3141.97
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17878418/ft1_filtered_4FGL_J0733.5-5445_daily_bin2117.fits', '/lscratch/kocevski/17878418/ft2_4FGL_J0733.5-5445_daily_bin2117.fits', expMap='/lscratch/kocevski/17878418/expmap_788054401_788313601_4FGL_J0733.5-5445_daily_bin2117.fits', expCube='/lscratch/kocevski/17878418/ltcube_788054401_788313601_4FGL_J0733.5-5445_daily_bin2117.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17878418/Model_4FGL_J0733.5-5445_daily_bin2117.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0733.5-5445'

4FGL J0733.5-5445
   Spectrum: PowerLaw
338    Prefactor:  1.694e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
339        Index:  2.193e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
340        Scale:  1.788e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17878418/ft1_filtered_4FGL_J0733.5-5445_daily_bin2117.fits
Spacecraft file(s): /lscratch/kocevski/17878418/ft2_4FGL_J0733.5-5445_daily_bin2117.fits
Exposure map: /lscratch/kocevski/17878418/expmap_788054401_788313601_4FGL_J0733.5-5445_daily_bin2117.fits
Exposure cube: /lscratch/kocevski/17878418/ltcube_788054401_788313601_4FGL_J0733.5-5445_daily_bin2117.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17878418/Model_4FGL_J0733.5-5445_daily_bin2117.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) = 17664.7965425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4625       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18242E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .79699       1.0000          .0000       .10000E+07
     4 'Prefactor '    30.132       1.0000          .0000       .10000E+07
     5 'Prefactor '    32.608       1.0000          .0000       .10000E+07
     6 'norm      '    7.1554       1.0000          .0000       .10000E+07
     7 'Prefactor '    .92078       1.0000          .0000       .10000E+07
     8 'norm      '    5.8181       1.0000          .0000       .10000E+07
     9 'norm      '    2.1094       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25370E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .27789E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .93031E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .24293E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .40203E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.6567       1.0000          .0000       .10000E+07
    16 'norm      '    5.7471       1.0000          .0000       .10000E+07
    17 'Prefactor '    19.384       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17061E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .16665E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    .39351       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1306       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17664.76     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1290 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4533        7.2685       -.15360E-05   -.10382E-02
   2  Prefactor     .38858E-09    5.2983        .48543E-06** at limit **
   3  Prefactor     .17299E-03    54.159        .49028E-05** at limit **
   4  Prefactor     30.075        1.6574        .25289E-06    .14243E-01
   5  Prefactor     31.035        24.250        .14251E-05    .12755E-01
   6  norm          7.1286        5.4255       -.13757E-06    .13106E-02
   7  Prefactor     .97159        1.4625       -.22190E-05    .24284E-01
   8  norm          5.7938        5.1795       -.14108E-05   -.47459E-01
   9  norm          2.1211        3.6058        .30759E-05    .66795E-01
  10  Prefactor      .0000        2.7257        .86616E-06** at limit **
  11  Prefactor     .64813E-04    63.991        .23089E-06** at limit **
  12  Prefactor     .38858E-09    6.8679       -.10916E-05** at limit **
  13  norm          .18874E-08    5.3085       -.13161E-05** at limit **
  14  Prefactor      .0000        3.0272       -.73749E-06** at limit **
  15  Prefactor     6.6436        4.7897        .42440E-06   -.57235E-03
  16  norm          5.7187        4.4435       -.13391E-06    .14601E-02
  17  Prefactor     19.638        14.481       -.55421E-05    .50316E-02
  18  Prefactor     .13878E-08    14.122       -.90330E-06** at limit **
  19  norm           .0000        1.7196        .27306E-06** at limit **
  20  Normalizat    .39637        .19889        .91847E-05   -.28529E-04
  21  Prefactor     1.1302        .56568E-01    .45761E-05   -.17122E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.45332
  Prefactor  = 3.88578e-10
  Prefactor  = 0.00017299
  Prefactor  = 30.0749
  Prefactor  = 31.0347
  norm       = 7.12856
  Prefactor  = 0.971594
  norm       = 5.79379
  norm       = 2.12114
  Prefactor  = 0
  Prefactor  = 6.48132e-05
  Prefactor  = 3.88578e-10
  norm       = 1.88738e-09
  Prefactor  = 0
  Prefactor  = 6.64355
  norm       = 5.71868
  Prefactor  = 19.6384
  Prefactor  = 1.38778e-09
  norm       = 0
  Normalizat = 0.39637
  Prefactor  = 1.13016
 **********
 **   18 **HESSE 
 **********

 FCN=   17664.76     FROM HESSE     STATUS=OK           359 CALLS     1649 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4533        7.8856        .88915E-03   -1.5684    
   2  Prefactor     .38858E-09    5.3043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .17299E-03    149.26        .53160E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.075        18.406        .18220E-03   -1.5598    
   5  Prefactor     31.035        24.494        .17514E-03   -1.5597    
   6  norm          7.1286        5.4752        .37476E-03   -1.5655    
   7  Prefactor     .97159        19.438        .44334E-03   -1.5688    
   8  norm          5.7938        6.1800        .41613E-03   -1.5660    
   9  norm          2.1211        9.1544        .71007E-03   -1.5679    
  10  Prefactor      .0000        2.7208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .64813E-04    98.960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .38858E-09    6.8764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .18874E-08    5.2520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        3.0189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.6436        4.7961        .38869E-03   -1.5656    
  16  norm          5.7187        4.4576        .41874E-03   -1.5660    
  17  Prefactor     19.638        15.576        .22721E-03   -1.5619    
  18  Prefactor     .13878E-08    14.146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        1.7141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .39637        .25176        .18030       -1.1749    
  21  Prefactor     1.1302        .64285E-01    .36526E-01   -.88508    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47102e-06
Minuit parameter uncertainties:
  1  6.77064
  2  9.04636e-05
  3  0.321382
  4  18.4055
  5  24.4941
  6  5.47521
  7  8.69165
  8  6.17998
  9  8.81313
  10  4.05029e-07
  11  0.160176
  12  0.000102791
  13  0.000197879
  14  3.04595e-06
  15  4.79609
  16  4.45762
  17  15.5761
  18  0.000282727
  19  2.50898e-06
  20  0.252485
  21  0.0642894
Done.

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

Extracting fit parameters...

4FGL J0733.5-5445
   Spectrum: PowerLaw
338    Prefactor:  0.000e+00  4.050e-07  0.000e+00  1.000e+06 ( 1.000e-13)
339        Index:  2.193e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
340        Scale:  1.788e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
736    Prefactor:  1.130e+00  6.429e-02  0.000e+00  1.000e+01 ( 1.000e+00)
737        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
738        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
735   Normalization:  3.964e-01  2.525e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 113.385 -54.759
Photon Flux Upper Limit: 5.40052241167e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00411257396108 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/17878418/likelihoodResults_788054401_788313601_4FGL_J0733.5-5445_daily_bin2117.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17664.7599904
delta logL = -0.000482077979541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17664.7595094
delta logL = -1.06317384052e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17664.76     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      224 TOTAL
                     EDM=   .33E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.4495        .10183E-06** at limit **
   2  Index         2.3218        1.9982       -.55613E-05     .0000    
   3  Normalizat    .39637        .18685       -.38149E-05    .60129E-05
   4  Prefactor     1.1302        .55718E-01    .10220E-05   -.11106E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.32178
  Normalizat = 0.39637
  Prefactor  = 1.13016
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   17664.76     FROM HESSE     STATUS=FAILED        11 CALLS      235 TOTAL
                     EDM=   .33E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.4394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .60141        1.9795       -.55613E-05   -.56527    
   3  Normalizat    .39637        .71579       -.38149E-05   -1.1749    
   4  Prefactor     1.1302        1.1313        .10220E-05   -.88508    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.33022e-13
Minuit parameter uncertainties:
  1  1.15389e-06
  2  1.87254
  3  0.733384
  4  1.15685
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) = 17664.7595083
delta logL = 0.0

Extracting fit parameters...

4FGL J0733.5-5445
   Spectrum: PowerLaw
338    Prefactor:  0.000e+00  1.154e-06  0.000e+00  1.000e+06 ( 1.000e-13)
339        Index:  2.322e+00  1.873e+00  0.000e+00  1.000e+01 (-1.000e+00)
340        Scale:  1.788e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
736    Prefactor:  1.130e+00  1.157e+00  0.000e+00  1.000e+01 ( 1.000e+00)
737        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
738        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
735   Normalization:  3.964e-01  7.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 113.385 -54.759

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/17878418/cmap_HighResolution_788054401_788313601_4FGL_J0733.5-5445_daily_bin2117.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.11e-03', job_status='DONE', photon_flux_upper_limit='5.40e-08', time_completed='2025-12-25 01:17:33.374834', job_id='17878418', GAL2='1.13', fit_tolerance='1e-08', EG2='0.40', EG='0.40', time_epoch_completed='1766654253.37', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2117' AND source_name='4FGL J0733.5-5445' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 25 01:17:33 PST 2025

