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


Performing analysis on: 4FGL_J1933.2-4539_daily_bin1555
RA = 293.314, Dec = -45.6508
tmin = 642384001, tmax = 642643201
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='8057', job_status='RUN', time_executed='2021-09-23 03:38:39.888337', time_epoch_executed='1632393519.89' WHERE source_name='4FGL J1933.2-4539' and cadence='daily' and bin_id='1555'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/8057

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/8057/ft1_4FGL_J1933.2-4539_daily_bin1555.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/8057/ft2_4FGL_J1933.2-4539_daily_bin1555.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/8057/ft1_4FGL_J1933.2-4539_daily_bin1555.fits outfile=/scratch/kocevski/8057/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1555.fits ra=293.314 dec=-45.6508 rad=12.0 tmin=642384001.0 tmax=642643201.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.64
user 3.42
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/8057/ft2_4FGL_J1933.2-4539_daily_bin1555.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/8057/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1555.fits evtable="EVENTS" outfile="/scratch/kocevski/8057/ft1_filtered_4FGL_J1933.2-4539_daily_bin1555.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/8057/ft1_filtered_4FGL_J1933.2-4539_daily_bin1555.fits" evtable="EVENTS" scfile=/scratch/kocevski/8057/ft2_4FGL_J1933.2-4539_daily_bin1555.fits sctable="SC_DATA" outfile=/scratch/kocevski/8057/ltcube_642384001_642643201_4FGL_J1933.2-4539_daily_bin1555.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/8057/ft2_4FGL_J1933.2-4539_daily_bin1555.fits
.....................!
real 12.24
user 11.87
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/8057/ft1_filtered_4FGL_J1933.2-4539_daily_bin1555.fits evtable="EVENTS" scfile=/scratch/kocevski/8057/ft2_4FGL_J1933.2-4539_daily_bin1555.fits sctable="SC_DATA" expcube=/scratch/kocevski/8057/ltcube_642384001_642643201_4FGL_J1933.2-4539_daily_bin1555.fits outfile=/scratch/kocevski/8057/expmap_642384001_642643201_4FGL_J1933.2-4539_daily_bin1555.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/8057/ltcube_642384001_642643201_4FGL_J1933.2-4539_daily_bin1555.fits
.....................!
real 193.22
user 186.97
sys 5.91

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES 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/8057/ft1_filtered_4FGL_J1933.2-4539_daily_bin1555.fits scfile=/scratch/kocevski/8057/ft2_4FGL_J1933.2-4539_daily_bin1555.fits outfile=/scratch/kocevski/8057/cmap_642384001_642643201_4FGL_J1933.2-4539_daily_bin1555.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/8057/ft1_filtered_4FGL_J1933.2-4539_daily_bin1555.fits scfile=/scratch/kocevski/8057/ft2_4FGL_J1933.2-4539_daily_bin1555.fits outfile=/scratch/kocevski/8057/cmap_HighResolution_642384001_642643201_4FGL_J1933.2-4539_daily_bin1555.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.58
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/8057/ft1_filtered_4FGL_J1933.2-4539_daily_bin1555.fits evtable="EVENTS" scfile=/scratch/kocevski/8057/ft2_4FGL_J1933.2-4539_daily_bin1555.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/8057/Model_4FGL_J1933.2-4539_daily_bin1555.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/8057/ft1_filtered_4FGL_J1933.2-4539_daily_bin1555.fits.....................!
real 78.50
user 77.10
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/8057/ft1_filtered_4FGL_J1933.2-4539_daily_bin1555.fits', '/scratch/kocevski/8057/ft2_4FGL_J1933.2-4539_daily_bin1555.fits', expMap='/scratch/kocevski/8057/expmap_642384001_642643201_4FGL_J1933.2-4539_daily_bin1555.fits', expCube='/scratch/kocevski/8057/ltcube_642384001_642643201_4FGL_J1933.2-4539_daily_bin1555.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/8057/Model_4FGL_J1933.2-4539_daily_bin1555.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/8057/ft1_filtered_4FGL_J1933.2-4539_daily_bin1555.fits
Spacecraft file(s): /scratch/kocevski/8057/ft2_4FGL_J1933.2-4539_daily_bin1555.fits
Exposure map: /scratch/kocevski/8057/expmap_642384001_642643201_4FGL_J1933.2-4539_daily_bin1555.fits
Exposure cube: /scratch/kocevski/8057/ltcube_642384001_642643201_4FGL_J1933.2-4539_daily_bin1555.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/8057/Model_4FGL_J1933.2-4539_daily_bin1555.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) = 8829.63297427

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    14.137       1.0000         .10000E-03   10000.    
     3 'norm      '    4.2575       1.0000         .10000E-03   10000.    
     4 'norm      '    .10205E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6185       1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.629       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.921       1.0000         .10000E-03   10000.    
     9 'norm      '    36.385       1.0000         .10000E-03   10000.    
    10 'norm      '    2.3193       1.0000         .10000E-03   10000.    
    11 'norm      '    13.126       1.0000         .10000E-03   10000.    
    12 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.6009       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .86780       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8829.615     FROM MIGRAD    STATUS=CONVERGED    383 CALLS     1866 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.5820         .0000    ** at limit **
   2  norm          14.137        15.366         .0000        .26347E-04
   3  norm          4.2569        5.7690         .0000        .58478E-02
   4  norm          .10000E-03    .94362         .0000    ** at limit **
   5  Prefactor     .10000E-03    56.524         .0000    ** at limit **
   6  Prefactor     1.6123        14.242         .0000        .10082E-01
   7  Prefactor     18.624        29.086         .0000        .23128E-02
   8  Prefactor     13.917        14.758         .0000       -.32310E-03
   9  norm          36.385        27.035         .0000       -.21820E-04
  10  norm          2.3195        1.2613         .0000        .36110E-03
  11  norm          13.125        9.5107         .0000        .72769E-04
  12  norm          .10001E-03    19.469         .0000    ** at limit **
  13  norm          .10000E-03    .66256         .0000    ** at limit **
  14  Prefactor     .10002E-03    18.837         .0000    ** at limit **
  15  norm          .10000E-03    2.1770         .0000    ** at limit **
  16  norm          .10000E-03    7.4057         .0000    ** at limit **
  17  Prefactor     .10000E-03    16.870         .0000    ** at limit **
  18  Normalizat    1.6007        .26503         .0000        .12155E-03
  19  Prefactor     .86787        .85433E-01     .0000        .17397E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 14.1368
  norm       = 4.2569
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.61226
  Prefactor  = 18.6239
  Prefactor  = 13.9168
  norm       = 36.3849
  norm       = 2.31952
  norm       = 13.1254
  norm       = 0.000100006
  norm       = 0.0001
  Prefactor  = 0.00010002
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.60066
  Prefactor  = 0.86787
 **********
 **   18 **HESSE 
 **********

 FCN=   8829.615     FROM HESSE     STATUS=OK           264 CALLS     2130 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.5967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          14.137        15.375        .10653E-03   -1.4956    
   3  norm          4.2569        5.7728        .97636E-03   -1.5295    
   4  norm          .10000E-03    1.8321        .17773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    56.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.6123        14.114        .16637E-02   -1.5454    
   7  Prefactor     18.624        28.897        .92795E-04   -1.4845    
   8  Prefactor     13.917        14.757        .10735E-03   -1.4962    
   9  norm          36.385        27.068        .66440E-04   -1.4501    
  10  norm          2.3195        1.2576        .74506E-04   -1.5403    
  11  norm          13.125        9.5153        .11056E-03   -1.4983    
  12  norm          .10001E-03    19.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .67801        .74676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10002E-03    18.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.1931        .13535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    7.4072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.6007        .31558        .38789E-03   -.74988    
  19  Prefactor     .86787        .10217        .16528E-03   -.97273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.59037e-08
