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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1183
RA = 233.016, Dec = 30.2685
tmin = 545961601, tmax = 546220801
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='539174', job_status='RUN', time_executed='2021-09-12 03:45:02.634708', time_epoch_executed='1631443502.63' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1183'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/539174

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/539174/ft1_4FGL_J1532.0+3016_daily_bin1183.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/539174/ft2_4FGL_J1532.0+3016_daily_bin1183.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/539174/ft1_4FGL_J1532.0+3016_daily_bin1183.fits outfile=/scratch/kocevski/539174/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1183.fits ra=233.016 dec=30.2685 rad=12.0 tmin=545961601.0 tmax=546220801.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 4.30
user 3.80
sys 0.46

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/539174/ft2_4FGL_J1532.0+3016_daily_bin1183.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/539174/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1183.fits evtable="EVENTS" outfile="/scratch/kocevski/539174/ft1_filtered_4FGL_J1532.0+3016_daily_bin1183.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/539174/ft1_filtered_4FGL_J1532.0+3016_daily_bin1183.fits evtable="EVENTS" scfile=/scratch/kocevski/539174/ft2_4FGL_J1532.0+3016_daily_bin1183.fits sctable="SC_DATA" expcube=/scratch/kocevski/539174/ltcube_545961601_546220801_4FGL_J1532.0+3016_daily_bin1183.fits outfile=/scratch/kocevski/539174/expmap_545961601_546220801_4FGL_J1532.0+3016_daily_bin1183.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/539174/ltcube_545961601_546220801_4FGL_J1532.0+3016_daily_bin1183.fits
.....................!
real 191.94
user 185.80
sys 5.76

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/539174/ft1_filtered_4FGL_J1532.0+3016_daily_bin1183.fits scfile=/scratch/kocevski/539174/ft2_4FGL_J1532.0+3016_daily_bin1183.fits outfile=/scratch/kocevski/539174/cmap_545961601_546220801_4FGL_J1532.0+3016_daily_bin1183.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/539174/ft1_filtered_4FGL_J1532.0+3016_daily_bin1183.fits scfile=/scratch/kocevski/539174/ft2_4FGL_J1532.0+3016_daily_bin1183.fits outfile=/scratch/kocevski/539174/cmap_HighResolution_545961601_546220801_4FGL_J1532.0+3016_daily_bin1183.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.749       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    120.24       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.180       1.0000         .10000E-03   10000.    
     7 'norm      '    .42899E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15335E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    105.03       1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.399       1.0000         .10000E-03   10000.    
    11 'norm      '    36.318       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11178E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10485E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.0110       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10647E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12048E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .10073E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95796       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=   671.5556     FROM MIGRAD    STATUS=CONVERGED    379 CALLS     2375 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.761        17.730       -.15719E-05    .24764E-04
   2  Prefactor     .10002E-03    265.15        .18598E-03** at limit **
   3  norm          .10000E-03    73.991        .46138E-04** at limit **
   4  Prefactor     120.32        184.58        .62362E-04   -.19052E-03
   5  Prefactor     .10000E-03    131.68       -.20518E-04** at limit **
   6  Prefactor     21.195        24.190        .29318E-05    .11282E-03
   7  norm          .10017E-03    301.56        .11768E-03** at limit **
   8  Prefactor     .10000E-03    6494.7       -.58576E-03** at limit **
   9  Prefactor     104.96        113.62       -.49372E-04    .62206E-04
  10  Prefactor     24.442        45.605        .52997E-05    .70196E-04
  11  norm          36.312        19.266       -.42206E-05   -.33347E-03
  12  Prefactor     .10000E-03    62.524       -.14320E-04** at limit **
  13  Prefactor     .10000E-03    157.73        .11054E-03** at limit **
  14  Prefactor     .10000E-03    1392.8       -.12027E-02** at limit **
  15  norm          .10000E-03    865.03       -.82662E-03** at limit **
  16  Prefactor     5.0221        18.123       -.50758E-05    .17336E-03
  17  Prefactor     .10000E-03    110.59       -.12280E-03** at limit **
  18  Prefactor     .10000E-03    2182.8       -.14637E-02** at limit **
  19  Normalizat    .10000E-01    1.0977       -.64991E-05** at limit **
  20  Prefactor     .95867        .28933        .10522E-04    .22069E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 24.7611
  Prefactor  = 0.00010002
  norm       = 0.0001
  Prefactor  = 120.316
  Prefactor  = 0.000100003
  Prefactor  = 21.1948
  norm       = 0.000100166
  Prefactor  = 0.000100001
  Prefactor  = 104.963
  Prefactor  = 24.4418
  norm       = 36.312
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.02211
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.958668
 **********
 **   18 **HESSE 
 **********

 FCN=   671.5556     FROM HESSE     STATUS=OK           277 CALLS     2652 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.761        17.690        .80520E-04   -1.4712    
   2  Prefactor     .10002E-03    264.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    73.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     120.32        181.89        .18350E-03   -1.3510    
   5  Prefactor     .10000E-03    131.66        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     21.195        24.189        .87031E-04   -1.4787    
   7  norm          .10017E-03    301.63        .19406E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6494.8        .20453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     104.96        112.82        .19619E-03   -1.3655    
  10  Prefactor     24.442        45.554        .81095E-04   -1.4719    
  11  norm          36.312        19.227        .66502E-04   -1.4502    
  12  Prefactor     .10000E-03    62.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    157.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1393.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    865.56        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.0221        18.073        .17964E-03   -1.5260    
  17  Prefactor     .10000E-03    111.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2184.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .10000E-01    1.4676        .12536E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95867        .26254        .17792E-03   -.94120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15135e-09
