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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1399
RA = 233.016, Dec = 30.2685
tmin = 601948801, tmax = 602208001
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='540554', job_status='RUN', time_executed='2021-09-12 03:49:09.536120', time_epoch_executed='1631443749.54' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1399'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/540554

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/540554/ft1_4FGL_J1532.0+3016_daily_bin1399.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/540554/ft2_4FGL_J1532.0+3016_daily_bin1399.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/540554/ft1_4FGL_J1532.0+3016_daily_bin1399.fits outfile=/scratch/kocevski/540554/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1399.fits ra=233.016 dec=30.2685 rad=12.0 tmin=601948801.0 tmax=602208001.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 3.86
user 3.58
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/540554/ft1_filtered_4FGL_J1532.0+3016_daily_bin1399.fits" evtable="EVENTS" scfile=/scratch/kocevski/540554/ft2_4FGL_J1532.0+3016_daily_bin1399.fits sctable="SC_DATA" outfile=/scratch/kocevski/540554/ltcube_601948801_602208001_4FGL_J1532.0+3016_daily_bin1399.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/540554/ft2_4FGL_J1532.0+3016_daily_bin1399.fits
.....................!
real 12.92
user 12.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/540554/ft1_filtered_4FGL_J1532.0+3016_daily_bin1399.fits evtable="EVENTS" scfile=/scratch/kocevski/540554/ft2_4FGL_J1532.0+3016_daily_bin1399.fits sctable="SC_DATA" expcube=/scratch/kocevski/540554/ltcube_601948801_602208001_4FGL_J1532.0+3016_daily_bin1399.fits outfile=/scratch/kocevski/540554/expmap_601948801_602208001_4FGL_J1532.0+3016_daily_bin1399.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/540554/ltcube_601948801_602208001_4FGL_J1532.0+3016_daily_bin1399.fits
.....................!
real 190.95
user 185.74
sys 4.61

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/540554/ft1_filtered_4FGL_J1532.0+3016_daily_bin1399.fits scfile=/scratch/kocevski/540554/ft2_4FGL_J1532.0+3016_daily_bin1399.fits outfile=/scratch/kocevski/540554/cmap_601948801_602208001_4FGL_J1532.0+3016_daily_bin1399.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/540554/ft1_filtered_4FGL_J1532.0+3016_daily_bin1399.fits scfile=/scratch/kocevski/540554/ft2_4FGL_J1532.0+3016_daily_bin1399.fits outfile=/scratch/kocevski/540554/cmap_HighResolution_601948801_602208001_4FGL_J1532.0+3016_daily_bin1399.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.57
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6266       1.0000         .10000E-03   10000.    
     2 'Prefactor '    67.564       1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.779       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13972E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10290E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.518       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.252       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.0587       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10459E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    52.373       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .64029       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1349       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=   5750.422     FROM MIGRAD    STATUS=CONVERGED    429 CALLS     2104 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6265        4.7526        .34210E-07    .11177E-06
   2  Prefactor     67.568        39.631        .18654E-06   -.62233E-05
   3  norm          .10000E-03    2.7187        .45351E-08** at limit **
   4  Prefactor     23.774        14.306        .34389E-07   -.40938E-04
   5  Prefactor     .10000E-03    7.9793        .53515E-07** at limit **
   6  Prefactor     .10000E-03    6.1907        .15664E-06** at limit **
   7  norm          .10000E-03    .68517        .57058E-07** at limit **
   8  Prefactor     31.517        40.899       -.50872E-07   -.18812E-04
   9  Prefactor     14.214        42.772       -.55103E-06   -.76996E-04
  10  Prefactor     .10000E-03    3.7633        .15079E-07** at limit **
  11  norm          2.0589        1.0642       -.31522E-06   -.25285E-02
  12  Prefactor     .10008E-03    6.9290        .27576E-05** at limit **
  13  Prefactor     52.383        44.147       -.25709E-05   -.26914E-03
  14  Prefactor     .10000E-03    9.1616        .49176E-07** at limit **
  15  norm          .10000E-03    7.1048        .51008E-07** at limit **
  16  Prefactor     .10000E-03    1.7010        .19206E-06** at limit **
  17  Prefactor     .10003E-03    5.7365       -.55606E-06** at limit **
  18  Prefactor     .10000E-03    1.1863        .36929E-07** at limit **
  19  Normalizat    .64029        .18319       -.14837E-05   -.20043E-03
  20  Prefactor     1.1349        .14140        .63358E-06   -.34640E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.6265
  Prefactor  = 67.5679
  norm       = 0.0001
  Prefactor  = 23.7739
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 31.5174
  Prefactor  = 14.2139
  Prefactor  = 0.0001
  norm       = 2.05886
  Prefactor  = 0.000100082
  Prefactor  = 52.3834
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100027
  Prefactor  = 0.0001
  Normalizat = 0.640294
  Prefactor  = 1.13491
 **********
 **   18 **HESSE 
 **********

 FCN=   5750.422     FROM HESSE     STATUS=OK           289 CALLS     2393 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6265        4.7517        .14788E-03   -1.5234    
   2  Prefactor     67.568        39.752        .48830E-04   -1.4062    
   3  norm          .10000E-03    2.7192        .12211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.774        14.306        .82145E-04   -1.4732    
   5  Prefactor     .10000E-03    8.1553        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    44.280        .36131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.2085        .12082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     31.517        40.824        .71370E-04   -1.4585    
   9  Prefactor     14.214        42.619        .10610E-03   -1.4954    
  10  Prefactor     .10000E-03    3.7806        .14364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.0589        1.0865        .28803E-04   -1.5421    
  12  Prefactor     .10008E-03    27.659        .31305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     52.383        44.900        .55420E-04   -1.4259    
  14  Prefactor     .10000E-03    9.1790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.1333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.7649        .19294E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10003E-03    26.510        .34410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.2035        .80637E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .64029        .20708        .29750E-03   -1.0630    
  20  Prefactor     1.1349        .15980        .18260E-03   -.88359    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.42003e-09
