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


Performing analysis on: 4FGL_J0733.5-5445_daily_bin1679
RA = 113.385, Dec = -54.7593
tmin = 674524801, tmax = 674784001
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='425705', job_status='RUN', time_executed='2022-05-21 00:46:15.000840', time_epoch_executed='1653119175.0' WHERE source_name='4FGL J0733.5-5445' and cadence='daily' and bin_id='1679'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/425705

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/425705/ft1_4FGL_J0733.5-5445_daily_bin1679.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/425705/ft2_4FGL_J0733.5-5445_daily_bin1679.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/425705/ft1_4FGL_J0733.5-5445_daily_bin1679.fits outfile=/scratch/kocevski/425705/ft1_filteredMKT_4FGL_J0733.5-5445_daily_bin1679.fits ra=113.385 dec=-54.7593 rad=12.0 tmin=674524801.0 tmax=674784001.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 3.63
user 3.38
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/425705/ft2_4FGL_J0733.5-5445_daily_bin1679.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/425705/ft2_4FGL_J0733.5-5445_daily_bin1679.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/425705/ft1_filteredMKT_4FGL_J0733.5-5445_daily_bin1679.fits evtable="EVENTS" outfile="/scratch/kocevski/425705/ft1_filtered_4FGL_J0733.5-5445_daily_bin1679.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 2061

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/425705/ft1_filtered_4FGL_J0733.5-5445_daily_bin1679.fits" evtable="EVENTS" scfile=/scratch/kocevski/425705/ft2_4FGL_J0733.5-5445_daily_bin1679.fits sctable="SC_DATA" outfile=/scratch/kocevski/425705/ltcube_674524801_674784001_4FGL_J0733.5-5445_daily_bin1679.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/425705/ft2_4FGL_J0733.5-5445_daily_bin1679.fits
.....................!
real 14.46
user 14.10
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/425705/ft1_filtered_4FGL_J0733.5-5445_daily_bin1679.fits evtable="EVENTS" scfile=/scratch/kocevski/425705/ft2_4FGL_J0733.5-5445_daily_bin1679.fits sctable="SC_DATA" expcube=/scratch/kocevski/425705/ltcube_674524801_674784001_4FGL_J0733.5-5445_daily_bin1679.fits outfile=/scratch/kocevski/425705/expmap_674524801_674784001_4FGL_J0733.5-5445_daily_bin1679.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/425705/ltcube_674524801_674784001_4FGL_J0733.5-5445_daily_bin1679.fits
.....................!
real 191.82
user 186.09
sys 5.13

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Extended source LMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/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_archive_v18/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_archive_v18/Templates/LMC-North.fits is the correct path to the extended template.
Added 222 point sources and 6 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0733.5-5445 @ 113.385 -54.7593

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/425705/ft1_filtered_4FGL_J0733.5-5445_daily_bin1679.fits scfile=/scratch/kocevski/425705/ft2_4FGL_J0733.5-5445_daily_bin1679.fits outfile=/scratch/kocevski/425705/cmap_674524801_674784001_4FGL_J0733.5-5445_daily_bin1679.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=113.385 yref=-54.7593 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 2.47
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/425705/ft1_filtered_4FGL_J0733.5-5445_daily_bin1679.fits scfile=/scratch/kocevski/425705/ft2_4FGL_J0733.5-5445_daily_bin1679.fits outfile=/scratch/kocevski/425705/cmap_HighResolution_674524801_674784001_4FGL_J0733.5-5445_daily_bin1679.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=113.385 yref=-54.7593 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.64
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/425705/ft1_filtered_4FGL_J0733.5-5445_daily_bin1679.fits evtable="EVENTS" scfile=/scratch/kocevski/425705/ft2_4FGL_J0733.5-5445_daily_bin1679.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/425705/Model_4FGL_J0733.5-5445_daily_bin1679.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source LMC-30DorWest
adding source LMC-Galaxy
adding source LMC-North
adding source Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/scratch/kocevski/425705/ft1_filtered_4FGL_J0733.5-5445_daily_bin1679.fits.....................!
real 10613.40
user 10459.34
sys 127.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/425705/ft1_filtered_4FGL_J0733.5-5445_daily_bin1679.fits', '/scratch/kocevski/425705/ft2_4FGL_J0733.5-5445_daily_bin1679.fits', expMap='/scratch/kocevski/425705/expmap_674524801_674784001_4FGL_J0733.5-5445_daily_bin1679.fits', expCube='/scratch/kocevski/425705/ltcube_674524801_674784001_4FGL_J0733.5-5445_daily_bin1679.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/425705/Model_4FGL_J0733.5-5445_daily_bin1679.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/425705/ft1_filtered_4FGL_J0733.5-5445_daily_bin1679.fits
Spacecraft file(s): /scratch/kocevski/425705/ft2_4FGL_J0733.5-5445_daily_bin1679.fits
Exposure map: /scratch/kocevski/425705/expmap_674524801_674784001_4FGL_J0733.5-5445_daily_bin1679.fits
Exposure cube: /scratch/kocevski/425705/ltcube_674524801_674784001_4FGL_J0733.5-5445_daily_bin1679.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/425705/Model_4FGL_J0733.5-5445_daily_bin1679.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) = 19689.4748694

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9782       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    44.646       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.538       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11843E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.4249       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.8537       1.0000         .10000E-03   10000.    
    10 'norm      '    .45120E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    217.61       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.3819       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .99065E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.1835       1.0000         .10000E-03   10000.    
    17 'norm      '    5.6163       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .78586       1.0000         .10000E-03   10000.    
    20 'norm      '    14.935       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1081       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0235       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19689.31     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2565 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.713        .32483E-05** at limit **
   2  Prefactor     1.9804        8.2430        .93729E-07    .11819E-04
   3  Prefactor     .10000E-03    21.094       -.38502E-05** at limit **
   4  Prefactor     44.637        92.478        .23197E-05    .10118E-04
   5  Prefactor     19.544        17.800        .10111E-06    .23974E-04
   6  Prefactor     .10000E-03    33.948       -.10330E-06** at limit **
   7  norm          3.4245        5.9192       -.51679E-07    .22129E-04
   8  Prefactor     .10000E-03    6.2486       -.97350E-07** at limit **
   9  norm          1.8439        3.2418        .28077E-05    .14903E-02
  10  norm          .20621        4.1346       -.93048E-06    .43483E-04
  11  Prefactor     .10000E-03    9.6464        .10933E-05** at limit **
  12  Prefactor     217.81        329.70       -.33536E-05   -.12481E-04
  13  Prefactor     .10000E-03    8.2414       -.15194E-06** at limit **
  14  norm          1.3795        5.5358       -.19631E-05    .12972E-03
  15  Prefactor     .10116E-03    2.5115       -.78849E-06** at limit **
  16  Prefactor     8.1804        4.2817        .26738E-07    .10483E-03
  17  norm          5.6212        5.1215        .12152E-05    .28002E-03
  18  Prefactor     .10000E-03    10.692       -.28782E-06** at limit **
  19  Prefactor     .76695        18.543       -.81622E-05    .52901E-03
  20  norm          14.937        5.9521        .95741E-07    .18290E-03
  21  Normalizat    1.1082        .19590       -.25340E-06    .28161E-03
  22  Prefactor     1.0234        .52359E-01    .19306E-06    .83358E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.98036
  Prefactor  = 0.0001
  Prefactor  = 44.637
  Prefactor  = 19.544
  Prefactor  = 0.0001
  norm       = 3.42446
  Prefactor  = 0.0001
  norm       = 1.84391
  norm       = 0.206211
  Prefactor  = 0.0001
  Prefactor  = 217.81
  Prefactor  = 0.0001
  norm       = 1.37951
  Prefactor  = 0.000101164
  Prefactor  = 8.18041
  norm       = 5.62117
  Prefactor  = 0.0001
  Prefactor  = 0.766953
  norm       = 14.9372
  Normalizat = 1.10819
  Prefactor  = 1.02343
 **********
 **   18 **HESSE 
 **********

 FCN=   19689.31     FROM HESSE     STATUS=OK           362 CALLS     2927 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.9804        8.1787        .29472E-03   -1.5427    
   3  Prefactor     .10000E-03    21.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     44.637        92.509        .60003E-04   -1.4371    
   5  Prefactor     19.544        17.757        .90613E-04   -1.4824    
   6  Prefactor     .10000E-03    34.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.4245        5.9128        .21857E-03   -1.5338    
   8  Prefactor     .10000E-03    6.3741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.8439        3.4492        .15309E-02   -1.5436    
  10  norm          .20621        3.9553        .95334E-01   -1.5617    
  11  Prefactor     .10000E-03    9.9801        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     217.81        331.76        .13708E-03   -1.2745    
  13  Prefactor     .10000E-03    8.2584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.3795        5.6704        .37019E-03   -1.5473    
  15  Prefactor     .10116E-03    3.4299        .67927E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.1804        4.2817        .70074E-03   -1.5136    
  17  norm          5.6212        5.1481        .16951E-03   -1.5234    
  18  Prefactor     .10000E-03    10.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .76695        86.680        .75753E-02   -1.5533    
  20  norm          14.937        5.9516        .10364E-03   -1.4935    
  21  Normalizat    1.1082        .21094        .52997E-03   -.89489    
  22  Prefactor     1.0234        .57397E-01    .15518E-03   -.91952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51894e-08
