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


Performing analysis on: 4FGL_J2052.2-5533_daily_bin1535
RA = 313.067, Dec = -55.5624
tmin = 637200001, tmax = 637459201
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='180718', job_status='RUN', time_executed='2021-09-25 19:51:40.021404', time_epoch_executed='1632624700.02' WHERE source_name='4FGL J2052.2-5533' and cadence='daily' and bin_id='1535'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/180718

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/180718/ft1_4FGL_J2052.2-5533_daily_bin1535.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/180718/ft2_4FGL_J2052.2-5533_daily_bin1535.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/180718/ft1_4FGL_J2052.2-5533_daily_bin1535.fits outfile=/scratch/kocevski/180718/ft1_filteredMKT_4FGL_J2052.2-5533_daily_bin1535.fits ra=313.067 dec=-55.5624 rad=12.0 tmin=637200001.0 tmax=637459201.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 5.40
user 5.09
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/180718/ft2_4FGL_J2052.2-5533_daily_bin1535.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/180718/ft2_4FGL_J2052.2-5533_daily_bin1535.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/180718/ft1_filteredMKT_4FGL_J2052.2-5533_daily_bin1535.fits evtable="EVENTS" outfile="/scratch/kocevski/180718/ft1_filtered_4FGL_J2052.2-5533_daily_bin1535.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.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/180718/ft1_filtered_4FGL_J2052.2-5533_daily_bin1535.fits" evtable="EVENTS" scfile=/scratch/kocevski/180718/ft2_4FGL_J2052.2-5533_daily_bin1535.fits sctable="SC_DATA" outfile=/scratch/kocevski/180718/ltcube_637200001_637459201_4FGL_J2052.2-5533_daily_bin1535.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/180718/ft2_4FGL_J2052.2-5533_daily_bin1535.fits
.....................!
real 11.85
user 11.40
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/180718/ft1_filtered_4FGL_J2052.2-5533_daily_bin1535.fits evtable="EVENTS" scfile=/scratch/kocevski/180718/ft2_4FGL_J2052.2-5533_daily_bin1535.fits sctable="SC_DATA" expcube=/scratch/kocevski/180718/ltcube_637200001_637459201_4FGL_J2052.2-5533_daily_bin1535.fits outfile=/scratch/kocevski/180718/expmap_637200001_637459201_4FGL_J2052.2-5533_daily_bin1535.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/180718/ltcube_637200001_637459201_4FGL_J2052.2-5533_daily_bin1535.fits
.....................!
real 190.60
user 185.14
sys 4.79

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
Added 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J2052.2-5533 @ 313.067 -55.5624

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/180718/ft1_filtered_4FGL_J2052.2-5533_daily_bin1535.fits scfile=/scratch/kocevski/180718/ft2_4FGL_J2052.2-5533_daily_bin1535.fits outfile=/scratch/kocevski/180718/cmap_637200001_637459201_4FGL_J2052.2-5533_daily_bin1535.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=313.067 yref=-55.5624 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/180718/ft1_filtered_4FGL_J2052.2-5533_daily_bin1535.fits scfile=/scratch/kocevski/180718/ft2_4FGL_J2052.2-5533_daily_bin1535.fits outfile=/scratch/kocevski/180718/cmap_HighResolution_637200001_637459201_4FGL_J2052.2-5533_daily_bin1535.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=313.067 yref=-55.5624 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/180718/ft1_filtered_4FGL_J2052.2-5533_daily_bin1535.fits evtable="EVENTS" scfile=/scratch/kocevski/180718/ft2_4FGL_J2052.2-5533_daily_bin1535.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/180718/Model_4FGL_J2052.2-5533_daily_bin1535.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 GAL_V02
Working on...
/scratch/kocevski/180718/ft1_filtered_4FGL_J2052.2-5533_daily_bin1535.fits.....................!
real 57.18
user 55.05
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/180718/ft1_filtered_4FGL_J2052.2-5533_daily_bin1535.fits', '/scratch/kocevski/180718/ft2_4FGL_J2052.2-5533_daily_bin1535.fits', expMap='/scratch/kocevski/180718/expmap_637200001_637459201_4FGL_J2052.2-5533_daily_bin1535.fits', expCube='/scratch/kocevski/180718/ltcube_637200001_637459201_4FGL_J2052.2-5533_daily_bin1535.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/180718/Model_4FGL_J2052.2-5533_daily_bin1535.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2052.2-5533'

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  1.540e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
320        Index:  2.301e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/180718/ft1_filtered_4FGL_J2052.2-5533_daily_bin1535.fits
Spacecraft file(s): /scratch/kocevski/180718/ft2_4FGL_J2052.2-5533_daily_bin1535.fits
Exposure map: /scratch/kocevski/180718/expmap_637200001_637459201_4FGL_J2052.2-5533_daily_bin1535.fits
Exposure cube: /scratch/kocevski/180718/ltcube_637200001_637459201_4FGL_J2052.2-5533_daily_bin1535.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/180718/Model_4FGL_J2052.2-5533_daily_bin1535.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) = 7073.84812407

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0508       1.0000         .10000E-03   10000.    
     2 'norm      '    .94901       1.0000         .10000E-03   10000.    
     3 'norm      '    6.1937       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13943       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.2232       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.5286       1.0000         .10000E-03   10000.    
     7 'norm      '    10.517       1.0000         .10000E-03   10000.    
     8 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.246       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14926E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.594       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.090       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.6826       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1711       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96835       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7073.846     FROM MIGRAD    STATUS=CONVERGED     95 CALLS     1495 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0508        1.6269       -.71952E-08    .61309E-03
   2  norm          .94898        .91868        .13835E-06    .19871E-03
   3  norm          6.1932        4.6246       -.10776E-05   -.18852E-03
   4  Prefactor     .10654E-03    492.91        .82071E-04** at limit **
   5  Prefactor     6.2229        3.2968        .87700E-07    .18446E-03
   6  Prefactor     6.5208        8.5400       -.13308E-04   -.93592E-02
   7  norm          10.516        2.8158       -.29396E-06   -.38077E-03
   8  norm          .10000E-03    2.4712       -.61398E-06** at limit **
   9  Prefactor     39.246        2.2494       -.23452E-05    .46626E-03
  10  Prefactor     .13965E-03    161.34       -.17319E-03** at limit **
  11  Prefactor     15.595        8.9665        .12611E-04    .69128E-02
  12  Prefactor     22.085        6.1958       -.92819E-05   -.13468E-02
  13  Prefactor     .10000E-03    1.3429       -.18388E-07** at limit **
  14  norm          .10000E-03    .34596        .18484E-06** at limit **
  15  Prefactor     .10000E-03    6.4819       -.15013E-05** at limit **
  16  Prefactor     7.6821        6.2810       -.68766E-05   -.14638E-02
  17  Normalizat    1.1709        .26823        .13686E-05    .13806E-03
  18  Prefactor     .96848        .14310        .89603E-06    .41152E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.05082
  norm       = 0.948984
  norm       = 6.19319
  Prefactor  = 0.000106541
  Prefactor  = 6.22292
  Prefactor  = 6.52083
  norm       = 10.5164
  norm       = 0.0001
  Prefactor  = 39.2464
  Prefactor  = 0.000139651
  Prefactor  = 15.5955
  Prefactor  = 22.0846
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 7.68209
  Normalizat = 1.17093
  Prefactor  = 0.968485
 **********
 **   18 **HESSE 
 **********

 FCN=   7073.846     FROM HESSE     STATUS=OK           294 CALLS     1789 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0508        1.6347        .72165E-02   -1.5422    
   2  norm          .94898        .86080        .12984E-01   -1.5513    
   3  norm          6.1932        4.6267        .40327E-02   -1.5210    
   4  Prefactor     .10654E-03    7.6522        .96976E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.2229        3.3028        .40230E-02   -1.5209    
   6  Prefactor     6.5208        13.525        .39266E-02   -1.5197    
   7  norm          10.516        2.8166        .30888E-02   -1.5059    
   8  norm          .10000E-03    2.3584        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     39.246        56.956        .15995E-02   -1.4454    
  10  Prefactor     .13965E-03    251.04        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.595        9.2445        .25356E-02   -1.4918    
  12  Prefactor     22.085        25.959        .21306E-02   -1.4768    
  13  Prefactor     .10000E-03    1.3412        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .27659        .21261E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.4707        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.6821        6.2645        .36169E-02   -1.5154    
  17  Normalizat    1.1709        .22736        .73728E-01   -.87506    
  18  Prefactor     .96848        .11977        .45870E-01   -.93788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40307e-07
