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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin821
RA = 233.016, Dec = 30.2685
tmin = 452131201, tmax = 452390401
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='537556', job_status='RUN', time_executed='2021-09-12 03:37:49.315231', time_epoch_executed='1631443069.32' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='821'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/537556

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/537556/ft1_4FGL_J1532.0+3016_daily_bin821.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/537556/ft2_4FGL_J1532.0+3016_daily_bin821.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/537556/ft1_4FGL_J1532.0+3016_daily_bin821.fits outfile=/scratch/kocevski/537556/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin821.fits ra=233.016 dec=30.2685 rad=12.0 tmin=452131201.0 tmax=452390401.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.36
user 3.15
sys 0.20

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/537556/ft1_filtered_4FGL_J1532.0+3016_daily_bin821.fits" evtable="EVENTS" scfile=/scratch/kocevski/537556/ft2_4FGL_J1532.0+3016_daily_bin821.fits sctable="SC_DATA" outfile=/scratch/kocevski/537556/ltcube_452131201_452390401_4FGL_J1532.0+3016_daily_bin821.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/537556/ft2_4FGL_J1532.0+3016_daily_bin821.fits
.....................!
real 12.20
user 11.86
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/537556/ft1_filtered_4FGL_J1532.0+3016_daily_bin821.fits evtable="EVENTS" scfile=/scratch/kocevski/537556/ft2_4FGL_J1532.0+3016_daily_bin821.fits sctable="SC_DATA" expcube=/scratch/kocevski/537556/ltcube_452131201_452390401_4FGL_J1532.0+3016_daily_bin821.fits outfile=/scratch/kocevski/537556/expmap_452131201_452390401_4FGL_J1532.0+3016_daily_bin821.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/537556/ltcube_452131201_452390401_4FGL_J1532.0+3016_daily_bin821.fits
.....................!
real 190.44
user 185.22
sys 4.90

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/537556/ft1_filtered_4FGL_J1532.0+3016_daily_bin821.fits scfile=/scratch/kocevski/537556/ft2_4FGL_J1532.0+3016_daily_bin821.fits outfile=/scratch/kocevski/537556/cmap_452131201_452390401_4FGL_J1532.0+3016_daily_bin821.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/537556/ft1_filtered_4FGL_J1532.0+3016_daily_bin821.fits scfile=/scratch/kocevski/537556/ft2_4FGL_J1532.0+3016_daily_bin821.fits outfile=/scratch/kocevski/537556/cmap_HighResolution_452131201_452390401_4FGL_J1532.0+3016_daily_bin821.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/537556/ft1_filtered_4FGL_J1532.0+3016_daily_bin821.fits evtable="EVENTS" scfile=/scratch/kocevski/537556/ft2_4FGL_J1532.0+3016_daily_bin821.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/537556/Model_4FGL_J1532.0+3016_daily_bin821.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/537556/ft1_filtered_4FGL_J1532.0+3016_daily_bin821.fits.....................!
real 51.23
user 49.96
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    43.588       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5913       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .76784E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.0080       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.6510       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.9922       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.875       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    26.514       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.1816       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.8327       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .90378       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0129       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=   6740.568     FROM MIGRAD    STATUS=CONVERGED    426 CALLS     2060 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          43.587        11.327        .38007E-07   -.34358E-05
   2  Prefactor     .10000E-03    21.948       -.49939E-06** at limit **
   3  norm          .10000E-03    7.0326        .91139E-06** at limit **
   4  Prefactor     1.5636        58.252       -.40622E-05   -.11078E-03
   5  Prefactor     .10013E-03    9.8110        .35670E-05** at limit **
   6  Prefactor     .10000E-03    7.0426       -.18195E-07** at limit **
   7  norm          2.0069        1.8010       -.59013E-06   -.21477E-02
   8  Prefactor     .10000E-03    28.902        .19757E-07** at limit **
   9  Prefactor     2.5640        136.16       -.63219E-05   -.94759E-05
  10  Prefactor     .10000E-03    2.2138       -.18389E-07** at limit **
  11  norm          5.9924        1.6674        .63998E-07   -.35587E-03
  12  Prefactor     .10000E-03    5.1835       -.95567E-07** at limit **
  13  Prefactor     26.869        38.006       -.29283E-06   -.98849E-05
  14  Prefactor     .10000E-03    18.590        .71807E-06** at limit **
  15  norm          26.519        15.705        .17797E-06   -.12697E-03
  16  Prefactor     2.1812        2.4368        .13109E-06   -.43163E-04
  17  Prefactor     .10000E-03    16.216       -.68770E-06** at limit **
  18  Prefactor     3.8325        3.0513        .77477E-07   -.24138E-04
  19  Normalizat    .90367        .19805       -.19983E-05   -.21264E-03
  20  Prefactor     1.0130        .14060        .12442E-05   -.37534E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 43.5872
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.56357
  Prefactor  = 0.000100135
  Prefactor  = 0.0001
  norm       = 2.00692
  Prefactor  = 0.0001
  Prefactor  = 2.56402
  Prefactor  = 0.0001
  norm       = 5.99238
  Prefactor  = 0.0001
  Prefactor  = 26.8692
  Prefactor  = 0.0001
  norm       = 26.519
  Prefactor  = 2.18122
  Prefactor  = 0.0001
  Prefactor  = 3.83249
  Normalizat = 0.90367
  Prefactor  = 1.01301
 **********
 **   18 **HESSE 
 **********

 FCN=   6740.568     FROM HESSE     STATUS=OK           291 CALLS     2351 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          43.587        11.328        .60723E-04   -1.4387    
   2  Prefactor     .10000E-03    22.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    7.0438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.5636        57.490        .33636E-03   -1.5458    
   5  Prefactor     .10013E-03    38.627        .40516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.1092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.0069        1.8442        .97267E-04   -1.5425    
   8  Prefactor     .10000E-03    28.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.5640        136.04        .25038E-03   -1.5388    
  10  Prefactor     .10000E-03    2.2182        .11929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.9924        1.6706        .51912E-04   -1.5218    
  12  Prefactor     .10000E-03    5.1964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.869        37.954        .77276E-04   -1.4671    
  14  Prefactor     .10000E-03    18.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          26.519        15.710        .77799E-04   -1.4678    
  16  Prefactor     2.1812        2.4183        .12810E-03   -1.5413    
  17  Prefactor     .10000E-03    16.722        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.8325        3.0507        .12258E-03   -1.5316    
  19  Normalizat    .90367        .21977        .28319E-03   -.96331    
  20  Prefactor     1.0130        .15721        .20928E-03   -.92297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.08341e-09
