/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 221 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 = 7471
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1532.0+3016_daily_bin86
RA = 233.016, Dec = 30.2685
tmin = 261619201, tmax = 261878401
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='534365', job_status='RUN', time_executed='2021-09-12 03:29:20.069433', time_epoch_executed='1631442560.07' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='86'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534365

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534365/ft1_4FGL_J1532.0+3016_daily_bin86.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534365/ft2_4FGL_J1532.0+3016_daily_bin86.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534365/ft1_4FGL_J1532.0+3016_daily_bin86.fits outfile=/scratch/kocevski/534365/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin86.fits ra=233.016 dec=30.2685 rad=12.0 tmin=261619201.0 tmax=261878401.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 1.40
user 1.22
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/534365/ft2_4FGL_J1532.0+3016_daily_bin86.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/534365/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin86.fits evtable="EVENTS" outfile="/scratch/kocevski/534365/ft1_filtered_4FGL_J1532.0+3016_daily_bin86.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.48
user 0.31
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534365/ft1_filtered_4FGL_J1532.0+3016_daily_bin86.fits evtable="EVENTS" scfile=/scratch/kocevski/534365/ft2_4FGL_J1532.0+3016_daily_bin86.fits sctable="SC_DATA" expcube=/scratch/kocevski/534365/ltcube_261619201_261878401_4FGL_J1532.0+3016_daily_bin86.fits outfile=/scratch/kocevski/534365/expmap_261619201_261878401_4FGL_J1532.0+3016_daily_bin86.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/534365/ltcube_261619201_261878401_4FGL_J1532.0+3016_daily_bin86.fits
.....................!
real 190.75
user 185.28
sys 5.15

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/534365/ft1_filtered_4FGL_J1532.0+3016_daily_bin86.fits scfile=/scratch/kocevski/534365/ft2_4FGL_J1532.0+3016_daily_bin86.fits outfile=/scratch/kocevski/534365/cmap_261619201_261878401_4FGL_J1532.0+3016_daily_bin86.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534365/ft1_filtered_4FGL_J1532.0+3016_daily_bin86.fits scfile=/scratch/kocevski/534365/ft2_4FGL_J1532.0+3016_daily_bin86.fits outfile=/scratch/kocevski/534365/cmap_HighResolution_261619201_261878401_4FGL_J1532.0+3016_daily_bin86.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.58
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11482E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.3743       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.2533       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.6313       1.0000         .10000E-03   10000.    
     7 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    38.630       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10912E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    17.469       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .22705E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13314E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0101       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .90801       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=   6868.888     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2121 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.6085        .27701E-07** at limit **
   2  Prefactor     .10000E-03    35.677        .34360E-04** at limit **
   3  norm          7.3500        7.1002        .41065E-05    .90877E-04
   4  Prefactor     1.3060        41.929       -.10735E-04   -.26905E-03
   5  Prefactor     .10000E-03    2.8833        .22059E-05** at limit **
   6  Prefactor     8.6352        7.5609       -.52519E-06   -.46805E-04
   7  norm          .10000E-03    .38847        .14419E-06** at limit **
   8  Prefactor     38.607        64.836       -.32746E-04    .34111E-05
   9  Prefactor     .10000E-03    21.384       -.63160E-05** at limit **
  10  Prefactor     .10000E-03    2.9230       -.23540E-05** at limit **
  11  norm          17.469        2.3722        .72714E-07    .95673E-03
  12  Prefactor     .10000E-03    12.506       -.48213E-06** at limit **
  13  Prefactor     .10000E-03    44.650       -.35223E-04** at limit **
  14  Prefactor     .10000E-03    4.9608       -.30377E-06** at limit **
  15  norm          .10000E-03    3.3722        .27090E-06** at limit **
  16  Prefactor     .10000E-03    1.2722       -.22994E-07** at limit **
  17  Prefactor     .10000E-03    4.3448        .11176E-06** at limit **
  18  Prefactor     .10000E-03    1.4139       -.18758E-06** at limit **
  19  Normalizat    1.0100        .18147        .31294E-05   -.30164E-04
  20  Prefactor     .90807        .13080       -.73687E-06    .27008E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.35005
  Prefactor  = 1.30599
  Prefactor  = 0.0001
  Prefactor  = 8.63521
  norm       = 0.0001
  Prefactor  = 38.6071
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.4688
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.00997
  Prefactor  = 0.908065
 **********
 **   18 **HESSE 
 **********

 FCN=   6868.888     FROM HESSE     STATUS=OK           281 CALLS     2402 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.6118        .10265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    35.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.3500        7.0966        .14770E-03   -1.5166    
   4  Prefactor     1.3060        43.605        .39917E-03   -1.5479    
   5  Prefactor     .10000E-03    2.8984        .13746E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.6352        7.5604        .13644E-03   -1.5120    
   7  norm          .10000E-03    .39128        .50425E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     38.607        64.747        .64487E-04   -1.4464    
   9  Prefactor     .10000E-03    21.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.9333        .13838E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          17.469        2.3773        .44203E-04   -1.4872    
  12  Prefactor     .10000E-03    12.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    44.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.9627        .18028E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.3745        .14864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.3004        .91214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.3583        .16869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.4344        .19122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0100        .20846        .26978E-03   -.92697    
  20  Prefactor     .90807        .15147        .21449E-03   -.95860    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54277e-09
