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


Performing analysis on: 4FGL_J1933.2-4539_daily_bin1457
RA = 293.314, Dec = -45.6508
tmin = 616982401, tmax = 617241601
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='7911', job_status='RUN', time_executed='2021-09-23 03:37:39.651000', time_epoch_executed='1632393459.65' WHERE source_name='4FGL J1933.2-4539' and cadence='daily' and bin_id='1457'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/7911

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/7911/ft1_4FGL_J1933.2-4539_daily_bin1457.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/7911/ft2_4FGL_J1933.2-4539_daily_bin1457.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/7911/ft1_4FGL_J1933.2-4539_daily_bin1457.fits outfile=/scratch/kocevski/7911/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1457.fits ra=293.314 dec=-45.6508 rad=12.0 tmin=616982401.0 tmax=617241601.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.04
user 2.80
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/7911/ft1_filtered_4FGL_J1933.2-4539_daily_bin1457.fits" evtable="EVENTS" scfile=/scratch/kocevski/7911/ft2_4FGL_J1933.2-4539_daily_bin1457.fits sctable="SC_DATA" outfile=/scratch/kocevski/7911/ltcube_616982401_617241601_4FGL_J1933.2-4539_daily_bin1457.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/7911/ft2_4FGL_J1933.2-4539_daily_bin1457.fits
.....................!
real 14.22
user 13.77
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/7911/ft1_filtered_4FGL_J1933.2-4539_daily_bin1457.fits evtable="EVENTS" scfile=/scratch/kocevski/7911/ft2_4FGL_J1933.2-4539_daily_bin1457.fits sctable="SC_DATA" expcube=/scratch/kocevski/7911/ltcube_616982401_617241601_4FGL_J1933.2-4539_daily_bin1457.fits outfile=/scratch/kocevski/7911/expmap_616982401_617241601_4FGL_J1933.2-4539_daily_bin1457.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/7911/ltcube_616982401_617241601_4FGL_J1933.2-4539_daily_bin1457.fits
.....................!
real 192.00
user 186.20
sys 5.45

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/7911/ft1_filtered_4FGL_J1933.2-4539_daily_bin1457.fits scfile=/scratch/kocevski/7911/ft2_4FGL_J1933.2-4539_daily_bin1457.fits outfile=/scratch/kocevski/7911/cmap_616982401_617241601_4FGL_J1933.2-4539_daily_bin1457.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.37
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/7911/ft1_filtered_4FGL_J1933.2-4539_daily_bin1457.fits evtable="EVENTS" scfile=/scratch/kocevski/7911/ft2_4FGL_J1933.2-4539_daily_bin1457.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/7911/Model_4FGL_J1933.2-4539_daily_bin1457.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/7911/ft1_filtered_4FGL_J1933.2-4539_daily_bin1457.fits..........................!
real 21.02
user 19.69
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    34.620       1.0000         .10000E-03   10000.    
     2 'norm      '    24.564       1.0000         .10000E-03   10000.    
     3 'norm      '    .12250E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10997E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    974.69       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20749E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13309E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    85.309       1.0000         .10000E-03   10000.    
     9 'norm      '    .24585E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10856E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    11.046       1.0000         .10000E-03   10000.    
    12 'norm      '    .11237       1.0000         .10000E-03   10000.    
    13 'norm      '    .21015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.0863       1.0000         .10000E-03   10000.    
    15 'norm      '    10000.       1.0000         .10000E-03   10000.    
    16 'norm      '    2.7950       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.9866       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    19 'Prefactor '    .69363       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   906.8330     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1899 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          34.612        1.6924        .10990E-07   -.25535E-02
   2  norm          24.496        5.9970       -.19612E-06   -.43508E-02
   3  norm          .10000E-03    53.052       -.21022E-06** at limit **
   4  norm          .10001E-03    28.036        .93234E-06** at limit **
   5  Prefactor     974.63        5.4813       -.31668E-07   -.64017E-03
   6  Prefactor     .10000E-03    153.46       -.10927E-06** at limit **
   7  Prefactor     .10701E-03    453.56        .23021E-06** at limit **
   8  Prefactor     84.374        79.909       -.15291E-05   -.93877E-02
   9  norm          .10008E-03    225.17        .13185E-05** at limit **
  10  norm          .10000E-03    40.454        .90148E-08** at limit **
  11  norm          13.590        967.62        .11015E-04   -.14667E-02
  12  norm          .20759        6974.9       -.23629E-04   -.25580E-02
  13  norm          .10000E-03    26.674        .42881E-06** at limit **
  14  Prefactor     6.4662        626.79        .87891E-05   -.28292E-02
  15  norm         10000.0        788.66        .40151E-05** at limit **
  16  norm          3.7353        518.05        .79721E-05   -.14088E-02
  17  Prefactor     7.3283        515.34        .79551E-05   -.29699E-02
  18  Normalizat    .10000E-01    .53788        .77333E-06** at limit **
  19  Prefactor     .69388        .10402        .26775E-06    .22411E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 34.6123
  norm       = 24.496
  norm       = 0.0001
  norm       = 0.000100006
  Prefactor  = 974.625
  Prefactor  = 0.0001
  Prefactor  = 0.000107007
  Prefactor  = 84.3737
  norm       = 0.000100079
  norm       = 0.0001
  norm       = 13.5904
  norm       = 0.207592
  norm       = 0.000100001
  Prefactor  = 6.46624
  norm       = 10000
  norm       = 3.73526
  Prefactor  = 7.32834
  Normalizat = 0.01
  Prefactor  = 0.693879
 **********
 **   18 **HESSE 
 **********

 FCN=   906.8330     FROM HESSE     STATUS=OK           296 CALLS     2195 TOTAL
                     EDM=   .29E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          34.612        34.592        .17027E-02   -1.4531    
   2  norm          24.496        74.388        .20206E-02   -1.4718    
   3  norm          .10000E-03    51.824        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10001E-03    27.183        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     974.63        1246.3        .33716E-03   -.93580    
   6  Prefactor     .10000E-03    143.56        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10701E-03    377.88        .10281E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     84.374        202.91        .10874E-02   -1.3868    
   9  norm          .10008E-03    205.39        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    39.771        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.590        1180.1        .30136E-02   -1.4970    
  12  norm          .20759        1756.6        .95701E-02   -1.5799    
  13  norm          .10000E-03    26.366        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.4662        2295.5        .44570E-02   -1.5199    
  15  norm         10000.0        591.60        .90712E-02    1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.7353        2257.2        .60839E-02   -1.5321    
  17  Prefactor     7.3283        2293.5        .41027E-02   -1.5166    
  18  Normalizat    .10000E-01    .39879        .23441       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .69388        .13050        .27274E-01   -1.0377    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94141e-05
