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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1008
RA = 233.016, Dec = 30.2685
tmin = 500601601, tmax = 500860801
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='538911', job_status='RUN', time_executed='2021-09-12 03:42:58.269543', time_epoch_executed='1631443378.27' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1008'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/538911

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/538911/ft1_4FGL_J1532.0+3016_daily_bin1008.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/538911/ft2_4FGL_J1532.0+3016_daily_bin1008.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/538911/ft1_4FGL_J1532.0+3016_daily_bin1008.fits outfile=/scratch/kocevski/538911/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1008.fits ra=233.016 dec=30.2685 rad=12.0 tmin=500601601.0 tmax=500860801.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.16
user 4.86
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/538911/ft1_filtered_4FGL_J1532.0+3016_daily_bin1008.fits" evtable="EVENTS" scfile=/scratch/kocevski/538911/ft2_4FGL_J1532.0+3016_daily_bin1008.fits sctable="SC_DATA" outfile=/scratch/kocevski/538911/ltcube_500601601_500860801_4FGL_J1532.0+3016_daily_bin1008.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/538911/ft2_4FGL_J1532.0+3016_daily_bin1008.fits
.....................!
real 14.12
user 13.76
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/538911/ft1_filtered_4FGL_J1532.0+3016_daily_bin1008.fits evtable="EVENTS" scfile=/scratch/kocevski/538911/ft2_4FGL_J1532.0+3016_daily_bin1008.fits sctable="SC_DATA" expcube=/scratch/kocevski/538911/ltcube_500601601_500860801_4FGL_J1532.0+3016_daily_bin1008.fits outfile=/scratch/kocevski/538911/expmap_500601601_500860801_4FGL_J1532.0+3016_daily_bin1008.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/538911/ltcube_500601601_500860801_4FGL_J1532.0+3016_daily_bin1008.fits
.....................!
real 191.05
user 186.63
sys 4.02

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/538911/ft1_filtered_4FGL_J1532.0+3016_daily_bin1008.fits scfile=/scratch/kocevski/538911/ft2_4FGL_J1532.0+3016_daily_bin1008.fits outfile=/scratch/kocevski/538911/cmap_500601601_500860801_4FGL_J1532.0+3016_daily_bin1008.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/538911/ft1_filtered_4FGL_J1532.0+3016_daily_bin1008.fits scfile=/scratch/kocevski/538911/ft2_4FGL_J1532.0+3016_daily_bin1008.fits outfile=/scratch/kocevski/538911/cmap_HighResolution_500601601_500860801_4FGL_J1532.0+3016_daily_bin1008.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.56
user 0.41
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/538911/ft1_filtered_4FGL_J1532.0+3016_daily_bin1008.fits', '/scratch/kocevski/538911/ft2_4FGL_J1532.0+3016_daily_bin1008.fits', expMap='/scratch/kocevski/538911/expmap_500601601_500860801_4FGL_J1532.0+3016_daily_bin1008.fits', expCube='/scratch/kocevski/538911/ltcube_500601601_500860801_4FGL_J1532.0+3016_daily_bin1008.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/538911/Model_4FGL_J1532.0+3016_daily_bin1008.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/538911/ft1_filtered_4FGL_J1532.0+3016_daily_bin1008.fits
Spacecraft file(s): /scratch/kocevski/538911/ft2_4FGL_J1532.0+3016_daily_bin1008.fits
Exposure map: /scratch/kocevski/538911/expmap_500601601_500860801_4FGL_J1532.0+3016_daily_bin1008.fits
Exposure cube: /scratch/kocevski/538911/ltcube_500601601_500860801_4FGL_J1532.0+3016_daily_bin1008.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/538911/Model_4FGL_J1532.0+3016_daily_bin1008.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) = 7046.66070744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8276       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    10.024       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.289       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.4805       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.6461       1.0000         .10000E-03   10000.    
     7 'norm      '    .27444       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10947E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11316E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.3045       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11641E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .67238E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.543       1.0000         .10000E-03   10000.    
    15 'norm      '    .27901E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.7991       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29652       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1144       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94717       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=   7046.651     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2458 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8265        5.2157        .33485E-07    .15797E-04
   2  Prefactor     .10000E-03    18.390       -.94604E-07** at limit **
   3  norm          10.019        9.4011        .64767E-06    .22289E-03
   4  Prefactor     11.289        15.350       -.13427E-08    .49514E-04
   5  Prefactor     2.4801        4.8887        .14002E-05    .53798E-04
   6  Prefactor     6.6495        9.8153        .16795E-06    .47048E-04
   7  norm          .27881        1.4785       -.23521E-06   -.18126E-03
   8  Prefactor     .10000E-03    66.718        .12447E-05** at limit **
   9  Prefactor     .10000E-03    72.857       -.14036E-05** at limit **
  10  Prefactor     .10000E-03    5.5620       -.44726E-07** at limit **
  11  norm          2.3048        1.5043        .11054E-06    .11644E-02
  12  Prefactor     .10000E-03    8.1424       -.18020E-05** at limit **
  13  Prefactor     .10016E-03    50.948        .28667E-06** at limit **
  14  Prefactor     10.527        13.664        .17991E-05   -.17177E-03
  15  norm          .10001E-03    14.484        .24346E-05** at limit **
  16  Prefactor     .10000E-03    1.1992       -.29315E-07** at limit **
  17  Prefactor     2.7975        7.7622        .21620E-05    .35930E-04
  18  Prefactor     .28686        1.6973       -.36494E-06   -.11741E-03
  19  Normalizat    1.1145        .18488        .39668E-06    .19900E-03
  20  Prefactor     .94708        .12861       -.29360E-06    .22291E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.82648
  Prefactor  = 0.0001
  norm       = 10.0191
  Prefactor  = 11.2893
  Prefactor  = 2.48009
  Prefactor  = 6.64949
  norm       = 0.278814
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.30483
  Prefactor  = 0.000100001
  Prefactor  = 0.00010016
  Prefactor  = 10.5272
  norm       = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 2.79755
  Prefactor  = 0.286856
  Normalizat = 1.11454
  Prefactor  = 0.94708
 **********
 **   18 **HESSE 
 **********

 FCN=   7046.651     FROM HESSE     STATUS=OK           311 CALLS     2769 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8265        5.2115        .18309E-03   -1.5269    
   2  Prefactor     .10000E-03    18.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          10.019        9.3550        .12656E-03   -1.5075    
   4  Prefactor     11.289        15.337        .11923E-03   -1.5036    
   5  Prefactor     2.4801        5.0578        .12963E-02   -1.5393    
   6  Prefactor     6.6495        9.8109        .15566E-03   -1.5192    
   7  norm          .27881        3.0557        .18632E-02   -1.5602    
   8  Prefactor     .10000E-03    66.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    73.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.5993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.3048        1.3514        .69233E-04   -1.5404    
  12  Prefactor     .10000E-03    33.894        .36147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10016E-03    42.958        .14710       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.527        13.668        .12340E-03   -1.5059    
  15  norm          .10001E-03    45.256        .44188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.2209        .89639E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.7975        8.0815        .12158E-02   -1.5373    
  18  Prefactor     .28686        7.2715        .20638E-02   -1.5601    
  19  Normalizat    1.1145        .22083        .26323E-03   -.89286    
  20  Prefactor     .94708        .15440        .20624E-03   -.94515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.65912e-08
