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


Performing analysis on: 4FGL_J2052.2-5533_daily_bin1557
RA = 313.067, Dec = -55.5624
tmin = 642902401, tmax = 643161601
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='180749', job_status='RUN', time_executed='2021-09-25 19:51:51.623533', time_epoch_executed='1632624711.62' WHERE source_name='4FGL J2052.2-5533' and cadence='daily' and bin_id='1557'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/180749

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/180749/ft1_4FGL_J2052.2-5533_daily_bin1557.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/180749/ft2_4FGL_J2052.2-5533_daily_bin1557.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/180749/ft1_4FGL_J2052.2-5533_daily_bin1557.fits outfile=/scratch/kocevski/180749/ft1_filteredMKT_4FGL_J2052.2-5533_daily_bin1557.fits ra=313.067 dec=-55.5624 rad=12.0 tmin=642902401.0 tmax=643161601.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.55
user 3.32
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/180749/ft2_4FGL_J2052.2-5533_daily_bin1557.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/180749/ft1_filteredMKT_4FGL_J2052.2-5533_daily_bin1557.fits evtable="EVENTS" outfile="/scratch/kocevski/180749/ft1_filtered_4FGL_J2052.2-5533_daily_bin1557.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.53
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/180749/ft1_filtered_4FGL_J2052.2-5533_daily_bin1557.fits" evtable="EVENTS" scfile=/scratch/kocevski/180749/ft2_4FGL_J2052.2-5533_daily_bin1557.fits sctable="SC_DATA" outfile=/scratch/kocevski/180749/ltcube_642902401_643161601_4FGL_J2052.2-5533_daily_bin1557.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/180749/ft2_4FGL_J2052.2-5533_daily_bin1557.fits
.....................!
real 14.59
user 14.20
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/180749/ft1_filtered_4FGL_J2052.2-5533_daily_bin1557.fits evtable="EVENTS" scfile=/scratch/kocevski/180749/ft2_4FGL_J2052.2-5533_daily_bin1557.fits sctable="SC_DATA" expcube=/scratch/kocevski/180749/ltcube_642902401_643161601_4FGL_J2052.2-5533_daily_bin1557.fits outfile=/scratch/kocevski/180749/expmap_642902401_643161601_4FGL_J2052.2-5533_daily_bin1557.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/180749/ltcube_642902401_643161601_4FGL_J2052.2-5533_daily_bin1557.fits
.....................!
real 192.65
user 187.36
sys 4.86

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/180749/ft1_filtered_4FGL_J2052.2-5533_daily_bin1557.fits scfile=/scratch/kocevski/180749/ft2_4FGL_J2052.2-5533_daily_bin1557.fits outfile=/scratch/kocevski/180749/cmap_642902401_643161601_4FGL_J2052.2-5533_daily_bin1557.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/180749/ft1_filtered_4FGL_J2052.2-5533_daily_bin1557.fits scfile=/scratch/kocevski/180749/ft2_4FGL_J2052.2-5533_daily_bin1557.fits outfile=/scratch/kocevski/180749/cmap_HighResolution_642902401_643161601_4FGL_J2052.2-5533_daily_bin1557.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.57
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/180749/ft1_filtered_4FGL_J2052.2-5533_daily_bin1557.fits evtable="EVENTS" scfile=/scratch/kocevski/180749/ft2_4FGL_J2052.2-5533_daily_bin1557.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/180749/Model_4FGL_J2052.2-5533_daily_bin1557.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/180749/ft1_filtered_4FGL_J2052.2-5533_daily_bin1557.fits.....................!
real 59.02
user 57.73
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/180749/ft1_filtered_4FGL_J2052.2-5533_daily_bin1557.fits', '/scratch/kocevski/180749/ft2_4FGL_J2052.2-5533_daily_bin1557.fits', expMap='/scratch/kocevski/180749/expmap_642902401_643161601_4FGL_J2052.2-5533_daily_bin1557.fits', expCube='/scratch/kocevski/180749/ltcube_642902401_643161601_4FGL_J2052.2-5533_daily_bin1557.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/180749/Model_4FGL_J2052.2-5533_daily_bin1557.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/180749/ft1_filtered_4FGL_J2052.2-5533_daily_bin1557.fits
Spacecraft file(s): /scratch/kocevski/180749/ft2_4FGL_J2052.2-5533_daily_bin1557.fits
Exposure map: /scratch/kocevski/180749/expmap_642902401_643161601_4FGL_J2052.2-5533_daily_bin1557.fits
Exposure cube: /scratch/kocevski/180749/ltcube_642902401_643161601_4FGL_J2052.2-5533_daily_bin1557.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/180749/Model_4FGL_J2052.2-5533_daily_bin1557.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) = 7759.50915667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66737       1.0000         .10000E-03   10000.    
     2 'norm      '    1.8160       1.0000         .10000E-03   10000.    
     3 'norm      '    3.1935       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1553       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3846       1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.358       1.0000         .10000E-03   10000.    
     7 'norm      '    6.0515       1.0000         .10000E-03   10000.    
     8 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.571       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.775       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.017       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.8733       1.0000         .10000E-03   10000.    
    14 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0557       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.898       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .77195       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1837       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=   7759.492     FROM MIGRAD    STATUS=CONVERGED     62 CALLS     1459 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66753        1.0924       -.30880E-06    .17155E-04
   2  norm          1.8161        1.5198       -.21382E-07   -.17391E-04
   3  norm          3.1935        3.5859        .16404E-05    .63961E-03
   4  Prefactor     1.1569        4.2467       -.47223E-05    .16431E-04
   5  Prefactor     1.3850        3.2771       -.53685E-06   -.72793E-04
   6  Prefactor     23.351        1.5011        .27788E-06   -.55806E-03
   7  norm          6.0518        2.3609       -.30329E-06    .56612E-04
   8  norm          .10000E-03    .87775       -.52376E-06** at limit **
   9  Prefactor     .10007E-03    83.910        .52011E-05** at limit **
  10  Prefactor     29.557        6.1825       -.17244E-05    .11210E-01
  11  Prefactor     12.775        2.7669       -.42079E-06   -.30284E-02
  12  Prefactor     12.015        3.3596        .11747E-05   -.49111E-03
  13  Prefactor     3.8734        1.3297       -.70531E-06   -.10476E-02
  14  norm          .10000E-03    .26200       -.22215E-06** at limit **
  15  Prefactor     3.0574        9.6506       -.50621E-05   -.17314E-02
  16  Prefactor     10.899        4.8311        .29278E-05    .31114E-02
  17  Normalizat    .77183        .25743       -.30041E-05    .31265E-05
  18  Prefactor     1.1837        .14273        .34366E-05    .32250E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.66753
  norm       = 1.81608
  norm       = 3.19348
  Prefactor  = 1.15693
  Prefactor  = 1.385
  Prefactor  = 23.351
  norm       = 6.05176
  norm       = 0.0001
  Prefactor  = 0.000100067
  Prefactor  = 29.5568
  Prefactor  = 12.7746
  Prefactor  = 12.0151
  Prefactor  = 3.87342
  norm       = 0.0001
  Prefactor  = 3.05741
  Prefactor  = 10.8989
  Normalizat = 0.77183
  Prefactor  = 1.18372
 **********
 **   18 **HESSE 
 **********

 FCN=   7759.492     FROM HESSE     STATUS=OK           294 CALLS     1753 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66753        1.2720        .27061E-01   -1.5545    
   2  norm          1.8161        1.5132        .77487E-02   -1.5438    
   3  norm          3.1935        3.5983        .56686E-02   -1.5351    
   4  Prefactor     1.1569        40.047        .10741E-01   -1.5493    
   5  Prefactor     1.3850        3.3675        .92417E-02   -1.5473    
   6  Prefactor     23.351        19.142        .20720E-02   -1.4741    
   7  norm          6.0518        2.3723        .40804E-02   -1.5216    
   8  norm          .10000E-03    .87080        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10007E-03    83.431        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     29.557        73.346        .18419E-02   -1.4620    
  11  Prefactor     12.775        8.7706        .28018E-02   -1.4993    
  12  Prefactor     12.015        13.491        .28889E-02   -1.5015    
  13  Prefactor     3.8734        4.4565        .51258E-02   -1.5314    
  14  norm          .10000E-03    .25172        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.0574        10.924        .58020E-02   -1.5358    
  16  Prefactor     10.899        4.9719        .30340E-02   -1.5048    
  17  Normalizat    .77183        .23660        .85690E-01   -1.0112    
  18  Prefactor     1.1837        .12478        .35028E-01   -.86834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32285e-06
