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


Performing analysis on: 4FGL_J1933.2-4539_daily_bin1322
RA = 293.314, Dec = -45.6508
tmin = 581990401, tmax = 582249601
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='6587', job_status='RUN', time_executed='2021-09-23 03:32:50.995473', time_epoch_executed='1632393171.0' WHERE source_name='4FGL J1933.2-4539' and cadence='daily' and bin_id='1322'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/6587

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/6587/ft1_4FGL_J1933.2-4539_daily_bin1322.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/6587/ft2_4FGL_J1933.2-4539_daily_bin1322.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/6587/ft1_4FGL_J1933.2-4539_daily_bin1322.fits outfile=/scratch/kocevski/6587/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1322.fits ra=293.314 dec=-45.6508 rad=12.0 tmin=581990401.0 tmax=582249601.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.37
user 2.17
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/6587/ft1_filtered_4FGL_J1933.2-4539_daily_bin1322.fits" evtable="EVENTS" scfile=/scratch/kocevski/6587/ft2_4FGL_J1933.2-4539_daily_bin1322.fits sctable="SC_DATA" outfile=/scratch/kocevski/6587/ltcube_581990401_582249601_4FGL_J1933.2-4539_daily_bin1322.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/6587/ft2_4FGL_J1933.2-4539_daily_bin1322.fits
.....................!
real 12.97
user 12.58
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/6587/ft1_filtered_4FGL_J1933.2-4539_daily_bin1322.fits evtable="EVENTS" scfile=/scratch/kocevski/6587/ft2_4FGL_J1933.2-4539_daily_bin1322.fits sctable="SC_DATA" expcube=/scratch/kocevski/6587/ltcube_581990401_582249601_4FGL_J1933.2-4539_daily_bin1322.fits outfile=/scratch/kocevski/6587/expmap_581990401_582249601_4FGL_J1933.2-4539_daily_bin1322.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/6587/ltcube_581990401_582249601_4FGL_J1933.2-4539_daily_bin1322.fits
.....................!
real 190.64
user 185.26
sys 5.04

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/6587/ft1_filtered_4FGL_J1933.2-4539_daily_bin1322.fits scfile=/scratch/kocevski/6587/ft2_4FGL_J1933.2-4539_daily_bin1322.fits outfile=/scratch/kocevski/6587/cmap_581990401_582249601_4FGL_J1933.2-4539_daily_bin1322.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.38
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    67.468       1.0000         .10000E-03   10000.    
     2 'norm      '    72.730       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.638       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13706E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.8103       1.0000         .10000E-03   10000.    
    11 'norm      '    .10914E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    74.130       1.0000         .10000E-03   10000.    
    13 'norm      '    2.3616       1.0000         .10000E-03   10000.    
    14 'Prefactor '    86.742       1.0000         .10000E-03   10000.    
    15 'norm      '    1.8253       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'    .72856       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1138       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=   3001.592     FROM MIGRAD    STATUS=CONVERGED    382 CALLS     1877 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          67.439        71.172       -.27512E-04   -.91663E-05
   2  norm          72.697        85.312       -.32276E-04   -.61987E-06
   3  norm          .10000E-03    11.283       -.53870E-05** at limit **
   4  norm          .10000E-03    2.9290       -.25498E-06** at limit **
   5  Prefactor     .10000E-03    98.539       -.94579E-05** at limit **
   6  Prefactor     32.642        26.443       -.73068E-06   -.21899E-04
   7  Prefactor     .10000E-03    64.556        .29816E-04** at limit **
   8  Prefactor     .10000E-03    49.905       -.19490E-04** at limit **
   9  norm          .10000E-03    19.361       -.10374E-05** at limit **
  10  norm          2.8095        2.2106        .47260E-06    .20455E-03
  11  norm          .10000E-03    16.302        .48519E-06** at limit **
  12  norm          74.101        46.866       -.19623E-04    .12300E-05
  13  norm          2.3619        3.3066       -.67751E-06   -.22961E-03
  14  Prefactor     86.662        92.781       -.75253E-04   -.24470E-05
  15  norm          1.8260        4.4276        .35396E-06   -.16240E-03
  16  norm          .10000E-03    11.323        .56082E-05** at limit **
  17  Prefactor     .10000E-03    22.933        .23365E-05** at limit **
  18  Normalizat    .72754        .52979        .21666E-04    .11563E-03
  19  Prefactor     1.1143        .18292        .25953E-05   -.26917E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 67.4394
  norm       = 72.6972
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.642
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.80949
  norm       = 0.000100001
  norm       = 74.1006
  norm       = 2.36185
  Prefactor  = 86.6625
  norm       = 1.82599
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.727543
  Prefactor  = 1.11425
 **********
 **   18 **HESSE 
 **********

 FCN=   3001.592     FROM HESSE     STATUS=OK           266 CALLS     2143 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          67.439        71.314        .24432E-03   -1.4064    
   2  norm          72.697        85.486        .47076E-04   -1.4001    
   3  norm          .10000E-03    11.304        .17978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.9437        .91570E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    98.543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     32.642        26.362        .70139E-04   -1.4565    
   7  Prefactor     .10000E-03    64.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    51.617        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    19.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8095        2.2031        .68969E-04   -1.5373    
  11  norm          .10000E-03    16.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          74.101        46.861        .46633E-04   -1.3984    
  13  norm          2.3619        3.2850        .11277E-03   -1.5401    
  14  Prefactor     86.662        92.788        .21568E-03   -1.3843    
  15  norm          1.8260        4.3803        .17283E-03   -1.5438    
  16  norm          .10000E-03    11.324        .18008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .72754        .56380        .55652E-03   -1.0282    
  19  Prefactor     1.1143        .19860        .16435E-03   -.89012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.11295e-10
