/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 129 seconds before starting...
Proceeding.

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).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 7474
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1505.0-3433_daily_bin1744
RA = 226.258, Dec = -34.5546
tmin = 691372801, tmax = 691632001
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='583804', job_status='RUN', time_executed='2022-12-02 01:12:52.447389', time_epoch_executed='1669972372.45' WHERE source_name='4FGL J1505.0-3433' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/583804

Creating custom pfile directory:
/scratch/kocevski/583804/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=691372801.0 && nMetStart<691632001.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=691372801.0 && nMetStart<691632001.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/583804/ft1_4FGL_J1505.0-3433_daily_bin1744.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=691372801.0 && nMetStart<691632001.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/583804/ft2_4FGL_J1505.0-3433_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/583804/ft1_4FGL_J1505.0-3433_daily_bin1744.fits outfile=/scratch/kocevski/583804/ft1_filteredMKT_4FGL_J1505.0-3433_daily_bin1744.fits ra=226.258 dec=-34.5546 rad=12.0 tmin=691372801.0 tmax=691632001.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.51
user 2.31
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/583804/ft2_4FGL_J1505.0-3433_daily_bin1744.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/583804/ft2_4FGL_J1505.0-3433_daily_bin1744.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/583804/ft1_filteredMKT_4FGL_J1505.0-3433_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/583804/ft1_filtered_4FGL_J1505.0-3433_daily_bin1744.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 285

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/583804/ft1_filtered_4FGL_J1505.0-3433_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/583804/ft2_4FGL_J1505.0-3433_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/583804/ltcube_691372801_691632001_4FGL_J1505.0-3433_daily_bin1744.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 /scratch/kocevski/583804/ft2_4FGL_J1505.0-3433_daily_bin1744.fits
.....................!
real 12.72
user 12.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/583804/ft1_filtered_4FGL_J1505.0-3433_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/583804/ft2_4FGL_J1505.0-3433_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/583804/ltcube_691372801_691632001_4FGL_J1505.0-3433_daily_bin1744.fits outfile=/scratch/kocevski/583804/expmap_691372801_691632001_4FGL_J1505.0-3433_daily_bin1744.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 /scratch/kocevski/583804/ltcube_691372801_691632001_4FGL_J1505.0-3433_daily_bin1744.fits
.....................!
real 190.85
user 184.79
sys 5.70

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 /nfs/farm/g/glast/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=/scratch/kocevski/583804/ft1_filtered_4FGL_J1505.0-3433_daily_bin1744.fits scfile=/scratch/kocevski/583804/ft2_4FGL_J1505.0-3433_daily_bin1744.fits outfile=/scratch/kocevski/583804/cmap_691372801_691632001_4FGL_J1505.0-3433_daily_bin1744.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/583804/ft1_filtered_4FGL_J1505.0-3433_daily_bin1744.fits scfile=/scratch/kocevski/583804/ft2_4FGL_J1505.0-3433_daily_bin1744.fits outfile=/scratch/kocevski/583804/cmap_HighResolution_691372801_691632001_4FGL_J1505.0-3433_daily_bin1744.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/583804/ft1_filtered_4FGL_J1505.0-3433_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/583804/ft2_4FGL_J1505.0-3433_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/583804/Model_4FGL_J1505.0-3433_daily_bin1744.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...
/scratch/kocevski/583804/ft1_filtered_4FGL_J1505.0-3433_daily_bin1744.fits.....................!
real 61.53
user 59.99
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/583804/ft1_filtered_4FGL_J1505.0-3433_daily_bin1744.fits', '/scratch/kocevski/583804/ft2_4FGL_J1505.0-3433_daily_bin1744.fits', expMap='/scratch/kocevski/583804/expmap_691372801_691632001_4FGL_J1505.0-3433_daily_bin1744.fits', expCube='/scratch/kocevski/583804/ltcube_691372801_691632001_4FGL_J1505.0-3433_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/583804/Model_4FGL_J1505.0-3433_daily_bin1744.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): /scratch/kocevski/583804/ft1_filtered_4FGL_J1505.0-3433_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/583804/ft2_4FGL_J1505.0-3433_daily_bin1744.fits
Exposure map: /scratch/kocevski/583804/expmap_691372801_691632001_4FGL_J1505.0-3433_daily_bin1744.fits
Exposure cube: /scratch/kocevski/583804/ltcube_691372801_691632001_4FGL_J1505.0-3433_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/583804/Model_4FGL_J1505.0-3433_daily_bin1744.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) = 2807.81568683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2807.62887702

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15627E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    18.155       1.0000          .0000       .10000E+07
     3 'norm      '    4.7397       1.0000          .0000       .10000E+07
     4 'Prefactor '    81.318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31766E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.4854       1.0000          .0000       .10000E+07
     7 'norm      '    5.1423       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.8029       1.0000          .0000       .10000E+07
     9 'Prefactor '    56.793       1.0000          .0000       .10000E+07
    10 'Prefactor '    .93980E-02   1.0000          .0000       .10000E+07
    11 'norm      '    1.5107       1.0000          .0000       .10000E+07
    12 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
    13 'Prefactor '    .43054E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .98699E-07   1.0000          .0000       .10000E+07
    15 'norm      '    135.54       1.0000          .0000       .10000E+07
    16 'norm      '    3.5369       1.0000          .0000       .10000E+07
    17 'Prefactor '    .95147E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .61472E-04   1.0000          .0000       .10000E+07
    19 'norm      '    .11488E+06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0505       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .70974       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=   2807.622     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     2062 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.6018       -.23914E-06** at limit **
   2  Prefactor     18.377        24.290       -.10757E-05    .13454    
   3  norm          4.7418        .56920        .62019E-08    .78421E-03
   4  Prefactor     79.034        15.452       -.43364E-07    .21002    
   5  Prefactor     .73830E-08    31.437        .12753E-05** at limit **
   6  Prefactor     6.3728        42.262       -.32136E-05   -.61848E-01
   7  norm          4.8873        31.455        .36895E-06    .23381E-01
   8  Prefactor     27.583        660.68        .39421E-05    .87865E-03
   9  Prefactor     60.982        73.350       -.15814E-05    .33236E-01
  10  Prefactor     .44409E-08    39.812       -.15350E-05** at limit **
  11  norm          1.4799        2.0784       -.50297E-07    .49222E-04
  12  Prefactor     .55511E-10    14.242        .34833E-06** at limit **
  13  Prefactor     .55511E-10    8.3464        .37537E-07** at limit **
  14  norm           .0000        6.4305       -.13496E-06** at limit **
  15  norm          134.76        5.7500       -.33407E-07    .91336E-01
  16  norm          3.5414        2.2488        .78836E-07    .24249E-03
  17  Prefactor      .0000        10.820        .10554E-06** at limit **
  18  norm           .0000        4.0689       -.84924E-08** at limit **
  19  norm          .11488E+06    1.1973        .40629E-10   -.86033    
  20  Normalizat    1.0365        .67156       -.11511E-04    .20675E-04
  21  Prefactor     .71102        .20229        .26947E-05    .33681E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 18.3766
  norm       = 4.74182
  Prefactor  = 79.0339
  Prefactor  = 7.38298e-09
  Prefactor  = 6.37275
  norm       = 4.8873
  Prefactor  = 27.5833
  Prefactor  = 60.9823
  Prefactor  = 4.44089e-09
  norm       = 1.4799
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 134.764
  norm       = 3.54144
  Prefactor  = 0
  norm       = 0
  norm       = 114884
  Normalizat = 1.03649
  Prefactor  = 0.711019
 **********
 **   18 **HESSE 
 **********

 FCN=   2807.622     FROM HESSE     STATUS=OK           355 CALLS     2417 TOTAL
                     EDM=   .63E-02    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.6078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.377        38.921        .23478E-03   -1.5622    
   3  norm          4.7418        .57228        .30029E-03   -1.5664    
   4  Prefactor     79.034        172.91        .11090E-03   -1.5530    
   5  Prefactor     .73830E-08    31.493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.3728        68.999        .36633E-03   -1.5657    
   7  norm          4.8873        31.234        .44310E-03   -1.5664    
   8  Prefactor     27.583        668.27        .60738E-03   -1.5603    
   9  Prefactor     60.982        74.504        .13270E-03   -1.5552    
  10  Prefactor     .44409E-08    39.923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.4799        2.1183        .86987E-03   -1.5684    
  12  Prefactor     .55511E-10    14.211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    8.3335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        6.4281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          134.76        169.94        .85902E-04   -1.5476    
  16  norm          3.5414        2.2597        .53724E-03   -1.5670    
  17  Prefactor      .0000        10.805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        4.0646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .11488E+06    29196.        .41924E-05   -.87920    
  20  Normalizat    1.0365        .59746        .12459       -.91818    
  21  Prefactor     .71102        .17564        .42531E-01   -1.0310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.00625545
