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


Performing analysis on: 4FGL_J0733.5-5445_daily_bin1702
RA = 113.385, Dec = -54.7593
tmin = 680486401, tmax = 680745601
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='233917', job_status='RUN', time_executed='2022-07-29 00:56:58.186568', time_epoch_executed='1659081418.19' WHERE source_name='4FGL J0733.5-5445' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/233917

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/233917/ft1_4FGL_J0733.5-5445_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/233917/ft2_4FGL_J0733.5-5445_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/233917/ft1_4FGL_J0733.5-5445_daily_bin1702.fits outfile=/scratch/kocevski/233917/ft1_filteredMKT_4FGL_J0733.5-5445_daily_bin1702.fits ra=113.385 dec=-54.7593 rad=12.0 tmin=680486401.0 tmax=680745601.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.97
user 2.75
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/233917/ft2_4FGL_J0733.5-5445_daily_bin1702.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/233917/ft1_filteredMKT_4FGL_J0733.5-5445_daily_bin1702.fits evtable="EVENTS" outfile="/scratch/kocevski/233917/ft1_filtered_4FGL_J0733.5-5445_daily_bin1702.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.34
sys 0.16

Number of photons that the gtmktime cut: 2357

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/233917/ft1_filtered_4FGL_J0733.5-5445_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/233917/ft2_4FGL_J0733.5-5445_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/233917/ltcube_680486401_680745601_4FGL_J0733.5-5445_daily_bin1702.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/233917/ft2_4FGL_J0733.5-5445_daily_bin1702.fits
.....................!
real 19.04
user 18.63
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/233917/ft1_filtered_4FGL_J0733.5-5445_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/233917/ft2_4FGL_J0733.5-5445_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/233917/ltcube_680486401_680745601_4FGL_J0733.5-5445_daily_bin1702.fits outfile=/scratch/kocevski/233917/expmap_680486401_680745601_4FGL_J0733.5-5445_daily_bin1702.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/233917/ltcube_680486401_680745601_4FGL_J0733.5-5445_daily_bin1702.fits
.....................!
real 193.07
user 187.72
sys 4.80

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/233917/ft1_filtered_4FGL_J0733.5-5445_daily_bin1702.fits scfile=/scratch/kocevski/233917/ft2_4FGL_J0733.5-5445_daily_bin1702.fits outfile=/scratch/kocevski/233917/cmap_680486401_680745601_4FGL_J0733.5-5445_daily_bin1702.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 0.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/233917/ft1_filtered_4FGL_J0733.5-5445_daily_bin1702.fits scfile=/scratch/kocevski/233917/ft2_4FGL_J0733.5-5445_daily_bin1702.fits outfile=/scratch/kocevski/233917/cmap_HighResolution_680486401_680745601_4FGL_J0733.5-5445_daily_bin1702.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.57
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/233917/ft1_filtered_4FGL_J0733.5-5445_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/233917/ft2_4FGL_J0733.5-5445_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/233917/Model_4FGL_J0733.5-5445_daily_bin1702.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/233917/ft1_filtered_4FGL_J0733.5-5445_daily_bin1702.fits.....................!
real 11849.87
user 11823.90
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/233917/ft1_filtered_4FGL_J0733.5-5445_daily_bin1702.fits', '/scratch/kocevski/233917/ft2_4FGL_J0733.5-5445_daily_bin1702.fits', expMap='/scratch/kocevski/233917/expmap_680486401_680745601_4FGL_J0733.5-5445_daily_bin1702.fits', expCube='/scratch/kocevski/233917/ltcube_680486401_680745601_4FGL_J0733.5-5445_daily_bin1702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/233917/Model_4FGL_J0733.5-5445_daily_bin1702.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/233917/ft1_filtered_4FGL_J0733.5-5445_daily_bin1702.fits
Spacecraft file(s): /scratch/kocevski/233917/ft2_4FGL_J0733.5-5445_daily_bin1702.fits
Exposure map: /scratch/kocevski/233917/expmap_680486401_680745601_4FGL_J0733.5-5445_daily_bin1702.fits
Exposure cube: /scratch/kocevski/233917/ltcube_680486401_680745601_4FGL_J0733.5-5445_daily_bin1702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/233917/Model_4FGL_J0733.5-5445_daily_bin1702.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) = 23027.9180884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.2415       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.8370       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.0392       1.0000         .10000E-03   10000.    
     7 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10128       1.0000         .10000E-03   10000.    
     9 'norm      '    21.711       1.0000         .10000E-03   10000.    
    10 'norm      '    .18037E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .91522E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .37870E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.043       1.0000         .10000E-03   10000.    
    17 'norm      '    .11457E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.8236       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.7973       1.0000         .10000E-03   10000.    
    20 'norm      '    11.530       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .92677       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0562       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=   23027.84     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2119 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    64.374       -.26256E-04** at limit **
   2  Prefactor     2.2367        6.6769       -.30440E-05   -.56212E-03
   3  Prefactor     5.8371        6.1071       -.99263E-06    .45965E-04
   4  Prefactor     .10000E-03    24.789       -.10768E-04** at limit **
   5  Prefactor     .10000E-03    9.3854        .30532E-06** at limit **
   6  Prefactor     9.0457        18.039       -.10350E-05   -.10983E-04
   7  norm          .10000E-03    4.1857       -.24393E-07** at limit **
   8  Prefactor     .10399E-03    2.9845       -.45045E-06** at limit **
   9  norm          21.719        6.6699        .24289E-06   -.51757E-03
  10  norm          .10009E-03    4.7755        .10841E-05** at limit **
  11  Prefactor     .10000E-03    2.0330        .23665E-07** at limit **
  12  Prefactor     .10000E-03    104.31        .73891E-04** at limit **
  13  Prefactor     .10000E-03    10.713       -.32903E-06** at limit **
  14  norm          .88824E-01    1.1921       -.78259E-06   -.41630E-03
  15  Prefactor     .10141E-03    1.7031        .12233E-05** at limit **
  16  Prefactor     11.044        5.2651        .35342E-07   -.16375E-03
  17  norm          .10000E-03    2.6020        .28200E-07** at limit **
  18  Prefactor     6.8169        13.071       -.17186E-07   -.95208E-04
  19  Prefactor     4.7774        17.598       -.13824E-05   -.64146E-04
  20  norm          11.528        5.5671        .79231E-06   -.21365E-03
  21  Normalizat    .92711        .17799        .59367E-06   -.19339E-03
  22  Prefactor     1.0562        .48560E-01   -.10652E-06   -.26049E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.23666
  Prefactor  = 5.83714
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.04566
  norm       = 0.0001
  Prefactor  = 0.000103989
  norm       = 21.7186
  norm       = 0.000100092
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0888244
  Prefactor  = 0.000101405
  Prefactor  = 11.0444
  norm       = 0.0001
  Prefactor  = 6.81685
  Prefactor  = 4.77743
  norm       = 11.5276
  Normalizat = 0.927115
  Prefactor  = 1.05624
 **********
 **   18 **HESSE 
 **********

 FCN=   23027.84     FROM HESSE     STATUS=OK           374 CALLS     2493 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    64.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.2367        6.7581        .27451E-03   -1.5409    
   3  Prefactor     5.8371        6.1059        .16623E-03   -1.5225    
   4  Prefactor     .10000E-03    24.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.4401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.0457        18.041        .13331E-03   -1.5106    
   7  norm          .10000E-03    4.3846        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10399E-03    4.4920        .73061E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          21.719        6.4696        .85963E-04   -1.4776    
  10  norm          .10009E-03    23.808        .62167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.0442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    103.51        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .88824E-01    1.2330        .54371E-01   -1.5648    
  15  Prefactor     .10141E-03    2.7983        .65340E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.044        5.2595        .12056E-03   -1.5043    
  17  norm          .10000E-03    2.7084        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.8169        13.056        .15360E-03   -1.5186    
  19  Prefactor     4.7774        17.679        .18368E-03   -1.5271    
  20  norm          11.528        5.5595        .11798E-03   -1.5029    
  21  Normalizat    .92711        .18825        .55877E-03   -.95514    
  22  Prefactor     1.0562        .52020E-01    .15298E-03   -.90878    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.84997e-09
