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


Performing analysis on: 4FGL_J1933.2-4539_daily_bin1195
RA = 293.314, Dec = -45.6508
tmin = 549072001, tmax = 549331201
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='4054', job_status='RUN', time_executed='2021-09-23 03:24:25.950942', time_epoch_executed='1632392665.95' WHERE source_name='4FGL J1933.2-4539' and cadence='daily' and bin_id='1195'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/4054

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/4054/ft1_4FGL_J1933.2-4539_daily_bin1195.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/4054/ft2_4FGL_J1933.2-4539_daily_bin1195.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/4054/ft1_4FGL_J1933.2-4539_daily_bin1195.fits outfile=/scratch/kocevski/4054/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1195.fits ra=293.314 dec=-45.6508 rad=12.0 tmin=549072001.0 tmax=549331201.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.28
user 2.09
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/4054/ft1_filtered_4FGL_J1933.2-4539_daily_bin1195.fits" evtable="EVENTS" scfile=/scratch/kocevski/4054/ft2_4FGL_J1933.2-4539_daily_bin1195.fits sctable="SC_DATA" outfile=/scratch/kocevski/4054/ltcube_549072001_549331201_4FGL_J1933.2-4539_daily_bin1195.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/4054/ft2_4FGL_J1933.2-4539_daily_bin1195.fits
.....................!
real 10.50
user 10.19
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/4054/ft1_filtered_4FGL_J1933.2-4539_daily_bin1195.fits evtable="EVENTS" scfile=/scratch/kocevski/4054/ft2_4FGL_J1933.2-4539_daily_bin1195.fits sctable="SC_DATA" expcube=/scratch/kocevski/4054/ltcube_549072001_549331201_4FGL_J1933.2-4539_daily_bin1195.fits outfile=/scratch/kocevski/4054/expmap_549072001_549331201_4FGL_J1933.2-4539_daily_bin1195.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/4054/ltcube_549072001_549331201_4FGL_J1933.2-4539_daily_bin1195.fits
.....................!
real 148.31
user 143.69
sys 4.37

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/4054/ft1_filtered_4FGL_J1933.2-4539_daily_bin1195.fits scfile=/scratch/kocevski/4054/ft2_4FGL_J1933.2-4539_daily_bin1195.fits outfile=/scratch/kocevski/4054/cmap_549072001_549331201_4FGL_J1933.2-4539_daily_bin1195.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.45
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/4054/ft1_filtered_4FGL_J1933.2-4539_daily_bin1195.fits scfile=/scratch/kocevski/4054/ft2_4FGL_J1933.2-4539_daily_bin1195.fits outfile=/scratch/kocevski/4054/cmap_HighResolution_549072001_549331201_4FGL_J1933.2-4539_daily_bin1195.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.45
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/4054/ft1_filtered_4FGL_J1933.2-4539_daily_bin1195.fits evtable="EVENTS" scfile=/scratch/kocevski/4054/ft2_4FGL_J1933.2-4539_daily_bin1195.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/4054/Model_4FGL_J1933.2-4539_daily_bin1195.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/4054/ft1_filtered_4FGL_J1933.2-4539_daily_bin1195.fits.....................!
real 45.39
user 44.20
sys 1.09

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    35.993       1.0000         .10000E-03   10000.    
     2 'norm      '    48.060       1.0000         .10000E-03   10000.    
     3 'norm      '    8.4659       1.0000         .10000E-03   10000.    
     4 'norm      '    2.3063       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .50392       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.489       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10483E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .60775E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    25.120       1.0000         .10000E-03   10000.    
    10 'norm      '    2.1202       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.6140       1.0000         .10000E-03   10000.    
    13 'norm      '    1.7592       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.8095       1.0000         .10000E-03   10000.    
    16 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0380       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0225       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=   6150.669     FROM MIGRAD    STATUS=CONVERGED    675 CALLS     2440 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          36.006        59.364        .66800E-04   -.74577E-04
   2  norm          48.046        47.802        .28921E-03    .98825E-04
   3  norm          8.4519        17.244        .13778E-03    .24293E-03
   4  norm          2.3067        3.7507        .18686E-03   -.67653E-04
   5  Prefactor     .77044E-02    170.23        .32422        .66913E-05
   6  Prefactor     12.485        10.971        .11335E-03    .12989E-03
   7  Prefactor     .10000E-03    40.115        .18142E-02** at limit **
   8  Prefactor     .10000E-03    44.314        .38911E-02** at limit **
   9  norm          25.104        23.256        .79926E-04    .18818E-03
  10  norm          2.1200        1.4150        .72444E-04   -.89450E-05
  11  norm          .10000E-03    2.4367        .11947E-02** at limit **
  12  norm          5.6145        20.791        .16955E-03    .60280E-04
  13  norm          1.7596        2.0648        .11792E-03   -.23495E-03
  14  Prefactor     .10000E-03    22.006        .18142E-02** at limit **
  15  norm          6.8088        4.5657        .12910E-03    .24014E-03
  16  norm          .10000E-03    8.3649        .18142E-02** at limit **
  17  Prefactor     .10000E-03    20.728        .18142E-02** at limit **
  18  Normalizat    1.0378        .36382        .43829E-03    .20951E-03
  19  Prefactor     1.0225        .13618        .16329E-03    .52020E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 36.0059
  norm       = 48.0464
  norm       = 8.45193
  norm       = 2.30672
  Prefactor  = 0.0077044
  Prefactor  = 12.4852
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 25.1035
  norm       = 2.12
  norm       = 0.0001
  norm       = 5.61448
  norm       = 1.75956
  Prefactor  = 0.000100001
  norm       = 6.80875
  norm       = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.03784
  Prefactor  = 1.0225
 **********
 **   18 **HESSE 
 **********

 FCN=   6150.669     FROM HESSE     STATUS=OK           258 CALLS     2698 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          36.006        59.363        .13360E-04   -1.4507    
   2  norm          48.046        47.802        .57842E-04   -1.4321    
   3  norm          8.4519        17.244        .55110E-05   -1.5126    
   4  norm          2.3067        3.7505        .74746E-05   -1.5404    
   5  Prefactor     .77044E-02    170.22        .32422       -1.5691    
   6  Prefactor     12.485        10.971        .45339E-05   -1.5001    
   7  Prefactor     .10000E-03    40.124        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    44.943        .77822E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          25.104        23.256        .15985E-04   -1.4705    
  10  norm          2.1200        1.4150        .28978E-05   -1.5417    
  11  norm          .10000E-03    2.4367        .23895E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.6145        20.788        .67819E-05   -1.5234    
  13  norm          1.7596        2.0647        .47168E-05   -1.5443    
  14  Prefactor     .10000E-03    22.007        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.8088        4.5653        .51641E-05   -1.5186    
  16  norm          .10000E-03    8.3653        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    20.729        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0378        .36401        .17531E-04   -.91773    
  19  Prefactor     1.0225        .13626        .32658E-04   -.91983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.21557e-10
