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


Performing analysis on: 4FGL_J1933.2-4539_daily_bin1117
RA = 293.314, Dec = -45.6508
tmin = 528854401, tmax = 529113601
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='3932', job_status='RUN', time_executed='2021-09-23 03:23:16.183829', time_epoch_executed='1632392596.18' WHERE source_name='4FGL J1933.2-4539' and cadence='daily' and bin_id='1117'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/3932

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/3932/ft1_4FGL_J1933.2-4539_daily_bin1117.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/3932/ft2_4FGL_J1933.2-4539_daily_bin1117.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/3932/ft1_4FGL_J1933.2-4539_daily_bin1117.fits outfile=/scratch/kocevski/3932/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1117.fits ra=293.314 dec=-45.6508 rad=12.0 tmin=528854401.0 tmax=529113601.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.45
user 3.22
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/3932/ft2_4FGL_J1933.2-4539_daily_bin1117.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/3932/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1117.fits evtable="EVENTS" outfile="/scratch/kocevski/3932/ft1_filtered_4FGL_J1933.2-4539_daily_bin1117.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/3932/ft1_filtered_4FGL_J1933.2-4539_daily_bin1117.fits" evtable="EVENTS" scfile=/scratch/kocevski/3932/ft2_4FGL_J1933.2-4539_daily_bin1117.fits sctable="SC_DATA" outfile=/scratch/kocevski/3932/ltcube_528854401_529113601_4FGL_J1933.2-4539_daily_bin1117.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/3932/ft2_4FGL_J1933.2-4539_daily_bin1117.fits
.....................!
real 13.01
user 12.67
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/3932/ft1_filtered_4FGL_J1933.2-4539_daily_bin1117.fits evtable="EVENTS" scfile=/scratch/kocevski/3932/ft2_4FGL_J1933.2-4539_daily_bin1117.fits sctable="SC_DATA" expcube=/scratch/kocevski/3932/ltcube_528854401_529113601_4FGL_J1933.2-4539_daily_bin1117.fits outfile=/scratch/kocevski/3932/expmap_528854401_529113601_4FGL_J1933.2-4539_daily_bin1117.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/3932/ltcube_528854401_529113601_4FGL_J1933.2-4539_daily_bin1117.fits
.....................!
real 193.52
user 187.45
sys 5.66

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/3932/ft1_filtered_4FGL_J1933.2-4539_daily_bin1117.fits scfile=/scratch/kocevski/3932/ft2_4FGL_J1933.2-4539_daily_bin1117.fits outfile=/scratch/kocevski/3932/cmap_528854401_529113601_4FGL_J1933.2-4539_daily_bin1117.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/3932/ft1_filtered_4FGL_J1933.2-4539_daily_bin1117.fits scfile=/scratch/kocevski/3932/ft2_4FGL_J1933.2-4539_daily_bin1117.fits outfile=/scratch/kocevski/3932/cmap_HighResolution_528854401_529113601_4FGL_J1933.2-4539_daily_bin1117.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/3932/ft1_filtered_4FGL_J1933.2-4539_daily_bin1117.fits evtable="EVENTS" scfile=/scratch/kocevski/3932/ft2_4FGL_J1933.2-4539_daily_bin1117.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/3932/Model_4FGL_J1933.2-4539_daily_bin1117.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/3932/ft1_filtered_4FGL_J1933.2-4539_daily_bin1117.fits.....................!
real 74.48
user 73.09
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    17.780       1.0000         .10000E-03   10000.    
     4 'norm      '    .90188       1.0000         .10000E-03   10000.    
     5 'Prefactor '    320.29       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.2641       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7979       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.1786       1.0000         .10000E-03   10000.    
    12 'norm      '    9.2983       1.0000         .10000E-03   10000.    
    13 'norm      '    2.4228       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.0977       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.3038       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .80433       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=   8522.487     FROM MIGRAD    STATUS=CONVERGED    381 CALLS     1922 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    16.137       -.41514E-05** at limit **
   2  norm          .10000E-03    24.406        .80199E-05** at limit **
   3  norm          17.783        12.917       -.38541E-06   -.26283E-04
   4  norm          .90260        2.0165       -.37626E-06   -.13650E-02
   5  Prefactor     320.31        160.02        .81005E-05    .25069E-05
   6  Prefactor     5.2640        7.3348       -.17589E-06   -.23769E-03
   7  Prefactor     .10000E-03    6.1632       -.57343E-07** at limit **
   8  Prefactor     3.7986        10.179       -.60622E-06   -.16690E-03
   9  norm          .10000E-03    4.8383        .16558E-06** at limit **
  10  norm          .10000E-03    .33759       -.19603E-07** at limit **
  11  norm          3.1784        7.0597       -.43086E-06   -.30876E-03
  12  norm          9.2975        13.018       -.47603E-07   -.28948E-04
  13  norm          2.4227        1.4811        .10672E-06    .52976E-06
  14  Prefactor     .10000E-03    28.063       -.66177E-05** at limit **
  15  norm          2.0974        2.3863        .38516E-07   -.23533E-03
  16  norm          .10000E-03    7.2639       -.30081E-06** at limit **
  17  Prefactor     .10000E-03    13.229        .12694E-05** at limit **
  18  Normalizat    1.3041        .23576       -.17094E-06    .59068E-05
  19  Prefactor     .80423        .79869E-01   -.99367E-07    .56214E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 17.7825
  norm       = 0.902596
  Prefactor  = 320.308
  Prefactor  = 5.26399
  Prefactor  = 0.0001
  Prefactor  = 3.79863
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.17837
  norm       = 9.29751
  norm       = 2.42272
  Prefactor  = 0.0001
  norm       = 2.09742
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.30407
  Prefactor  = 0.804231
 **********
 **   18 **HESSE 
 **********

 FCN=   8522.487     FROM HESSE     STATUS=OK           272 CALLS     2194 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    23.956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          17.783        13.022        .94985E-04   -1.4864    
   4  norm          .90260        2.0587        .19509E-03   -1.5518    
   5  Prefactor     320.31        157.77        .11359E-03   -1.2109    
   6  Prefactor     5.2640        7.3597        .17519E-03   -1.5249    
   7  Prefactor     .10000E-03    6.1644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.7986        10.184        .20713E-03   -1.5318    
   9  norm          .10000E-03    4.8384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .61390        .10418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.1784        7.0973        .22730E-03   -1.5351    
  12  norm          9.2975        13.010        .13143E-03   -1.5098    
  13  norm          2.4227        1.4808        .85258E-04   -1.5397    
  14  Prefactor     .10000E-03    27.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.0974        2.3777        .14736E-03   -1.5418    
  16  norm          .10000E-03    7.2723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.3041        .27947        .37066E-03   -.83445    
  19  Prefactor     .80423        .95248E-01    .15546E-03   -.99573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19267e-09