Minuit parameter uncertainties:
  1  1.7641e-06
  2  0.000123989
  3  7.09741
  4  15.1041
  5  1.22805e-05
  6  7.56124
  7  7.96775e-06
  8  64.8647
  9  1.20704e-05
  10  3.47779e-06
  11  2.37726
  12  6.21155e-07
  13  5.0848e-05
  14  5.50444e-06
  15  3.70926e-06
  16  5.11599e-06
  17  8.12466e-06
  18  2.41171e-05
  19  0.208633
  20  0.151542
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  5.085e-05  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.081e-01  1.515e-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.010e+00  2.086e-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: 6.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/534365/likelihoodResults_261619201_261878401_4FGL_J1532.0+3016_daily_bin86.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) = 6868.88850144
delta logL = -0.000106600336039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6868.88839578
delta logL = -9.39630808716e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20287E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9881       1.0000          .0000       10.000    
     3 'Normalizat'    1.0100       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90806       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=   6868.888     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      229 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1006.2        .90712E-02** at limit **
   2  Index         2.0286        8.7600        .50000       -.69580E-05
   3  Normalizat    1.0100        .20538E-01    .46292E-01    .61362E-04
   4  Prefactor     .90806        .15652E-01    .45108E-01   -.11936E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.02863
  Normalizat = 1.00998
  Prefactor  = 0.908062
 **********
 **   18 **HESSE 
 **********

 FCN=   6868.888     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      262 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6865.5        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0286        7.3364        .50000       -.63636    
   3  Normalizat    1.0100        .45305E-01    .26978E-03   -.92697    
   4  Prefactor     .90806        .34531E-01    .21450E-03   -.95860    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.09447e-09
Minuit parameter uncertainties:
  1  0.00218476
  2  36.7373
  3  0.0453066
  4  0.0345318
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534365': 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) = 6868.88839467
delta logL = 1.71538886207e-07

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  2.185e-03  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  2.029e+00  3.674e+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:  9.081e-01  3.453e-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:  1.010e+00  4.531e-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/534365/cmap_HighResolution_261619201_261878401_4FGL_J1532.0+3016_daily_bin86.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.22e-08', time_completed='2021-09-12 03:39:55.234790', job_id='534365', GAL2='0.91', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1631443195.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.72e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='86' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:39:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 534365: <4FGL_J1532.0+3016_daily_bin86> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin86 233.016 30.2685 261619201 261878401 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 :                                   633.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             266.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            867 sec.

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