Minuit parameter uncertainties:
  1  59.4603
  2  47.8402
  3  17.2537
  4  3.75093
  5  2.28193
  6  10.9726
  7  2.9817e-05
  8  0.000169723
  9  23.2639
  10  1.41502
  11  8.46599e-06
  12  20.8147
  13  2.06481
  14  0.000300763
  15  4.56557
  16  1.39114e-05
  17  0.00021546
  18  0.364891
  19  0.136302
Done.

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

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.249e+01  1.097e+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.022e+00  1.363e-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.038e+00  3.649e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.92
Ra Dec: 293.314 -45.651
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 8.53e-08 +/- 7.49e-08
Energy Flux (Fixed Index): 2.16e-05 +/- 1.90e-05

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

Saving results to:
/scratch/kocevski/4054/likelihoodResults_549072001_549331201_4FGL_J1933.2-4539_daily_bin1195.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) = 6150.45166085
delta logL = 0.217424821278

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6150.44583156
delta logL = 0.223254110886

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.129       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1627       1.0000          .0000       10.000    
     3 'Normalizat'    1.0680       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0165       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6150.446     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      237 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.152        551.85        .26639E-02    .22994E-04
   2  Index         2.1640        5.3364        .24930       -.24164E-04
   3  Normalizat    1.0674        .28437        .97715E-01    .17052E-03
   4  Prefactor     1.0166        .10231        .42513E-01    .18841E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1523
  Index      = 2.16402
  Normalizat = 1.06738
  Prefactor  = 1.01661
 **********
 **   18 **HESSE 
 **********

 FCN=   6150.446     FROM HESSE     STATUS=OK            31 CALLS      268 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.152        12.884        .10656E-03   -1.4955    
   2  Index         2.1640        .68630        .93155E-02   -.60310    
   3  Normalizat    1.0674        .34781        .43295E-03   -.90806    
   4  Prefactor     1.0166        .12868        .16368E-03   -.92178    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30067e-10
Minuit parameter uncertainties:
  1  12.8869
  2  0.68952
  3  0.348558
  4  0.128721
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/4054': 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) = 6150.44582793
delta logL = 0.223257738345

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.415e+01  1.289e+01  1.000e-04  1.000e+04 ( 1.000e-12)
498        Index:  2.164e+00  6.895e-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.017e+00  1.287e-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.067e+00  3.486e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.35
Ra Dec: 293.314 -45.651
Photon Index (Free Index): 2.16 +/- 0.69
Photon Flux (Free Index): 5.82e-08 +/- 7.12e-08
Energy Flux (Free Index): 2.80e-05 +/- 2.87e-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/4054/cmap_HighResolution_549072001_549331201_4FGL_J1933.2-4539_daily_bin1195.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.93e-02', comment='SUCCESS', photon_flux='8.53e-08', energy_flux2='2.80e-05', photon_flux_error='7.49e-08', dlogl='2.23e-01', energy_flux='2.16e-05', photon_flux2='5.82e-08', job_status='DONE', time_completed='2021-09-23 03:33:33.023962', photon_index_error2='0.69', photon_index2='2.16', ts='1.92', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='2.46e-07', energy_flux_error2='2.87e-05', EG='1.04', time_epoch_completed='1632393213.02', return_code='0', job_id='4054', GAL2='1.02', EG2='1.07', return_code2='0', energy_flux_error='1.90e-05', photon_flux_error2='7.12e-08', ts2='2.35', photon_index='2.64' WHERE bin_id='1195' AND source_name='4FGL J1933.2-4539' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 03:33:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 4054: <4FGL_J1933.2-4539_daily_bin1195> in cluster <slac> Done

Job <4FGL_J1933.2-4539_daily_bin1195> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 23 03:22:28 2021
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 03:22:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 03:22:48 2021
Terminated at Thu Sep 23 03:33:33 2021
Results reported at Thu Sep 23 03:33:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1933.2-4539_daily_bin1195 293.314 -45.6508 549072001 549331201 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 :                                   542.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             309.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            665 sec.

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

