aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
User defined signal 2
Repository/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 12 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1733.6-6054_daily_bin1670
RA = 263.425, Dec = -60.9065
tmin = 672192001, tmax = 672451201
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='865140', job_status='RUN', time_executed='2022-04-24 00:30:27.191420', time_epoch_executed='1650785427.19' WHERE source_name='4FGL J1733.6-6054' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/865140

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/865140/ft1_4FGL_J1733.6-6054_daily_bin1670.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/865140/ft2_4FGL_J1733.6-6054_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/865140/ft1_4FGL_J1733.6-6054_daily_bin1670.fits outfile=/scratch/kocevski/865140/ft1_filteredMKT_4FGL_J1733.6-6054_daily_bin1670.fits ra=263.425 dec=-60.9065 rad=12.0 tmin=672192001.0 tmax=672451201.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 5.10
user 4.81
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/865140/ft2_4FGL_J1733.6-6054_daily_bin1670.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/865140/ft2_4FGL_J1733.6-6054_daily_bin1670.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/865140/ft1_filteredMKT_4FGL_J1733.6-6054_daily_bin1670.fits evtable="EVENTS" outfile="/scratch/kocevski/865140/ft1_filtered_4FGL_J1733.6-6054_daily_bin1670.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 1997

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/865140/ft1_filtered_4FGL_J1733.6-6054_daily_bin1670.fits" evtable="EVENTS" scfile=/scratch/kocevski/865140/ft2_4FGL_J1733.6-6054_daily_bin1670.fits sctable="SC_DATA" outfile=/scratch/kocevski/865140/ltcube_672192001_672451201_4FGL_J1733.6-6054_daily_bin1670.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/865140/ft2_4FGL_J1733.6-6054_daily_bin1670.fits
.....................!
real 12.31
user 11.93
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/865140/ft1_filtered_4FGL_J1733.6-6054_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/865140/ft2_4FGL_J1733.6-6054_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/865140/ltcube_672192001_672451201_4FGL_J1733.6-6054_daily_bin1670.fits outfile=/scratch/kocevski/865140/expmap_672192001_672451201_4FGL_J1733.6-6054_daily_bin1670.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/865140/ltcube_672192001_672451201_4FGL_J1733.6-6054_daily_bin1670.fits
.....................!
real 191.16
user 185.83
sys 4.91

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 FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Extended source HESS J1507-622 in ROI with RadialDisk spatial model.
Extended source MSH 15-52 in ROI with RadialDisk spatial model.
Extended source HESS J1534-571 in ROI with RadialDisk spatial model.
Extended source MSH 15-56 PWN in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_SNRmask.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 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.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source RCW 86 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/RCW86.fits is the correct path to the extended template.
Extended source FHES J1501.0-6310 in ROI with RadialGaussian spatial model.
Extended source RX J1713.7-3946 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/RXJ1713_2016_250GeV.fits is the correct path to the extended template.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Added 379 point sources and 18 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 J1733.6-6054 @ 263.425 -60.9065

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/865140/ft1_filtered_4FGL_J1733.6-6054_daily_bin1670.fits scfile=/scratch/kocevski/865140/ft2_4FGL_J1733.6-6054_daily_bin1670.fits outfile=/scratch/kocevski/865140/cmap_672192001_672451201_4FGL_J1733.6-6054_daily_bin1670.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=263.425 yref=-60.9065 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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/865140/ft1_filtered_4FGL_J1733.6-6054_daily_bin1670.fits scfile=/scratch/kocevski/865140/ft2_4FGL_J1733.6-6054_daily_bin1670.fits outfile=/scratch/kocevski/865140/cmap_HighResolution_672192001_672451201_4FGL_J1733.6-6054_daily_bin1670.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=263.425 yref=-60.9065 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/865140/ft1_filtered_4FGL_J1733.6-6054_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/865140/ft2_4FGL_J1733.6-6054_daily_bin1670.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/865140/Model_4FGL_J1733.6-6054_daily_bin1670.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 FGES J1553.8-5325
adding source FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1501.0-6310
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1507-622
adding source HESS J1534-571
adding source HESS J1614-518
adding source HESS J1616-508
adding source MSH 15-52
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
adding source RCW 86
adding source RX J1713.7-3946
Working on...
/scratch/kocevski/865140/ft1_filtered_4FGL_J1733.6-6054_daily_bin1670.fits.....................!
real 1087.66
user 1084.23
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/865140/ft1_filtered_4FGL_J1733.6-6054_daily_bin1670.fits', '/scratch/kocevski/865140/ft2_4FGL_J1733.6-6054_daily_bin1670.fits', expMap='/scratch/kocevski/865140/expmap_672192001_672451201_4FGL_J1733.6-6054_daily_bin1670.fits', expCube='/scratch/kocevski/865140/ltcube_672192001_672451201_4FGL_J1733.6-6054_daily_bin1670.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/865140/Model_4FGL_J1733.6-6054_daily_bin1670.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1733.6-6054'

4FGL J1733.6-6054
   Spectrum: PowerLaw
