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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin692
RA = 233.016, Dec = 30.2685
tmin = 418694401, tmax = 418953601
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='537369', job_status='RUN', time_executed='2021-09-12 03:36:42.625555', time_epoch_executed='1631443002.63' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/537369

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/537369/ft1_4FGL_J1532.0+3016_daily_bin692.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/537369/ft2_4FGL_J1532.0+3016_daily_bin692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/537369/ft1_4FGL_J1532.0+3016_daily_bin692.fits outfile=/scratch/kocevski/537369/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin692.fits ra=233.016 dec=30.2685 rad=12.0 tmin=418694401.0 tmax=418953601.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 5.26
user 4.99
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/537369/ft2_4FGL_J1532.0+3016_daily_bin692.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/537369/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin692.fits evtable="EVENTS" outfile="/scratch/kocevski/537369/ft1_filtered_4FGL_J1532.0+3016_daily_bin692.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/537369/ft1_filtered_4FGL_J1532.0+3016_daily_bin692.fits" evtable="EVENTS" scfile=/scratch/kocevski/537369/ft2_4FGL_J1532.0+3016_daily_bin692.fits sctable="SC_DATA" outfile=/scratch/kocevski/537369/ltcube_418694401_418953601_4FGL_J1532.0+3016_daily_bin692.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/537369/ft2_4FGL_J1532.0+3016_daily_bin692.fits
.....................!
real 13.20
user 12.82
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/537369/ft1_filtered_4FGL_J1532.0+3016_daily_bin692.fits evtable="EVENTS" scfile=/scratch/kocevski/537369/ft2_4FGL_J1532.0+3016_daily_bin692.fits sctable="SC_DATA" expcube=/scratch/kocevski/537369/ltcube_418694401_418953601_4FGL_J1532.0+3016_daily_bin692.fits outfile=/scratch/kocevski/537369/expmap_418694401_418953601_4FGL_J1532.0+3016_daily_bin692.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/537369/ltcube_418694401_418953601_4FGL_J1532.0+3016_daily_bin692.fits
.....................!
real 190.70
user 185.45
sys 4.75

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/537369/ft1_filtered_4FGL_J1532.0+3016_daily_bin692.fits scfile=/scratch/kocevski/537369/ft2_4FGL_J1532.0+3016_daily_bin692.fits outfile=/scratch/kocevski/537369/cmap_418694401_418953601_4FGL_J1532.0+3016_daily_bin692.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/537369/ft1_filtered_4FGL_J1532.0+3016_daily_bin692.fits scfile=/scratch/kocevski/537369/ft2_4FGL_J1532.0+3016_daily_bin692.fits outfile=/scratch/kocevski/537369/cmap_HighResolution_418694401_418953601_4FGL_J1532.0+3016_daily_bin692.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/537369/ft1_filtered_4FGL_J1532.0+3016_daily_bin692.fits evtable="EVENTS" scfile=/scratch/kocevski/537369/ft2_4FGL_J1532.0+3016_daily_bin692.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/537369/Model_4FGL_J1532.0+3016_daily_bin692.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/537369/ft1_filtered_4FGL_J1532.0+3016_daily_bin692.fits.....................!
real 48.11
user 46.83
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2072       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.4313       1.0000         .10000E-03   10000.    
     7 'norm      '    3.1305       1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.785       1.0000         .10000E-03   10000.    
     9 'Prefactor '    47.405       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    7.7360       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.669       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10516E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.0242       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.9541       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.8100       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .98319       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .88588       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=   6090.748     FROM MIGRAD    STATUS=CONVERGED    411 CALLS     2005 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2073        4.0150       -.63990E-06   -.48098E-03
   2  Prefactor     .10000E-03    18.526       -.22324E-06** at limit **
   3  norm          .10000E-03    3.2364       -.92726E-07** at limit **
   4  Prefactor     .10000E-03    8.7035       -.28730E-06** at limit **
   5  Prefactor     .10000E-03    9.2651       -.10243E-06** at limit **
   6  Prefactor     2.4308        7.9673       -.82027E-06   -.31352E-03
   7  norm          3.1298        1.9046        .11087E-06   -.14472E-03
   8  Prefactor     27.776        44.035       -.13606E-04    .45816E-07
   9  Prefactor     47.396        41.350       -.95726E-05    .43651E-05
  10  Prefactor     .10000E-03    3.8974        .43948E-08** at limit **
  11  norm          7.7365        2.5670       -.11490E-06   -.61110E-04
  12  Prefactor     12.661        14.893       -.22705E-08   -.48256E-04
  13  Prefactor     .10000E-03    45.277        .15282E-06** at limit **
  14  Prefactor     .10000E-03    5.4494       -.36181E-07** at limit **
  15  norm          5.0240        6.7925       -.20730E-07   -.64582E-05
  16  Prefactor     .10000E-03    1.3165       -.33901E-07** at limit **
  17  Prefactor     6.9550        13.120       -.10576E-05   -.76700E-04
  18  Prefactor     5.8098        3.8337       -.10525E-06   -.11449E-03
  19  Normalizat    .98335        .19630        .11360E-05   -.13687E-05
  20  Prefactor     .88575        .13681        .46038E-06    .24452E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.20727
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.43084
  norm       = 3.12981
  Prefactor  = 27.7757
  Prefactor  = 47.3959
  Prefactor  = 0.0001
  norm       = 7.7365
  Prefactor  = 12.6615
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.02396
  Prefactor  = 0.0001
  Prefactor  = 6.95504
  Prefactor  = 5.80982
  Normalizat = 0.983346
  Prefactor  = 0.885752
 **********
 **   18 **HESSE 
 **********

 FCN=   6090.748     FROM HESSE     STATUS=OK           293 CALLS     2298 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2073        4.0201        .20670E-03   -1.5411    
   2  Prefactor     .10000E-03    18.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.2367        .13712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.7503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.3505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4308        8.0104        .26244E-03   -1.5396    
   7  norm          3.1298        1.9043        .80211E-04   -1.5354    
   8  Prefactor     27.776        43.841        .76003E-04   -1.4653    
   9  Prefactor     47.396        41.148        .58238E-04   -1.4330    
  10  Prefactor     .10000E-03    3.9131        .15044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          7.7365        2.5980        .55224E-04   -1.5152    
  12  Prefactor     12.661        15.049        .11254E-03   -1.4996    
  13  Prefactor     .10000E-03    45.543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.4500        .17793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.0240        6.7877        .17940E-03   -1.5260    
  16  Prefactor     .10000E-03    1.3597        .17471E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.9550        13.144        .15213E-03   -1.5180    
  18  Prefactor     5.8098        3.8361        .11974E-03   -1.5226    
  19  Normalizat    .98335        .22880        .27669E-03   -.93590    
  20  Prefactor     .88575        .15997        .20731E-03   -.96641    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.72806e-10
