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


Performing analysis on: 4FGL_J1933.2-4539_daily_bin1253
RA = 293.314, Dec = -45.6508
tmin = 564105601, tmax = 564364801
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='4146', job_status='RUN', time_executed='2021-09-23 03:23:17.790624', time_epoch_executed='1632392597.79' WHERE source_name='4FGL J1933.2-4539' and cadence='daily' and bin_id='1253'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/4146

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/4146/ft1_4FGL_J1933.2-4539_daily_bin1253.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/4146/ft2_4FGL_J1933.2-4539_daily_bin1253.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/4146/ft1_4FGL_J1933.2-4539_daily_bin1253.fits outfile=/scratch/kocevski/4146/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1253.fits ra=293.314 dec=-45.6508 rad=12.0 tmin=564105601.0 tmax=564364801.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.26
user 3.04
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/4146/ft1_filtered_4FGL_J1933.2-4539_daily_bin1253.fits" evtable="EVENTS" scfile=/scratch/kocevski/4146/ft2_4FGL_J1933.2-4539_daily_bin1253.fits sctable="SC_DATA" outfile=/scratch/kocevski/4146/ltcube_564105601_564364801_4FGL_J1933.2-4539_daily_bin1253.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/4146/ft2_4FGL_J1933.2-4539_daily_bin1253.fits
.....................!
real 12.70
user 12.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/4146/ft1_filtered_4FGL_J1933.2-4539_daily_bin1253.fits evtable="EVENTS" scfile=/scratch/kocevski/4146/ft2_4FGL_J1933.2-4539_daily_bin1253.fits sctable="SC_DATA" expcube=/scratch/kocevski/4146/ltcube_564105601_564364801_4FGL_J1933.2-4539_daily_bin1253.fits outfile=/scratch/kocevski/4146/expmap_564105601_564364801_4FGL_J1933.2-4539_daily_bin1253.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/4146/ltcube_564105601_564364801_4FGL_J1933.2-4539_daily_bin1253.fits
.....................!
real 197.49
user 192.04
sys 5.03

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/4146/ft1_filtered_4FGL_J1933.2-4539_daily_bin1253.fits scfile=/scratch/kocevski/4146/ft2_4FGL_J1933.2-4539_daily_bin1253.fits outfile=/scratch/kocevski/4146/cmap_564105601_564364801_4FGL_J1933.2-4539_daily_bin1253.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.53
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/4146/ft1_filtered_4FGL_J1933.2-4539_daily_bin1253.fits scfile=/scratch/kocevski/4146/ft2_4FGL_J1933.2-4539_daily_bin1253.fits outfile=/scratch/kocevski/4146/cmap_HighResolution_564105601_564364801_4FGL_J1933.2-4539_daily_bin1253.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/4146/ft1_filtered_4FGL_J1933.2-4539_daily_bin1253.fits evtable="EVENTS" scfile=/scratch/kocevski/4146/ft2_4FGL_J1933.2-4539_daily_bin1253.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/4146/Model_4FGL_J1933.2-4539_daily_bin1253.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/4146/ft1_filtered_4FGL_J1933.2-4539_daily_bin1253.fits.....................!
real 39.51
user 38.25
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    40.616       1.0000         .10000E-03   10000.    
     2 'norm      '    49.918       1.0000         .10000E-03   10000.    
     3 'norm      '    7.9689       1.0000         .10000E-03   10000.    
     4 'norm      '    2.7510       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.409       1.0000         .10000E-03   10000.    
     7 'Prefactor '    51.533       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.0612       1.0000         .10000E-03   10000.    
    10 'norm      '    .10158E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.4674       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .96880       1.0000         .10000E-03   10000.    
    16 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2002       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0023       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=   3596.579     FROM MIGRAD    STATUS=CONVERGED    394 CALLS     1905 TOTAL
                     EDM=   .46E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          40.599        54.002       -.11785E-06   -.30483E-04
   2  norm          49.915        56.038        .58879E-07   -.54180E-05
   3  norm          7.9683        11.773        .21603E-05   -.55690E-04
   4  norm          2.7508        2.7910       -.33908E-07    .75915E-05
   5  Prefactor     .10000E-03    30.880        .93919E-08** at limit **
   6  Prefactor     12.408        16.957        .25982E-06    .18866E-05
   7  Prefactor     51.482        66.847       -.54763E-06   -.85221E-04
   8  Prefactor     .10000E-03    5.2580        .23266E-07** at limit **
   9  norm          5.0472        51.587        .30508E-07   -.11068E-04
  10  norm          .10000E-03    .77148        .15812E-06** at limit **
  11  norm          .10000E-03    5.7872        .35061E-07** at limit **
  12  norm          .10000E-03    153.35        .20655E-06** at limit **
  13  norm          1.4675        2.1390        .25278E-07   -.17261E-04
  14  Prefactor     .10000E-03    45.831        .96956E-07** at limit **
  15  norm          .96929        8.9090        .27714E-05   -.42003E-04
  16  norm          .10000E-03    45.411        .81467E-07** at limit **
  17  Prefactor     .10000E-03    18.237        .90747E-08** at limit **
  18  Normalizat    1.2002        .42822       -.28663E-05   -.28227E-04
  19  Prefactor     1.0023        .14221        .43096E-06   -.15177E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 40.5992
  norm       = 49.915
  norm       = 7.96827
  norm       = 2.75083
  Prefactor  = 0.0001
  Prefactor  = 12.4083
  Prefactor  = 51.4818
  Prefactor  = 0.0001
  norm       = 5.0472
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.46747
  Prefactor  = 0.0001
  norm       = 0.969285
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.20018
  Prefactor  = 1.00231
 **********
 **   18 **HESSE 
 **********

 FCN=   3596.579     FROM HESSE     STATUS=OK           264 CALLS     2169 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          40.599        54.121        .62897E-04   -1.4433    
   2  norm          49.915        56.083        .56760E-04   -1.4294    
   3  norm          7.9683        11.939        .71018E-03   -1.5143    
   4  norm          2.7508        2.8001        .98326E-04   -1.5376    
   5  Prefactor     .10000E-03    30.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.408        16.953        .11371E-03   -1.5003    
   7  Prefactor     51.482        66.712        .55868E-04   -1.4272    
   8  Prefactor     .10000E-03    5.2637        .13431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.0472        51.633        .17873E-03   -1.5259    
  10  norm          .10000E-03    1.3620        .10135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    5.7929        .14090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    158.11        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4675        2.1117        .10307E-03   -1.5466    
  14  Prefactor     .10000E-03    45.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .96929        9.0060        .33876E-03   -1.5511    
  16  norm          .10000E-03    45.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    18.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2002        .49635        .44642E-03   -.86597    
  19  Prefactor     1.0023        .16792        .16026E-03   -.92652    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02162e-10
