/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 7 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7419
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1117
RA = 233.016, Dec = 30.2685
tmin = 528854401, tmax = 529113601
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='539076', job_status='RUN', time_executed='2021-09-12 03:42:25.790135', time_epoch_executed='1631443345.79' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1117'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/539076

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/539076/ft1_4FGL_J1532.0+3016_daily_bin1117.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/539076/ft2_4FGL_J1532.0+3016_daily_bin1117.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/539076/ft1_4FGL_J1532.0+3016_daily_bin1117.fits outfile=/scratch/kocevski/539076/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1117.fits ra=233.016 dec=30.2685 rad=12.0 tmin=528854401.0 tmax=529113601.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.44
user 3.21
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/539076/ft2_4FGL_J1532.0+3016_daily_bin1117.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/539076/ft2_4FGL_J1532.0+3016_daily_bin1117.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/539076/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1117.fits evtable="EVENTS" outfile="/scratch/kocevski/539076/ft1_filtered_4FGL_J1532.0+3016_daily_bin1117.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/539076/ft1_filtered_4FGL_J1532.0+3016_daily_bin1117.fits" evtable="EVENTS" scfile=/scratch/kocevski/539076/ft2_4FGL_J1532.0+3016_daily_bin1117.fits sctable="SC_DATA" outfile=/scratch/kocevski/539076/ltcube_528854401_529113601_4FGL_J1532.0+3016_daily_bin1117.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/539076/ft2_4FGL_J1532.0+3016_daily_bin1117.fits
.....................!
real 13.53
user 13.16
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/539076/ft1_filtered_4FGL_J1532.0+3016_daily_bin1117.fits evtable="EVENTS" scfile=/scratch/kocevski/539076/ft2_4FGL_J1532.0+3016_daily_bin1117.fits sctable="SC_DATA" expcube=/scratch/kocevski/539076/ltcube_528854401_529113601_4FGL_J1532.0+3016_daily_bin1117.fits outfile=/scratch/kocevski/539076/expmap_528854401_529113601_4FGL_J1532.0+3016_daily_bin1117.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/539076/ltcube_528854401_529113601_4FGL_J1532.0+3016_daily_bin1117.fits
.....................!
real 190.03
user 184.57
sys 5.11

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