Minuit parameter uncertainties:
  1  5.21201
  2  2.22783e-05
  3  9.35634
  4  15.3425
  5  5.05865
  6  9.81327
  7  1.84583
  8  0.000256643
  9  0.000290356
  10  5.53716e-06
  11  1.35138
  12  0.000277026
  13  0.00524231
  14  13.6723
  15  0.00099686
  16  7.09562e-07
  17  8.08466
  18  2.8884
  19  0.22101
  20  0.154477
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.002e-04  5.242e-03  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:  9.471e-01  1.545e-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:  1.115e+00  2.210e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/538911/likelihoodResults_500601601_500860801_4FGL_J1532.0+3016_daily_bin1008.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) = 7046.65099857
delta logL = -4.66425899504e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7046.65099857
delta logL = -4.66181700176e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96367E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9235       1.0000          .0000       10.000    
     3 'Normalizat'    1.1145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94708       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.

 FCN=   7045.377     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      292 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6736        15.828        .90712E-02    .38365E-02
   2  Index         3.5539        1.6415        .84700E-01    .78301E-03
   3  Normalizat    1.0021        .48429E-01    .62258E-01    .52021E-03
   4  Prefactor     .99005        .34933E-01    .45602E-01    .65808E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.67361
  Index      = 3.55386
  Normalizat = 1.00209
  Prefactor  = 0.990045
 **********
 **   18 **HESSE 
 **********

 FCN=   7045.377     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      321 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6736        35.140        .69582E-04   -1.5449    
   2  Index         3.5539        2.9391        .30576E-02   -.29342    
   3  Normalizat    1.0021        .19641        .27540E-03   -.92960    
   4  Prefactor     .99005        .14034        .20201E-03   -.93062    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19404e-09
Minuit parameter uncertainties:
  1  15.3474
  2  3.16465
  3  0.196547
  4  0.140395
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/538911': 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) = 7045.3768775
delta logL = 1.27411640855

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.674e+00  1.535e+01  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  3.554e+00  3.165e+00  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:  9.900e-01  1.404e-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:  1.002e+00  1.965e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.75
Ra Dec: 233.016 30.268
Photon Index (Free Index): 3.55 +/- 3.16
Photon Flux (Free Index): 9.69e-08 +/- 6.91e-08
Energy Flux (Free Index): 1.59e-05 +/- 1.43e-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/538911/cmap_HighResolution_500601601_500860801_4FGL_J1532.0+3016_daily_bin1008.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.34e-03', comment='SUCCESS', energy_flux2='1.59e-05', dlogl='1.27e+00', photon_flux2='9.69e-08', job_status='DONE', time_completed='2021-09-12 03:54:33.419774', photon_index_error2='3.16', photon_index2='3.55', ts='-0.00', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='7.16e-08', energy_flux_error2='1.43e-05', EG='1.11', time_epoch_completed='1631444073.42', return_code='0', job_id='538911', GAL2='0.99', EG2='1.00', return_code2='102', photon_flux_error2='6.91e-08', ts2='2.75', photon_index='1.92' WHERE bin_id='1008' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:54:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 538911: <4FGL_J1532.0+3016_daily_bin1008> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin1008> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 03:40:30 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:41:11 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:41:11 2021
Terminated at Sun Sep 12 03:54:33 2021
Results reported at Sun Sep 12 03:54:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1008 233.016 30.2685 500601601 500860801 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 :                                   688.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             318.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            843 sec.

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

