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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1475
RA = 233.016, Dec = 30.2685
tmin = 621648001, tmax = 621907201
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='540665', job_status='RUN', time_executed='2021-09-12 03:51:04.410348', time_epoch_executed='1631443864.41' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1475'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/540665

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/540665/ft1_4FGL_J1532.0+3016_daily_bin1475.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/540665/ft2_4FGL_J1532.0+3016_daily_bin1475.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/540665/ft1_4FGL_J1532.0+3016_daily_bin1475.fits outfile=/scratch/kocevski/540665/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1475.fits ra=233.016 dec=30.2685 rad=12.0 tmin=621648001.0 tmax=621907201.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.03
user 3.75
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/540665/ft2_4FGL_J1532.0+3016_daily_bin1475.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/540665/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1475.fits evtable="EVENTS" outfile="/scratch/kocevski/540665/ft1_filtered_4FGL_J1532.0+3016_daily_bin1475.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.41
user 0.26
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/540665/ft1_filtered_4FGL_J1532.0+3016_daily_bin1475.fits" evtable="EVENTS" scfile=/scratch/kocevski/540665/ft2_4FGL_J1532.0+3016_daily_bin1475.fits sctable="SC_DATA" outfile=/scratch/kocevski/540665/ltcube_621648001_621907201_4FGL_J1532.0+3016_daily_bin1475.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/540665/ft2_4FGL_J1532.0+3016_daily_bin1475.fits
.....................!
real 9.19
user 8.85
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/540665/ft1_filtered_4FGL_J1532.0+3016_daily_bin1475.fits evtable="EVENTS" scfile=/scratch/kocevski/540665/ft2_4FGL_J1532.0+3016_daily_bin1475.fits sctable="SC_DATA" expcube=/scratch/kocevski/540665/ltcube_621648001_621907201_4FGL_J1532.0+3016_daily_bin1475.fits outfile=/scratch/kocevski/540665/expmap_621648001_621907201_4FGL_J1532.0+3016_daily_bin1475.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/540665/ltcube_621648001_621907201_4FGL_J1532.0+3016_daily_bin1475.fits
.....................!
real 143.71
user 139.18
sys 3.67

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/540665/ft1_filtered_4FGL_J1532.0+3016_daily_bin1475.fits scfile=/scratch/kocevski/540665/ft2_4FGL_J1532.0+3016_daily_bin1475.fits outfile=/scratch/kocevski/540665/cmap_621648001_621907201_4FGL_J1532.0+3016_daily_bin1475.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.46
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/540665/ft1_filtered_4FGL_J1532.0+3016_daily_bin1475.fits scfile=/scratch/kocevski/540665/ft2_4FGL_J1532.0+3016_daily_bin1475.fits outfile=/scratch/kocevski/540665/cmap_HighResolution_621648001_621907201_4FGL_J1532.0+3016_daily_bin1475.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.46
user 0.30
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10077E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.626       1.0000         .10000E-03   10000.    
     3 'norm      '    1.5011       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .26923E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.233       1.0000         .10000E-03   10000.    
     7 'norm      '    2.9178       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .87864       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11283E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.952       1.0000         .10000E-03   10000.    
    11 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.6635       1.0000         .10000E-03   10000.    
    15 'norm      '    13.996       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.5569       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1226       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96373       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=   5725.343     FROM MIGRAD    STATUS=CONVERGED    753 CALLS     2451 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.496        .30561E-02** at limit **
   2  Prefactor     21.621        37.373        .86130E-04   -.12803E-04
   3  norm          1.5010        5.1011        .15512E-02    .14563E-02
   4  Prefactor     .10000E-03    7.0881        .18142E-02** at limit **
   5  Prefactor     .10008E-03    22.152        .33028E-02** at limit **
   6  Prefactor     18.232        10.932        .93797E-04   -.64045E-04
   7  norm          2.9170        1.6259        .68277E-04    .46972E-03
   8  Prefactor     .75628        52.783        .17446        .21094E-03
   9  Prefactor     .10000E-03    262.56        .18142E-02** at limit **
  10  Prefactor     19.956        12.524        .89667E-04   -.11715E-03
  11  norm          .10000E-03    .57985        .11023E-03** at limit **
  12  Prefactor     .10000E-03    3.1508        .13097E-02** at limit **
  13  Prefactor     .10000E-03    25.074        .18142E-02** at limit **
  14  Prefactor     6.6394        31.769        .15545E-03   -.36421E-04
  15  norm          14.016        29.344        .10706E-03   -.74969E-04
  16  Prefactor     .10000E-03    5.3209        .21799E-02** at limit **
  17  Prefactor     2.5493        17.551        .25532E-03   -.30812E-04
  18  Prefactor     .10000E-03    1.0189        .74482E-03** at limit **
  19  Normalizat    1.1227        .24304        .26596E-03   -.24965E-03
  20  Prefactor     .96366        .17887        .21656E-03   -.41805E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  Prefactor  = 21.6214
  norm       = 1.50103
  Prefactor  = 0.0001
  Prefactor  = 0.000100078
  Prefactor  = 18.2316
  norm       = 2.91698
  Prefactor  = 0.756285
  Prefactor  = 0.0001
  Prefactor  = 19.9563
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.63939
  norm       = 14.0157
  Prefactor  = 0.0001
  Prefactor  = 2.54927
  Prefactor  = 0.0001
  Normalizat = 1.1227
  Prefactor  = 0.963662
 **********
 **   18 **HESSE 
 **********

 FCN=   5725.343     FROM HESSE     STATUS=OK           281 CALLS     2732 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.560        .61123E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.621        37.382        .34452E-05   -1.4778    
   3  norm          1.5010        5.0994        .62047E-04   -1.5463    
   4  Prefactor     .10000E-03    7.0891        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10008E-03    22.536        .66057E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.232        10.932        .18759E-04   -1.4854    
   7  norm          2.9170        1.6244        .27311E-05   -1.5366    
   8  Prefactor     .75628        52.240        .17607       -1.5534    
   9  Prefactor     .10000E-03    262.72        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.956        12.524        .35867E-05   -1.4814    
  11  norm          .10000E-03    .57986        .22047E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.1510        .26194E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    25.077        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.6394        31.765        .62180E-05   -1.5193    
  15  norm          14.016        29.342        .42825E-05   -1.4959    
  16  Prefactor     .10000E-03    5.3568        .43598E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.5493        17.544        .10213E-04   -1.5389    
  18  Prefactor     .10000E-03    1.0189        .14896E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1227        .24324        .53191E-04   -.89026    
  20  Prefactor     .96366        .17902        .43312E-04   -.93951    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.29084e-09