Setting source of interest to:
4FGL J1532.0+3016 @ 233.016 30.2685

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/539076/ft1_filtered_4FGL_J1532.0+3016_daily_bin1117.fits scfile=/scratch/kocevski/539076/ft2_4FGL_J1532.0+3016_daily_bin1117.fits outfile=/scratch/kocevski/539076/cmap_528854401_529113601_4FGL_J1532.0+3016_daily_bin1117.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.016 yref=30.2685 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/539076/ft1_filtered_4FGL_J1532.0+3016_daily_bin1117.fits scfile=/scratch/kocevski/539076/ft2_4FGL_J1532.0+3016_daily_bin1117.fits outfile=/scratch/kocevski/539076/cmap_HighResolution_528854401_529113601_4FGL_J1532.0+3016_daily_bin1117.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.016 yref=30.2685 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/539076/ft1_filtered_4FGL_J1532.0+3016_daily_bin1117.fits evtable="EVENTS" scfile=/scratch/kocevski/539076/ft2_4FGL_J1532.0+3016_daily_bin1117.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/539076/Model_4FGL_J1532.0+3016_daily_bin1117.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/539076/ft1_filtered_4FGL_J1532.0+3016_daily_bin1117.fits.....................!
real 47.89
user 46.59
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/539076/ft1_filtered_4FGL_J1532.0+3016_daily_bin1117.fits', '/scratch/kocevski/539076/ft2_4FGL_J1532.0+3016_daily_bin1117.fits', expMap='/scratch/kocevski/539076/expmap_528854401_529113601_4FGL_J1532.0+3016_daily_bin1117.fits', expCube='/scratch/kocevski/539076/ltcube_528854401_529113601_4FGL_J1532.0+3016_daily_bin1117.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/539076/Model_4FGL_J1532.0+3016_daily_bin1117.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1532.0+3016'

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  5.502e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  1.923e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  2.847e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/539076/ft1_filtered_4FGL_J1532.0+3016_daily_bin1117.fits
Spacecraft file(s): /scratch/kocevski/539076/ft2_4FGL_J1532.0+3016_daily_bin1117.fits
Exposure map: /scratch/kocevski/539076/expmap_528854401_529113601_4FGL_J1532.0+3016_daily_bin1117.fits
Exposure cube: /scratch/kocevski/539076/ltcube_528854401_529113601_4FGL_J1532.0+3016_daily_bin1117.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/539076/Model_4FGL_J1532.0+3016_daily_bin1117.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) = 6150.94643975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.833       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .18360E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10297E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.4561       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13977E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.5119       1.0000         .10000E-03   10000.    
     8 'Prefactor '    79.831       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.9390       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.890       1.0000         .10000E-03   10000.    
    11 'norm      '    3.0602       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.5632       1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.438       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .19182E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.4794       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .37225       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .20385E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.3750       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .80159       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0148       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6150.946     FROM MIGRAD    STATUS=CONVERGED    457 CALLS     2042 TOTAL
                     EDM=   .69E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.847        6.8199        .12024E-07    .38552E-05
   2  Prefactor     .10000E-03    21.389       -.58854E-07** at limit **
   3  norm          .10000E-03    4.2052       -.14609E-07** at limit **
   4  Prefactor     .10000E-03    5.0262       -.27275E-07** at limit **
   5  Prefactor     6.4746        7.9143        .37842E-07    .16312E-05
   6  Prefactor     .10000E-03    2.6963        .36174E-07** at limit **
   7  norm          2.5149        1.6713        .31790E-07   -.99862E-05
   8  Prefactor     79.342        77.273        .79262E-06    .79544E-07
   9  Prefactor     7.9080        51.796       -.80307E-05    .12580E-05
  10  Prefactor     12.912        8.9077       -.41770E-08    .81950E-05
  11  norm          3.0631        1.3899       -.19028E-06    .91083E-05
  12  Prefactor     4.5122        8.2257        .17405E-05    .49563E-05
  13  Prefactor     29.267        27.427       -.30404E-06   -.38613E-07
  14  Prefactor     .10000E-03    8.6199       -.22493E-07** at limit **
  15  norm          1.4643        11.328        .44306E-06   -.39913E-05
  16  Prefactor     .37184        1.0919        .10624E-06   -.74479E-05
  17  Prefactor     .10000E-03    11.848       -.13593E-06** at limit **
  18  Prefactor     2.3716        2.4361       -.15817E-07   -.30259E-05
  19  Normalizat    .80179        .17694        .32327E-06    .15143E-04
  20  Prefactor     1.0148        .13595       -.38292E-07    .11527E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.8473
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.47463
  Prefactor  = 0.0001
  norm       = 2.51485
  Prefactor  = 79.3416
  Prefactor  = 7.90796
  Prefactor  = 12.9124
  norm       = 3.06312
  Prefactor  = 4.51224
  Prefactor  = 29.2672
  Prefactor  = 0.0001
  norm       = 1.46426
  Prefactor  = 0.371844
  Prefactor  = 0.0001
  Prefactor  = 2.37165
  Normalizat = 0.801791
  Prefactor  = 1.01479
 **********
 **   18 **HESSE 
 **********

 FCN=   6150.946     FROM HESSE     STATUS=OK           295 CALLS     2337 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.847        6.8199        .11645E-03   -1.5019    
   2  Prefactor     .10000E-03    21.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.2119        .15706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.0378        .17170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.4746        7.8943        .15795E-03   -1.5199    
   6  Prefactor     .10000E-03    2.7023        .12577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.5149        1.6665        .37478E-03   -1.5391    
   8  Prefactor     79.342        77.313        .44949E-04   -1.3924    
   9  Prefactor     7.9080        51.825        .14230E-03   -1.5145    
  10  Prefactor     12.912        8.9075        .11157E-03   -1.4989    
  11  norm          3.0631        1.3917        .52601E-04   -1.5358    
  12  Prefactor     4.5122        8.2490        .94222E-03   -1.5283    
  13  Prefactor     29.267        27.434        .73842E-04   -1.4625    
  14  Prefactor     .10000E-03    8.6237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.4643        11.254        .35292E-03   -1.5466    
  16  Prefactor     .37184        1.0789        .13554E-03   -1.5586    
  17  Prefactor     .10000E-03    12.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.3716        2.4355        .11972E-03   -1.5400    
  19  Normalizat    .80179        .20816        .27587E-03   -1.0000    
  20  Prefactor     1.0148        .16034        .19620E-03   -.92238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94643e-12
