/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 7 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 = 7341
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1933.2-4539_daily_bin336
RA = 293.314, Dec = -45.6508
tmin = 326419201, tmax = 326678401
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='995785', job_status='RUN', time_executed='2021-09-23 02:55:06.475109', time_epoch_executed='1632390906.48' WHERE source_name='4FGL J1933.2-4539' and cadence='daily' and bin_id='336'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/995785

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/995785/ft1_4FGL_J1933.2-4539_daily_bin336.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/995785/ft2_4FGL_J1933.2-4539_daily_bin336.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/995785/ft1_4FGL_J1933.2-4539_daily_bin336.fits outfile=/scratch/kocevski/995785/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin336.fits ra=293.314 dec=-45.6508 rad=12.0 tmin=326419201.0 tmax=326678401.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.41
user 3.21
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/995785/ft1_filtered_4FGL_J1933.2-4539_daily_bin336.fits" evtable="EVENTS" scfile=/scratch/kocevski/995785/ft2_4FGL_J1933.2-4539_daily_bin336.fits sctable="SC_DATA" outfile=/scratch/kocevski/995785/ltcube_326419201_326678401_4FGL_J1933.2-4539_daily_bin336.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/995785/ft2_4FGL_J1933.2-4539_daily_bin336.fits
.....................!
real 11.82
user 11.40
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/995785/ft1_filtered_4FGL_J1933.2-4539_daily_bin336.fits evtable="EVENTS" scfile=/scratch/kocevski/995785/ft2_4FGL_J1933.2-4539_daily_bin336.fits sctable="SC_DATA" expcube=/scratch/kocevski/995785/ltcube_326419201_326678401_4FGL_J1933.2-4539_daily_bin336.fits outfile=/scratch/kocevski/995785/expmap_326419201_326678401_4FGL_J1933.2-4539_daily_bin336.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/995785/ltcube_326419201_326678401_4FGL_J1933.2-4539_daily_bin336.fits
.....................!
real 192.42
user 185.94
sys 5.20

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/995785/ft1_filtered_4FGL_J1933.2-4539_daily_bin336.fits scfile=/scratch/kocevski/995785/ft2_4FGL_J1933.2-4539_daily_bin336.fits outfile=/scratch/kocevski/995785/cmap_326419201_326678401_4FGL_J1933.2-4539_daily_bin336.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/995785/ft1_filtered_4FGL_J1933.2-4539_daily_bin336.fits scfile=/scratch/kocevski/995785/ft2_4FGL_J1933.2-4539_daily_bin336.fits outfile=/scratch/kocevski/995785/cmap_HighResolution_326419201_326678401_4FGL_J1933.2-4539_daily_bin336.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/995785/ft1_filtered_4FGL_J1933.2-4539_daily_bin336.fits evtable="EVENTS" scfile=/scratch/kocevski/995785/ft2_4FGL_J1933.2-4539_daily_bin336.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/995785/Model_4FGL_J1933.2-4539_daily_bin336.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/995785/ft1_filtered_4FGL_J1933.2-4539_daily_bin336.fits.....................!
real 81.36
user 79.78
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    67.987       1.0000         .10000E-03   10000.    
     2 'norm      '    11.410       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.7786       1.0000         .10000E-03   10000.    
     5 'Prefactor '    134.32       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.631       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.980       1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.774       1.0000         .10000E-03   10000.    
     9 'norm      '    25.670       1.0000         .10000E-03   10000.    
    10 'norm      '    3.2850       1.0000         .10000E-03   10000.    
    11 'norm      '    24.382       1.0000         .10000E-03   10000.    
    12 'norm      '    .19826E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.4308       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21310E-01   1.0000         .10000E-03   10000.    
    15 'norm      '    6.4575       1.0000         .10000E-03   10000.    
    16 'norm      '    .46354E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    48.399       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .72615       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1135       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=   9104.004     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     2125 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          68.284        28.179        .12170E-02    .10291E-02
   2  norm          11.299        21.828        .29651E-02   -.20352E-04
   3  norm          .10000E-03    3.3164        .90712E-02** at limit **
   4  norm          3.7758        2.8197        .51919E-02    .24999E-03
   5  Prefactor     143.97        134.16        .86870E-03   -.12197E-04
   6  Prefactor     14.401        9.4356        .26178E-02    .60400E-04
   7  Prefactor     15.756        16.618        .25048E-02   -.16806E-03
   8  Prefactor     32.337        15.631        .17771E-02    .17286E-04
   9  norm          24.623        27.007        .19766E-02    .14581E-03
  10  norm          3.2828        1.4919        .55850E-02    .42526E-03
  11  norm          24.415        12.733        .20281E-02    .20629E-04
  12  norm          .10000E-03    15.075        .90712E-02** at limit **
  13  norm          1.4327        1.4069        .90284E-02    .20651E-03
  14  Prefactor     .10000E-03    43.744        .91291E-02** at limit **
  15  norm          6.4392        4.2744        .39484E-02    .16412E-03
  16  norm          .10000E-03    10.650        .10597E-01** at limit **
  17  Prefactor     46.969        36.979        .14410E-02   -.22959E-04
  18  Normalizat    .72660        .30367        .12769        .54280E-04
  19  Prefactor     1.1128        .10078        .37096E-01   -.46920E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 68.2843
  norm       = 11.2986
  norm       = 0.0001
  norm       = 3.77584
  Prefactor  = 143.97
  Prefactor  = 14.4009
  Prefactor  = 15.7559
  Prefactor  = 32.3372
  norm       = 24.6235
  norm       = 3.28278
  norm       = 24.4151
  norm       = 0.0001
  norm       = 1.43268
  Prefactor  = 0.0001
  norm       = 6.43925
  norm       = 0.0001
  Prefactor  = 46.9687
  Normalizat = 0.726604
  Prefactor  = 1.11275
 **********
 **   18 **HESSE 
 **********

 FCN=   9104.004     FROM HESSE     STATUS=OK           270 CALLS     2395 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          68.284        28.221        .48679E-04   -1.4053    
   2  norm          11.299        21.851        .11860E-03   -1.5036    
   3  norm          .10000E-03    3.3234        .16968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.7758        2.8217        .13385E-03   -1.5319    
   5  Prefactor     143.97        134.21        .34748E-04   -1.3302    
   6  Prefactor     14.401        9.4173        .10471E-03   -1.4949    
   7  Prefactor     15.756        16.617        .50096E-03   -1.4914    
   8  Prefactor     32.337        15.604        .71084E-04   -1.4570    
   9  norm          24.623        27.035        .79066E-04   -1.4715    
  10  norm          3.2828        1.4871        .74589E-04   -1.5346    
  11  norm          24.415        12.712        .81124E-04   -1.4719    
  12  norm          .10000E-03    15.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4327        1.3966        .10890E-03   -1.5469    
  14  Prefactor     .10000E-03    43.822        .18258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.4392        4.2697        .15445E-03   -1.5200    
  16  norm          .10000E-03    10.664        .21194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     46.969        36.972        .57639E-04   -1.4336    
  18  Normalizat    .72660        .32019        .56657E-03   -1.0285    
  19  Prefactor     1.1128        .10894        .15856E-03   -.89060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32016e-09