Minuit parameter uncertainties:
  1  0.000100152
  2  8.05074
  3  4.19004e-05
  4  92.809
  5  17.7619
  6  3.50809e-06
  7  5.91383
  8  5.47928e-06
  9  3.4496
  10  1.80593
  11  5.71785e-05
  12  334.681
  13  6.39469e-06
  14  5.59442
  15  0.00399605
  16  4.28187
  17  5.14852
  18  1.54058e-05
  19  16.3302
  20  5.9518
  21  0.211097
  22  0.0574004
Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
735   Normalization:  1.108e+00  2.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/425705/likelihoodResults_674524801_674784001_4FGL_J0733.5-5445_daily_bin1679.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) = 19689.3147143
delta logL = -0.000478369591292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19689.3142357
delta logL = 2.89281160804e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11225E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2704       1.0000          .0000       10.000    
     3 'Normalizat'    1.1084       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19688.40     FROM MIGRAD    STATUS=CONVERGED    171 CALLS      337 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47466E-03    .53293E-03    .59181E-03** at limit **
   2  Index         6.2352        .32683        .10409        .18914E-03
   3  Normalizat    1.0426        .18730        .12263       -.51520E-04
   4  Prefactor     1.0320        .51043E-01    .41818E-01    .95259E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000474664
  Index      = 6.23523
  Normalizat = 1.04258
  Prefactor  = 1.03199
 **********
 **   18 **HESSE 
 **********

 FCN=   19688.40     FROM HESSE     STATUS=OK            35 CALLS      372 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47466E-03    .28642E-02    .27809E-04   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.2352        1.5745        .65274E-02    .24963    
   3  Normalizat    1.0426        .19550        .54417E-03   -.91617    
   4  Prefactor     1.0320        .54576E-01    .15456E-03   -.91671    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.60123e-10