Minuit parameter uncertainties:
  1  54.1869
  2  56.1419
  3  11.9424
  4  2.8002
  5  7.42747e-07
  6  16.9595
  7  66.8089
  8  6.39175e-07
  9  32.3221
  10  6.69676e-06
  11  9.81997e-07
  12  0.000179602
  13  2.11178
  14  1.23992e-05
  15  5.90999
  16  2.20589e-05
  17  2.97619e-07
  18  0.498313
  19  0.16801
Done.

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

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.241e+01  1.696e+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.002e+00  1.680e-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.200e+00  4.983e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/4146/likelihoodResults_564105601_564364801_4FGL_J1933.2-4539_daily_bin1253.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) = 3596.5582608
delta logL = 0.0210506605163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3596.54840287
delta logL = 0.0309085876397

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.9109       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9278       1.0000          .0000       10.000    
     3 'Normalizat'    1.1864       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0056       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=   3596.548     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      244 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.9044        19.553        .12728E-03    .78554E-04
   2  Index         2.9280        1.3603        .81601E-02    .22643E-04
   3  Normalizat    1.1865        .48958        .44861E-03   -.65711E-03
   4  Prefactor     1.0055        .16182        .16003E-03   -.17117E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.90441
  Index      = 2.92802
  Normalizat = 1.18646
  Prefactor  = 1.00554
 **********
 **   18 **HESSE 
 **********

 FCN=   3596.548     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.9044        17.789        .50914E-05   -1.5078    
   2  Index         2.9280        1.2400        .32641E-03   -.42728    
   3  Normalizat    1.1865        .48991        .89721E-04   -.87022    
   4  Prefactor     1.0055        .16184        .32005E-04   -.92545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82574e-09
Minuit parameter uncertainties:
  1  17.798
  2  1.25593
  3  0.491816
  4  0.161917
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/4146': 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) = 3596.54840277
delta logL = 0.0309086884572

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  9.904e+00  1.780e+01  1.000e-04  1.000e+04 ( 1.000e-12)
498        Index:  2.928e+00  1.256e+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:  1.006e+00  1.619e-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.186e+00  4.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.75
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/4146/cmap_HighResolution_564105601_564364801_4FGL_J1933.2-4539_daily_bin1253.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.68e-02', job_status='DONE', photon_flux_upper_limit='3.42e-07', time_completed='2021-09-23 03:32:05.580563', job_id='4146', GAL2='1.01', fit_tolerance='1e-08', EG2='1.19', EG='1.20', time_epoch_completed='1632393125.58', return_code2='0', ts='0.75', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.09e-02', ts2='0.82', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1253' AND source_name='4FGL J1933.2-4539' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 03:32:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0142>
Subject: Job 4146: <4FGL_J1933.2-4539_daily_bin1253> in cluster <slac> Done

Job <4FGL_J1933.2-4539_daily_bin1253> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 23 03:22:34 2021
Job was executed on host(s) <bullet0142>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 03:23:07 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:23:07 2021
Terminated at Thu Sep 23 03:32:06 2021
Results reported at Thu Sep 23 03:32:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1933.2-4539_daily_bin1253 293.314 -45.6508 564105601 564364801 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 :                                   522.14 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             339.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   538 sec.
    Turnaround time :                            572 sec.

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