Minuit parameter uncertainties:
  1  1.2721
  2  1.51324
  3  3.59858
  4  13.6228
  5  3.36796
  6  19.1473
  7  2.37239
  8  4.13703e-07
  9  0.00473005
  10  73.5705
  11  8.77151
  12  13.4949
  13  4.45684
  14  7.28234e-08
  15  10.9314
  16  4.97213
  17  0.236916
  18  0.124807
Done.

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

Extracting fit parameters...

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  1.385e+00  3.368e+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:  1.184e+00  1.248e-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:  7.718e-01  2.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.20
Ra Dec: 313.067 -55.562
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/180749/likelihoodResults_642902401_643161601_4FGL_J2052.2-5533_daily_bin1557.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): 102
logL (Free Index) = 7757.57650598
delta logL = 1.91567902421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7757.57481936
delta logL = 1.91736564259

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37316       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1038       1.0000          .0000       10.000    
     3 'Normalizat'    .63658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2243       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=   7757.575     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      232 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37295        2.4859        .63615E-02    .16901E-02
   2  Index         4.1040        2.1206        .10679        .20391E-03
   3  Normalizat    .63657        .56497E-01    .93540E-01    .43658E-04
   4  Prefactor     1.2243        .32094E-01    .34080E-01   -.72419E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.372951
  Index      = 4.10403
  Normalizat = 0.636571
  Prefactor  = 1.22428
 **********
 **   18 **HESSE 
 **********

 FCN=   7757.575     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      265 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37295        5.3412        .28658E-04   -1.5586    
   2  Index         4.1040        3.4631        .40487E-02   -.18017    
   3  Normalizat    .63657        .24181        .41442E-03   -1.0645    
   4  Prefactor     1.2243        .13673        .17507E-03   -.85587    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.12312e-07