Minuit parameter uncertainties:
  1  0.0020718
  2  1.60363
  3  0.195635
  4  0.0545785
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/425705': 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) = 19688.3976079
delta logL = 0.916628095787

Extracting fit parameters...

4FGL J0733.5-5445
   Spectrum: PowerLaw
338    Prefactor:  4.747e-04  2.072e-03  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  6.235e+00  1.604e+00  0.000e+00  1.000e+01 (-1.000e+00)
340        Scale:  1.788e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
735   Normalization:  1.043e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.94
Ra Dec: 113.385 -54.759
Photon Index (Free Index): 6.24 +/- 1.60
Photon Flux (Free Index): 5.90e-08 +/- 5.05e-07
Energy Flux (Free Index): 7.27e-06 +/- 6.19e-05

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/425705/cmap_HighResolution_674524801_674784001_4FGL_J0733.5-5445_daily_bin1679.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.34e-03', comment='SUCCESS', energy_flux2='7.27e-06', dlogl='9.17e-01', photon_flux2='5.90e-08', job_status='DONE', time_completed='2022-05-21 04:22:41.589290', photon_index_error2='1.60', photon_index2='6.24', ts='-0.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='7.02e-08', energy_flux_error2='6.19e-05', EG='1.11', time_epoch_completed='1653132161.59', return_code='0', job_id='425705', GAL2='1.03', EG2='1.04', return_code2='0', photon_flux_error2='5.05e-07', ts2='1.94', photon_index='2.19' WHERE bin_id='1679' AND source_name='4FGL J0733.5-5445' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat May 21 04:22:41 PDT 2022

-----------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 425656: <4FGL_J0733.5-5445_daily_bin1679> in cluster <slac> Done

Job <4FGL_J0733.5-5445_daily_bin1679> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat May 21 00:05:51 2022
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat May 21 00:42:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat May 21 00:42:26 2022
Terminated at Sat May 21 04:13:01 2022
Results reported at Sat May 21 04:13:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.5-5445_daily_bin1679 113.385 -54.7593 674524801 674784001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0733.5-5445 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   12386.00 sec.
    Max Memory :                                 1261 MB
    Average Memory :                             574.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   12633 sec.
    Turnaround time :                            14830 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 425705: <4FGL_J0733.5-5445_daily_bin1679> in cluster <slac> Done

Job <4FGL_J0733.5-5445_daily_bin1679> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat May 21 00:05:53 2022
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat May 21 00:42:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat May 21 00:42:48 2022
Terminated at Sat May 21 04:22:50 2022
Results reported at Sat May 21 04:22:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.5-5445_daily_bin1679 113.385 -54.7593 674524801 674784001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0733.5-5445 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   12458.00 sec.
    Max Memory :                                 627 MB
    Average Memory :                             560.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   13201 sec.
    Turnaround time :                            15417 sec.

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

