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


Performing analysis on: 4FGL_J1532.7-1319_daily_bin1339
RA = 233.197, Dec = -13.3261
tmin = 586396801, tmax = 586656001
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='547025', job_status='RUN', time_executed='2021-09-12 04:11:25.891807', time_epoch_executed='1631445085.89' WHERE source_name='4FGL J1532.7-1319' and cadence='daily' and bin_id='1339'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/547025

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/547025/ft1_4FGL_J1532.7-1319_daily_bin1339.fits


Retrieving the FT1 file...

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

Retrieving 31 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/547025/ft2_4FGL_J1532.7-1319_daily_bin1339.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/547025/ft1_4FGL_J1532.7-1319_daily_bin1339.fits outfile=/scratch/kocevski/547025/ft1_filteredMKT_4FGL_J1532.7-1319_daily_bin1339.fits ra=233.197 dec=-13.3261 rad=12.0 tmin=586396801.0 tmax=586656001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.65
user 2.38
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/547025/ft2_4FGL_J1532.7-1319_daily_bin1339.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/547025/ft2_4FGL_J1532.7-1319_daily_bin1339.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/547025/ft1_filteredMKT_4FGL_J1532.7-1319_daily_bin1339.fits evtable="EVENTS" outfile="/scratch/kocevski/547025/ft1_filtered_4FGL_J1532.7-1319_daily_bin1339.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/547025/ft1_filtered_4FGL_J1532.7-1319_daily_bin1339.fits" evtable="EVENTS" scfile=/scratch/kocevski/547025/ft2_4FGL_J1532.7-1319_daily_bin1339.fits sctable="SC_DATA" outfile=/scratch/kocevski/547025/ltcube_586396801_586656001_4FGL_J1532.7-1319_daily_bin1339.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/547025/ft2_4FGL_J1532.7-1319_daily_bin1339.fits
.....................!
real 9.18
user 8.83
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/547025/ft1_filtered_4FGL_J1532.7-1319_daily_bin1339.fits evtable="EVENTS" scfile=/scratch/kocevski/547025/ft2_4FGL_J1532.7-1319_daily_bin1339.fits sctable="SC_DATA" expcube=/scratch/kocevski/547025/ltcube_586396801_586656001_4FGL_J1532.7-1319_daily_bin1339.fits outfile=/scratch/kocevski/547025/expmap_586396801_586656001_4FGL_J1532.7-1319_daily_bin1339.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/547025/ltcube_586396801_586656001_4FGL_J1532.7-1319_daily_bin1339.fits
.....................!
real 191.22
user 185.28
sys 5.18

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 J1626.9-2431 in ROI with RadialGaussian spatial model.
Added 163 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 J1532.7-1319 @ 233.197 -13.3261

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/547025/ft1_filtered_4FGL_J1532.7-1319_daily_bin1339.fits scfile=/scratch/kocevski/547025/ft2_4FGL_J1532.7-1319_daily_bin1339.fits outfile=/scratch/kocevski/547025/cmap_586396801_586656001_4FGL_J1532.7-1319_daily_bin1339.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=233.197 yref=-13.3261 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.60
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/547025/ft1_filtered_4FGL_J1532.7-1319_daily_bin1339.fits scfile=/scratch/kocevski/547025/ft2_4FGL_J1532.7-1319_daily_bin1339.fits outfile=/scratch/kocevski/547025/cmap_HighResolution_586396801_586656001_4FGL_J1532.7-1319_daily_bin1339.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=233.197 yref=-13.3261 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.58
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/547025/ft1_filtered_4FGL_J1532.7-1319_daily_bin1339.fits evtable="EVENTS" scfile=/scratch/kocevski/547025/ft2_4FGL_J1532.7-1319_daily_bin1339.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/547025/Model_4FGL_J1532.7-1319_daily_bin1339.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 J1626.9-2431
adding source GAL_V02
Working on...
/scratch/kocevski/547025/ft1_filtered_4FGL_J1532.7-1319_daily_bin1339.fits.....................!
real 102.98
user 101.33
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/547025/ft1_filtered_4FGL_J1532.7-1319_daily_bin1339.fits', '/scratch/kocevski/547025/ft2_4FGL_J1532.7-1319_daily_bin1339.fits', expMap='/scratch/kocevski/547025/expmap_586396801_586656001_4FGL_J1532.7-1319_daily_bin1339.fits', expCube='/scratch/kocevski/547025/ltcube_586396801_586656001_4FGL_J1532.7-1319_daily_bin1339.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/547025/Model_4FGL_J1532.7-1319_daily_bin1339.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1532.7-1319'

4FGL J1532.7-1319
   Spectrum: LogParabola