Minuit parameter uncertainties:
  1  4.02059
  2  1.05519e-05
  3  3.7278e-07
  4  4.51351e-06
  5  9.47825e-06
  6  8.01396
  7  1.9043
  8  43.8917
  9  41.1722
  10  5.86026e-07
  11  2.59809
  12  15.0537
  13  1.39347e-05
  14  6.65151e-07
  15  6.7887
  16  2.59568e-06
  17  13.1497
  18  3.8363
  19  0.229025
  20  0.16005
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.393e-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:  8.858e-01  1.601e-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.833e-01  2.290e-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.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/537369/likelihoodResults_418694401_418953601_4FGL_J1532.0+3016_daily_bin692.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) = 6090.74811624
delta logL = -0.000104546928924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6090.74801672
delta logL = -5.0270855354e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13113E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3431       1.0000          .0000       10.000    
     3 'Normalizat'    .98334       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88575       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=   6090.748     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      246 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .22135E-01    .10287    ** at limit **
   2  Index         2.3501        5.3175        .50000       -.52351E-05
   3  Normalizat    .98335        .19077E-03    .45958E-01    .15451E-04
   4  Prefactor     .88575        .13708E-03    .44823E-01    .21168E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.35007
  Normalizat = 0.983346
  Prefactor  = 0.885752
 **********
 **   18 **HESSE 
 **********

 FCN=   6090.748     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      283 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.1660        .57135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3501        5.7584        .50000       -.55858    
   3  Normalizat    .98335        .12500E-02    .27669E-03   -.93590    
   4  Prefactor     .88575        .89829E-03    .20731E-03   -.96641    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.0256e-09
Minuit parameter uncertainties:
  1  0.000133567
  2  51.8827
  3  0.00124995
  4  0.000898293
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/537369': 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) = 6090.74801106
delta logL = 6.38005076325e-07

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.336e-04  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  2.350e+00  5.188e+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:  8.858e-01  8.983e-04  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.833e-01  1.250e-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/537369/cmap_HighResolution_418694401_418953601_4FGL_J1532.0+3016_daily_bin692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.33e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2021-09-12 03:46:37.358662', job_id='537369', GAL2='0.89', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1631443597.36', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='6.38e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='692' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:46:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 537369: <4FGL_J1532.0+3016_daily_bin692> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin692 233.016 30.2685 418694401 418953601 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 :                                   590.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   605 sec.
    Turnaround time :                            665 sec.

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