Minuit parameter uncertainties:
  1  8.87583e-05
  2  6.7604
  3  6.10658
  4  9.04863e-06
  5  3.2281e-05
  6  18.0522
  7  3.56517e-06
  8  0.00846644
  9  6.46982
  10  0.00295844
  11  2.53985e-06
  12  2.77325e-05
  13  1.09415e-05
  14  0.66152
  15  0.00396644
  16  5.25975
  17  3.36454e-06
  18  13.0618
  19  17.6985
  20  5.55974
  21  0.188379
  22  0.0520223
Done.

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

Extracting fit parameters...

4FGL J0733.5-5445
   Spectrum: PowerLaw
338    Prefactor:  1.000e-04  2.540e-06  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.056e+00  5.202e-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:  9.271e-01  1.884e-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: 4.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/233917/likelihoodResults_680486401_680745601_4FGL_J0733.5-5445_daily_bin1702.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) = 23027.8386657
delta logL = -0.00233135544477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 23027.8363339
delta logL = 4.21732693212e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1706       1.0000          .0000       10.000    
     3 'Normalizat'    .92708       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0563       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   23027.84     FROM MIGRAD    STATUS=FAILED        89 CALLS      244 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10150E-03    18.342        .18142E-02** at limit **
   2  Index         2.1086        8.7278        .50000        .73076E-04
   3  Normalizat    .92712        .14104E-01    .55877E-03   -.21428E-03
   4  Prefactor     1.0562        .41337E-02    .15298E-03   -.85612E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   23027.84     FROM SIMPLEX   STATUS=PROGRESS     122 CALLS      366 TOTAL
                     EDM=   .67E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10101E-03    18.342        .18926E-03** at limit **
   2  Index         2.1054        8.7278        .11287E-02    .73076E-04
   3  Normalizat    .92709        .14104E-01    .12893E-04   -.21428E-03
   4  Prefactor     1.0562        .41337E-02    .36661E-05   -.85612E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   23027.84     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      421 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.453        .36285E-02** at limit **
   2  Index         1.7409        5.6424        .50000        .43110E-07
   3  Normalizat    .92712        .13474E-01    .22351E-04    .52899E-05
   4  Prefactor     1.0562        .39491E-02    .30595E-04    .34096E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.7409
  Normalizat = 0.927116
  Prefactor  = 1.05624
 **********
 **   18 **HESSE 
 **********

 FCN=   23027.84     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      450 TOTAL
                     EDM=   .82E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    101.32        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7409        5.1786        .50000       -.70998    
   3  Normalizat    .92712        .31906E-01    .44702E-05   -.95514    
   4  Prefactor     1.0562        .93536E-02    .61191E-05   -.90878    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.15556e-12