Minuit parameter uncertainties:
  1  28.226
  2  21.8663
  3  9.00908e-07
  4  2.82179
  5  134.493
  6  9.41827
  7  16.6216
  8  15.6065
  9  27.0482
  10  1.48711
  11  12.713
  12  4.71767e-06
  13  1.39662
  14  1.85833e-06
  15  4.26994
  16  6.03561e-06
  17  36.9898
  18  0.321016
  19  0.108966
Done.

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

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.440e+01  9.418e+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

GAL_V02
   Spectrum: PowerLaw
770    Prefactor:  1.113e+00  1.090e-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:  7.266e-01  3.210e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.79
Ra Dec: 293.314 -45.651
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 9.84e-08 +/- 6.43e-08
Energy Flux (Fixed Index): 2.49e-05 +/- 1.63e-05

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

Saving results to:
/scratch/kocevski/995785/likelihoodResults_326419201_326678401_4FGL_J1933.2-4539_daily_bin336.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) = 9103.96368428
delta logL = 0.0406059786292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9103.95993749
delta logL = 0.044352761528

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.713       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8549       1.0000          .0000       10.000    
     3 'Normalizat'    .70851       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1166       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=   9103.960     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      292 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.714        11.330        .11234E-03   -.50193E-04
   2  Index         2.8550        .80436        .80177E-02   -.20001E-04
   3  Normalizat    .70846        .31841        .57318E-03    .26332E-03
   4  Prefactor     1.1166        .10689        .15832E-03    .10375E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.7144
  Index      = 2.85504
  Normalizat = 0.708459
  Prefactor  = 1.11658
 **********
 **   18 **HESSE 
 **********

 FCN=   9103.960     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.714        10.641        .44938E-05   -1.4995    
   2  Index         2.8550        .75466        .32071E-03   -.44338    
   3  Normalizat    .70846        .31795        .22927E-04   -1.0356    
   4  Prefactor     1.1166        .10679        .31664E-04   -.88938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80835e-10
Minuit parameter uncertainties:
  1  10.6422
  2  0.758214
  3  0.318777
  4  0.106806
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/995785': 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) = 9103.95993716
delta logL = 0.0443530926386

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.271e+01  1.064e+01  1.000e-04  1.000e+04 ( 1.000e-12)
498        Index:  2.855e+00  7.582e-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.117e+00  1.068e-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:  7.085e-01  3.188e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.90
Ra Dec: 293.314 -45.651
Photon Index (Free Index): 2.86 +/- 0.76
Photon Flux (Free Index): 1.13e-07 +/- 8.43e-08
Energy Flux (Free Index): 2.44e-05 +/- 1.55e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/995785/cmap_HighResolution_326419201_326678401_4FGL_J1933.2-4539_daily_bin336.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.80e-02', comment='SUCCESS', photon_flux='9.84e-08', energy_flux2='2.44e-05', photon_flux_error='6.43e-08', dlogl='4.44e-02', energy_flux='2.49e-05', photon_flux2='1.13e-07', job_status='DONE', time_completed='2021-09-23 03:09:26.027956', photon_index_error2='0.76', photon_index2='2.86', ts='3.79', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='2.30e-07', energy_flux_error2='1.55e-05', EG='0.73', time_epoch_completed='1632391766.03', return_code='0', job_id='995785', GAL2='1.12', EG2='0.71', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='8.43e-08', ts2='3.90', photon_index='2.64' WHERE bin_id='336' AND source_name='4FGL J1933.2-4539' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 03:09:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 995785: <4FGL_J1933.2-4539_daily_bin336> in cluster <slac> Done

Job <4FGL_J1933.2-4539_daily_bin336> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 23 02:53:55 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 02:54:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 02:54:47 2021
Terminated at Thu Sep 23 03:09:26 2021
Results reported at Thu Sep 23 03:09:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1933.2-4539_daily_bin336 293.314 -45.6508 326419201 326678401 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 :                                   855.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             344.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            931 sec.

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