Minuit parameter uncertainties:
  1  11.3286
  2  4.32795e-05
  3  3.26702e-05
  4  18.981
  5  0.00456864
  6  9.31657e-06
  7  1.84421
  8  3.70219e-05
  9  37.4423
  10  7.94324e-07
  11  1.67062
  12  8.45359e-06
  13  37.9884
  14  9.34865e-05
  15  15.7124
  16  2.41843
  17  1.60386e-05
  18  3.05085
  19  0.219988
  20  0.157278
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  2.687e+01  3.799e+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.013e+00  1.573e-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.037e-01  2.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/537556/likelihoodResults_452131201_452390401_4FGL_J1532.0+3016_daily_bin821.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): 0
logL (Free Index) = 6738.88554096
delta logL = 1.68289179764

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6738.64176836
delta logL = 1.92666438945

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20936       1.0000         .10000E-03   10000.    
     2 'Index     '    4.3161       1.0000          .0000       10.000    
     3 'Normalizat'    .78975       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0669       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=   6738.642     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      287 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20878        1.4498        .43076E-02    .10388E-02
   2  Index         4.3174        1.4874        .61874E-01    .23462E-03
   3  Normalizat    .78960        .51969E-01    .67801E-01    .10570E-04
   4  Prefactor     1.0670        .40379E-01    .39006E-01   -.11940E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.208782
  Index      = 4.31745
  Normalizat = 0.789599
  Prefactor  = 1.06703
 **********
 **   18 **HESSE 
 **********

 FCN=   6738.642     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      320 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20878        2.9301        .19368E-04   -1.5617    
   2  Index         4.3174        2.3744        .24516E-02   -.13694    
   3  Normalizat    .78960        .17764        .29999E-03   -1.0046    
   4  Prefactor     1.0670        .13672        .20425E-03   -.90527    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.39997e-07
Minuit parameter uncertainties:
  1  1.564
  2  2.47631
  3  0.177768
  4  0.136761
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/537556': 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) = 6738.64176483
delta logL = 1.9266679221

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  2.088e-01  1.564e+00  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  4.317e+00  2.476e+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.067e+00  1.368e-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:  7.896e-01  1.778e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.82
Ra Dec: 233.016 30.268
Photon Index (Free Index): 4.32 +/- 2.48
Photon Flux (Free Index): 1.20e-07 +/- 6.40e-08
Energy Flux (Free Index): 1.72e-05 +/- 1.00e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/537556/cmap_HighResolution_452131201_452390401_4FGL_J1532.0+3016_daily_bin821.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.92e-03', comment='SUCCESS', energy_flux2='1.72e-05', dlogl='1.93e+00', photon_flux2='1.20e-07', job_status='DONE', time_completed='2021-09-12 03:48:20.311211', photon_index_error2='2.48', photon_index2='4.32', ts='0.67', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='7.95e-08', energy_flux_error2='1.00e-05', EG='0.90', time_epoch_completed='1631443700.31', return_code='0', job_id='537556', GAL2='1.07', EG2='0.79', return_code2='102', photon_flux_error2='6.40e-08', ts2='4.82', photon_index='1.92' WHERE bin_id='821' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:48:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 537556: <4FGL_J1532.0+3016_daily_bin821> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin821> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 03:35:45 2021
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:37:38 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:37:38 2021
Terminated at Sun Sep 12 03:48:20 2021
Results reported at Sun Sep 12 03:48:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin821 233.016 30.2685 452131201 452390401 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 :                                   627.08 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            755 sec.

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