Minuit parameter uncertainties:
  1  1.26685e-05
  2  453.048
  3  0.0319065
  4  0.00935361
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/233917': 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) = 23027.8363295
delta logL = 4.83211624669e-06

Extracting fit parameters...

4FGL J0733.5-5445
   Spectrum: PowerLaw
338    Prefactor:  1.000e-04  1.267e-05  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  1.741e+00  4.530e+02  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.056e+00  9.354e-03  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:  9.271e-01  3.191e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 113.385 -54.759

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/233917/cmap_HighResolution_680486401_680745601_4FGL_J0733.5-5445_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-03', job_status='DONE', photon_flux_upper_limit='4.20e-08', time_completed='2022-07-29 04:46:34.123457', job_id='233917', GAL2='1.06', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1659095194.12', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='4.83e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1702' AND source_name='4FGL J0733.5-5445' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 04:46:34 PDT 2022

----------------------------------------------------------
Sender: LSF System <lsf@bullet0247>
Subject: Job 234011: <4FGL_J0733.5-5445_daily_bin1702> in cluster <slac> Done

Job <4FGL_J0733.5-5445_daily_bin1702> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Jul 29 00:06:03 2022
Job was executed on host(s) <bullet0247>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 00:56:12 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 00:56:12 2022
Terminated at Fri Jul 29 04:07:07 2022
Results reported at Fri Jul 29 04:07:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.5-5445_daily_bin1702 113.385 -54.7593 680486401 680745601 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 :                                   11362.86 sec.
    Max Memory :                                 1280 MB
    Average Memory :                             604.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3414 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   11455 sec.
    Turnaround time :                            14464 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 233917: <4FGL_J0733.5-5445_daily_bin1702> in cluster <slac> Done

Job <4FGL_J0733.5-5445_daily_bin1702> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul 29 00:05:58 2022
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 00:54:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 00:54:28 2022
Terminated at Fri Jul 29 04:46:35 2022
Results reported at Fri Jul 29 04:46:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.5-5445_daily_bin1702 113.385 -54.7593 680486401 680745601 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 :                                   13758.00 sec.
    Max Memory :                                 1261 MB
    Average Memory :                             579.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   13926 sec.
    Turnaround time :                            16837 sec.

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