971    Prefactor:  1.858e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
972        Index:  2.331e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
973        Scale:  1.541e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/865140/ft1_filtered_4FGL_J1733.6-6054_daily_bin1670.fits
Spacecraft file(s): /scratch/kocevski/865140/ft2_4FGL_J1733.6-6054_daily_bin1670.fits
Exposure map: /scratch/kocevski/865140/expmap_672192001_672451201_4FGL_J1733.6-6054_daily_bin1670.fits
Exposure cube: /scratch/kocevski/865140/ltcube_672192001_672451201_4FGL_J1733.6-6054_daily_bin1670.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/865140/Model_4FGL_J1733.6-6054_daily_bin1670.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) = 19062.8119335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7635       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18077       1.0000         .10000E-03   10000.    
     6 'norm      '    1.2168       1.0000         .10000E-03   10000.    
     7 'norm      '    5.9866       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10350E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .60043E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10186E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    144.79       1.0000         .10000E-03   10000.    
    14 'norm      '    4.6831       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .50475       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.690       1.0000         .10000E-03   10000.    
    18 'norm      '    2.7707       1.0000         .10000E-03   10000.    
    19 'norm      '    .69946       1.0000         .10000E-03   10000.    
    20 'Prefactor '    134.38       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    114.50       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    59.895       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1631       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .96333       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1402E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19062.67     FROM MIGRAD    STATUS=CONVERGED    636 CALLS     3199 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7636        5.7228        .47103E-07   -.33889E-03
   2  norm          .10000E-03    2.4549        .66629E-07** at limit **
   3  norm          .10000E-03    3.9723        .14992E-06** at limit **
   4  Prefactor     .10000E-03    3.7225        .81774E-07** at limit **
   5  Prefactor     .18202        .59124        .37792E-07   -.17761E-03
   6  norm          1.2157        1.5140        .59227E-06   -.33200E-02
   7  norm          5.9867        4.7360        .38138E-07   -.20530E-04
   8  Prefactor     .10000E-03    2.1588        .65556E-07** at limit **
   9  Prefactor     .10041E-03    5.3868       -.78201E-06** at limit **
  10  Prefactor     .10000E-03    18.293        .39008E-07** at limit **
  11  norm          .10000E-03    11.822       -.80639E-06** at limit **
  12  Prefactor     .10000E-03    6.9650       -.41347E-06** at limit **
  13  Prefactor     144.77        61.150        .12903E-06   -.38183E-04
  14  norm          4.6840        10.656        .24161E-07   -.22055E-03
  15  Prefactor     .47728        9.6662       -.76749E-06    .16655E-03
  16  Prefactor     .10000E-03    11.472        .17252E-06** at limit **
  17  Prefactor     21.685        36.470        .17470E-06    .32456E-05
  18  norm          2.7712        3.8424       -.19626E-07   -.30614E-04
  19  norm          .69974        .84115       -.73682E-06   -.26245E-02
  20  Prefactor     134.39        77.471        .23935E-05    .13497E-03
  21  Prefactor     .10000E-03    52.610        .45732E-06** at limit **
  22  Prefactor     114.46        52.831        .84401E-06    .44562E-04
  23  Prefactor     .10000E-03    45.193       -.23422E-06** at limit **
  24  norm          59.892        17.172       -.37097E-07    .22939E-04
  25  Normalizat    1.1632        .27969        .39095E-06    .17794E-03
  26  Prefactor     .96331        .49063E-01   -.11534E-06    .45784E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.76362
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.182016
  norm       = 1.2157
  norm       = 5.98672
  Prefactor  = 0.0001
  Prefactor  = 0.000100412
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 144.77
  norm       = 4.68403
  Prefactor  = 0.477285
  Prefactor  = 0.0001
  Prefactor  = 21.685
  norm       = 2.77124
  norm       = 0.699737
  Prefactor  = 134.39
  Prefactor  = 0.000100001
  Prefactor  = 114.465
  Prefactor  = 0.0001
  norm       = 59.8923
  Normalizat = 1.16319
  Prefactor  = 0.963309
 **********
 **   18 **HESSE 
 **********

 FCN=   19062.67     FROM HESSE     STATUS=OK           478 CALLS     3677 TOTAL
                     EDM=   .71E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7636        5.7314        .10405E-02   -1.5320    
   2  norm          .10000E-03    2.4990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.0564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.7306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .18202        2.5570        .18167E-02   -1.5623    
   6  norm          1.2157        4.2641        .20468E-02   -1.5487    
   7  norm          5.9867        4.7354        .16411E-03   -1.5219    
   8  Prefactor     .10000E-03    9.8768        .39367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10041E-03    5.1787        .93944E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    18.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    11.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.9836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     144.77        60.984        .16743E-03   -1.3296    
  14  norm          4.6840        10.672        .92979E-03   -1.5275    
  15  Prefactor     .47728        11.309        .12447       -1.5570    
  16  Prefactor     .10000E-03    11.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     21.685        36.325        .86003E-04   -1.4776    
  18  norm          2.7712        3.8267        .24450E-03   -1.5375    
  19  norm          .69974        .86449        .13568E-02   -1.5541    
  20  Prefactor     134.39        78.292        .34740E-04   -1.3384    
  21  Prefactor     .10000E-03    52.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     114.46        52.977        .18799E-03   -1.3564    
  23  Prefactor     .10000E-03    45.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          59.892        17.208        .51842E-04   -1.4159    
  25  Normalizat    1.1632        .29730        .65797E-03   -.87748    
  26  Prefactor     .96331        .52399E-01    .13359E-03   -.93963    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.06705e-08