Minuit parameter uncertainties:
  1  1.27015e-05
  2  38.9215
  3  0.572278
  4  172.918
  5  0.000962807
  6  41.9392
  7  24.7105
  8  271.572
  9  74.5048
  10  0.000843184
  11  2.11826
  12  5.11177e-05
  13  3.27731e-05
  14  2.60886e-05
  15  169.945
  16  2.25973
  17  2.74075e-05
  18  1.56961e-05
  19  29237.1
  20  0.601387
  21  0.175779
Done.

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

Extracting fit parameters...

4FGL J1505.0-3433
   Spectrum: PowerLaw
351    Prefactor:  5.551e-11  5.112e-05  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:  7.110e-01  1.758e-01  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.036e+00  6.014e-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: 2.91e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.23e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/583804/likelihoodResults_691372801_691632001_4FGL_J1505.0-3433_daily_bin1744.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) = 2807.65565029
delta logL = -0.0336632518847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2807.62199014
delta logL = -3.09682172883e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39920E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .77776       1.0000          .0000       10.000    
     3 'Normalizat'    1.0367       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71085       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=   2807.622     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      192 TOTAL
                     EDM=   .84E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    23.531        .31002E-06** at limit **
   2  Index         1.5995        5.6549       -.69528E-05   -.96690E-12
   3  Normalizat    1.0365        .64326       -.50139E-04   -.34939E-05
   4  Prefactor     .71102        .19885        .43242E-04    .35540E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 1.59949
  Normalizat = 1.03648
  Prefactor  = 0.71102
 **********
 **   18 **HESSE 
 **********

 FCN=   2807.622     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      225 TOTAL
                     EDM=   .34E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .25448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5995        8.8424        .43427       -.74790    
   3  Normalizat    1.0365        .14992E-02    .12460       -.91818    
   4  Prefactor     .71102        .45795E-03    .42545E-01   -1.0310    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.39975e-14
