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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin635
RA = 233.016, Dec = 30.2685
tmin = 403920001, tmax = 404179201
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='537289', job_status='RUN', time_executed='2021-09-12 03:38:24.928911', time_epoch_executed='1631443104.93' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='635'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/537289

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

Retrieving the FT1 file...

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

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

Retrieving 39 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/537289/ft1_4FGL_J1532.0+3016_daily_bin635.fits


Retrieving the FT1 file...

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

Retrieving 39 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/537289/ft2_4FGL_J1532.0+3016_daily_bin635.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/537289/ft1_4FGL_J1532.0+3016_daily_bin635.fits outfile=/scratch/kocevski/537289/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin635.fits ra=233.016 dec=30.2685 rad=12.0 tmin=403920001.0 tmax=404179201.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 10.01
user 9.60
sys 0.37

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/537289/ft2_4FGL_J1532.0+3016_daily_bin635.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/537289/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin635.fits evtable="EVENTS" outfile="/scratch/kocevski/537289/ft1_filtered_4FGL_J1532.0+3016_daily_bin635.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.52
user 0.32
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/537289/ft1_filtered_4FGL_J1532.0+3016_daily_bin635.fits evtable="EVENTS" scfile=/scratch/kocevski/537289/ft2_4FGL_J1532.0+3016_daily_bin635.fits sctable="SC_DATA" expcube=/scratch/kocevski/537289/ltcube_403920001_404179201_4FGL_J1532.0+3016_daily_bin635.fits outfile=/scratch/kocevski/537289/expmap_403920001_404179201_4FGL_J1532.0+3016_daily_bin635.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/537289/ltcube_403920001_404179201_4FGL_J1532.0+3016_daily_bin635.fits
.....................!
real 192.41
user 187.14
sys 4.91

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/537289/ft1_filtered_4FGL_J1532.0+3016_daily_bin635.fits scfile=/scratch/kocevski/537289/ft2_4FGL_J1532.0+3016_daily_bin635.fits outfile=/scratch/kocevski/537289/cmap_403920001_404179201_4FGL_J1532.0+3016_daily_bin635.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/537289/ft1_filtered_4FGL_J1532.0+3016_daily_bin635.fits scfile=/scratch/kocevski/537289/ft2_4FGL_J1532.0+3016_daily_bin635.fits outfile=/scratch/kocevski/537289/cmap_HighResolution_403920001_404179201_4FGL_J1532.0+3016_daily_bin635.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.3728       1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.692       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    35.301       1.0000         .10000E-03   10000.    
     7 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    41.002       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    7.5579       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.925       1.0000         .10000E-03   10000.    
    15 'norm      '    .11075E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.3316       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11213E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.720       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .60920       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0380       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3057.443     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1698 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.0589        .33676E-05** at limit **
   2  Prefactor     .10017E-03    32.096        .13639E-03** at limit **
   3  norm          4.3723        1.0338       -.15149E-05   -.44731E-03
   4  Prefactor     23.693        1.0441       -.94234E-06    .13882E-02
   5  Prefactor     .10000E-03    4.9998        .59216E-06** at limit **
   6  Prefactor     35.301        1.7621        .44860E-05   -.22603E-02
   7  norm          .10000E-03    .67775        .36430E-05** at limit **
   8  Prefactor     .10074E-03    67.071        .62562E-04** at limit **
   9  Prefactor     40.562        98.988       -.21631E-03    .99767E-03
  10  Prefactor     .10000E-03    4.9898        .64895E-05** at limit **
  11  norm          7.5580        2.4677        .18449E-05    .11455E-03
  12  Prefactor     .10000E-03    14.328        .13059E-05** at limit **
  13  Prefactor     .10028E-03    47.123       -.12108E-03** at limit **
  14  Prefactor     14.959        6.1909       -.13199E-05    .13698E-01
  15  norm          .10000E-03    15.964        .84771E-05** at limit **
  16  Prefactor     4.3312        4.8621       -.21418E-05    .17974E-04
  17  Prefactor     .10008E-03    29.846       -.11385E-03** at limit **
  18  Prefactor     15.720        6.7655       -.23540E-05   -.39057E-05
  19  Normalizat    .60886        .28726        .25756E-04   -.38433E-04
  20  Prefactor     1.0383        .22456        .28734E-05   -.47871E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100168
  norm       = 4.37229
  Prefactor  = 23.6925
  Prefactor  = 0.0001
  Prefactor  = 35.3007
  norm       = 0.0001
  Prefactor  = 0.000100739
  Prefactor  = 40.5617
  Prefactor  = 0.0001
  norm       = 7.55795
  Prefactor  = 0.0001
  Prefactor  = 0.00010028
  Prefactor  = 14.9586
  norm       = 0.0001
  Prefactor  = 4.33124
  Prefactor  = 0.000100078
  Prefactor  = 15.7198
  Normalizat = 0.608856
  Prefactor  = 1.03832
 **********
 **   18 **HESSE 
 **********

 FCN=   3057.443     FROM HESSE     STATUS=OK           329 CALLS     2027 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.0589        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10017E-03    32.290        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.3723        9.2162        .48152E-02   -1.5290    
   4  Prefactor     23.693        21.401        .20573E-02   -1.4734    
   5  Prefactor     .10000E-03    4.9700        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     35.301        20.536        .16862E-02   -1.4519    
   7  norm          .10000E-03    .67295        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10074E-03    68.076        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     40.562        101.61        .15650E-02   -1.4433    
  10  Prefactor     .10000E-03    4.9787        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          7.5580        2.4692        .36469E-02   -1.5158    
  12  Prefactor     .10000E-03    14.262        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10028E-03    47.498        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.959        22.997        .25919E-02   -1.4934    
  15  norm          .10000E-03    15.932        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.3312        4.8905        .48387E-02   -1.5292    
  17  Prefactor     .10008E-03    29.457        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.720        6.7818        .25254E-02   -1.4915    
  19  Normalizat    .60886        .26208        .72102E-01   -1.0761    
  20  Prefactor     1.0383        .19853        .40672E-01   -.91463    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.37583e-07