Minuit parameter uncertainties:
  1  5.89579e-05
  2  15.3797
  3  5.77354
  4  6.75888e-06
  5  3.56261e-05
  6  9.54328
  7  28.9192
  8  14.761
  9  27.0772
  10  1.25761
  11  9.51641
  12  0.000706211
  13  1.34888e-06
  14  0.00122352
  15  9.06228e-06
  16  4.44065e-05
  17  0.000180939
  18  0.315976
  19  0.10219
Done.

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

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.612e+00  9.543e+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

GAL_V02
   Spectrum: PowerLaw
770    Prefactor:  8.679e-01  1.022e-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:  1.601e+00  3.160e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 293.314 -45.651
Photon Flux Upper Limit: 1.57e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.23e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/8057/likelihoodResults_642384001_642643201_4FGL_J1933.2-4539_daily_bin1555.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): 0
logL (Free Index) = 8829.6151707
delta logL = 4.36449354311e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8829.61514715
delta logL = 6.71875004628e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6427       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6195       1.0000          .0000       10.000    
     3 'Normalizat'    1.6009       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86780       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8829.615     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      291 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6380        15.554        .16481E-02    .38991E-03
   2  Index         2.6164        1.9546        .15259E-01    .46526E-04
   3  Normalizat    1.6008        .30991        .38787E-03   -.19169E-04
   4  Prefactor     .86783        .10073        .16528E-03    .20772E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.63804
  Index      = 2.61642
  Normalizat = 1.60083
  Prefactor  = 0.867828
 **********
 **   18 **HESSE 
 **********

 FCN=   8829.615     FROM HESSE     STATUS=OK            27 CALLS      318 TOTAL
                     EDM=   .72E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6380        14.227        .32962E-03   -1.5452    
   2  Index         2.6164        1.8787        .30518E-02   -.49691    
   3  Normalizat    1.6008        .31022        .15515E-04   -.74983    
   4  Prefactor     .86783        .10082        .66113E-05   -.97275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2043e-12
Minuit parameter uncertainties:
  1  9.65778
  2  1.94117
  3  0.310594
  4  0.100843
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/8057': 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) = 8829.61514548
delta logL = 6.88632244419e-05

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.638e+00  9.658e+00  1.000e-04  1.000e+04 ( 1.000e-12)
498        Index:  2.616e+00  1.941e+00  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:  8.678e-01  1.008e-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:  1.601e+00  3.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/8057/cmap_HighResolution_642384001_642643201_4FGL_J1933.2-4539_daily_bin1555.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', job_status='DONE', photon_flux_upper_limit='1.57e-07', time_completed='2021-09-23 03:52:01.676236', job_id='8057', GAL2='0.87', fit_tolerance='1e-08', EG2='1.60', EG='1.60', time_epoch_completed='1632394321.68', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='6.89e-05', ts2='0.03', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1555' AND source_name='4FGL J1933.2-4539' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 03:52:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 8057: <4FGL_J1933.2-4539_daily_bin1555> in cluster <slac> Done

Job <4FGL_J1933.2-4539_daily_bin1555> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep 23 03:36:49 2021
Job was executed on host(s) <bullet0016>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 03:37:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 03:37:32 2021
Terminated at Thu Sep 23 03:52:02 2021
Results reported at Thu Sep 23 03:52:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1933.2-4539_daily_bin1555 293.314 -45.6508 642384001 642643201 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 :                                   799.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             307.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            913 sec.

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