Minuit parameter uncertainties:
  1  6.82039
  2  9.8482e-06
  3  1.28187e-06
  4  2.46949e-06
  5  7.89553
  6  1.76533e-06
  7  1.66655
  8  77.4111
  9  40.5393
  10  8.90842
  11  1.3917
  12  8.25104
  13  27.446
  14  5.88272e-06
  15  8.12084
  16  1.07897
  17  1.18962e-05
  18  2.4356
  19  0.208372
  20  0.160413
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  2.927e+01  2.745e+01  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  1.923e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  2.847e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.015e+00  1.604e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.018e-01  2.084e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.42
Ra Dec: 233.016 30.268
Photon Index (Fixed Index): 1.92 +/- 0.00
Photon Flux (Fixed Index): 1.98e-08 +/- 1.86e-08
Energy Flux (Fixed Index): 1.67e-05 +/- 1.57e-05

TS (Fixed Index): 2.42
Ra Dec: 233.016 30.268
Photon Flux Upper Limit: 6.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/539076/likelihoodResults_528854401_529113601_4FGL_J1532.0+3016_daily_bin1117.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) = 6150.87526734
delta logL = 0.0706297284551

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6150.87193762
delta logL = 0.0739594433444

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6150.872     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      284 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.391        33.925        .88649E-04    .74699E-03
   2  Index         2.1614        .73011        .60478E-02    .33760E-03
   3  Normalizat    .79718        .19879        .27656E-03   -.15876E-02
   4  Prefactor     1.0168        .15811        .19601E-03   -.24840E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.3909
  Index      = 2.16142
  Normalizat = 0.79718
  Prefactor  = 1.01676
 **********
 **   18 **HESSE 
 **********

 FCN=   6150.872     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.391        30.023        .17730E-04   -1.4805    
   2  Index         2.1614        .64679        .24191E-03   -.60373    
   3  Normalizat    .79718        .19880        .55311E-04   -1.0017    
   4  Prefactor     1.0168        .15816        .39201E-04   -.92173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54028e-09
Minuit parameter uncertainties:
  1  30.045
  2  0.649481
  3  0.198984
  4  0.158233
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/539076': 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) = 6150.87192441
delta logL = 0.0739726601323

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  2.039e+01  3.004e+01  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  2.161e+00  6.495e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  2.847e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.017e+00  1.582e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  7.972e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.57
Ra Dec: 233.016 30.268
Photon Index (Free Index): 2.16 +/- 0.65
Photon Flux (Free Index): 2.44e-08 +/- 2.43e-08
Energy Flux (Free Index): 1.18e-05 +/- 1.44e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/539076/cmap_HighResolution_528854401_529113601_4FGL_J1532.0+3016_daily_bin1117.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.10e-03', comment='SUCCESS', photon_flux='1.98e-08', energy_flux2='1.18e-05', photon_flux_error='1.86e-08', dlogl='7.40e-02', energy_flux='1.67e-05', photon_flux2='2.44e-08', job_status='DONE', time_completed='2021-09-12 03:52:40.713326', photon_index_error2='0.65', photon_index2='2.16', ts='2.42', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='6.84e-08', energy_flux_error2='1.44e-05', EG='0.80', time_epoch_completed='1631443960.71', return_code='0', job_id='539076', GAL2='1.02', EG2='0.80', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='2.43e-08', ts2='2.57', photon_index='1.92' WHERE bin_id='1117' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:52:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 539076: <4FGL_J1532.0+3016_daily_bin1117> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin1117> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 03:40:40 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:42:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 03:42:08 2021
Terminated at Sun Sep 12 03:52:41 2021
Results reported at Sun Sep 12 03:52:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1117 233.016 30.2685 528854401 529113601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1532.0+3016 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   605.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             329.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            721 sec.

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