Minuit parameter uncertainties:
  1  71.4042
  2  85.631
  3  3.15406e-05
  4  9.11905e-06
  5  6.09291e-05
  6  26.3715
  7  0.000204844
  8  3.18651e-05
  9  1.28167e-05
  10  2.20319
  11  0.000234636
  12  46.8847
  13  3.28527
  14  92.944
  15  4.38102
  16  3.58058e-06
  17  1.96397e-06
  18  0.568388
  19  0.198733
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
770    Prefactor:  1.114e+00  1.987e-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:  7.275e-01  5.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.22
Ra Dec: 293.314 -45.651
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 2.23e-07 +/- 1.80e-07
Energy Flux (Fixed Index): 5.65e-05 +/- 4.56e-05

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

Saving results to:
/scratch/kocevski/6587/likelihoodResults_581990401_582249601_4FGL_J1933.2-4539_daily_bin1322.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) = 3001.54857331
delta logL = 0.0430835062057

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3001.53887099
delta logL = 0.0527858314258

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.142       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4087       1.0000          .0000       10.000    
     3 'Normalizat'    .76217       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1062       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=   3001.539     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      262 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.143        30.262        .66663E-04   -.44717E-03
   2  Index         2.4090        .69158        .67169E-02   -.17853E-03
   3  Normalizat    .76276        .54860        .54468E-03    .40158E-04
   4  Prefactor     1.1062        .19449        .16486E-03    .17707E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.1432
  Index      = 2.40901
  Normalizat = 0.762763
  Prefactor  = 1.10624
 **********
 **   18 **HESSE 
 **********

 FCN=   3001.539     FROM HESSE     STATUS=OK            23 CALLS      285 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.143        30.087        .13333E-04   -1.4505    
   2  Index         2.4090        .68687        .26868E-03   -.54474    
   3  Normalizat    .76276        .54874        .21787E-04   -1.0147    
   4  Prefactor     1.1062        .19448        .32972E-04   -.89267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28726e-09
Minuit parameter uncertainties:
  1  30.0997
  2  0.689856
  3  0.552781
  4  0.194602
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/6587': 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) = 3001.53886621
delta logL = 0.0527906094026

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  3.614e+01  3.010e+01  1.000e-04  1.000e+04 ( 1.000e-12)
498        Index:  2.409e+00  6.899e-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:  1.106e+00  1.946e-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:  7.628e-01  5.528e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.29
Ra Dec: 293.314 -45.651
Photon Index (Free Index): 2.41 +/- 0.69
Photon Flux (Free Index): 1.90e-07 +/- 1.96e-07
Energy Flux (Free Index): 6.17e-05 +/- 5.35e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/6587/cmap_HighResolution_581990401_582249601_4FGL_J1933.2-4539_daily_bin1322.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-02', comment='SUCCESS', photon_flux='2.23e-07', energy_flux2='6.17e-05', photon_flux_error='1.80e-07', dlogl='5.28e-02', energy_flux='5.65e-05', photon_flux2='1.90e-07', job_status='DONE', time_completed='2021-09-23 03:40:57.643178', photon_index_error2='0.69', photon_index2='2.41', ts='2.22', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='5.83e-07', energy_flux_error2='5.35e-05', EG='0.73', time_epoch_completed='1632393657.64', return_code='0', job_id='6587', GAL2='1.11', EG2='0.76', return_code2='0', energy_flux_error='4.56e-05', photon_flux_error2='1.96e-07', ts2='2.29', photon_index='2.64' WHERE bin_id='1322' AND source_name='4FGL J1933.2-4539' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 03:40:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 6587: <4FGL_J1933.2-4539_daily_bin1322> in cluster <slac> Done

Job <4FGL_J1933.2-4539_daily_bin1322> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 23 03:31:52 2021
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 03:31:58 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:31:58 2021
Terminated at Thu Sep 23 03:40:58 2021
Results reported at Thu Sep 23 03:40:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1933.2-4539_daily_bin1322 293.314 -45.6508 581990401 582249601 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 :                                   476.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             346.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   539 sec.
    Turnaround time :                            546 sec.

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

