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


Performing analysis on: 4FGL_J1933.2-4539_daily_bin1281
RA = 293.314, Dec = -45.6508
tmin = 571363201, tmax = 571622401
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='4187', job_status='RUN', time_executed='2021-09-23 03:24:43.305667', time_epoch_executed='1632392683.31' WHERE source_name='4FGL J1933.2-4539' and cadence='daily' and bin_id='1281'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/4187

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/4187/ft1_4FGL_J1933.2-4539_daily_bin1281.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/4187/ft2_4FGL_J1933.2-4539_daily_bin1281.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/4187/ft1_4FGL_J1933.2-4539_daily_bin1281.fits outfile=/scratch/kocevski/4187/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1281.fits ra=293.314 dec=-45.6508 rad=12.0 tmin=571363201.0 tmax=571622401.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.88
user 2.66
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/4187/ft2_4FGL_J1933.2-4539_daily_bin1281.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/4187/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1281.fits evtable="EVENTS" outfile="/scratch/kocevski/4187/ft1_filtered_4FGL_J1933.2-4539_daily_bin1281.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/4187/ft1_filtered_4FGL_J1933.2-4539_daily_bin1281.fits" evtable="EVENTS" scfile=/scratch/kocevski/4187/ft2_4FGL_J1933.2-4539_daily_bin1281.fits sctable="SC_DATA" outfile=/scratch/kocevski/4187/ltcube_571363201_571622401_4FGL_J1933.2-4539_daily_bin1281.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/4187/ft2_4FGL_J1933.2-4539_daily_bin1281.fits
.....................!
real 13.15
user 12.80
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/4187/ft1_filtered_4FGL_J1933.2-4539_daily_bin1281.fits evtable="EVENTS" scfile=/scratch/kocevski/4187/ft2_4FGL_J1933.2-4539_daily_bin1281.fits sctable="SC_DATA" expcube=/scratch/kocevski/4187/ltcube_571363201_571622401_4FGL_J1933.2-4539_daily_bin1281.fits outfile=/scratch/kocevski/4187/expmap_571363201_571622401_4FGL_J1933.2-4539_daily_bin1281.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/4187/ltcube_571363201_571622401_4FGL_J1933.2-4539_daily_bin1281.fits
.....................!
real 192.20
user 186.46
sys 5.40

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/4187/ft1_filtered_4FGL_J1933.2-4539_daily_bin1281.fits scfile=/scratch/kocevski/4187/ft2_4FGL_J1933.2-4539_daily_bin1281.fits outfile=/scratch/kocevski/4187/cmap_571363201_571622401_4FGL_J1933.2-4539_daily_bin1281.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/4187/ft1_filtered_4FGL_J1933.2-4539_daily_bin1281.fits scfile=/scratch/kocevski/4187/ft2_4FGL_J1933.2-4539_daily_bin1281.fits outfile=/scratch/kocevski/4187/cmap_HighResolution_571363201_571622401_4FGL_J1933.2-4539_daily_bin1281.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/4187/ft1_filtered_4FGL_J1933.2-4539_daily_bin1281.fits evtable="EVENTS" scfile=/scratch/kocevski/4187/ft2_4FGL_J1933.2-4539_daily_bin1281.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/4187/Model_4FGL_J1933.2-4539_daily_bin1281.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/4187/ft1_filtered_4FGL_J1933.2-4539_daily_bin1281.fits.....................!
real 49.79
user 48.50
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14003E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    13.125       1.0000         .10000E-03   10000.    
     3 'norm      '    5.0242       1.0000         .10000E-03   10000.    
     4 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    303.04       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.6285       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.551       1.0000         .10000E-03   10000.    
     9 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.5981       1.0000         .10000E-03   10000.    
    11 'norm      '    .14569E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    15.677       1.0000         .10000E-03   10000.    
    13 'norm      '    1.0874       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10257E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .11512E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    259.69       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .10037E-01   1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1710       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=   5107.516     FROM MIGRAD    STATUS=CONVERGED    393 CALLS     2027 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    15.730       -.31984E-06** at limit **
   2  norm          13.109        21.649       -.21035E-07    .66873E-04
   3  norm          5.0200        6.3716       -.35607E-07    .10551E-03
   4  norm          .10000E-03    2.1599       -.50241E-08** at limit **
   5  Prefactor     302.80        181.09       -.68497E-06   -.10568E-03
   6  Prefactor     9.6226        11.932        .69928E-06    .87128E-04
   7  Prefactor     .10000E-03    14.271       -.93523E-07** at limit **
   8  Prefactor     17.537        18.173        .35637E-06    .71729E-04
   9  norm          .10000E-03    14.362        .95940E-07** at limit **
  10  norm          1.5963        1.7894        .85182E-07    .86743E-04
  11  norm          .10001E-03    34.276       -.96054E-06** at limit **
  12  norm          15.609        32.840        .53717E-06   -.66793E-04
  13  norm          1.0882        2.9769        .35891E-06   -.19170E-03
  14  Prefactor     .10000E-03    54.934       -.12666E-06** at limit **
  15  norm          .10000E-03    6.9246       -.13408E-06** at limit **
  16  norm          .10000E-03    81.608        .52694E-06** at limit **
  17  Prefactor     259.84        335.33        .27941E-05    .21910E-04
  18  Normalizat    .10000E-01    .23234       -.29613E-04** at limit **
  19  Prefactor     1.1711        .64492E-01    .26320E-05    .22401E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100018
  norm       = 13.1089
  norm       = 5.02004
  norm       = 0.0001
  Prefactor  = 302.795
  Prefactor  = 9.62257
  Prefactor  = 0.0001
  Prefactor  = 17.5372
  norm       = 0.0001
  norm       = 1.59629
  norm       = 0.000100009
  norm       = 15.6094
  norm       = 1.08822
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 259.844
  Normalizat = 0.01
  Prefactor  = 1.17109
 **********
 **   18 **HESSE 
 **********

 FCN=   5107.516     FROM HESSE     STATUS=OK           278 CALLS     2305 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    95.836        .54016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.109        21.691        .11056E-03   -1.4984    
   3  norm          5.0200        6.3731        .17940E-03   -1.5260    
   4  norm          .10000E-03    2.2096        .10255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     302.80        181.18        .11667E-03   -1.2210    
   6  Prefactor     9.6226        12.087        .12915E-03   -1.5087    
   7  Prefactor     .10000E-03    14.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.537        18.201        .95603E-04   -1.4870    
   9  norm          .10000E-03    14.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5963        1.7746        .97871E-04   -1.5455    
  11  norm          .10001E-03    35.098        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          15.609        32.998        .10115E-03   -1.4918    
  13  norm          1.0882        2.4490        .19845E-02   -1.5499    
  14  Prefactor     .10000E-03    54.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.9491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    81.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     259.84        336.21        .12575E-03   -1.2470    
  18  Normalizat    .10000E-01    .83521        .25159       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.1711        .11552        .12766E-03   -.87226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94484e-09
