aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 209 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 = 7439
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0301.6-7155_daily_bin1743
RA = 45.4036, Dec = -71.9279
tmin = 691113601, tmax = 691372801
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='461182', job_status='RUN', time_executed='2022-11-29 01:04:02.152673', time_epoch_executed='1669712642.15' WHERE source_name='4FGL J0301.6-7155' and cadence='daily' and bin_id='1743'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/461182

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/461182/ft1_4FGL_J0301.6-7155_daily_bin1743.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/461182/ft2_4FGL_J0301.6-7155_daily_bin1743.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/461182/ft1_4FGL_J0301.6-7155_daily_bin1743.fits outfile=/scratch/kocevski/461182/ft1_filteredMKT_4FGL_J0301.6-7155_daily_bin1743.fits ra=45.4036 dec=-71.9279 rad=12.0 tmin=691113601.0 tmax=691372801.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.80
user 2.56
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/461182/ft2_4FGL_J0301.6-7155_daily_bin1743.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/461182/ft2_4FGL_J0301.6-7155_daily_bin1743.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/461182/ft1_filteredMKT_4FGL_J0301.6-7155_daily_bin1743.fits evtable="EVENTS" outfile="/scratch/kocevski/461182/ft1_filtered_4FGL_J0301.6-7155_daily_bin1743.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.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 1149

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/461182/ft1_filtered_4FGL_J0301.6-7155_daily_bin1743.fits" evtable="EVENTS" scfile=/scratch/kocevski/461182/ft2_4FGL_J0301.6-7155_daily_bin1743.fits sctable="SC_DATA" outfile=/scratch/kocevski/461182/ltcube_691113601_691372801_4FGL_J0301.6-7155_daily_bin1743.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/461182/ft2_4FGL_J0301.6-7155_daily_bin1743.fits
.....................!
real 16.38
user 16.03
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/461182/ft1_filtered_4FGL_J0301.6-7155_daily_bin1743.fits evtable="EVENTS" scfile=/scratch/kocevski/461182/ft2_4FGL_J0301.6-7155_daily_bin1743.fits sctable="SC_DATA" expcube=/scratch/kocevski/461182/ltcube_691113601_691372801_4FGL_J0301.6-7155_daily_bin1743.fits outfile=/scratch/kocevski/461182/expmap_691113601_691372801_4FGL_J0301.6-7155_daily_bin1743.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/461182/ltcube_691113601_691372801_4FGL_J0301.6-7155_daily_bin1743.fits
.....................!
real 191.93
user 186.39
sys 4.92

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 SMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-FarWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /nfs/farm/g/glast/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 /nfs/farm/g/glast/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 /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template.
Added 194 point sources and 5 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 J0301.6-7155 @ 45.4036 -71.9279

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/461182/ft1_filtered_4FGL_J0301.6-7155_daily_bin1743.fits scfile=/scratch/kocevski/461182/ft2_4FGL_J0301.6-7155_daily_bin1743.fits outfile=/scratch/kocevski/461182/cmap_691113601_691372801_4FGL_J0301.6-7155_daily_bin1743.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=45.4036 yref=-71.9279 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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/461182/ft1_filtered_4FGL_J0301.6-7155_daily_bin1743.fits scfile=/scratch/kocevski/461182/ft2_4FGL_J0301.6-7155_daily_bin1743.fits outfile=/scratch/kocevski/461182/cmap_HighResolution_691113601_691372801_4FGL_J0301.6-7155_daily_bin1743.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=45.4036 yref=-71.9279 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.60
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/461182/ft1_filtered_4FGL_J0301.6-7155_daily_bin1743.fits evtable="EVENTS" scfile=/scratch/kocevski/461182/ft2_4FGL_J0301.6-7155_daily_bin1743.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/461182/Model_4FGL_J0301.6-7155_daily_bin1743.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source SMC-Galaxy
Working on...
/scratch/kocevski/461182/ft1_filtered_4FGL_J0301.6-7155_daily_bin1743.fits.....................!
real 10128.01
user 10104.35
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/461182/ft1_filtered_4FGL_J0301.6-7155_daily_bin1743.fits', '/scratch/kocevski/461182/ft2_4FGL_J0301.6-7155_daily_bin1743.fits', expMap='/scratch/kocevski/461182/expmap_691113601_691372801_4FGL_J0301.6-7155_daily_bin1743.fits', expCube='/scratch/kocevski/461182/ltcube_691113601_691372801_4FGL_J0301.6-7155_daily_bin1743.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/461182/Model_4FGL_J0301.6-7155_daily_bin1743.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0301.6-7155'

4FGL J0301.6-7155
   Spectrum: PowerLaw
