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


Performing analysis on: 4FGL_J1933.2-4539_daily_bin1695
RA = 293.314, Dec = -45.6508
tmin = 678672001, tmax = 678931201
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='729817', job_status='RUN', time_executed='2022-07-08 00:33:31.995505', time_epoch_executed='1657265612.0' WHERE source_name='4FGL J1933.2-4539' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/729817

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/729817/ft1_4FGL_J1933.2-4539_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/729817/ft2_4FGL_J1933.2-4539_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/729817/ft1_4FGL_J1933.2-4539_daily_bin1695.fits outfile=/scratch/kocevski/729817/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1695.fits ra=293.314 dec=-45.6508 rad=12.0 tmin=678672001.0 tmax=678931201.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.60
user 3.38
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/729817/ft2_4FGL_J1933.2-4539_daily_bin1695.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/729817/ft2_4FGL_J1933.2-4539_daily_bin1695.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/729817/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1695.fits evtable="EVENTS" outfile="/scratch/kocevski/729817/ft1_filtered_4FGL_J1933.2-4539_daily_bin1695.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.32
sys 0.16

Number of photons that the gtmktime cut: 787

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/729817/ft1_filtered_4FGL_J1933.2-4539_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/729817/ft2_4FGL_J1933.2-4539_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/729817/ltcube_678672001_678931201_4FGL_J1933.2-4539_daily_bin1695.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/729817/ft2_4FGL_J1933.2-4539_daily_bin1695.fits
.....................!
real 11.96
user 11.56
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/729817/ft1_filtered_4FGL_J1933.2-4539_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/729817/ft2_4FGL_J1933.2-4539_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/729817/ltcube_678672001_678931201_4FGL_J1933.2-4539_daily_bin1695.fits outfile=/scratch/kocevski/729817/expmap_678672001_678931201_4FGL_J1933.2-4539_daily_bin1695.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/729817/ltcube_678672001_678931201_4FGL_J1933.2-4539_daily_bin1695.fits
.....................!
real 191.23
user 185.50
sys 5.36

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 J1741.6-3917 in ROI with RadialDisk spatial model.
Added 221 point sources and 1 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 J1933.2-4539 @ 293.314 -45.6508

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/729817/ft1_filtered_4FGL_J1933.2-4539_daily_bin1695.fits scfile=/scratch/kocevski/729817/ft2_4FGL_J1933.2-4539_daily_bin1695.fits outfile=/scratch/kocevski/729817/cmap_678672001_678931201_4FGL_J1933.2-4539_daily_bin1695.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=293.314 yref=-45.6508 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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/729817/ft1_filtered_4FGL_J1933.2-4539_daily_bin1695.fits scfile=/scratch/kocevski/729817/ft2_4FGL_J1933.2-4539_daily_bin1695.fits outfile=/scratch/kocevski/729817/cmap_HighResolution_678672001_678931201_4FGL_J1933.2-4539_daily_bin1695.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=293.314 yref=-45.6508 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.41
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/729817/ft1_filtered_4FGL_J1933.2-4539_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/729817/ft2_4FGL_J1933.2-4539_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/729817/Model_4FGL_J1933.2-4539_daily_bin1695.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 FHES J1741.6-3917
adding source GAL_V02
Working on...
/scratch/kocevski/729817/ft1_filtered_4FGL_J1933.2-4539_daily_bin1695.fits.....................!
real 75.05
user 73.67
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/729817/ft1_filtered_4FGL_J1933.2-4539_daily_bin1695.fits', '/scratch/kocevski/729817/ft2_4FGL_J1933.2-4539_daily_bin1695.fits', expMap='/scratch/kocevski/729817/expmap_678672001_678931201_4FGL_J1933.2-4539_daily_bin1695.fits', expCube='/scratch/kocevski/729817/ltcube_678672001_678931201_4FGL_J1933.2-4539_daily_bin1695.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/729817/Model_4FGL_J1933.2-4539_daily_bin1695.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1933.2-4539'

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  2.220e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
498        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
499        Scale:  5.975e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/729817/ft1_filtered_4FGL_J1933.2-4539_daily_bin1695.fits
Spacecraft file(s): /scratch/kocevski/729817/ft2_4FGL_J1933.2-4539_daily_bin1695.fits
Exposure map: /scratch/kocevski/729817/expmap_678672001_678931201_4FGL_J1933.2-4539_daily_bin1695.fits
Exposure cube: /scratch/kocevski/729817/ltcube_678672001_678931201_4FGL_J1933.2-4539_daily_bin1695.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/729817/Model_4FGL_J1933.2-4539_daily_bin1695.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) = 8455.36139006

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.9475       1.0000         .10000E-03   10000.    
     2 'norm      '    20.794       1.0000         .10000E-03   10000.    
     3 'norm      '    17.168       1.0000         .10000E-03   10000.    
     4 'norm      '    3.6730       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18420E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.861       1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.030       1.0000         .10000E-03   10000.    
     9 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.153       1.0000         .10000E-03   10000.    
    11 'norm      '    .10528E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.0976       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.855       1.0000         .10000E-03   10000.    
    15 'norm      '    1.2911       1.0000         .10000E-03   10000.    
    16 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10391E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .82175       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0453       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8455.282     FROM MIGRAD    STATUS=CONVERGED    393 CALLS     1916 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.9556        15.014       -.70304E-05   -.37299E-04
   2  norm          20.815        26.471       -.70900E-05   -.37386E-06
   3  norm          17.154        12.130        .25404E-05   -.14363E-04
   4  norm          3.6727        2.4580       -.49816E-07   -.92749E-04
   5  Prefactor     .10000E-03    242.68       -.10873E-04** at limit **
   6  Prefactor     .10000E-03    7.3486       -.54570E-07** at limit **
   7  Prefactor     32.863        36.080        .17450E-05    .18683E-05
   8  Prefactor     20.024        14.013        .29381E-05    .20056E-04
   9  norm          .10000E-03    13.873       -.27646E-05** at limit **
  10  norm          10.153        2.1402       -.27884E-06    .99433E-04
  11  norm          .10000E-03    21.213       -.36319E-05** at limit **
  12  norm          .10000E-03    12.354        .10565E-05** at limit **
  13  norm          3.0983        2.0360        .44489E-07   -.17314E-04
  14  Prefactor     25.890        56.303        .42328E-04    .17467E-05
  15  norm          1.2920        2.7414       -.47116E-06   -.88536E-03
  16  norm          .10000E-03    7.1177        .24354E-07** at limit **
  17  Prefactor     .10000E-03    17.503        .41661E-05** at limit **
  18  Normalizat    .82083        .28476       -.24621E-05   -.12749E-04
  19  Prefactor     1.0455        .97139E-01    .13229E-06    .55329E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.95557
  norm       = 20.8148
  norm       = 17.1539
  norm       = 3.6727
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.8628
  Prefactor  = 20.024
  norm       = 0.0001
  norm       = 10.1532
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.09832
  Prefactor  = 25.8897
  norm       = 1.29204
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.820833
  Prefactor  = 1.04548
 **********
 **   18 **HESSE 
 **********

 FCN=   8455.282     FROM HESSE     STATUS=OK           272 CALLS     2188 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.9556        15.054        .14223E-03   -1.5144    
   2  norm          20.815        26.555        .87835E-04   -1.4795    
   3  norm          17.154        12.224        .96663E-04   -1.4879    
   4  norm          3.6727        2.4585        .11458E-03   -1.5325    
   5  Prefactor     .10000E-03    243.82        .20301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.4466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.863        36.062        .69901E-04   -1.4561    
   8  Prefactor     20.024        13.999        .89493E-04   -1.4813    
   9  norm          .10000E-03    13.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.153        2.1381        .58490E-04   -1.5071    
  11  norm          .10000E-03    21.968        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    12.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.0983        2.0362        .10284E-03   -1.5356    
  14  Prefactor     25.890        56.156        .78783E-04   -1.4690    
  15  norm          1.2920        2.6962        .21572E-03   -1.5481    
  16  norm          .10000E-03    7.1183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    17.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .82083        .31759        .51631E-03   -.99300    
  19  Prefactor     1.0455        .11056        .15595E-03   -.91229    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.59395e-10
