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


Performing analysis on: 4FGL_J1933.2-4539_daily_bin1098
RA = 293.314, Dec = -45.6508
tmin = 523929601, tmax = 524188801
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='2502', job_status='RUN', time_executed='2021-09-23 03:19:10.822718', time_epoch_executed='1632392350.82' WHERE source_name='4FGL J1933.2-4539' and cadence='daily' and bin_id='1098'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2502

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2502/ft1_4FGL_J1933.2-4539_daily_bin1098.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2502/ft2_4FGL_J1933.2-4539_daily_bin1098.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2502/ft1_4FGL_J1933.2-4539_daily_bin1098.fits outfile=/scratch/kocevski/2502/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1098.fits ra=293.314 dec=-45.6508 rad=12.0 tmin=523929601.0 tmax=524188801.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.52
user 3.28
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/2502/ft2_4FGL_J1933.2-4539_daily_bin1098.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/2502/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1098.fits evtable="EVENTS" outfile="/scratch/kocevski/2502/ft1_filtered_4FGL_J1933.2-4539_daily_bin1098.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.54
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2502/ft1_filtered_4FGL_J1933.2-4539_daily_bin1098.fits" evtable="EVENTS" scfile=/scratch/kocevski/2502/ft2_4FGL_J1933.2-4539_daily_bin1098.fits sctable="SC_DATA" outfile=/scratch/kocevski/2502/ltcube_523929601_524188801_4FGL_J1933.2-4539_daily_bin1098.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/2502/ft2_4FGL_J1933.2-4539_daily_bin1098.fits
.....................!
real 13.75
user 13.36
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2502/ft1_filtered_4FGL_J1933.2-4539_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/2502/ft2_4FGL_J1933.2-4539_daily_bin1098.fits sctable="SC_DATA" expcube=/scratch/kocevski/2502/ltcube_523929601_524188801_4FGL_J1933.2-4539_daily_bin1098.fits outfile=/scratch/kocevski/2502/expmap_523929601_524188801_4FGL_J1933.2-4539_daily_bin1098.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/2502/ltcube_523929601_524188801_4FGL_J1933.2-4539_daily_bin1098.fits
.....................!
real 191.55
user 186.34
sys 4.77

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/2502/ft1_filtered_4FGL_J1933.2-4539_daily_bin1098.fits scfile=/scratch/kocevski/2502/ft2_4FGL_J1933.2-4539_daily_bin1098.fits outfile=/scratch/kocevski/2502/cmap_523929601_524188801_4FGL_J1933.2-4539_daily_bin1098.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.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/2502/ft1_filtered_4FGL_J1933.2-4539_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/2502/ft2_4FGL_J1933.2-4539_daily_bin1098.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2502/Model_4FGL_J1933.2-4539_daily_bin1098.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/2502/ft1_filtered_4FGL_J1933.2-4539_daily_bin1098.fits.....................!
real 71.39
user 70.03
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2432       1.0000         .10000E-03   10000.    
     2 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.3994       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.159       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.439       1.0000         .10000E-03   10000.    
     9 'norm      '    .10118E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .60498       1.0000         .10000E-03   10000.    
    11 'norm      '    1.7713       1.0000         .10000E-03   10000.    
    12 'norm      '    .53155       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.4638       1.0000         .10000E-03   10000.    
    15 'norm      '    6.4024       1.0000         .10000E-03   10000.    
    16 'norm      '    11.256       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2746       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94044       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=   8014.118     FROM MIGRAD    STATUS=CONVERGED    393 CALLS     1930 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2799        41.725       -.61972E-05    .18248E-04
   2  norm          .10000E-03    7.8145        .37353E-07** at limit **
   3  norm          3.4000        6.3976        .29100E-05    .34564E-03
   4  norm          .10000E-03    1.0976       -.21404E-07** at limit **
   5  Prefactor     .10000E-03    42.857       -.17666E-05** at limit **
   6  Prefactor     13.162        8.8928       -.12181E-06    .81344E-04
   7  Prefactor     .10000E-03    10.258        .19989E-06** at limit **
   8  Prefactor     16.443        11.839       -.49330E-06    .35545E-04
   9  norm          .10000E-03    14.944       -.10710E-06** at limit **
  10  norm          .60487        .94226        .28015E-08    .11068E-03
  11  norm          1.7859        20.928        .19035E-05    .15239E-03
  12  norm          .43964        27.825       -.45392E-05    .30999E-03
  13  norm          .10000E-03    .57387       -.93211E-08** at limit **
  14  Prefactor     6.4794        58.909       -.22236E-05    .30497E-05
  15  norm          6.4064        5.4698        .57422E-07    .51433E-03
  16  norm          11.241        14.580       -.54242E-07    .78374E-05
  17  Prefactor     .10000E-03    9.7314       -.11543E-06** at limit **
  18  Normalizat    1.2748        .27976        .20261E-05    .25440E-03
  19  Prefactor     .94037        .91156E-01   -.54848E-06    .54342E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.27994
  norm       = 0.0001
  norm       = 3.39999
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.1616
  Prefactor  = 0.0001
  Prefactor  = 16.4427
  norm       = 0.0001
  norm       = 0.60487
  norm       = 1.78592
  norm       = 0.439639
  norm       = 0.0001
  Prefactor  = 6.47936
  norm       = 6.40636
  norm       = 11.2407
  Prefactor  = 0.0001
  Normalizat = 1.27481
  Prefactor  = 0.940374
 **********
 **   18 **HESSE 
 **********

 FCN=   8014.118     FROM HESSE     STATUS=OK           278 CALLS     2208 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2799        41.995        .40187E-03   -1.5482    
   2  norm          .10000E-03    7.8176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.4000        6.4147        .10971E-02   -1.5339    
   4  norm          .10000E-03    1.1132        .91572E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    42.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.162        8.9003        .11042E-03   -1.4982    
   7  Prefactor     .10000E-03    10.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.443        11.849        .98784E-04   -1.4897    
   9  norm          .10000E-03    15.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .60487        .94105        .46769E-04   -1.5552    
  11  norm          1.7859        20.802        .31463E-03   -1.5441    
  12  norm          .43964        30.742        .10306       -1.5575    
  13  norm          .10000E-03    .57877        .66215E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.4794        58.914        .15786E-03   -1.5199    
  15  norm          6.4064        5.5007        .15862E-03   -1.5202    
  16  norm          11.241        14.578        .11941E-03   -1.5037    
  17  Prefactor     .10000E-03    9.7321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2748        .33225        .41225E-03   -.84321    
  19  Prefactor     .94037        .10797        .15716E-03   -.94744    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86797e-09
