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


Performing analysis on: 4FGL_J1933.2-4539_daily_bin1093
RA = 293.314, Dec = -45.6508
tmin = 522633601, tmax = 522892801
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='2495', job_status='RUN', time_executed='2021-09-23 03:21:22.123395', time_epoch_executed='1632392482.12' WHERE source_name='4FGL J1933.2-4539' and cadence='daily' and bin_id='1093'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2495

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2495/ft1_4FGL_J1933.2-4539_daily_bin1093.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2495/ft2_4FGL_J1933.2-4539_daily_bin1093.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2495/ft1_4FGL_J1933.2-4539_daily_bin1093.fits outfile=/scratch/kocevski/2495/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1093.fits ra=293.314 dec=-45.6508 rad=12.0 tmin=522633601.0 tmax=522892801.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.87
user 2.66
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2495/ft1_filtered_4FGL_J1933.2-4539_daily_bin1093.fits" evtable="EVENTS" scfile=/scratch/kocevski/2495/ft2_4FGL_J1933.2-4539_daily_bin1093.fits sctable="SC_DATA" outfile=/scratch/kocevski/2495/ltcube_522633601_522892801_4FGL_J1933.2-4539_daily_bin1093.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/2495/ft2_4FGL_J1933.2-4539_daily_bin1093.fits
.....................!
real 11.04
user 10.71
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2495/ft1_filtered_4FGL_J1933.2-4539_daily_bin1093.fits evtable="EVENTS" scfile=/scratch/kocevski/2495/ft2_4FGL_J1933.2-4539_daily_bin1093.fits sctable="SC_DATA" expcube=/scratch/kocevski/2495/ltcube_522633601_522892801_4FGL_J1933.2-4539_daily_bin1093.fits outfile=/scratch/kocevski/2495/expmap_522633601_522892801_4FGL_J1933.2-4539_daily_bin1093.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/2495/ltcube_522633601_522892801_4FGL_J1933.2-4539_daily_bin1093.fits
.....................!
real 144.85
user 140.53
sys 4.08

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/2495/ft1_filtered_4FGL_J1933.2-4539_daily_bin1093.fits scfile=/scratch/kocevski/2495/ft2_4FGL_J1933.2-4539_daily_bin1093.fits outfile=/scratch/kocevski/2495/cmap_522633601_522892801_4FGL_J1933.2-4539_daily_bin1093.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.44
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2495/ft1_filtered_4FGL_J1933.2-4539_daily_bin1093.fits scfile=/scratch/kocevski/2495/ft2_4FGL_J1933.2-4539_daily_bin1093.fits outfile=/scratch/kocevski/2495/cmap_HighResolution_522633601_522892801_4FGL_J1933.2-4539_daily_bin1093.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.46
user 0.31
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/2495/ft1_filtered_4FGL_J1933.2-4539_daily_bin1093.fits evtable="EVENTS" scfile=/scratch/kocevski/2495/ft2_4FGL_J1933.2-4539_daily_bin1093.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2495/Model_4FGL_J1933.2-4539_daily_bin1093.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/2495/ft1_filtered_4FGL_J1933.2-4539_daily_bin1093.fits.....................!
real 62.45
user 61.30
sys 0.99

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28785E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.0000       1.0000         .10000E-03   10000.    
     4 'norm      '    .30477       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.774       1.0000         .10000E-03   10000.    
     7 'Prefactor '    27.517       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.986       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .57479       1.0000         .10000E-03   10000.    
    11 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    23.135       1.0000         .10000E-03   10000.    
    13 'norm      '    1.3186       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.7588       1.0000         .10000E-03   10000.    
    16 'norm      '    16.043       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3741       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .87909       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=   9763.896     FROM MIGRAD    STATUS=CONVERGED    372 CALLS     1621 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.0600        .30124E-06** at limit **
   2  norm          .10000E-03    9.6857        .39130E-07** at limit **
   3  norm          4.9981        7.9688       -.30467E-06   -.10600E-03
   4  norm          .30456        .90683        .12050E-06   -.68224E-03
   5  Prefactor     .10000E-03    30.218       -.42058E-05** at limit **
   6  Prefactor     17.774        7.8637        .30694E-07   -.11537E-05
   7  Prefactor     27.517        20.344       -.12078E-06   -.14896E-04
   8  Prefactor     10.986        9.2479        .19431E-06   -.34630E-03
   9  norm          .10000E-03    5.9359       -.10120E-07** at limit **
  10  norm          .57476        .66018        .25480E-06   -.24776E-02
  11  norm          .10000E-03    3.2885        .30473E-08** at limit **
  12  norm          23.136        19.183        .40995E-06    .39751E-04
  13  norm          1.3187        1.2700        .15597E-07   -.97341E-04
  14  Prefactor     .10000E-03    27.757        .48725E-05** at limit **
  15  norm          2.7590        2.5004       -.89357E-08    .17551E-04
  16  norm          16.036        15.705       -.12299E-05   -.13745E-03
  17  Prefactor     .10000E-03    22.090       -.78948E-06** at limit **
  18  Normalizat    1.3739        .24199       -.37651E-06   -.15450E-04
  19  Prefactor     .87919        .78745E-01    .45657E-07   -.90431E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100004
  norm       = 0.0001
  norm       = 4.99812
  norm       = 0.304555
  Prefactor  = 0.000100001
  Prefactor  = 17.7742
  Prefactor  = 27.5168
  Prefactor  = 10.9864
  norm       = 0.0001
  norm       = 0.574761
  norm       = 0.0001
  norm       = 23.1359
  norm       = 1.31869
  Prefactor  = 0.000100002
  norm       = 2.75899
  norm       = 16.0356
  Prefactor  = 0.0001
  Normalizat = 1.37391
  Prefactor  = 0.879187
 **********
 **   18 **HESSE 
 **********

 FCN=   9763.896     FROM HESSE     STATUS=OK           270 CALLS     1891 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    38.493        .50658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    9.7953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.9981        8.0359        .17984E-03   -1.5261    
   4  norm          .30456        .98840        .16319E-02   -1.5598    
   5  Prefactor     .10000E-03    30.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.774        7.8683        .95001E-04   -1.4865    
   7  Prefactor     27.517        20.347        .76371E-04   -1.4658    
   8  Prefactor     10.986        9.4123        .60436E-03   -1.5045    
   9  norm          .10000E-03    5.9369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .57476        .87878        .23145E-03   -1.5556    
  11  norm          .10000E-03    3.3013        .17496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          23.136        19.265        .83278E-04   -1.4746    
  13  norm          1.3187        1.2523        .10637E-03   -1.5478    
  14  Prefactor     .10000E-03    28.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.7590        2.5031        .14456E-03   -1.5376    
  16  norm          16.036        15.791        .99995E-04   -1.4907    
  17  Prefactor     .10000E-03    22.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.3739        .29111        .39251E-03   -.81386    
  19  Prefactor     .87919        .94995E-01    .15655E-03   -.96872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41788e-08
