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


Performing analysis on: 4FGL_J1933.2-4539_daily_bin1378
RA = 293.314, Dec = -45.6508
tmin = 596505601, tmax = 596764801
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='6647', job_status='RUN', time_executed='2021-09-23 03:33:57.008720', time_epoch_executed='1632393237.01' WHERE source_name='4FGL J1933.2-4539' and cadence='daily' and bin_id='1378'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/6647

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/6647/ft1_4FGL_J1933.2-4539_daily_bin1378.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/6647/ft2_4FGL_J1933.2-4539_daily_bin1378.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/6647/ft1_4FGL_J1933.2-4539_daily_bin1378.fits outfile=/scratch/kocevski/6647/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1378.fits ra=293.314 dec=-45.6508 rad=12.0 tmin=596505601.0 tmax=596764801.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.54
user 3.33
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/6647/ft2_4FGL_J1933.2-4539_daily_bin1378.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/6647/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1378.fits evtable="EVENTS" outfile="/scratch/kocevski/6647/ft1_filtered_4FGL_J1933.2-4539_daily_bin1378.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.50
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/6647/ft1_filtered_4FGL_J1933.2-4539_daily_bin1378.fits" evtable="EVENTS" scfile=/scratch/kocevski/6647/ft2_4FGL_J1933.2-4539_daily_bin1378.fits sctable="SC_DATA" outfile=/scratch/kocevski/6647/ltcube_596505601_596764801_4FGL_J1933.2-4539_daily_bin1378.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/6647/ft2_4FGL_J1933.2-4539_daily_bin1378.fits
.....................!
real 13.10
user 12.66
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/6647/ft1_filtered_4FGL_J1933.2-4539_daily_bin1378.fits evtable="EVENTS" scfile=/scratch/kocevski/6647/ft2_4FGL_J1933.2-4539_daily_bin1378.fits sctable="SC_DATA" expcube=/scratch/kocevski/6647/ltcube_596505601_596764801_4FGL_J1933.2-4539_daily_bin1378.fits outfile=/scratch/kocevski/6647/expmap_596505601_596764801_4FGL_J1933.2-4539_daily_bin1378.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/6647/ltcube_596505601_596764801_4FGL_J1933.2-4539_daily_bin1378.fits
.....................!
real 192.54
user 186.66
sys 5.31

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/6647/ft1_filtered_4FGL_J1933.2-4539_daily_bin1378.fits scfile=/scratch/kocevski/6647/ft2_4FGL_J1933.2-4539_daily_bin1378.fits outfile=/scratch/kocevski/6647/cmap_596505601_596764801_4FGL_J1933.2-4539_daily_bin1378.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/6647/ft1_filtered_4FGL_J1933.2-4539_daily_bin1378.fits scfile=/scratch/kocevski/6647/ft2_4FGL_J1933.2-4539_daily_bin1378.fits outfile=/scratch/kocevski/6647/cmap_HighResolution_596505601_596764801_4FGL_J1933.2-4539_daily_bin1378.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/6647/ft1_filtered_4FGL_J1933.2-4539_daily_bin1378.fits evtable="EVENTS" scfile=/scratch/kocevski/6647/ft2_4FGL_J1933.2-4539_daily_bin1378.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/6647/Model_4FGL_J1933.2-4539_daily_bin1378.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/6647/ft1_filtered_4FGL_J1933.2-4539_daily_bin1378.fits.....................!
real 72.09
user 70.53
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    9.8449       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    149.35       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.385       1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.184       1.0000         .10000E-03   10000.    
     9 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .56988E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    43.031       1.0000         .10000E-03   10000.    
    13 'norm      '    1.7604       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.8397       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.5947       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .84020       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=   7762.008     FROM MIGRAD    STATUS=CONVERGED    365 CALLS     1872 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.2235        .63659E-05** at limit **
   2  norm          .10000E-03    14.852        .11506E-04** at limit **
   3  norm          9.8448        12.908        .44227E-05    .23423E-04
   4  norm          .10000E-03    .82261        .13359E-07** at limit **
   5  Prefactor     149.21        148.73       -.11024E-03   -.64313E-05
   6  Prefactor     .10000E-03    2.8913       -.74995E-07** at limit **
   7  Prefactor     20.387        26.715        .24721E-05   -.24021E-06
   8  Prefactor     33.179        18.218       -.21595E-05   -.18494E-03
   9  norm          .10000E-03    10.287       -.39364E-05** at limit **
  10  norm          .61150E-01    .59500        .76973E-06   -.32195E-02
  11  norm          .10000E-03    4.3155        .36380E-06** at limit **
  12  norm          43.033        25.709        .19754E-05   -.34938E-04
  13  norm          1.7604        1.5085       -.12034E-06   -.16902E-04
  14  Prefactor     .10000E-03    21.309       -.68983E-05** at limit **
  15  norm          5.8402        4.8805       -.21204E-06   -.26581E-03
  16  norm          .10000E-03    6.7663       -.35184E-05** at limit **
  17  Prefactor     .10000E-03    10.400       -.41812E-05** at limit **
  18  Normalizat    1.5943        .28577        .30320E-05   -.16853E-03
  19  Prefactor     .84029        .91196E-01    .13727E-05   -.49650E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 9.84475
  norm       = 0.0001
  Prefactor  = 149.212
  Prefactor  = 0.0001
  Prefactor  = 20.3865
  Prefactor  = 33.1792
  norm       = 0.0001
  norm       = 0.0611498
  norm       = 0.0001
  norm       = 43.0334
  norm       = 1.76042
  Prefactor  = 0.0001
  norm       = 5.84023
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.59434
  Prefactor  = 0.840285
 **********
 **   18 **HESSE 
 **********

 FCN=   7762.008     FROM HESSE     STATUS=OK           268 CALLS     2140 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.2340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    14.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          9.8448        13.049        .12771E-03   -1.5080    
   4  norm          .10000E-03    .82522        .78027E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     149.21        148.77        .16489E-03   -1.3259    
   6  Prefactor     .10000E-03    2.8974        .14628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.387        26.717        .88712E-04   -1.4805    
   8  Prefactor     33.179        18.189        .69561E-04   -1.4555    
   9  norm          .10000E-03    10.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .61150E-01    4.8292        .12842E-02   -1.5659    
  11  norm          .10000E-03    4.3260        .17871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          43.033        25.811        .61113E-04   -1.4395    
  13  norm          1.7604        1.5105        .97462E-04   -1.5443    
  14  Prefactor     .10000E-03    21.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.8402        4.8799        .16619E-03   -1.5225    
  16  norm          .10000E-03    6.7668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.5943        .34110        .39177E-03   -.75161    
  19  Prefactor     .84029        .10969        .16641E-03   -.98260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78745e-08