Minuit parameter uncertainties:
  1  0.000158342
  2  37.4223
  3  5.10091
  4  2.09763e-05
  5  0.00264883
  6  10.9333
  7  1.62444
  8  12.5817
  9  0.000344858
  10  12.5256
  11  4.75814e-06
  12  8.08169e-06
  13  3.90285e-05
  14  29.0696
  15  29.3726
  16  1.92895e-05
  17  13.3805
  18  3.21019e-06
  19  0.243485
  20  0.17913
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  3.903e-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.637e-01  1.791e-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.123e+00  2.435e-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: 5.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/540665/likelihoodResults_621648001_621907201_4FGL_J1532.0+3016_daily_bin1475.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) = 5725.34274155
delta logL = -0.00018994770744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5725.34255203
delta logL = -4.29001374869e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10674E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3939       1.0000          .0000       10.000    
     3 'Normalizat'    1.1227       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96366       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=   5725.343     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      242 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7257        .90712E-02** at limit **
   2  Index         2.3827        5.6877        .50000        .43003E-05
   3  Normalizat    1.1227        .14235E-02    .60134E-01    .25261E-04
   4  Prefactor     .96366        .10883E-02    .45811E-01    .21152E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.38273
  Normalizat = 1.1227
  Prefactor  = 0.963664
 **********
 **   18 **HESSE 
 **********

 FCN=   5725.343     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      275 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    61.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3827        7.2980        .50000       -.55090    
   3  Normalizat    1.1227        .84257E-02    .26596E-03   -.89026    
   4  Prefactor     .96366        .64450E-02    .21656E-03   -.93951    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.02719e-08
Minuit parameter uncertainties:
  1  5.97748e-05
  2  200.147
  3  0.00842571
  4  0.00644503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/540665': 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) = 5725.34255187
delta logL = -2.63898982666e-07

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  5.977e-05  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  2.383e+00  2.001e+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.637e-01  6.445e-03  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.123e+00  8.426e-03  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/540665/cmap_HighResolution_621648001_621907201_4FGL_J1532.0+3016_daily_bin1475.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.97e-03', job_status='DONE', photon_flux_upper_limit='5.33e-08', time_completed='2021-09-12 04:01:57.620748', job_id='540665', GAL2='0.96', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1631444517.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-2.64e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1475' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:01:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 540665: <4FGL_J1532.0+3016_daily_bin1475> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1475 233.016 30.2685 621648001 621907201 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 :                                   467.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             226.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            983 sec.

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