Minuit parameter uncertainties:
  1  9.52931e-06
  2  22882.9
  3  0.00149919
  4  0.000457951
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/583804': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2807.62198704
delta logL = -3.18323145621e-12

Extracting fit parameters...

4FGL J1505.0-3433
   Spectrum: PowerLaw
351    Prefactor:  1.110e-10  9.529e-06  0.000e+00  1.000e+06 ( 1.000e-13)
352        Index:  1.599e+00  2.288e+04  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:  7.110e-01  4.580e-04  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.036e+00  1.499e-03  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/583804/cmap_HighResolution_691372801_691632001_4FGL_J1505.0-3433_daily_bin1744.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/583804

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.23e-02', job_status='DONE', photon_flux_upper_limit='2.91e-07', time_completed='2022-12-02 01:22:49.855323', job_id='583804', GAL2='0.71', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1669972969.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='-3.18e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1744' AND source_name='4FGL J1505.0-3433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 01:22:49 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0129>
Subject: Job 583804: <4FGL_J1505.0-3433_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1505.0-3433_daily_bin1744> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec  2 01:10:19 2022
Job was executed on host(s) <bullet0129>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:10:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 01:10:20 2022
Terminated at Fri Dec  2 01:22:50 2022
Results reported at Fri Dec  2 01:22:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1505.0-3433_daily_bin1744 226.258 -34.5546 691372801 691632001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1505.0-3433 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   597.23 sec.
    Max Memory :                                 1260 MB
    Average Memory :                             304.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            751 sec.

The output (if any) is above this job summary.