Minuit parameter uncertainties:
  1  4.75203
  2  39.768
  3  2.16218e-08
  4  14.308
  5  2.01293e-06
  6  0.000352659
  7  1.51885e-06
  8  40.8601
  9  42.7103
  10  2.39688e-06
  11  1.08652
  12  0.0030212
  13  44.929
  14  1.78703e-06
  15  2.62503e-07
  16  4.33958e-06
  17  0.00169597
  18  1.42228e-07
  19  0.207334
  20  0.159864
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  5.238e+01  4.493e+01  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.135e+00  1.599e-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:  6.403e-01  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.89
Ra Dec: 233.016 30.268
Photon Index (Fixed Index): 1.92 +/- 0.00
Photon Flux (Fixed Index): 3.55e-08 +/- 3.05e-08
Energy Flux (Fixed Index): 2.99e-05 +/- 2.57e-05

TS (Fixed Index): 1.89
Ra Dec: 233.016 30.268
Photon Flux Upper Limit: 9.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/540554/likelihoodResults_601948801_602208001_4FGL_J1532.0+3016_daily_bin1399.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) = 5748.01324582
delta logL = 2.40860289505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5748.00986331
delta logL = 2.41198540303

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2390       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1485       1.0000          .0000       10.000    
     3 'Normalizat'    .55691       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1692       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=   5748.010     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      240 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2301        49.571        .40178E-02    .92827E-04
   2  Index         3.1490        1.8295        .59654E-01    .18469E-03
   3  Normalizat    .55691        .76450E-01    .71519E-01    .26955E-04
   4  Prefactor     1.1692        .56910E-01    .35403E-01   -.14764E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.2301
  Index      = 3.14902
  Normalizat = 0.556908
  Prefactor  = 1.16923
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.010     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      273 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2301        68.975        .85588E-04   -1.5209    
   2  Index         3.1490        2.3155        .24491E-02   -.37922    
   3  Normalizat    .55691        .20966        .31659E-03   -1.0985    
   4  Prefactor     1.1692        .16338        .17984E-03   -.87284    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.1199e-07
Minuit parameter uncertainties:
  1  41.5199
  2  2.42402
  3  0.209959
  4  0.163447
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/540554': 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) = 5748.00986299
delta logL = 2.41198572238

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  6.230e+00  4.152e+01  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  3.149e+00  2.424e+00  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.169e+00  1.634e-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:  5.569e-01  2.100e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.95
Ra Dec: 233.016 30.268
Photon Index (Free Index): 3.15 +/- 2.42
Photon Flux (Free Index): 1.10e-07 +/- 6.49e-08
Energy Flux (Free Index): 2.06e-05 +/- 1.64e-05

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/540554/cmap_HighResolution_601948801_602208001_4FGL_J1532.0+3016_daily_bin1399.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.43e-03', comment='SUCCESS', photon_flux='3.55e-08', energy_flux2='2.06e-05', photon_flux_error='3.05e-08', dlogl='2.41e+00', energy_flux='2.99e-05', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-09-12 04:01:31.768102', photon_index_error2='2.42', photon_index2='3.15', ts='1.89', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='9.97e-08', energy_flux_error2='1.64e-05', EG='0.64', time_epoch_completed='1631444491.77', return_code='0', job_id='540554', GAL2='1.17', EG2='0.56', return_code2='102', energy_flux_error='2.57e-05', photon_flux_error2='6.49e-08', ts2='6.95', photon_index='1.92' WHERE bin_id='1399' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:01:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 540554: <4FGL_J1532.0+3016_daily_bin1399> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin1399> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 03:45:28 2021
Job was executed on host(s) <bullet0006>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:46:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 03:46:28 2021
Terminated at Sun Sep 12 04:01:32 2021
Results reported at Sun Sep 12 04:01:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1399 233.016 30.2685 601948801 602208001 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 :                                   587.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             221.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            964 sec.

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