203    Prefactor:  8.711e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
204        Index:  2.539e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
205        Scale:  7.670e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/461182/ft1_filtered_4FGL_J0301.6-7155_daily_bin1743.fits
Spacecraft file(s): /scratch/kocevski/461182/ft2_4FGL_J0301.6-7155_daily_bin1743.fits
Exposure map: /scratch/kocevski/461182/expmap_691113601_691372801_4FGL_J0301.6-7155_daily_bin1743.fits
Exposure cube: /scratch/kocevski/461182/ltcube_691113601_691372801_4FGL_J0301.6-7155_daily_bin1743.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/461182/Model_4FGL_J0301.6-7155_daily_bin1743.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) = 12117.5769374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.982       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.2445       1.0000          .0000       .10000E+07
     3 'Prefactor '    .79969E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .26124E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.0112       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.0316       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.660       1.0000          .0000       .10000E+07
     8 'Prefactor '    23.299       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.1779       1.0000          .0000       .10000E+07
    10 'norm      '    8.0974       1.0000          .0000       .10000E+07
    11 'norm      '    .40419       1.0000          .0000       .10000E+07
    12 'Prefactor '    .27293E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.2215       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.496       1.0000          .0000       .10000E+07
    15 'Prefactor '    .36284E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.3858       1.0000          .0000       .10000E+07
    17 'norm      '    .35258E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1859       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .86295       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12117.57     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1459 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.944        8.3127        .92767E-07    .47980E-02
   2  Prefactor     2.2461        2.9447       -.61936E-08    .69021E-02
   3  Prefactor     .55511E-10    1.1377       -.76686E-06** at limit **
   4  norm          .33307E-09    3.2096       -.46528E-06** at limit **
   5  Prefactor     2.0064        2.0759       -.16541E-06   -.20050E-02
   6  Prefactor     4.0291        5.0562        .97210E-07    .15936E-02
   7  Prefactor     45.399        70.060        .67443E-05   -.38858E-02
   8  Prefactor     23.373        13.673       -.42642E-05    .63778E-01
   9  Prefactor     6.1918        16.296        .49868E-05    .90860E-02
  10  norm          8.1260        4.8368        .20357E-06    .18304E-02
  11  norm          .40283        .60623       -.19286E-06    .59011E-02
  12  Prefactor     .17764E-08    5.4023       -.97884E-06** at limit **
  13  Prefactor     6.2196        10.190        .42291E-06   -.75083E-03
  14  Prefactor     13.495        16.410        .65710E-05    .37915E-01
  15  Prefactor     .57176E-08    55.837        .99691E-06** at limit **
  16  Prefactor     9.4232        6.8381        .33439E-06    .33968E-04
  17  norm          .55511E-10    19.454        .78073E-06** at limit **
  18  Normalizat    1.1857        .16963       -.96064E-05   -.56301E-03
  19  Prefactor     .86298        .10264       -.68125E-05   -.73100E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.9445
  Prefactor  = 2.24609
  Prefactor  = 5.55112e-11
  norm       = 3.33067e-10
  Prefactor  = 2.00641
  Prefactor  = 4.02912
  Prefactor  = 45.3986
  Prefactor  = 23.3728
  Prefactor  = 6.19185
  norm       = 8.12598
  norm       = 0.402829
  Prefactor  = 1.77636e-09
  Prefactor  = 6.21963
  Prefactor  = 13.495
  Prefactor  = 5.71765e-09
  Prefactor  = 9.42324
  norm       = 5.55112e-11
  Normalizat = 1.18568
  Prefactor  = 0.862975
 **********
 **   18 **HESSE 
 **********

 FCN=   12117.57     FROM HESSE     STATUS=OK           316 CALLS     1775 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.944        8.2911        .24277E-03   -1.5626    
   2  Prefactor     2.2461        2.9611        .68568E-03   -1.5678    
   3  Prefactor     .55511E-10    1.1325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .33307E-09    3.2150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.0064        2.0914        .72971E-03   -1.5680    
   6  Prefactor     4.0291        5.0836        .50197E-03   -1.5668    
   7  Prefactor     45.399        70.700        .14965E-03   -1.5573    
   8  Prefactor     23.373        23.570        .20722E-03   -1.5611    
   9  Prefactor     6.1918        16.672        .40366E-03   -1.5658    
  10  norm          8.1260        4.9898        .35210E-03   -1.5651    
  11  norm          .40283        .74076        .23335E-02   -1.5695    
  12  Prefactor     .17764E-08    5.3998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.2196        10.200        .40223E-03   -1.5658    
  14  Prefactor     13.495        19.685        .27240E-03   -1.5634    
  15  Prefactor     .57176E-08    53.226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.4232        6.8456        .32688E-03   -1.5647    
  17  norm          .55511E-10    19.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1857        .14974        .63457E-01   -.87046    
  19  Prefactor     .86298        .87870E-01    .44531E-01   -.97447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77575e-07
Minuit parameter uncertainties:
  1  8.29115
  2  2.96107
  3  1.20713e-05
  4  6.61966e-05
  5  2.0914
  6  5.0836
  7  70.7013
  8  23.5699
  9  16.6719
  10  4.98982
  11  0.74076
  12  0.00019438
  13  10.2004
  14  19.6851
  15  0.00110367
  16  6.84558
  17  5.59614e-05
  18  0.149795
  19  0.0878845
