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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1000
RA = 233.016, Dec = 30.2685
tmin = 498528001, tmax = 498787201
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='538899', job_status='RUN', time_executed='2021-09-12 03:44:11.486710', time_epoch_executed='1631443451.49' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1000'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/538899

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/538899/ft1_4FGL_J1532.0+3016_daily_bin1000.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/538899/ft2_4FGL_J1532.0+3016_daily_bin1000.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/538899/ft1_4FGL_J1532.0+3016_daily_bin1000.fits outfile=/scratch/kocevski/538899/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1000.fits ra=233.016 dec=30.2685 rad=12.0 tmin=498528001.0 tmax=498787201.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.90
user 4.65
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/538899/ft1_filtered_4FGL_J1532.0+3016_daily_bin1000.fits evtable="EVENTS" scfile=/scratch/kocevski/538899/ft2_4FGL_J1532.0+3016_daily_bin1000.fits sctable="SC_DATA" expcube=/scratch/kocevski/538899/ltcube_498528001_498787201_4FGL_J1532.0+3016_daily_bin1000.fits outfile=/scratch/kocevski/538899/expmap_498528001_498787201_4FGL_J1532.0+3016_daily_bin1000.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/538899/ltcube_498528001_498787201_4FGL_J1532.0+3016_daily_bin1000.fits
.....................!
real 190.22
user 185.31
sys 4.58

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/538899/ft1_filtered_4FGL_J1532.0+3016_daily_bin1000.fits scfile=/scratch/kocevski/538899/ft2_4FGL_J1532.0+3016_daily_bin1000.fits outfile=/scratch/kocevski/538899/cmap_498528001_498787201_4FGL_J1532.0+3016_daily_bin1000.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.57
user 0.35
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2983       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .50700E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.687       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.3743       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2181       1.0000         .10000E-03   10000.    
     7 'norm      '    5.2311       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10320E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    83.815       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10643E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.2679       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.138       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.1805       1.0000         .10000E-03   10000.    
    15 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11285E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.2051       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.4289       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .96437       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0221       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=   6627.351     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     2098 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2979        5.4647       -.13642E-08    .21843E-04
   2  Prefactor     .10000E-03    18.284        .18858E-07** at limit **
   3  norm          .10020E-03    5.9006        .57631E-06** at limit **
   4  Prefactor     29.684        16.035       -.26169E-07   -.56447E-04
   5  Prefactor     6.3741        8.2763        .27188E-07   -.48793E-04
   6  Prefactor     3.2178        5.8593        .13357E-06   -.78245E-04
   7  norm          5.2297        2.4951       -.29611E-08   -.78392E-04
   8  Prefactor     .10000E-03    90.517       -.29966E-06** at limit **
   9  Prefactor     83.800        53.274       -.47614E-05   -.32994E-03
  10  Prefactor     .10000E-03    6.4301        .81182E-07** at limit **
  11  norm          3.2673        1.9522       -.17204E-07   -.11120E-03
  12  Prefactor     12.146        14.168        .12854E-06   -.28198E-07
  13  Prefactor     .10000E-03    28.856        .74496E-07** at limit **
  14  Prefactor     5.1781        11.356        .17374E-05   -.41821E-03
  15  norm          .10000E-03    11.780       -.23508E-06** at limit **
  16  Prefactor     .10000E-03    2.2711        .23653E-07** at limit **
  17  Prefactor     7.2041        9.5518        .12394E-05   -.60420E-03
  18  Prefactor     1.4275        3.3501        .27980E-06   -.25540E-03
  19  Normalizat    .96448        .19787       -.17261E-06   -.21098E-04
  20  Prefactor     1.0222        .14191        .83250E-07   -.46423E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.29789
  Prefactor  = 0.0001
  norm       = 0.000100199
  Prefactor  = 29.6843
  Prefactor  = 6.37413
  Prefactor  = 3.21776
  norm       = 5.2297
  Prefactor  = 0.0001
  Prefactor  = 83.7998
  Prefactor  = 0.000100001
  norm       = 3.2673
  Prefactor  = 12.1463
  Prefactor  = 0.0001
  Prefactor  = 5.1781
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.20406
  Prefactor  = 1.42746
  Normalizat = 0.964478
  Prefactor  = 1.02215
 **********
 **   18 **HESSE 
 **********

 FCN=   6627.351     FROM HESSE     STATUS=OK           307 CALLS     2405 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2979        5.4657        .13917E-03   -1.5132    
   2  Prefactor     .10000E-03    18.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10020E-03    6.1336        .70006E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     29.684        16.050        .73534E-04   -1.4618    
   5  Prefactor     6.3741        8.2637        .15898E-03   -1.5203    
   6  Prefactor     3.2178        5.8578        .22583E-03   -1.5349    
   7  norm          5.2297        2.5052        .78658E-04   -1.5251    
   8  Prefactor     .10000E-03    90.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     83.800        57.556        .43877E-04   -1.3875    
  10  Prefactor     .10000E-03    47.179        .39111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.2673        1.9558        .68373E-04   -1.5346    
  12  Prefactor     12.146        14.240        .11498E-03   -1.5011    
  13  Prefactor     .10000E-03    28.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1781        12.434        .88310E-03   -1.5253    
  15  norm          .10000E-03    11.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.3501        .23913E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.2041        10.603        .74718E-03   -1.5171    
  18  Prefactor     1.4275        3.3553        .21982E-03   -1.5469    
  19  Normalizat    .96448        .23190        .29137E-03   -.94230    
  20  Prefactor     1.0222        .16774        .21281E-03   -.91995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8044e-09
