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


Performing analysis on: 4FGL_J1505.0-3433_daily_bin1912
RA = 226.258, Dec = -34.5546
tmin = 734918401, tmax = 735177601
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='44462166', job_status='RUN', time_executed='2024-04-20 08:25:27.547203', time_epoch_executed='1713626727.55' WHERE source_name='4FGL J1505.0-3433' and cadence='daily' and bin_id='1912'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/44462166

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/44462166/ft1_4FGL_J1505.0-3433_daily_bin1912.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/44462166/ft2_4FGL_J1505.0-3433_daily_bin1912.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/44462166/ft1_4FGL_J1505.0-3433_daily_bin1912.fits outfile=/lscratch/kocevski/44462166/ft1_filteredMKT_4FGL_J1505.0-3433_daily_bin1912.fits ra=226.258 dec=-34.5546 rad=12.0 tmin=734918401.0 tmax=735177601.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.20
user 1.95
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/44462166/ft2_4FGL_J1505.0-3433_daily_bin1912.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/44462166/ft2_4FGL_J1505.0-3433_daily_bin1912.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/44462166/ft1_filteredMKT_4FGL_J1505.0-3433_daily_bin1912.fits evtable="EVENTS" outfile="/lscratch/kocevski/44462166/ft1_filtered_4FGL_J1505.0-3433_daily_bin1912.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.51
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1154

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/44462166/ft1_filtered_4FGL_J1505.0-3433_daily_bin1912.fits" evtable="EVENTS" scfile=/lscratch/kocevski/44462166/ft2_4FGL_J1505.0-3433_daily_bin1912.fits sctable="SC_DATA" outfile=/lscratch/kocevski/44462166/ltcube_734918401_735177601_4FGL_J1505.0-3433_daily_bin1912.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/44462166/ft2_4FGL_J1505.0-3433_daily_bin1912.fits
.....................!
real 9.12
user 8.69
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/44462166/ft1_filtered_4FGL_J1505.0-3433_daily_bin1912.fits evtable="EVENTS" scfile=/lscratch/kocevski/44462166/ft2_4FGL_J1505.0-3433_daily_bin1912.fits sctable="SC_DATA" expcube=/lscratch/kocevski/44462166/ltcube_734918401_735177601_4FGL_J1505.0-3433_daily_bin1912.fits outfile=/lscratch/kocevski/44462166/expmap_734918401_735177601_4FGL_J1505.0-3433_daily_bin1912.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/44462166/ltcube_734918401_735177601_4FGL_J1505.0-3433_daily_bin1912.fits
.....................!
real 70.24
user 65.97
sys 3.79

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 CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Extended source FGES J1553.8-5325 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Added 277 point sources and 8 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 J1505.0-3433 @ 226.258 -34.5546

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/44462166/ft1_filtered_4FGL_J1505.0-3433_daily_bin1912.fits scfile=/lscratch/kocevski/44462166/ft2_4FGL_J1505.0-3433_daily_bin1912.fits outfile=/lscratch/kocevski/44462166/cmap_734918401_735177601_4FGL_J1505.0-3433_daily_bin1912.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=226.258 yref=-34.5546 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.42
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/44462166/ft1_filtered_4FGL_J1505.0-3433_daily_bin1912.fits scfile=/lscratch/kocevski/44462166/ft2_4FGL_J1505.0-3433_daily_bin1912.fits outfile=/lscratch/kocevski/44462166/cmap_HighResolution_734918401_735177601_4FGL_J1505.0-3433_daily_bin1912.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=226.258 yref=-34.5546 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.80
user 0.23
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/44462166/ft1_filtered_4FGL_J1505.0-3433_daily_bin1912.fits evtable="EVENTS" scfile=/lscratch/kocevski/44462166/ft2_4FGL_J1505.0-3433_daily_bin1912.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/44462166/Model_4FGL_J1505.0-3433_daily_bin1912.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 CenA Lobes
adding source EG_v02
adding source FGES J1553.8-5325
adding source FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FHES J1626.9-2431
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
Working on...
/lscratch/kocevski/44462166/ft1_filtered_4FGL_J1505.0-3433_daily_bin1912.fits.....................!
real 92.11
user 90.18
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/44462166/ft1_filtered_4FGL_J1505.0-3433_daily_bin1912.fits', '/lscratch/kocevski/44462166/ft2_4FGL_J1505.0-3433_daily_bin1912.fits', expMap='/lscratch/kocevski/44462166/expmap_734918401_735177601_4FGL_J1505.0-3433_daily_bin1912.fits', expCube='/lscratch/kocevski/44462166/ltcube_734918401_735177601_4FGL_J1505.0-3433_daily_bin1912.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/44462166/Model_4FGL_J1505.0-3433_daily_bin1912.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1505.0-3433'