Minuit parameter uncertainties:
  1  1.63471
  2  0.860809
  3  4.62697
  4  0.0141512
  5  3.30289
  6  13.5312
  7  2.81666
  8  6.28326e-05
  9  57.0349
  10  0.200385
  11  9.24536
  12  25.9726
  13  6.54047e-06
  14  4.86305e-06
  15  0.000131593
  16  6.26501
  17  0.227548
  18  0.119804
Done.

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

Extracting fit parameters...

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  6.223e+00  3.303e+00  1.000e-04  1.000e+04 ( 1.000e-12)
320        Index:  2.301e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.685e-01  1.198e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.171e+00  2.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.13
Ra Dec: 313.067 -55.562
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 8.83e-08 +/- 4.69e-08
Energy Flux (Fixed Index): 3.34e-05 +/- 1.77e-05

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) = 7073.82452937
delta logL = 0.0217778237129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7073.81776124
delta logL = 0.0285459500228

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7073.818     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      239 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6388        82.635        .38945E-02    .14514E-03
   2  Index         2.1883        6.0477        .14427        .77740E-04
   3  Normalizat    1.1808        .18108        .73472E-01    .24278E-04
   4  Prefactor     .96548        .63983E-01    .45837E-01    .83240E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.63881
  Index      = 2.18831
  Normalizat = 1.18079
  Prefactor  = 0.965481
 **********
 **   18 **HESSE 
 **********

 FCN=   7073.818     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6388        3.9119        .11213E-03   -1.5193    
   2  Index         2.1883        .47446        .71026E-02   -.59721    
   3  Normalizat    1.1808        .26342        .32514E-03   -.87199    
   4  Prefactor     .96548        .14184        .19235E-03   -.93889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9009e-12
