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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1405
RA = 233.016, Dec = 30.2685
tmin = 603504001, tmax = 603763201
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='540563', job_status='RUN', time_executed='2021-09-12 03:46:40.145943', time_epoch_executed='1631443600.15' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1405'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/540563

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/540563/ft1_4FGL_J1532.0+3016_daily_bin1405.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/540563/ft2_4FGL_J1532.0+3016_daily_bin1405.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/540563/ft1_4FGL_J1532.0+3016_daily_bin1405.fits outfile=/scratch/kocevski/540563/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1405.fits ra=233.016 dec=30.2685 rad=12.0 tmin=603504001.0 tmax=603763201.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.72
user 2.52
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/540563/ft2_4FGL_J1532.0+3016_daily_bin1405.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/540563/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1405.fits evtable="EVENTS" outfile="/scratch/kocevski/540563/ft1_filtered_4FGL_J1532.0+3016_daily_bin1405.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.49
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/540563/ft1_filtered_4FGL_J1532.0+3016_daily_bin1405.fits" evtable="EVENTS" scfile=/scratch/kocevski/540563/ft2_4FGL_J1532.0+3016_daily_bin1405.fits sctable="SC_DATA" outfile=/scratch/kocevski/540563/ltcube_603504001_603763201_4FGL_J1532.0+3016_daily_bin1405.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/540563/ft2_4FGL_J1532.0+3016_daily_bin1405.fits
.....................!
real 14.38
user 14.00
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/540563/ft1_filtered_4FGL_J1532.0+3016_daily_bin1405.fits evtable="EVENTS" scfile=/scratch/kocevski/540563/ft2_4FGL_J1532.0+3016_daily_bin1405.fits sctable="SC_DATA" expcube=/scratch/kocevski/540563/ltcube_603504001_603763201_4FGL_J1532.0+3016_daily_bin1405.fits outfile=/scratch/kocevski/540563/expmap_603504001_603763201_4FGL_J1532.0+3016_daily_bin1405.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/540563/ltcube_603504001_603763201_4FGL_J1532.0+3016_daily_bin1405.fits
.....................!
real 190.61
user 185.40
sys 4.89

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/540563/ft1_filtered_4FGL_J1532.0+3016_daily_bin1405.fits scfile=/scratch/kocevski/540563/ft2_4FGL_J1532.0+3016_daily_bin1405.fits outfile=/scratch/kocevski/540563/cmap_603504001_603763201_4FGL_J1532.0+3016_daily_bin1405.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.53
user 0.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/540563/ft1_filtered_4FGL_J1532.0+3016_daily_bin1405.fits scfile=/scratch/kocevski/540563/ft2_4FGL_J1532.0+3016_daily_bin1405.fits outfile=/scratch/kocevski/540563/cmap_HighResolution_603504001_603763201_4FGL_J1532.0+3016_daily_bin1405.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.130       1.0000         .10000E-03   10000.    
     3 'norm      '    5.9633       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0087       1.0000         .10000E-03   10000.    
     7 'norm      '    .94708       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .40688E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.7731       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0729       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .60979       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .99023       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0263       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=   7776.785     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     2080 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.5366       -.24991E-06** at limit **
   2  Prefactor     15.123        35.556       -.96475E-05    .55092E-05
   3  norm          5.9635        5.9451        .10314E-06    .13918E-03
   4  Prefactor     .10000E-03    9.4178       -.19041E-05** at limit **
   5  Prefactor     .10000E-03    2.5458       -.14922E-06** at limit **
   6  Prefactor     3.0073        7.5143       -.13823E-05   -.29809E-03
   7  norm          .94670        1.2680       -.31454E-06   -.14676E-02
   8  Prefactor     .10000E-03    21.851        .19212E-05** at limit **
   9  Prefactor     .10000E-03    130.41       -.61454E-05** at limit **
  10  Prefactor     3.7730        7.7119       -.11448E-05   -.26017E-03
  11  norm          1.0733        1.0657       -.29561E-06   -.19384E-02
  12  Prefactor     .10000E-03    10.825        .44962E-05** at limit **
  13  Prefactor     .10000E-03    11.708       -.21385E-05** at limit **
  14  Prefactor     .10000E-03    4.9109       -.13219E-06** at limit **
  15  norm          .10000E-03    8.2221        .37415E-06** at limit **
  16  Prefactor     .10000E-03    .47588        .34931E-07** at limit **
  17  Prefactor     .58412        7.6888       -.46950E-05    .77676E-03
  18  Prefactor     .10000E-03    1.6549        .11838E-07** at limit **
  19  Normalizat    .99001        .16510        .15897E-05    .38856E-03
  20  Prefactor     1.0266        .12355        .46062E-06    .71389E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 15.1225
  norm       = 5.96347
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.0073
  norm       = 0.9467
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.77301
  norm       = 1.0733
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.584125
  Prefactor  = 0.0001
  Normalizat = 0.990014
  Prefactor  = 1.02658
 **********
 **   18 **HESSE 
 **********

 FCN=   7776.785     FROM HESSE     STATUS=OK           289 CALLS     2369 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5492        .13715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.123        35.570        .10297E-03   -1.4930    
   3  norm          5.9635        5.9521        .16443E-03   -1.5220    
   4  Prefactor     .10000E-03    9.5133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.5505        .13733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.0073        7.6612        .23399E-03   -1.5361    
   7  norm          .94670        1.1653        .11207E-02   -1.5513    
   8  Prefactor     .10000E-03    21.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    133.88        .42512E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.7730        7.8054        .20783E-03   -1.5319    
  11  norm          1.0733        1.0637        .86820E-04   -1.5501    
  12  Prefactor     .10000E-03    11.009        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.9144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    8.3039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .47815        .59390E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .58412        27.726        .42210E-02   -1.5555    
  18  Prefactor     .10000E-03    1.7061        .22141E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .99001        .19303        .26114E-03   -.93366    
  20  Prefactor     1.0266        .14597        .19775E-03   -.91849    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.58432e-09