4FGL J1505.0-3433
   Spectrum: PowerLaw
351    Prefactor:  1.596e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
352        Index:  2.277e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  1.627e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/44462166/ft1_filtered_4FGL_J1505.0-3433_daily_bin1912.fits
Spacecraft file(s): /lscratch/kocevski/44462166/ft2_4FGL_J1505.0-3433_daily_bin1912.fits
Exposure map: /lscratch/kocevski/44462166/expmap_734918401_735177601_4FGL_J1505.0-3433_daily_bin1912.fits
Exposure cube: /lscratch/kocevski/44462166/ltcube_734918401_735177601_4FGL_J1505.0-3433_daily_bin1912.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/44462166/Model_4FGL_J1505.0-3433_daily_bin1912.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) = 11722.7004644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .75007E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .42867E-02   1.0000          .0000       .10000E+07
     3 'norm      '    3.3924       1.0000          .0000       .10000E+07
     4 'Prefactor '    395.34       1.0000          .0000       .10000E+07
     5 'Prefactor '    57.349       1.0000          .0000       .10000E+07
     6 'Prefactor '    .66414E-02   1.0000          .0000       .10000E+07
     7 'norm      '    24.066       1.0000          .0000       .10000E+07
     8 'Prefactor '    .67499E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11823E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2858       1.0000          .0000       .10000E+07
    11 'norm      '    .42139       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15876E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10505E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .30674E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .19198E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .98771       1.0000          .0000       .10000E+07
    17 'Prefactor '    .45753E-03   1.0000          .0000       .10000E+07
    18 'norm      '    1.8844       1.0000          .0000       .10000E+07
    19 'norm      '    .41833E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2463       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .88758       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11722.69     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1746 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.0269       -.94951E-06** at limit **
   2  Prefactor     .17097E-07    43.274        .49331E-05** at limit **
   3  norm          3.3924        .33430       -.14826E-06   -.16991E-02
   4  Prefactor     395.46        9.9614        .29081E-07   -.41947    
   5  Prefactor     58.078        46.627        .15027E-06    .31465E-01
   6  Prefactor     .11102E-09    12.582       -.40039E-07** at limit **
   7  norm          24.119        1.4326       -.10978E-07   -.73764E-01
   8  Prefactor     .64393E-08    64.091       -.18249E-05** at limit **
   9  Prefactor     .99920E-09    7.2806        .49660E-07** at limit **
  10  Prefactor     7.2743        1.9189        .13643E-06    .10619E-01
  11  norm          .42160        .80455        .27459E-06    .16829E-03
  12  Prefactor      .0000        4.6490        .12013E-05** at limit **
  13  Prefactor     .70499E-08    31.858        .19474E-05** at limit **
  14  norm           .0000        2.2999        .14296E-06** at limit **
  15  norm           .0000        51.684       -.97372E-06** at limit **
  16  norm          .98803        .80043        .61247E-07   -.26964E-03
  17  Prefactor      .0000        3.4257       -.33783E-06** at limit **
  18  norm          1.8847        2.6935        .30045E-06   -.25872E-04
  19  norm          .61062E-09    7.0139       -.71295E-06** at limit **
  20  Normalizat    1.2458        .34131       -.45235E-05   -.32089E-05
  21  Prefactor     .88763        .75447E-01    .39815E-06   -.12166E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 1.70974e-08
  norm       = 3.39241
  Prefactor  = 395.463
  Prefactor  = 58.0777
  Prefactor  = 1.11022e-10
  norm       = 24.1186
  Prefactor  = 6.43929e-09
  Prefactor  = 9.99201e-10
  Prefactor  = 7.27429
  norm       = 0.421599
  Prefactor  = 0
  Prefactor  = 7.04992e-09
  norm       = 0
  norm       = 0
  norm       = 0.988029
  Prefactor  = 0
  norm       = 1.88467
  norm       = 6.10623e-10
  Normalizat = 1.24579
  Prefactor  = 0.887627
 **********
 **   18 **HESSE 
 **********

 FCN=   11722.69     FROM HESSE     STATUS=OK           355 CALLS     2101 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17097E-07    43.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.3924        .34263        .42931E-03   -1.5671    
   4  Prefactor     395.46        200.84        .50304E-04   -1.5310    
   5  Prefactor     58.078        46.678        .13206E-03   -1.5556    
   6  Prefactor     .11102E-09    12.534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          24.119        14.293        .20389E-03   -1.5610    
   8  Prefactor     .64393E-08    64.029        .14901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .99920E-09    7.2996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2743        24.420        .37136E-03   -1.5654    
  11  norm          .42160        .82265        .87049E-03   -1.5695    
  12  Prefactor      .0000        4.6455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .70499E-08    31.704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        2.3024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        50.529        .17090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .98803        .80463        .43330E-03   -1.5688    
  17  Prefactor      .0000        3.4259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.8847        2.7147        .75794E-03   -1.5681    
  19  norm          .61062E-09    7.0201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2458        .30845        .12844       -.85199    
  21  Prefactor     .88763        .67303E-01    .33303E-01   -.96575    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80724e-05