Minuit parameter uncertainties:
  1  0.00266365
  2  21.7037
  3  6.37393
  4  1.90551e-05
  5  181.517
  6  12.0901
  7  5.15485e-05
  8  18.2063
  9  2.07897e-05
  10  1.77462
  11  0.00114171
  12  33.0365
  13  2.4492
  14  0.000167036
  15  5.82182e-05
  16  5.41941e-06
  17  338.763
  18  0.000222788
  19  0.115542
Done.

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

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  9.623e+00  1.209e+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.171e+00  1.155e-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.228e-04  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/4187/likelihoodResults_571363201_571622401_4FGL_J1933.2-4539_daily_bin1281.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) = 5107.12826868
delta logL = 0.387356779102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5107.11148865
delta logL = 0.404136812697

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.977       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8812       1.0000          .0000       10.000    
     3 'Normalizat'    .10221E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1677       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=   5107.107     FROM MIGRAD    STATUS=CONVERGED    134 CALLS      341 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.861        18.266        .89612E-04    .56455E-04
   2  Index         1.8740        .55716        .75271E-02   -.31340E-04
   3  Normalizat    .49002E-01    1.5782        .13438E-01    .26052E-04
   4  Prefactor     1.1568        .16246        .12827E-03    .17256E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.8606
  Index      = 1.87399
  Normalizat = 0.0490017
  Prefactor  = 1.15676
 **********
 **   18 **HESSE 
 **********

 FCN=   5107.107     FROM HESSE     STATUS=OK            27 CALLS      368 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.861        18.278        .35845E-05   -1.4816    
   2  Index         1.8740        .55456        .30109E-03   -.67539    
   3  Normalizat    .49002E-01    1.0124        .53752E-03   -1.4457    
   4  Prefactor     1.1568        .12891        .51308E-05   -.87673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27121e-11
Minuit parameter uncertainties:
  1  18.2829
  2  0.556444
  3  0.405308
  4  0.12894
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/4187': 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) = 5107.10682734
delta logL = 0.408798115994

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.986e+01  1.828e+01  1.000e-04  1.000e+04 ( 1.000e-12)
498        Index:  1.874e+00  5.564e-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.157e+00  1.289e-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:  4.900e-02  4.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.61
Ra Dec: 293.314 -45.651
Photon Index (Free Index): 1.87 +/- 0.56
Photon Flux (Free Index): 6.46e-08 +/- 6.59e-08
Energy Flux (Free Index): 6.23e-05 +/- 9.04e-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/4187/cmap_HighResolution_571363201_571622401_4FGL_J1933.2-4539_daily_bin1281.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-02', comment='SUCCESS', energy_flux2='6.23e-05', dlogl='4.09e-01', photon_flux2='6.46e-08', job_status='DONE', time_completed='2021-09-23 03:35:09.123428', photon_index_error2='0.56', photon_index2='1.87', ts='0.81', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='2.42e-07', energy_flux_error2='9.04e-05', EG='0.01', time_epoch_completed='1632393309.12', return_code='0', job_id='4187', GAL2='1.16', EG2='0.05', return_code2='0', photon_flux_error2='6.59e-08', ts2='1.61', photon_index='2.64' WHERE bin_id='1281' AND source_name='4FGL J1933.2-4539' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 03:35:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 4187: <4FGL_J1933.2-4539_daily_bin1281> in cluster <slac> Done

Job <4FGL_J1933.2-4539_daily_bin1281> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 23 03:22:36 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 03:23:14 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:14 2021
Terminated at Thu Sep 23 03:35:09 2021
Results reported at Thu Sep 23 03:35:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1933.2-4539_daily_bin1281 293.314 -45.6508 571363201 571622401 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 :                                   623.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             303.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            753 sec.

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