Minuit parameter uncertainties:
  1  3.30875e-06
  2  0.00466439
  3  9.21922
  4  21.4079
  5  7.07186e-06
  6  20.5401
  7  4.51806e-06
  8  0.0142021
  9  102.053
  10  4.59402e-05
  11  2.4692
  12  4.81826e-05
  13  0.00729954
  14  23.0108
  15  4.29672e-05
  16  4.89098
  17  0.00303484
  18  6.78214
  19  0.262612
  20  0.19867
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.003e-04  7.300e-03  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.038e+00  1.987e-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.089e-01  2.626e-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: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/537289/likelihoodResults_403920001_404179201_4FGL_J1532.0+3016_daily_bin635.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) = 3057.4430952
delta logL = -0.000100133285287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3057.44299505
delta logL = 1.18884599942e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9801       1.0000          .0000       10.000    
     3 'Normalizat'    .60885       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0383       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=   3057.443     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      233 TOTAL
                     EDM=   .94E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1347.3        .90712E-02** at limit **
   2  Index         1.9834        6.9034        .50000       -.53293E-06
   3  Normalizat    .60886        .35368E-01    .72102E-01    .15504E-04
   4  Prefactor     1.0383        .28321E-01    .40648E-01    .67130E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.98339
  Normalizat = 0.608856
  Prefactor  = 1.03832
 **********
 **   18 **HESSE 
 **********

 FCN=   3057.443     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .29E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    48.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9834        5.9801        .50000       -.64766    
   3  Normalizat    .60886        .27389        .31917E-03   -1.0761    
   4  Prefactor     1.0383        .22007        .19848E-03   -.91463    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90457e-13
Minuit parameter uncertainties:
  1  2.47356e-06
  2  4.06496
  3  0.274508
  4  0.220258
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/537289': 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): 0
logL (Free Index) = 3057.44299505
delta logL = 1.26669874589e-08

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  2.474e-06  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  1.983e+00  4.065e+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.038e+00  2.203e-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.089e-01  2.745e-01  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/537289/cmap_HighResolution_403920001_404179201_4FGL_J1532.0+3016_daily_bin635.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.02e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-09-12 03:46:25.186192', job_id='537289', GAL2='1.04', fit_tolerance='1e-08', EG2='0.61', EG='0.61', time_epoch_completed='1631443585.19', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.27e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='635' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:46:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0130>
Subject: Job 537289: <4FGL_J1532.0+3016_daily_bin635> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin635 233.016 30.2685 403920001 404179201 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 :                                   475.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             226.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   623 sec.
    Turnaround time :                            657 sec.

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