Minuit parameter uncertainties:
  1  2.82269
  2  3.84196
  3  0.242218
  4  0.13677
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/180749': 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): 102
logL (Free Index) = 7757.57481932
delta logL = 1.91736568146

Extracting fit parameters...

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  3.730e-01  2.823e+00  1.000e-04  1.000e+04 ( 1.000e-12)
320        Index:  4.104e+00  3.842e+00  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:  1.224e+00  1.368e-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:  6.366e-01  2.422e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.34
Ra Dec: 313.067 -55.562
Photon Index (Free Index): 4.10 +/- 3.84
Photon Flux (Free Index): 1.33e-07 +/- 7.52e-08
Energy Flux (Free Index): 1.95e-05 +/- 1.70e-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/180749/cmap_HighResolution_642902401_643161601_4FGL_J2052.2-5533_daily_bin1557.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.28e-03', comment='SUCCESS', energy_flux2='1.95e-05', dlogl='1.92e+00', photon_flux2='1.33e-07', job_status='DONE', time_completed='2021-09-25 20:01:54.150962', photon_index_error2='3.84', photon_index2='4.10', ts='0.20', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='1.70e-05', EG='0.77', time_epoch_completed='1632625314.15', return_code='0', job_id='180749', GAL2='1.22', EG2='0.64', return_code2='102', photon_flux_error2='7.52e-08', ts2='4.34', photon_index='2.30' WHERE bin_id='1557' AND source_name='4FGL J2052.2-5533' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 20:01:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 180749: <4FGL_J2052.2-5533_daily_bin1557> in cluster <slac> Done

Job <4FGL_J2052.2-5533_daily_bin1557> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 25 19:45:43 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:51:18 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:18 2021
Terminated at Sat Sep 25 20:01:55 2021
Results reported at Sat Sep 25 20:01:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2052.2-5533_daily_bin1557 313.067 -55.5624 642902401 643161601 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 :                                   596.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   636 sec.
    Turnaround time :                            972 sec.

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