Minuit parameter uncertainties:
  1  5.7322
  2  1.89971e-06
  3  6.03401e-06
  4  3.0078e-06
  5  1.36412
  6  4.26515
  7  4.73574
  8  4.29189e-05
  9  0.00292318
  10  1.49616e-05
  11  5.3204e-05
  12  2.18473e-05
  13  61.0109
  14  10.6768
  15  4.64703
  16  2.21976e-05
  17  36.3621
  18  3.82707
  19  0.864502
  20  78.352
  21  0.000364471
  22  52.999
  23  0.000228832
  24  17.2098
  25  0.29773
  26  0.0524016
Done.

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

Extracting fit parameters...

4FGL J1733.6-6054
   Spectrum: PowerLaw
971    Prefactor:  1.004e-04  2.923e-03  1.000e-04  1.000e+04 ( 1.000e-13)
972        Index:  2.331e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
973        Scale:  1.541e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1368    Prefactor:  9.633e-01  5.240e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1369        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1370        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1336   Normalization:  1.163e+00  2.977e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 263.425 -60.907
Photon Flux Upper Limit: 9.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/865140/likelihoodResults_672192001_672451201_4FGL_J1733.6-6054_daily_bin1670.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) = 19062.6714632
delta logL = -4.59399270767e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19062.6714632
delta logL = -4.59198563476e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96329E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3310       1.0000          .0000       10.000    
     3 'Normalizat'    1.1631       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96332       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1402E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19062.67     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      237 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    .23795        .10994    ** at limit **
   2  Index         2.2984        6.1489        .24178        .16130E-05
   3  Normalizat    1.1632        .16292E-02    .14810       -.13436E-03
   4  Prefactor     .96331        .30572E-03    .30231E-01   -.75725E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 2.29842
  Normalizat = 1.16319
  Prefactor  = 0.963309
 **********
 **   18 **HESSE 
 **********

 FCN=   19062.67     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      272 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    3.7361        .93932E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2984        5.8778        .96714E-02   -.57081    
   3  Normalizat    1.1632        .58376E-02    .65796E-03   -.87748    
   4  Prefactor     .96331        .11014E-02    .13359E-03   -.93963    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.2735e-08
Minuit parameter uncertainties:
  1  0.000301728
  2  296.975
  3  0.00583755
  4  0.00110137
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/865140': 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) = 19062.6714173
delta logL = 1.86373654287e-08

Extracting fit parameters...

4FGL J1733.6-6054
   Spectrum: PowerLaw
971    Prefactor:  1.000e-04  3.017e-04  1.000e-04  1.000e+04 ( 1.000e-13)
972        Index:  2.298e+00  2.970e+02  0.000e+00  1.000e+01 (-1.000e+00)
973        Scale:  1.541e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1368    Prefactor:  9.633e-01  1.101e-03  0.000e+00  1.000e+01 ( 1.000e+00)
1369        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1370        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1336   Normalization:  1.163e+00  5.838e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 263.425 -60.907

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/865140/cmap_HighResolution_672192001_672451201_4FGL_J1733.6-6054_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.41e-03', job_status='DONE', photon_flux_upper_limit='9.63e-08', time_completed='2022-04-24 01:48:36.122923', job_id='865140', GAL2='0.96', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1650790116.12', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.86e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1670' AND source_name='4FGL J1733.6-6054' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 01:48:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 865140: <4FGL_J1733.6-6054_daily_bin1670> in cluster <slac> Done

Job <4FGL_J1733.6-6054_daily_bin1670> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr 24 00:10:36 2022
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:30:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:30:05 2022
Terminated at Sun Apr 24 01:48:37 2022
Results reported at Sun Apr 24 01:48:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1733.6-6054_daily_bin1670 263.425 -60.9065 672192001 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1733.6-6054 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   4686.00 sec.
    Max Memory :                                 1266 MB
    Average Memory :                             441.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   4711 sec.
    Turnaround time :                            5881 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 865141: <4FGL_J1733.6-6054_daily_bin1670> in cluster <slac> Exited

Job <4FGL_J1733.6-6054_daily_bin1670> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Apr 24 00:10:36 2022
Job was executed on host(s) <bullet0006>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:30:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:30:06 2022
Terminated at Sun Apr 24 08:59:18 2022
Results reported at Sun Apr 24 08:59:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1733.6-6054_daily_bin1670 263.425 -60.9065 672192001 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1733.6-6054 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

TERM_RUNLIMIT: job killed after reaching LSF run time limit.
Exited with exit code 140.

Resource usage summary:

    CPU time :                                   11.65 sec.
    Max Memory :                                 3 MB
    Average Memory :                             3.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              3
    Max Threads :                                4
    Run time :                                   30552 sec.
    Turnaround time :                            31722 sec.

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