Minuit parameter uncertainties:
  1  1.89241e-07
  2  35.6201
  3  5.95269
  4  1.8197e-05
  5  1.55977e-06
  6  7.66373
  7  1.16534
  8  5.61581e-07
  9  0.000170639
  10  7.80749
  11  1.06371
  12  1.59022e-05
  13  5.32638e-06
  14  3.80009e-06
  15  1.76629e-05
  16  4.78156e-07
  17  8.05197
  18  8.58596e-06
  19  0.19317
  20  0.146023
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  5.326e-06  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.027e+00  1.460e-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:  9.900e-01  1.932e-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: 3.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/540563/likelihoodResults_603504001_603763201_4FGL_J1532.0+3016_daily_bin1405.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) = 7776.78506711
delta logL = -0.000407460674069

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7776.78465957
delta logL = 7.23721313989e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9025       1.0000          .0000       10.000    
     3 'Normalizat'    .99002       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0266       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=   7776.785     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      238 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10198E-03    154.20        .18142E-02** at limit **
   2  Index         1.8128        6.9741        .50000        .96163E-05
   3  Normalizat    .99002        .14243E-01    .26114E-03   -.10244E-03
   4  Prefactor     1.0266        .11019E-01    .19775E-03   -.37616E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101984
  Index      = 1.81281
  Normalizat = 0.990017
  Prefactor  = 1.02658
 **********
 **   18 **HESSE 
 **********

 FCN=   7776.785     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10198E-03    705.46        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8128        8.5453        .50000       -.69117    
   3  Normalizat    .99002        .32485E-01    .10446E-04   -.93366    
   4  Prefactor     1.0266        .25119E-01    .39549E-04   -.91849    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.7418e-08
Minuit parameter uncertainties:
  1  0.0757412
  2  1247.4
  3  0.0324855
  4  0.0251189
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/540563': 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) = 7776.78465939
delta logL = 2.53908183367e-07

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.020e-04  7.574e-02  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  1.813e+00  1.247e+03  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.027e+00  2.512e-02  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:  9.900e-01  3.249e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 233.016 30.268

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/540563/cmap_HighResolution_603504001_603763201_4FGL_J1532.0+3016_daily_bin1405.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.77e-03', job_status='DONE', photon_flux_upper_limit='3.72e-08', time_completed='2021-09-12 03:57:55.221642', job_id='540563', GAL2='1.03', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1631444275.22', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.54e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1405' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:57:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 540563: <4FGL_J1532.0+3016_daily_bin1405> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin1405> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 03:45:28 2021
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:46:30 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:46:30 2021
Terminated at Sun Sep 12 03:57:55 2021
Results reported at Sun Sep 12 03:57:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1405 233.016 30.2685 603504001 603763201 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 :                                   667.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            747 sec.

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