Minuit parameter uncertainties:
  1  17.6941
  2  0.00462807
  3  0.000382948
  4  182.747
  5  0.00125063
  6  24.2006
  7  0.0142114
  8  0.0026071
  9  113.057
  10  45.6188
  11  19.2305
  12  5.19056e-06
  13  8.28246e-05
  14  5.56603e-05
  15  5.4797e-06
  16  18.0924
  17  0.000456006
  18  5.00909e-05
  19  2.3863e-05
  20  0.262886
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  8.282e-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.587e-01  2.629e-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.000e-02  2.386e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 233.016 30.268
Photon Flux Upper Limit: 5.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/539174/likelihoodResults_545961601_546220801_4FGL_J1532.0+3016_daily_bin1183.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) = 671.555678982
delta logL = -3.29417258627e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 671.555647448
delta logL = -1.40848499086e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1223       1.0000          .0000       10.000    
     3 'Normalizat'    .10003E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95847       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=   671.5556     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      251 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    112.96        .90712E-02** at limit **
   2  Index         2.0914        8.9461        .50000        .18795E-05
   3  Normalizat    .10000E-01    .10515E-02    .22933    ** at limit **
   4  Prefactor     .95866        .85650E-02    .45746E-01    .24265E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.09145
  Normalizat = 0.01
  Prefactor  = 0.958665
 **********
 **   18 **HESSE 
 **********

 FCN=   671.5556     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      282 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    556.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0914        7.2591        .50000       -.62083    
   3  Normalizat    .10000E-01    .13284E-01    .12549E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .95866        .19222E-01    .17792E-03   -.94120    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.92213e-08
Minuit parameter uncertainties:
  1  0.00116891
  2  379.446
  3  8.45754e-09
  4  0.0192218
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/539174': 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) = 671.555646102
delta logL = -6.23090272711e-08

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.169e-03  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  2.091e+00  3.794e+02  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.587e-01  1.922e-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.000e-02  8.458e-09  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/539174/cmap_HighResolution_545961601_546220801_4FGL_J1532.0+3016_daily_bin1183.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.04e-02', job_status='DONE', photon_flux_upper_limit='5.42e-07', time_completed='2021-09-12 03:52:46.900592', job_id='539174', GAL2='0.96', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1631443966.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-6.23e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1183' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:52:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 539174: <4FGL_J1532.0+3016_daily_bin1183> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin1183> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 03:40:47 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:42:35 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:35 2021
Terminated at Sun Sep 12 03:52:47 2021
Results reported at Sun Sep 12 03:52:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1183 233.016 30.2685 545961601 546220801 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 :                                   355.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   613 sec.
    Turnaround time :                            720 sec.

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