Minuit parameter uncertainties:
  1  3.91208
  2  0.475508
  3  0.263721
  4  0.141891
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/180718': 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) = 7073.81775813
delta logL = 0.0285490605811

Extracting fit parameters...

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  6.639e+00  3.912e+00  1.000e-04  1.000e+04 ( 1.000e-12)
320        Index:  2.188e+00  4.755e-01  0.000e+00  1.000e+01 (-1.000e+00)
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.655e-01  1.419e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.181e+00  2.637e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.17
Ra Dec: 313.067 -55.562
Photon Index (Free Index): 2.19 +/- 0.48
Photon Flux (Free Index): 7.99e-08 +/- 5.54e-08
Energy Flux (Free Index): 3.67e-05 +/- 2.59e-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/180718/cmap_HighResolution_637200001_637459201_4FGL_J2052.2-5533_daily_bin1535.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.83e-08', energy_flux2='3.67e-05', photon_flux_error='4.69e-08', dlogl='2.85e-02', energy_flux='3.34e-05', photon_flux2='7.99e-08', job_status='DONE', time_completed='2021-09-25 20:00:49.225490', photon_index_error2='0.48', photon_index2='2.19', ts='7.13', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='2.59e-05', EG='1.17', time_epoch_completed='1632625249.23', return_code='0', job_id='180718', GAL2='0.97', EG2='1.18', return_code2='0', energy_flux_error='1.77e-05', photon_flux_error2='5.54e-08', ts2='7.17', photon_index='2.30' WHERE bin_id='1535' AND source_name='4FGL J2052.2-5533' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 20:00:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 180718: <4FGL_J2052.2-5533_daily_bin1535> in cluster <slac> Done

Job <4FGL_J2052.2-5533_daily_bin1535> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 25 19:45:41 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:51:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 19:51:05 2021
Terminated at Sat Sep 25 20:00:49 2021
Results reported at Sat Sep 25 20:00:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2052.2-5533_daily_bin1535 313.067 -55.5624 637200001 637459201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2052.2-5533 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   529.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   584 sec.
    Turnaround time :                            908 sec.

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