Minuit parameter uncertainties:
  1  1.85538e-05
  2  5.34999e-05
  3  13.0528
  4  6.95737e-08
  5  149.149
  6  8.98219e-06
  7  26.7326
  8  18.192
  9  3.39192e-07
  10  1.08604
  11  1.54573e-05
  12  25.8179
  13  1.51058
  14  1.41443e-05
  15  4.88027
  16  2.39435e-06
  17  4.78139e-06
  18  0.341596
  19  0.109716
Done.

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

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.000e-04  8.982e-06  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:  8.403e-01  1.097e-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.594e+00  3.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 293.314 -45.651
Photon Flux Upper Limit: 9.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/6647/likelihoodResults_596505601_596764801_4FGL_J1933.2-4539_daily_bin1378.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) = 7762.00920689
delta logL = -0.00164113782921

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7762.00756581
delta logL = -6.28142515779e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6325       1.0000          .0000       10.000    
     3 'Normalizat'    1.5943       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84026       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=   7762.008     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.8408        .90712E-02** at limit **
   2  Index         2.6259        5.9191        .50000        .20566E-04
   3  Normalizat    1.5943        .27347        .88485E-01   -.10955E-04
   4  Prefactor     .84029        .88438E-01    .44239E-01   -.34207E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.62591
  Normalizat = 1.59434
  Prefactor  = 0.840286
 **********
 **   18 **HESSE 
 **********

 FCN=   7762.008     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0936        .14654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6259        6.3105        .50000       -.49476    
   3  Normalizat    1.5943        .32219        .39177E-03   -.75161    
   4  Prefactor     .84029        .10439        .16641E-03   -.98260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37638e-10
Minuit parameter uncertainties:
  1  9.12522e-06
  2  4.54147
  3  0.322607
  4  0.104418
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/6647': 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) = 7762.00756568
delta logL = 6.25013854005e-08

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  1.000e-04  9.125e-06  1.000e-04  1.000e+04 ( 1.000e-12)
498        Index:  2.626e+00  4.541e+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:  8.403e-01  1.044e-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.594e+00  3.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 293.314 -45.651

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.53e-03', job_status='DONE', photon_flux_upper_limit='9.60e-08', time_completed='2021-09-23 03:46:20.889245', job_id='6647', GAL2='0.84', fit_tolerance='1e-08', EG2='1.59', EG='1.59', time_epoch_completed='1632393980.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='6.25e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1378' AND source_name='4FGL J1933.2-4539' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 03:46:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 6647: <4FGL_J1933.2-4539_daily_bin1378> in cluster <slac> Done

Job <4FGL_J1933.2-4539_daily_bin1378> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 23 03:31:58 2021
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 03:32:18 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:32:18 2021
Terminated at Thu Sep 23 03:46:21 2021
Results reported at Thu Sep 23 03:46:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1933.2-4539_daily_bin1378 293.314 -45.6508 596505601 596764801 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 :                                   739.36 sec.
    Max Memory :                                 1224 MB
    Average Memory :                             304.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            863 sec.

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