Minuit parameter uncertainties:
  1  15.0614
  2  26.5699
  3  12.2259
  4  2.45852
  5  0.000313788
  6  9.03052e-06
  7  36.0857
  8  14.0015
  9  2.97155e-05
  10  2.13816
  11  3.70939e-05
  12  5.75405e-06
  13  2.03629
  14  56.2705
  15  2.69645
  16  2.45107e-06
  17  7.63988e-06
  18  0.31831
  19  0.110585
Done.

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

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.000e-04  9.031e-06  1.000e-04  1.000e+04 ( 1.000e-12)
498        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
499        Scale:  5.975e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
770    Prefactor:  1.045e+00  1.106e-01  0.000e+00  1.000e+01 ( 1.000e+00)
771        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
772        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
766   Normalization:  8.208e-01  3.183e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 293.314 -45.651
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/729817/likelihoodResults_678672001_678931201_4FGL_J1933.2-4539_daily_bin1695.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) = 8455.28221743
delta logL = -0.000640198282781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8455.28157747
delta logL = -2.39842847805e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8455.282     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.205        .90712E-02** at limit **
   2  Index         2.6365        6.3179        .50000        .14877E-05
   3  Normalizat    .82083        .12783E-01    .11641        .83544E-04
   4  Prefactor     1.0455        .43304E-02    .40178E-01    .13912E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.63652
  Normalizat = 0.820834
  Prefactor  = 1.04548
 **********
 **   18 **HESSE 
 **********

 FCN=   8455.282     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      237 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    158.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6365        5.5983        .50000       -.49235    
   3  Normalizat    .82083        .32969E-01    .51631E-03   -.99300    
   4  Prefactor     1.0455        .11213E-01    .15595E-03   -.91229    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.28523e-08
Minuit parameter uncertainties:
  1  0.000544779
  2  644.925
  3  0.0329694
  4  0.0112126
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/729817': 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) = 8455.28157723
delta logL = 8.85847839527e-10

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.000e-04  5.448e-04  1.000e-04  1.000e+04 ( 1.000e-12)
498        Index:  2.637e+00  6.449e+02  0.000e+00  1.000e+01 (-1.000e+00)
499        Scale:  5.975e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
770    Prefactor:  1.045e+00  1.121e-02  0.000e+00  1.000e+01 ( 1.000e+00)
771        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
772        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
766   Normalization:  8.208e-01  3.297e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 293.314 -45.651

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/729817/cmap_HighResolution_678672001_678931201_4FGL_J1933.2-4539_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.48e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2022-07-08 00:46:26.274570', job_id='729817', GAL2='1.05', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1657266386.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='8.86e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1695' AND source_name='4FGL J1933.2-4539' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:46:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 729817: <4FGL_J1933.2-4539_daily_bin1695> in cluster <slac> Done

Job <4FGL_J1933.2-4539_daily_bin1695> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jul  8 00:30:30 2022
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:30:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:30:31 2022
Terminated at Fri Jul  8 00:46:27 2022
Results reported at Fri Jul  8 00:46:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1933.2-4539_daily_bin1695 293.314 -45.6508 678672001 678931201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1933.2-4539 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   776.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             296.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            957 sec.

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