Minuit parameter uncertainties:
  1  34.6122
  2  74.6715
  3  0.00024709
  4  0.000798693
  5  1286.24
  6  0.000526833
  7  0.103571
  8  204.607
  9  0.00806392
  10  1.0354e-05
  11  258.738
  12  39.4005
  13  0.000363647
  14  254.204
  15  0.303676
  16  191.406
  17  270.502
  18  2.55461e-06
  19  0.130555
Done.

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

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.000e-04  5.268e-04  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:  6.939e-01  1.306e-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.000e-02  2.555e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 293.314 -45.651
Photon Flux Upper Limit: 1.36e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.07e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/7911/likelihoodResults_616982401_617241601_4FGL_J1933.2-4539_daily_bin1457.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): 102
logL (Free Index) = 906.833075371
delta logL = -3.87678906009e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 906.83303705
delta logL = -4.46721742264e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17059E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6066       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69392       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=   906.8330     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      298 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    395.48        .18142E-02** at limit **
   2  Index         2.6949        6.1795        .50000       -.64062E-05
   3  Normalizat    .10000E-01    .44274        .11437E-01** at limit **
   4  Prefactor     .69388        .10404        .12053E-03    .51816E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100009
  Index      = 2.69495
  Normalizat = 0.01
  Prefactor  = 0.693878
 **********
 **   18 **HESSE 
 **********

 FCN=   906.8330     FROM HESSE     STATUS=OK            29 CALLS      327 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    190.93        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6949        6.3394        .50000       -.47913    
   3  Normalizat    .10000E-01    .44281        .22875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .69388        .10400        .24106E-04   -1.0377    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.37839e-11
Minuit parameter uncertainties:
  1  0.00266047
  2  4.48592
  3  2.89e-06
  4  0.104031
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/7911': 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) = 906.833036525
delta logL = 7.83185214459e-08

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.000e-04  2.660e-03  1.000e-04  1.000e+04 ( 1.000e-12)
498        Index:  2.695e+00  4.486e+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:  6.939e-01  1.040e-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.000e-02  2.890e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 293.314 -45.651

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/7911/cmap_HighResolution_616982401_617241601_4FGL_J1933.2-4539_daily_bin1457.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-01', job_status='DONE', photon_flux_upper_limit='1.36e-06', time_completed='2021-09-23 03:44:01.546103', job_id='7911', GAL2='0.69', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632393841.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='7.83e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1457' AND source_name='4FGL J1933.2-4539' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 03:44:01 PDT 2021


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

Job <4FGL_J1933.2-4539_daily_bin1457> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep 23 03:36:39 2021
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 03:36:54 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:36:54 2021
Terminated at Thu Sep 23 03:44:01 2021
Results reported at Thu Sep 23 03:44:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1933.2-4539_daily_bin1457 293.314 -45.6508 616982401 617241601 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 :                                   377.21 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             340.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   427 sec.
    Turnaround time :                            442 sec.

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

