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


Performing analysis on: 4FGL_J0733.5-5445_daily_bin1675
RA = 113.385, Dec = -54.7593
tmin = 673488001, tmax = 673747201
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='862584', job_status='RUN', time_executed='2022-05-09 00:53:25.167378', time_epoch_executed='1652082805.17' WHERE source_name='4FGL J0733.5-5445' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862584

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/862584/ft1_4FGL_J0733.5-5445_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/862584/ft2_4FGL_J0733.5-5445_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862584/ft1_4FGL_J0733.5-5445_daily_bin1675.fits outfile=/scratch/kocevski/862584/ft1_filteredMKT_4FGL_J0733.5-5445_daily_bin1675.fits ra=113.385 dec=-54.7593 rad=12.0 tmin=673488001.0 tmax=673747201.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.61
user 2.38
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/862584/ft2_4FGL_J0733.5-5445_daily_bin1675.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/862584/ft1_filteredMKT_4FGL_J0733.5-5445_daily_bin1675.fits evtable="EVENTS" outfile="/scratch/kocevski/862584/ft1_filtered_4FGL_J0733.5-5445_daily_bin1675.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.32
sys 0.18

Number of photons that the gtmktime cut: 2482

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862584/ft1_filtered_4FGL_J0733.5-5445_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/862584/ft2_4FGL_J0733.5-5445_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/862584/ltcube_673488001_673747201_4FGL_J0733.5-5445_daily_bin1675.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/862584/ft2_4FGL_J0733.5-5445_daily_bin1675.fits
.....................!
real 16.78
user 16.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862584/ft1_filtered_4FGL_J0733.5-5445_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/862584/ft2_4FGL_J0733.5-5445_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/862584/ltcube_673488001_673747201_4FGL_J0733.5-5445_daily_bin1675.fits outfile=/scratch/kocevski/862584/expmap_673488001_673747201_4FGL_J0733.5-5445_daily_bin1675.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/862584/ltcube_673488001_673747201_4FGL_J0733.5-5445_daily_bin1675.fits
.....................!
real 191.10
user 186.61
sys 3.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 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/862584/ft1_filtered_4FGL_J0733.5-5445_daily_bin1675.fits scfile=/scratch/kocevski/862584/ft2_4FGL_J0733.5-5445_daily_bin1675.fits outfile=/scratch/kocevski/862584/cmap_673488001_673747201_4FGL_J0733.5-5445_daily_bin1675.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.57
user 0.37
sys 0.17

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/862584/ft1_filtered_4FGL_J0733.5-5445_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/862584/ft2_4FGL_J0733.5-5445_daily_bin1675.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/862584/Model_4FGL_J0733.5-5445_daily_bin1675.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/862584/ft1_filtered_4FGL_J0733.5-5445_daily_bin1675.fits.....................!
real 12593.71
user 12562.42
sys 1.38

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12517E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.2303       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.128       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.7378       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10521E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    15.893       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.9723       1.0000         .10000E-03   10000.    
     9 'norm      '    1.8114       1.0000         .10000E-03   10000.    
    10 'norm      '    .10651E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .16046E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .12980E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.0217       1.0000         .10000E-03   10000.    
    17 'norm      '    6.1554       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.6127       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12758E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .46569E-01   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97547       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=   24104.29     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2728 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    46.123       -.48658E-06** at limit **
   2  Prefactor     4.2293        5.5897        .55546E-05   -.49116E-03
   3  Prefactor     .10000E-03    3.9415        .12900E-06** at limit **
   4  Prefactor     23.957        121.06       -.79152E-05   -.14667E-03
   5  Prefactor     3.7344        11.688       -.20054E-05   -.13412E-04
   6  Prefactor     .10000E-03    7.3142        .15759E-06** at limit **
   7  norm          15.893        6.5404        .29081E-07    .94883E-04
   8  Prefactor     3.9688        6.0638        .57424E-06   -.90563E-05
   9  norm          1.8098        4.9420        .18572E-05   -.91083E-04
  10  norm          .10000E-03    4.1172       -.16713E-06** at limit **
  11  Prefactor     .10000E-03    1.3488        .68283E-07** at limit **
  12  Prefactor     .10000E-03    97.873        .99368E-07** at limit **
  13  Prefactor     .10000E-03    5.3404       -.11452E-07** at limit **
  14  norm          .10000E-03    1.3369        .37933E-06** at limit **
  15  Prefactor     .10000E-03    2.9895        .28923E-06** at limit **
  16  Prefactor     7.0213        3.8955        .10584E-07   -.19367E-03
  17  norm          6.1550        3.9764        .34074E-09   -.10800E-03
  18  Prefactor     8.6072        9.5302        .19284E-06    .61404E-04
  19  Prefactor     .10000E-03    30.331        .33824E-06** at limit **
  20  norm          .63989E-01    1.3474       -.15122E-06    .52532E-03
  21  Normalizat    1.0399        .17328       -.31903E-06   -.15467E-03
  22  Prefactor     .97548        .45070E-01   -.43375E-06   -.19975E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.22932
  Prefactor  = 0.0001
  Prefactor  = 23.9571
  Prefactor  = 3.73444
  Prefactor  = 0.0001
  norm       = 15.8932
  Prefactor  = 3.9688
  norm       = 1.80976
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 7.02127
  norm       = 6.15502
  Prefactor  = 8.60723
  Prefactor  = 0.0001
  norm       = 0.0639892
  Normalizat = 1.03991
  Prefactor  = 0.975479
 **********
 **   18 **HESSE 
 **********

 FCN=   24104.29     FROM HESSE     STATUS=OK           352 CALLS     3080 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    46.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.2293        5.6151        .97958E-03   -1.5297    
   3  Prefactor     .10000E-03    3.9666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.957        121.95        .81549E-04   -1.4729    
   5  Prefactor     3.7344        11.637        .20885E-03   -1.5321    
   6  Prefactor     .10000E-03    7.3297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.893        6.5470        .10047E-03   -1.4910    
   8  Prefactor     3.9688        6.0689        .20237E-03   -1.5310    
   9  norm          1.8098        4.9303        .31041E-03   -1.5439    
  10  norm          .10000E-03    4.1373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.3538        .17607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    97.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.3444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.3111        .33927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.0452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.0213        3.8934        .15139E-03   -1.5178    
  17  norm          6.1550        3.9220        .16181E-03   -1.5212    
  18  Prefactor     8.6072        9.5224        .13659E-03   -1.5121    
  19  Prefactor     .10000E-03    31.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .63989E-01    2.1965        .61631E-01   -1.5657    
  21  Normalizat    1.0399        .18400        .52304E-03   -.91705    
  22  Prefactor     .97548        .48414E-01    .15146E-03   -.93551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.42685e-09
