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


Performing analysis on: 4FGL_J1933.2-4539_daily_bin1568
RA = 293.314, Dec = -45.6508
tmin = 645753601, tmax = 646012801
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='8075', job_status='RUN', time_executed='2021-09-23 03:41:28.039822', time_epoch_executed='1632393688.04' WHERE source_name='4FGL J1933.2-4539' and cadence='daily' and bin_id='1568'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/8075

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/8075/ft1_4FGL_J1933.2-4539_daily_bin1568.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/8075/ft2_4FGL_J1933.2-4539_daily_bin1568.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/8075/ft1_4FGL_J1933.2-4539_daily_bin1568.fits outfile=/scratch/kocevski/8075/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1568.fits ra=293.314 dec=-45.6508 rad=12.0 tmin=645753601.0 tmax=646012801.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.29
user 2.10
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/8075/ft1_filtered_4FGL_J1933.2-4539_daily_bin1568.fits" evtable="EVENTS" scfile=/scratch/kocevski/8075/ft2_4FGL_J1933.2-4539_daily_bin1568.fits sctable="SC_DATA" outfile=/scratch/kocevski/8075/ltcube_645753601_646012801_4FGL_J1933.2-4539_daily_bin1568.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/8075/ft2_4FGL_J1933.2-4539_daily_bin1568.fits
.....................!
real 15.06
user 14.66
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/8075/ft1_filtered_4FGL_J1933.2-4539_daily_bin1568.fits evtable="EVENTS" scfile=/scratch/kocevski/8075/ft2_4FGL_J1933.2-4539_daily_bin1568.fits sctable="SC_DATA" expcube=/scratch/kocevski/8075/ltcube_645753601_646012801_4FGL_J1933.2-4539_daily_bin1568.fits outfile=/scratch/kocevski/8075/expmap_645753601_646012801_4FGL_J1933.2-4539_daily_bin1568.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/8075/ltcube_645753601_646012801_4FGL_J1933.2-4539_daily_bin1568.fits
.....................!
real 191.85
user 186.23
sys 5.24

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/8075/ft1_filtered_4FGL_J1933.2-4539_daily_bin1568.fits scfile=/scratch/kocevski/8075/ft2_4FGL_J1933.2-4539_daily_bin1568.fits outfile=/scratch/kocevski/8075/cmap_645753601_646012801_4FGL_J1933.2-4539_daily_bin1568.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.58
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/8075/ft1_filtered_4FGL_J1933.2-4539_daily_bin1568.fits scfile=/scratch/kocevski/8075/ft2_4FGL_J1933.2-4539_daily_bin1568.fits outfile=/scratch/kocevski/8075/cmap_HighResolution_645753601_646012801_4FGL_J1933.2-4539_daily_bin1568.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.60
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10129E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    48.124       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10331E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10246E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    86.496       1.0000         .10000E-03   10000.    
     8 'Prefactor '    66.432       1.0000         .10000E-03   10000.    
     9 'norm      '    34.318       1.0000         .10000E-03   10000.    
    10 'norm      '    3.2034       1.0000         .10000E-03   10000.    
    11 'norm      '    .10561E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    107.40       1.0000         .10000E-03   10000.    
    13 'norm      '    4.6821       1.0000         .10000E-03   10000.    
    14 'Prefactor '    170.76       1.0000         .10000E-03   10000.    
    15 'norm      '    1.9213       1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .20903       1.0000         .10000E-03   10000.    
    18 'Normalizat'    3.3525       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .54695       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=   1564.487     FROM MIGRAD    STATUS=CONVERGED    420 CALLS     2047 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    150.73        .15043E-05** at limit **
   2  norm          .10000E-03    436.86       -.11137E-03** at limit **
   3  norm          48.075        71.178        .43910E-05   -.63980E-05
   4  norm          .10000E-03    7.3530        .63797E-07** at limit **
   5  Prefactor     .10000E-03    566.56        .22410E-03** at limit **
   6  Prefactor     .10000E-03    63.062        .87055E-06** at limit **
   7  Prefactor     86.457        118.25       -.20073E-04    .53720E-05
   8  Prefactor     66.402        83.311       -.29005E-04    .74350E-05
   9  norm          34.419        209.89        .11366E-03    .69357E-05
  10  norm          3.2021        5.2000       -.22717E-05   -.15288E-03
  11  norm          .10000E-03    78.880       -.50854E-06** at limit **
  12  norm          107.41        92.938        .22987E-05    .44019E-04
  13  norm          4.6814        4.8668       -.48801E-07    .22843E-04
  14  Prefactor     170.76        292.98        .71663E-06    .14374E-04
  15  norm          1.9263        12.225       -.16877E-05   -.19009E-03
  16  norm          .10000E-03    32.849        .25509E-07** at limit **
  17  Prefactor     .11088E-03    140.71       -.60316E-05** at limit **
  18  Normalizat    3.3507        .83915        .89057E-05   -.75948E-05
  19  Prefactor     .54780        .30666       -.29266E-05    .15149E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 48.0752
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 86.4574
  Prefactor  = 66.4019
  norm       = 34.4191
  norm       = 3.20209
  norm       = 0.0001
  norm       = 107.413
  norm       = 4.68145
  Prefactor  = 170.758
  norm       = 1.92628
  norm       = 0.0001
  Prefactor  = 0.00011088
  Normalizat = 3.35066
  Prefactor  = 0.547798
 **********
 **   18 **HESSE 
 **********

 FCN=   1564.487     FROM HESSE     STATUS=OK           270 CALLS     2317 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    150.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    437.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          48.075        71.576        .57803E-04   -1.4320    
   4  norm          .10000E-03    7.3553        .10477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    566.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    63.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     86.457        118.36        .43197E-04   -1.3846    
   8  Prefactor     66.402        83.334        .49242E-04   -1.4076    
   9  norm          34.419        210.77        .68406E-04   -1.4534    
  10  norm          3.2021        5.1624        .10120E-03   -1.5350    
  11  norm          .10000E-03    79.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          107.41        93.125        .38806E-04   -1.3631    
  13  norm          4.6814        4.8649        .85623E-04   -1.5275    
  14  Prefactor     170.76        291.91        .30875E-04   -1.3087    
  15  norm          1.9263        12.035        .25723E-03   -1.5430    
  16  norm          .10000E-03    32.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11088E-03    147.54        .13862       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    3.3507        .99913        .39617E-03   -.33758    
  19  Prefactor     .54780        .36079        .28810E-03   -1.0983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4065e-09