Minuit parameter uncertainties:
  1  1.92249e-05
  2  1.30799e-05
  3  13.0243
  4  2.0589
  5  157.982
  6  7.361
  7  1.00633e-06
  8  10.1891
  9  5.71555e-07
  10  2.90904e-06
  11  7.09918
  12  13.0143
  13  1.48083
  14  5.40507e-06
  15  2.3778
  16  1.81739e-07
  17  4.83378e-07
  18  0.279795
  19  0.0952678
Done.

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

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  5.264e+00  7.361e+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.042e-01  9.527e-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.304e+00  2.798e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/3932/likelihoodResults_528854401_529113601_4FGL_J1933.2-4539_daily_bin1117.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) = 8522.16698642
delta logL = 0.31963880008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8522.12138403
delta logL = 0.365241187506

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83816       1.0000         .10000E-03   10000.    
     2 'Index     '    4.4190       1.0000          .0000       10.000    
     3 'Normalizat'    1.2599       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81484       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=   8522.121     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      271 TOTAL
                     EDM=   .92E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83436        10.275        .18163E-01    .84397E-03
   2  Index         4.4226        2.9148        .20281        .88781E-04
   3  Normalizat    1.2598        .45846E-01    .84946E-01   -.94138E-05
   4  Prefactor     .81485        .15601E-01    .43910E-01   -.34803E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.834358
  Index      = 4.42256
  Normalizat = 1.25978
  Prefactor  = 0.814853
 **********
 **   18 **HESSE 
 **********

 FCN=   8522.121     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      306 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83436        38.183        .82319E-03   -1.5525    
   2  Index         4.4226        7.0824        .80525E-02   -.11575    
   3  Normalizat    1.2598        .19453        .37611E-03   -.84775    
   4  Prefactor     .81485        .66200E-01    .15452E-03   -.99183    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.98217e-11
Minuit parameter uncertainties:
  1  11.2956
  2  8.8285
  3  0.194639
  4  0.0662066
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/3932': 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) = 8522.12138318
delta logL = 0.365242035046

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  8.344e-01  1.130e+01  1.000e-04  1.000e+04 ( 1.000e-12)
498        Index:  4.423e+00  8.829e+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.149e-01  6.621e-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.260e+00  1.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.39
Ra Dec: 293.314 -45.651
Photon Index (Free Index): 4.42 +/- 8.83
Photon Flux (Free Index): 6.64e-08 +/- 6.31e-08
Energy Flux (Free Index): 9.37e-06 +/- 1.53e-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/3932/cmap_HighResolution_528854401_529113601_4FGL_J1933.2-4539_daily_bin1117.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', comment='SUCCESS', energy_flux2='9.37e-06', dlogl='3.65e-01', photon_flux2='6.64e-08', job_status='DONE', time_completed='2021-09-23 03:36:41.457684', photon_index_error2='8.83', photon_index2='4.42', ts='0.61', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='1.44e-07', energy_flux_error2='1.53e-05', EG='1.30', time_epoch_completed='1632393401.46', return_code='0', job_id='3932', GAL2='0.81', EG2='1.26', return_code2='102', photon_flux_error2='6.31e-08', ts2='1.39', photon_index='2.64' WHERE bin_id='1117' AND source_name='4FGL J1933.2-4539' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 03:36:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 3932: <4FGL_J1933.2-4539_daily_bin1117> in cluster <slac> Done

Job <4FGL_J1933.2-4539_daily_bin1117> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 23 03:22:21 2021
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 03:22:25 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:22:25 2021
Terminated at Thu Sep 23 03:36:42 2021
Results reported at Thu Sep 23 03:36:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1933.2-4539_daily_bin1117 293.314 -45.6508 528854401 529113601 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 :                                   801.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             328.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            861 sec.

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