Minuit parameter uncertainties:
  1  4.69382e-05
  2  5.61575
  3  6.6293e-07
  4  108.457
  5  11.6442
  6  3.15044e-06
  7  6.54725
  8  6.06982
  9  4.93142
  10  1.6553e-05
  11  1.47366e-07
  12  5.86949e-05
  13  2.99039e-06
  14  0.000178536
  15  1.48307e-06
  16  3.89356
  17  3.92219
  18  9.52406
  19  8.01788e-05
  20  0.749244
  21  0.184109
  22  0.0484164
Done.

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

Extracting fit parameters...

4FGL J0733.5-5445
   Spectrum: PowerLaw
338    Prefactor:  1.000e-04  1.474e-07  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:  9.755e-01  4.842e-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.040e+00  1.841e-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: 3.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/862584/likelihoodResults_673488001_673747201_4FGL_J0733.5-5445_daily_bin1675.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) = 24104.2891583
delta logL = -0.00351892340768

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24104.2856386
delta logL = 7.22509867046e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1694       1.0000          .0000       10.000    
     3 'Normalizat'    1.0399       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97548       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=   24104.29     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      230 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3515        .90712E-02** at limit **
   2  Index         1.6775        8.3815        .50000        .10950E-06
   3  Normalizat    1.0399        .73943E-02    .11790        .88207E-04
   4  Prefactor     .97548        .20913E-02    .34276E-01   -.28391E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.67746
  Normalizat = 1.03991
  Prefactor  = 0.975479
 **********
 **   18 **HESSE 
 **********

 FCN=   24104.29     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      263 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6775        5.7814        .50000       -.72683    
   3  Normalizat    1.0399        .18166E-01    .52303E-03   -.91705    
   4  Prefactor     .97548        .51589E-02    .15146E-03   -.93551    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.11666e-11
Minuit parameter uncertainties:
  1  6.00603e-06
  2  215.244
  3  0.0181658
  4  0.00515893
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862584': 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) = 24104.2856309
delta logL = 8.45925023896e-06

Extracting fit parameters...

4FGL J0733.5-5445
   Spectrum: PowerLaw
338    Prefactor:  1.000e-04  6.006e-06  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  1.677e+00  2.152e+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:  9.755e-01  5.159e-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:  1.040e+00  1.817e-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/862584/cmap_HighResolution_673488001_673747201_4FGL_J0733.5-5445_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.46e-03', job_status='DONE', photon_flux_upper_limit='3.23e-08', time_completed='2022-05-09 04:59:12.854001', job_id='862584', GAL2='0.98', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1652097552.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='8.46e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1675' AND source_name='4FGL J0733.5-5445' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 04:59:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 862584: <4FGL_J0733.5-5445_daily_bin1675> in cluster <slac> Done

Job <4FGL_J0733.5-5445_daily_bin1675> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon May  9 00:05:59 2022
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 00:52:08 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 00:52:08 2022
Terminated at Mon May  9 04:59:13 2022
Results reported at Mon May  9 04:59:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.5-5445_daily_bin1675 113.385 -54.7593 673488001 673747201 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 :                                   14724.00 sec.
    Max Memory :                                 629 MB
    Average Memory :                             580.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   14827 sec.
    Turnaround time :                            17594 sec.

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