Minuit parameter uncertainties:
  1  3.31087e-06
  2  0.00171699
  3  0.342631
  4  200.844
  5  46.6781
  6  6.78597e-05
  7  14.2931
  8  0.00128324
  9  0.000169252
  10  24.4205
  11  0.822646
  12  2.97876e-06
  13  0.000944849
  14  1.59314e-06
  15  4.97472e-05
  16  0.804632
  17  2.6544e-06
  18  2.7147
  19  0.000131241
  20  0.308901
  21  0.0673097
Done.

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

Extracting fit parameters...

4FGL J1505.0-3433
   Spectrum: PowerLaw
351    Prefactor:  0.000e+00  2.979e-06  0.000e+00  1.000e+06 ( 1.000e-13)
352        Index:  2.277e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  1.627e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
978    Prefactor:  8.876e-01  6.731e-02  0.000e+00  1.000e+01 ( 1.000e+00)
979        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
980        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
958   Normalization:  1.246e+00  3.089e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 226.258 -34.555
Photon Flux Upper Limit: 8.60623700278e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00659422111502 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/44462166/likelihoodResults_734918401_735177601_4FGL_J1505.0-3433_daily_bin1912.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) = 11722.6904769
delta logL = -0.000207361243156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11722.690272
delta logL = -2.46728086495e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11722.69     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      242 TOTAL
                     EDM=   .50E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1728        .42118E-03** at limit **
   2  Index         2.3773        1.5599       -.18249E-04     .0000    
   3  Normalizat    1.2458        1.0927        .39072E-05    .13750E-04
   4  Prefactor     .88763        1.2332        .99260E-06    .60245E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37733
  Normalizat = 1.24579
  Prefactor  = 0.887627
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11722.69     FROM HESSE     STATUS=FAILED         9 CALLS      251 TOTAL
                     EDM=   .50E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63293        1.9268       -.18249E-04   -.55217    
   3  Normalizat    1.2458        1.0927        .39072E-05   -.85199    
   4  Prefactor     .88763        1.2332        .99260E-06   -.96575    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.96019e-13
Minuit parameter uncertainties:
  1  2.58942e-06
  2  1.59711
  3  1.11386
  4  1.27548
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) = 11722.6902695
delta logL = 0.0

Extracting fit parameters...

4FGL J1505.0-3433
   Spectrum: PowerLaw
351    Prefactor:  0.000e+00  2.589e-06  0.000e+00  1.000e+06 ( 1.000e-13)
352        Index:  2.377e+00  1.597e+00  0.000e+00  1.000e+01 (-1.000e+00)
353        Scale:  1.627e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
978    Prefactor:  8.876e-01  1.275e+00  0.000e+00  1.000e+01 ( 1.000e+00)
979        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
980        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
958   Normalization:  1.246e+00  1.114e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 226.258 -34.555

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/44462166/cmap_HighResolution_734918401_735177601_4FGL_J1505.0-3433_daily_bin1912.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.61e-08', time_completed='2024-04-20 08:35:37.928363', job_id='44462166', GAL2='0.89', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1713627337.93', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1912' AND source_name='4FGL J1505.0-3433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr 20 08:35:38 PDT 2024