Minuit parameter uncertainties:
  1  0.000748173
  2  1.56268e-06
  3  8.03767
  4  0.988449
  5  0.000425974
  6  7.86879
  7  20.3518
  8  9.4136
  9  5.56046e-07
  10  0.878796
  11  1.07892e-06
  12  19.2702
  13  1.25237
  14  0.000471728
  15  2.50323
  16  15.795
  17  1.2794e-05
  18  0.291465
  19  0.095013
Done.

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

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.777e+01  7.869e+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.792e-01  9.501e-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:  1.374e+00  2.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.22
Ra Dec: 293.314 -45.651
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 1.21e-07 +/- 5.37e-08
Energy Flux (Fixed Index): 3.08e-05 +/- 1.36e-05

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) = 9762.56356815
delta logL = 1.3328029697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9762.36568778
delta logL = 1.53068333815

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9762.366     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      253 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.283        10.857        .81285E-04    .40560E-04
   2  Index         2.0218        .31762        .67727E-02    .26414E-04
   3  Normalizat    1.4190        .28222        .38733E-03    .23135E-03
   4  Prefactor     .86873        .92612E-01    .15736E-03    .57511E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.2828
  Index      = 2.02184
  Normalizat = 1.41898
  Prefactor  = 0.868735
 **********
 **   18 **HESSE 
 **********

 FCN=   9762.366     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.283        10.873        .32514E-05   -1.4722    
   2  Index         2.0218        .31808        .27091E-03   -.63805    
   3  Normalizat    1.4190        .28247        .15493E-04   -.80081    
   4  Prefactor     .86873        .92686E-01    .31472E-04   -.97242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.55834e-11
Minuit parameter uncertainties:
  1  10.8737
  2  0.318415
  3  0.282778
  4  0.0927025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2495': 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) = 9762.36568572
delta logL = 1.53068539347

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  2.428e+01  1.087e+01  1.000e-04  1.000e+04 ( 1.000e-12)
498        Index:  2.022e+00  3.184e-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:  8.687e-01  9.270e-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:  1.419e+00  2.828e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.28
Ra Dec: 293.314 -45.651
Photon Index (Free Index): 2.02 +/- 0.32
Photon Flux (Free Index): 8.82e-08 +/- 4.71e-08
Energy Flux (Free Index): 5.78e-05 +/- 3.75e-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/2495/cmap_HighResolution_522633601_522892801_4FGL_J1933.2-4539_daily_bin1093.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.21e-07', energy_flux2='5.78e-05', photon_flux_error='5.37e-08', dlogl='1.53e+00', energy_flux='3.08e-05', photon_flux2='8.82e-08', job_status='DONE', time_completed='2021-09-23 03:30:50.893499', photon_index_error2='0.32', photon_index2='2.02', ts='12.22', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='3.75e-05', EG='1.37', time_epoch_completed='1632393050.89', return_code='0', job_id='2495', GAL2='0.87', EG2='1.42', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='4.71e-08', ts2='15.28', photon_index='2.64' WHERE bin_id='1093' AND source_name='4FGL J1933.2-4539' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 03:30:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 2495: <4FGL_J1933.2-4539_daily_bin1093> in cluster <slac> Done

Job <4FGL_J1933.2-4539_daily_bin1093> 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) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 03:18:26 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:26 2021
Terminated at Thu Sep 23 03:30:51 2021
Results reported at Thu Sep 23 03:30:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1933.2-4539_daily_bin1093 293.314 -45.6508 522633601 522892801 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 :                                   560.25 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             331.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            826 sec.

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