Minuit parameter uncertainties:
  1  14.6738
  2  5.04614e-06
  3  6.416
  4  3.66541e-07
  5  3.09042e-05
  6  8.90121
  7  1.15841e-06
  8  11.8503
  9  6.91065e-08
  10  0.941077
  11  12.1954
  12  7.35572
  13  3.51028e-07
  14  39.1263
  15  5.50112
  16  14.5824
  17  4.91329e-07
  18  0.332811
  19  0.10799
Done.

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

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.316e+01  8.901e+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:  9.404e-01  1.080e-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.275e+00  3.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.60
Ra Dec: 293.314 -45.651
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 9.00e-08 +/- 6.08e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 1.54e-05

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

Saving results to:
/scratch/kocevski/2502/likelihoodResults_523929601_524188801_4FGL_J1933.2-4539_daily_bin1098.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) = 8012.5994032
delta logL = 1.51820407333

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8012.58537153
delta logL = 1.53223574707

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.985       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7038       1.0000          .0000       10.000    
     3 'Normalizat'    1.3356       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92712       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=   8012.585     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      218 TOTAL
                     EDM=   .27E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.988        11.961        .27831E-05    .59610E-04
   2  Index         1.7039        .46308        .18092E-04   -.10555E-04
   3  Normalizat    1.3356        .26406       -.13060E-05   -.17344E-04
   4  Prefactor     .92712        .87961E-01    .18360E-06    .92422E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.9876
  Index      = 1.70386
  Normalizat = 1.3356
  Prefactor  = 0.927121
 **********
 **   18 **HESSE 
 **********

 FCN=   8012.585     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .96E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.988        11.667        .10347E-03   -1.4933    
   2  Index         1.7039        .45183        .73284E-02   -.71979    
   3  Normalizat    1.3356        .31384        .40424E-03   -.82510    
   4  Prefactor     .92712        .10499        .15806E-03   -.95200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.63407e-12
Minuit parameter uncertainties:
  1  11.6687
  2  0.452921
  3  0.314292
  4  0.105014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2502': 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) = 8012.58537149
delta logL = 1.53223578628

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.499e+01  1.167e+01  1.000e-04  1.000e+04 ( 1.000e-12)
498        Index:  1.704e+00  4.529e-01  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:  9.271e-01  1.050e-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.336e+00  3.143e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.66
Ra Dec: 293.314 -45.651
Photon Index (Free Index): 1.70 +/- 0.45
Photon Flux (Free Index): 4.44e-08 +/- 3.99e-08
Energy Flux (Free Index): 7.17e-05 +/- 7.47e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/2502/cmap_HighResolution_523929601_524188801_4FGL_J1933.2-4539_daily_bin1098.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.70e-02', comment='SUCCESS', photon_flux='9.00e-08', energy_flux2='7.17e-05', photon_flux_error='6.08e-08', dlogl='1.53e+00', energy_flux='2.28e-05', photon_flux2='4.44e-08', job_status='DONE', time_completed='2021-09-23 03:31:57.419350', photon_index_error2='0.45', photon_index2='1.70', ts='3.60', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='2.17e-07', energy_flux_error2='7.47e-05', EG='1.27', time_epoch_completed='1632393117.42', return_code='0', job_id='2502', GAL2='0.93', EG2='1.34', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='3.99e-08', ts2='6.66', photon_index='2.64' WHERE bin_id='1098' AND source_name='4FGL J1933.2-4539' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 03:31:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0141>
Subject: Job 2502: <4FGL_J1933.2-4539_daily_bin1098> in cluster <slac> Done

Job <4FGL_J1933.2-4539_daily_bin1098> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 23 03:17:05 2021
Job was executed on host(s) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 03:18:29 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:18:29 2021
Terminated at Thu Sep 23 03:31:58 2021
Results reported at Thu Sep 23 03:31:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1933.2-4539_daily_bin1098 293.314 -45.6508 523929601 524188801 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 :                                   765.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             341.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            893 sec.

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