262         norm:  9.205e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        alpha:  2.067e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
264         beta:  1.016e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  8.004e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/547025/ft1_filtered_4FGL_J1532.7-1319_daily_bin1339.fits
Spacecraft file(s): /scratch/kocevski/547025/ft2_4FGL_J1532.7-1319_daily_bin1339.fits
Exposure map: /scratch/kocevski/547025/expmap_586396801_586656001_4FGL_J1532.7-1319_daily_bin1339.fits
Exposure cube: /scratch/kocevski/547025/ltcube_586396801_586656001_4FGL_J1532.7-1319_daily_bin1339.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/547025/Model_4FGL_J1532.7-1319_daily_bin1339.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) = 10330.1259767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3885       1.0000         .10000E-03   10000.    
     2 'norm      '    7.0732       1.0000         .10000E-03   10000.    
     3 'norm      '    .61230       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.3768       1.0000         .10000E-03   10000.    
     6 'norm      '    25.331       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10326E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.7880       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .88622       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10330.08     FROM MIGRAD    STATUS=CONVERGED    205 CALLS      830 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3204        88.952       -.26347E-03    .66526E-04
   2  norm          7.0729        4.9980        .14785E-05   -.14945E-03
   3  norm          .61222        .13329       -.76484E-07   -.15566E-02
   4  Prefactor     .10000E-03    13.842        .41127E-05** at limit **
   5  norm          1.3768        .63147       -.50997E-07    .15912E-03
   6  norm          25.326        10.952       -.91987E-06    .19196E-04
   7  Prefactor     .10000E-03    25.169        .59142E-05** at limit **
   8  Prefactor     .10000E-03    25.874        .70093E-06** at limit **
   9  Prefactor     .10000E-03    18.194        .15578E-05** at limit **
  10  Prefactor     .10000E-03    16.144       -.91040E-05** at limit **
  11  Normalizat    1.7882        .27713        .93743E-05   -.70127E-04
  12  Prefactor     .88618        .74693E-01   -.15896E-06    .75972E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.32043
  norm       = 7.07294
  norm       = 0.612221
  Prefactor  = 0.0001
  norm       = 1.37683
  norm       = 25.326
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.78816
  Prefactor  = 0.886185
 **********
 **   18 **HESSE 
 **********

 FCN=   10330.08     FROM HESSE     STATUS=OK           127 CALLS      957 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3204        89.905        .19225E-03   -1.5292    
   2  norm          7.0729        4.9991        .15083E-03   -1.5176    
   3  norm          .61222        .13320        .16085E-04   -1.5551    
   4  Prefactor     .10000E-03    14.074        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.3768        .63027        .53245E-04   -1.5473    
   6  norm          25.326        10.963        .79593E-04   -1.4701    
   7  Prefactor     .10000E-03    25.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    25.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.7882        .32455        .43066E-03   -.69973    
  12  Prefactor     .88618        .87586E-01    .16200E-03   -.96626    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00455e-09
Minuit parameter uncertainties:
  1  39.4846
  2  4.99938
  3  0.1332
  4  7.14858e-05
  5  0.630272
  6  10.9637
  7  6.00532e-05
  8  8.30663e-05
  9  6.03387e-05
  10  2.07776e-05
  11  0.324945
  12  0.0875999
Done.

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

Extracting fit parameters...

4FGL J1532.7-1319
   Spectrum: LogParabola
262         norm:  2.533e+01  1.096e+01  1.000e-04  1.000e+04 ( 1.000e-12)
263        alpha:  2.067e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
264         beta:  1.016e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  8.004e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  8.862e-01  8.760e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.788e+00  3.249e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.25
Ra Dec: 233.197 -13.326
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 1.42e-07 +/- 6.14e-08
Energy Flux (Fixed Index): 7.07e-05 +/- 3.06e-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) = 10327.185153
delta logL = 2.89264536565

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10327.1835841
delta logL = 2.89421425657

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.316       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9692       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90898       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10327.18     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      317 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.327        10.018        .52930E-03   -.47597E-04
   2  alpha         2.9699        .46614        .82009E-02    .42403E-03
   3  Normalizat    1.6400        .31933        .44474E-03    .17536E-04
   4  Prefactor     .90890        .87887E-01    .15999E-03    .57272E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.3272
  alpha      = 2.96987
  Normalizat = 1.63998
  Prefactor  = 0.908895
 **********
 **   18 **HESSE 
 **********

 FCN=   10327.18     FROM HESSE     STATUS=OK            27 CALLS      344 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.327        8.9020        .21172E-04   -1.4951    
   2  alpha         2.9699        .41452        .16402E-02    .18907    
   3  Normalizat    1.6400        .31919        .17790E-04   -.73917    
   4  Prefactor     .90890        .87804E-01    .31999E-04   -.95831    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65686e-12
Minuit parameter uncertainties:
  1  8.90281
  2  0.416513
  3  0.319584
  4  0.087818
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/547025': 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) = 10327.1835677
delta logL = 2.89423069911

Extracting fit parameters...

4FGL J1532.7-1319
   Spectrum: LogParabola
262         norm:  1.433e+01  8.903e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        alpha:  2.970e+00  4.165e-01  0.000e+00  5.000e+00 ( 1.000e+00)
264         beta:  1.016e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  8.004e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.089e-01  8.782e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.640e+00  3.196e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.32
Ra Dec: 233.197 -13.326
Photon Index (Free Index): 2.97 +/- 0.42
Photon Flux (Free Index): 2.68e-07 +/- 9.39e-08
Energy Flux (Free Index): 5.80e-05 +/- 2.04e-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/547025/cmap_HighResolution_586396801_586656001_4FGL_J1532.7-1319_daily_bin1339.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.42e-07', energy_flux2='5.80e-05', photon_flux_error='6.14e-08', dlogl='2.89e+00', energy_flux='7.07e-05', photon_flux2='2.68e-07', job_status='DONE', time_completed='2021-09-12 04:21:08.335535', photon_index_error2='0.42', photon_index2='2.97', ts='8.25', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='2.04e-05', EG='1.79', time_epoch_completed='1631445668.34', return_code='0', job_id='547025', GAL2='0.91', EG2='1.64', return_code2='0', energy_flux_error='3.06e-05', photon_flux_error2='9.39e-08', ts2='14.32', photon_index='2.07' WHERE bin_id='1339' AND source_name='4FGL J1532.7-1319' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:21:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 547025: <4FGL_J1532.7-1319_daily_bin1339> in cluster <slac> Done

Job <4FGL_J1532.7-1319_daily_bin1339> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 04:05:58 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:07:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 04:07:19 2021
Terminated at Sun Sep 12 04:21:09 2021
Results reported at Sun Sep 12 04:21:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.7-1319_daily_bin1339 233.197 -13.3261 586396801 586656001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1532.7-1319 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   547.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            911 sec.

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