Minuit parameter uncertainties:
  1  5.46606
  2  2.29494e-06
  3  0.00220899
  4  16.0528
  5  8.26523
  6  5.85886
  7  2.50524
  8  9.48118e-05
  9  57.5939
  10  0.000322899
  11  1.9558
  12  14.244
  13  1.56053e-06
  14  12.4399
  15  2.84939e-05
  16  1.53979e-06
  17  10.6062
  18  3.35574
  19  0.232138
  20  0.167821
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.561e-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.022e+00  1.678e-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.645e-01  2.321e-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.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/538899/likelihoodResults_498528001_498787201_4FGL_J1532.0+3016_daily_bin1000.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) = 6627.35106013
delta logL = -0.000164957698871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6627.35089536
delta logL = -1.81354153028e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8518       1.0000          .0000       10.000    
     3 'Normalizat'    .96449       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0222       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=   6627.351     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      236 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    864.14        .90712E-02** at limit **
   2  Index         1.8818        6.2172        .50000       -.93636E-05
   3  Normalizat    .96448        .28629E-01    .65872E-01    .41083E-04
   4  Prefactor     1.0222        .21576E-01    .41932E-01    .30773E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100013
  Index      = 1.88184
  Normalizat = 0.964478
  Prefactor  = 1.02215
 **********
 **   18 **HESSE 
 **********

 FCN=   6627.351     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      269 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    1833.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8818        5.9755        .50000       -.67338    
   3  Normalizat    .96448        .44666E-01    .29137E-03   -.94230    
   4  Prefactor     1.0222        .33702E-01    .21281E-03   -.91995    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.05803e-08
Minuit parameter uncertainties:
  1  0.00995701
  2  33.2848
  3  0.0446675
  4  0.0337022
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/538899': 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) = 6627.35089528
delta logL = -1.02698322735e-07

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  9.957e-03  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  1.882e+00  3.328e+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:  1.022e+00  3.370e-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.645e-01  4.467e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/538899/cmap_HighResolution_498528001_498787201_4FGL_J1532.0+3016_daily_bin1000.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.64e-03', job_status='DONE', photon_flux_upper_limit='6.23e-08', time_completed='2021-09-12 03:54:50.043481', job_id='538899', GAL2='1.02', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1631444090.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='-1.03e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1000' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:54:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 538899: <4FGL_J1532.0+3016_daily_bin1000> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin1000> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 03:40:29 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:41:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 03:41:07 2021
Terminated at Sun Sep 12 03:54:50 2021
Results reported at Sun Sep 12 03:54:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1000 233.016 30.2685 498528001 498787201 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 :                                   621.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             233.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            861 sec.

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