Minuit parameter uncertainties:
  1  1.09701e-05
  2  0.000417525
  3  71.7039
  4  1.70935e-05
  5  0.000143436
  6  0.000654929
  7  118.685
  8  83.4813
  9  171.25
  10  5.16313
  11  0.000281381
  12  93.2522
  13  4.86531
  14  294.442
  15  9.63243
  16  1.46751e-05
  17  0.0803318
  18  1.00677
  19  0.362319
Done.

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

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.000e-04  6.549e-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:  5.478e-01  3.623e-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:  3.351e+00  1.007e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/8075/likelihoodResults_645753601_646012801_4FGL_J1933.2-4539_daily_bin1568.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) = 1564.48664902
delta logL = -7.52122921313e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1564.48657494
delta logL = -1.12840780275e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18348E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0133       1.0000          .0000       10.000    
     3 'Normalizat'    3.3507       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .54781       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=   1564.487     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      275 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10433E-03    54.838        .18142E-01** at limit **
   2  Index         2.9012        6.4413        .50000        .42244E-05
   3  Normalizat    3.3507        .21950E-01    .39617E-03   -.15640E-05
   4  Prefactor     .54779        .76964E-02    .28810E-03   -.16870E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104327
  Index      = 2.90118
  Normalizat = 3.35068
  Prefactor  = 0.54779
 **********
 **   18 **HESSE 
 **********

 FCN=   1564.487     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      304 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10433E-03    374.59        .28182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9012        7.7715        .50000       -.43319    
   3  Normalizat    3.3507        .57517E-01    .15847E-04   -.33757    
   4  Prefactor     .54779        .20167E-01    .11524E-04   -1.0983    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.90288e-09
Minuit parameter uncertainties:
  1  0.0810316
  2  757.107
  3  0.057518
  4  0.0201673
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/8075': 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) = 1564.48657398
delta logL = -1.73248054125e-07

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.043e-04  8.103e-02  1.000e-04  1.000e+04 ( 1.000e-12)
498        Index:  2.901e+00  7.571e+02  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:  5.478e-01  2.017e-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:  3.351e+00  5.752e-02  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/8075/cmap_HighResolution_645753601_646012801_4FGL_J1933.2-4539_daily_bin1568.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.44e-02', job_status='DONE', photon_flux_upper_limit='8.21e-07', time_completed='2021-09-23 03:48:22.436812', job_id='8075', GAL2='0.55', fit_tolerance='1e-08', EG2='3.35', EG='3.35', time_epoch_completed='1632394102.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='-1.73e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1568' AND source_name='4FGL J1933.2-4539' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 03:48:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 8075: <4FGL_J1933.2-4539_daily_bin1568> in cluster <slac> Done

Job <4FGL_J1933.2-4539_daily_bin1568> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep 23 03:36:50 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 03:37:38 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:37:38 2021
Terminated at Thu Sep 23 03:48:23 2021
Results reported at Thu Sep 23 03:48:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1933.2-4539_daily_bin1568 293.314 -45.6508 645753601 646012801 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 :                                   411.14 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             185.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   644 sec.
    Turnaround time :                            693 sec.

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