Done.

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

Extracting fit parameters...

4FGL J0301.6-7155
   Spectrum: PowerLaw
203    Prefactor:  2.337e+01  2.357e+01  0.000e+00  1.000e+06 ( 1.000e-13)
204        Index:  2.539e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
205        Scale:  7.670e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  8.630e-01  8.788e-02  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  1.186e+00  1.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.38
Ra Dec: 45.404 -71.928
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 2.68e-08 +/- 2.70e-08
Energy Flux (Fixed Index): 7.47e-06 +/- 7.53e-06

TS (Fixed Index): 1.38
Ra Dec: 45.404 -71.928
Photon Flux Upper Limit: 8.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/461182/likelihoodResults_691113601_691372801_4FGL_J0301.6-7155_daily_bin1743.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) = 12117.1016602
delta logL = 0.463607414616

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12117.0489537
delta logL = 0.516313873564

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12117.05     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      299 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6217        120.21        .16327E-04   -.95338E-02
   2  Index         3.9849        6.9624        .73014E-02   -.19098E-03
   3  Normalizat    1.1458        .14116        .28489E-03    .17658E-02
   4  Prefactor     .88012        .87170E-01    .19792E-03    .24289E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.6217
  Index      = 3.98495
  Normalizat = 1.14582
  Prefactor  = 0.880115
 **********
 **   18 **HESSE 
 **********

 FCN=   12117.05     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6217        18.391        .65309E-06   -1.5665    
   2  Index         3.9849        2.2276        .29206E-03   -.20443    
   3  Normalizat    1.1458        .16795        .56979E-04   -.88294    
   4  Prefactor     .88012        .10205        .39584E-04   -.96839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77766e-09
Minuit parameter uncertainties:
  1  18.3915
  2  2.31263
  3  0.168025
  4  0.102071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/461182': 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): 0
logL (Free Index) = 12117.0489537
delta logL = 0.516313915839

Extracting fit parameters...

4FGL J0301.6-7155
   Spectrum: PowerLaw
203    Prefactor:  4.622e+00  1.839e+01  0.000e+00  1.000e+06 ( 1.000e-13)
204        Index:  3.985e+00  2.313e+00  0.000e+00  1.000e+01 (-1.000e+00)
205        Scale:  7.670e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  8.801e-01  1.021e-01  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  1.146e+00  1.680e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.54
Ra Dec: 45.404 -71.928
Photon Index (Free Index): 3.98 +/- 2.31
Photon Flux (Free Index): 5.22e-08 +/- 3.85e-08
Energy Flux (Free Index): 7.83e-06 +/- 6.45e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/461182/cmap_HighResolution_691113601_691372801_4FGL_J0301.6-7155_daily_bin1743.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.56e-03', comment='SUCCESS', photon_flux='2.68e-08', energy_flux2='7.83e-06', photon_flux_error='2.70e-08', dlogl='5.16e-01', energy_flux='7.47e-06', photon_flux2='5.22e-08', job_status='DONE', time_completed='2022-11-29 04:06:01.032114', photon_index_error2='2.31', photon_index2='3.98', ts='1.38', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='8.41e-08', energy_flux_error2='6.45e-06', EG='1.19', time_epoch_completed='1669723561.03', return_code='0', job_id='461182', GAL2='0.88', EG2='1.15', return_code2='0', energy_flux_error='7.53e-06', photon_flux_error2='3.85e-08', ts2='2.54', photon_index='2.54' WHERE bin_id='1743' AND source_name='4FGL J0301.6-7155' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov 29 04:06:01 PST 2022

-----------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 445311: <4FGL_J0301.6-7155_daily_bin1743> in cluster <slac> Done

Job <4FGL_J0301.6-7155_daily_bin1743> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Nov 29 00:06:12 2022
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov 29 00:09:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov 29 00:09:15 2022
Terminated at Tue Nov 29 03:11:12 2022
Results reported at Tue Nov 29 03:11:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0301.6-7155_daily_bin1743 45.4036 -71.9279 691113601 691372801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0301.6-7155 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   10754.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             595.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10917 sec.
    Turnaround time :                            11100 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 461182: <4FGL_J0301.6-7155_daily_bin1743> in cluster <slac> Done

Job <4FGL_J0301.6-7155_daily_bin1743> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov 29 01:00:17 2022
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov 29 01:00:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov 29 01:00:24 2022
Terminated at Tue Nov 29 04:06:01 2022
Results reported at Tue Nov 29 04:06:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0301.6-7155_daily_bin1743 45.4036 -71.9279 691113601 691372801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0301.6-7155 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   10905.00 sec.
    Max Memory :                                 628 MB
    Average Memory :                             588.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11137 sec.
    Turnaround time :                            11144 sec.

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

