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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1123
RA = 233.016, Dec = 30.2685
tmin = 530409601, tmax = 530668801
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='539085', job_status='RUN', time_executed='2021-09-12 03:45:57.990913', time_epoch_executed='1631443557.99' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1123'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/539085

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/539085/ft1_4FGL_J1532.0+3016_daily_bin1123.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/539085/ft2_4FGL_J1532.0+3016_daily_bin1123.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/539085/ft1_4FGL_J1532.0+3016_daily_bin1123.fits outfile=/scratch/kocevski/539085/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1123.fits ra=233.016 dec=30.2685 rad=12.0 tmin=530409601.0 tmax=530668801.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.61
user 3.39
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/539085/ft2_4FGL_J1532.0+3016_daily_bin1123.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/539085/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1123.fits evtable="EVENTS" outfile="/scratch/kocevski/539085/ft1_filtered_4FGL_J1532.0+3016_daily_bin1123.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.49
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/539085/ft1_filtered_4FGL_J1532.0+3016_daily_bin1123.fits" evtable="EVENTS" scfile=/scratch/kocevski/539085/ft2_4FGL_J1532.0+3016_daily_bin1123.fits sctable="SC_DATA" outfile=/scratch/kocevski/539085/ltcube_530409601_530668801_4FGL_J1532.0+3016_daily_bin1123.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/539085/ft2_4FGL_J1532.0+3016_daily_bin1123.fits
.....................!
real 17.32
user 16.98
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/539085/ft1_filtered_4FGL_J1532.0+3016_daily_bin1123.fits evtable="EVENTS" scfile=/scratch/kocevski/539085/ft2_4FGL_J1532.0+3016_daily_bin1123.fits sctable="SC_DATA" expcube=/scratch/kocevski/539085/ltcube_530409601_530668801_4FGL_J1532.0+3016_daily_bin1123.fits outfile=/scratch/kocevski/539085/expmap_530409601_530668801_4FGL_J1532.0+3016_daily_bin1123.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/539085/ltcube_530409601_530668801_4FGL_J1532.0+3016_daily_bin1123.fits
.....................!
real 190.66
user 185.43
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/539085/ft1_filtered_4FGL_J1532.0+3016_daily_bin1123.fits scfile=/scratch/kocevski/539085/ft2_4FGL_J1532.0+3016_daily_bin1123.fits outfile=/scratch/kocevski/539085/cmap_530409601_530668801_4FGL_J1532.0+3016_daily_bin1123.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.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4400       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12008E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.8031       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.3376       1.0000         .10000E-03   10000.    
     7 'norm      '    1.2872       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .39062       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .24469E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.7360       1.0000         .10000E-03   10000.    
    11 'norm      '    2.8747       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.768       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.0249       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.1532       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.6912       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .96898       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99336       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=   6286.601     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1512 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4400        7.6924       -.25715E-05   -.32642E-03
   2  Prefactor     .10000E-03    15.614        .64599E-05** at limit **
   3  norm          4.8012        6.8566       -.15668E-05   -.33881E-03
   4  Prefactor     .10000E-03    6.7916       -.88098E-06** at limit **
   5  Prefactor     .10000E-03    5.5144       -.94699E-06** at limit **
   6  Prefactor     2.3523        12.364       -.66149E-05   -.25443E-03
   7  norm          1.2853        1.4797        .14535E-05    .50853E-03
   8  Prefactor     .17732E-03    8625.1        .11622E-03** at limit **
   9  Prefactor     .10000E-03    32.973       -.43621E-05** at limit **
  10  Prefactor     1.7435        1.2130        .21409E-06    .45038E-03
  11  norm          2.8744        1.2426        .19169E-06    .26797E-03
  12  Prefactor     .10000E-03    2.9743        .59155E-06** at limit **
  13  Prefactor     11.787        19.835       -.16168E-05    .43918E-02
  14  Prefactor     8.0352        10.099       -.37824E-06    .74943E-02
  15  norm          .10000E-03    13.751       -.47234E-05** at limit **
  16  Prefactor     1.1536        2.3062       -.45689E-06    .15232E-04
  17  Prefactor     .10000E-03    3.7367       -.78938E-07** at limit **
  18  Prefactor     2.6916        2.6732       -.22028E-06    .30305E-04
  19  Normalizat    .96906        .21154        .67868E-05    .18065E-03
  20  Prefactor     .99319        .15756       -.17756E-05    .14527E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.44001
  Prefactor  = 0.0001
  norm       = 4.80118
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.35232
  norm       = 1.28527
  Prefactor  = 0.000177323
  Prefactor  = 0.0001
  Prefactor  = 1.74346
  norm       = 2.87444
  Prefactor  = 0.0001
  Prefactor  = 11.7866
  Prefactor  = 8.0352
  norm       = 0.0001
  Prefactor  = 1.15357
  Prefactor  = 0.0001
  Prefactor  = 2.69159
  Normalizat = 0.969056
  Prefactor  = 0.993192
 **********
 **   18 **HESSE 
 **********

 FCN=   6286.601     FROM HESSE     STATUS=OK           339 CALLS     1851 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4400        7.7748        .89882E-02   -1.5468    
   2  Prefactor     .10000E-03    15.617        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.8012        6.8656        .45892E-02   -1.5270    
   4  Prefactor     .10000E-03    6.7611        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.4628        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3523        12.463        .67046E-02   -1.5401    
   7  norm          1.2853        1.5492        .97657E-02   -1.5481    
   8  Prefactor     .17732E-03    114.42        .16733       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    32.938        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.7435        11.801        .79628E-02   -1.5444    
  11  norm          2.8744        1.2436        .59933E-02   -1.5369    
  12  Prefactor     .10000E-03    2.9692        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.787        22.653        .29195E-02   -1.5021    
  14  Prefactor     8.0352        20.344        .35384E-02   -1.5141    
  15  norm          .10000E-03    13.745        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.1536        2.3503        .10761E-01   -1.5493    
  17  Prefactor     .10000E-03    3.7251        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.6916        2.6751        .62088E-02   -1.5380    
  19  Normalizat    .96906        .18666        .45777E-01   -.94074    
  20  Prefactor     .99319        .13538        .46184E-01   -.92957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63874e-06
Minuit parameter uncertainties:
  1  6.69315
  2  2.14052e-05
  3  6.86671
  4  1.17185e-05
  5  7.91964e-06
  6  10.8324
  7  1.54922
  8  0.18848
  9  0.00021362
  10  9.07418
  11  1.24364
  12  2.25047e-06
  13  22.6696
  14  20.3611
  15  1.61506e-05
  16  2.35048
  17  6.14272e-07
  18  2.67522
  19  0.18679
  20  0.135425
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.179e+01  2.267e+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:  9.932e-01  1.354e-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.691e-01  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/539085/likelihoodResults_530409601_530668801_4FGL_J1532.0+3016_daily_bin1123.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) = 6286.59648789
delta logL = 0.00408034105658

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6286.59510075
delta logL = 0.00546748659599

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.491       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0258       1.0000          .0000       10.000    
     3 'Normalizat'    .96816       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99346       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=   6286.595     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      208 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.491        1009.9        .30926E-02    .53086E-03
   2  Index         2.0258        5.5866        .17928        .13553E-03
   3  Normalizat    .96819        .64964E-01    .45767E-01    .12779E-04
   4  Prefactor     .99345        .44088E-01    .46185E-01    .46596E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4907
  Index      = 2.02582
  Normalizat = 0.968194
  Prefactor  = 0.993446
 **********
 **   18 **HESSE 
 **********

 FCN=   6286.595     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.491        26.301        .12370E-03   -1.5060    
   2  Index         2.0258        1.0635        .11104E-01   -.63706    
   3  Normalizat    .96819        .19995        .26690E-03   -.94104    
   4  Prefactor     .99345        .15371        .20173E-03   -.92948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08914e-09
Minuit parameter uncertainties:
  1  26.3298
  2  1.07632
  3  0.200101
  4  0.153775
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/539085': 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) = 6286.59510073
delta logL = 0.00546750936883

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.049e+01  2.633e+01  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  2.026e+00  1.076e+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:  9.934e-01  1.538e-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.682e-01  2.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.39
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/539085/cmap_HighResolution_530409601_530668801_4FGL_J1532.0+3016_daily_bin1123.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-03', job_status='DONE', photon_flux_upper_limit='5.65e-08', time_completed='2021-09-12 03:56:43.117794', job_id='539085', GAL2='0.99', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1631444203.12', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.47e-03', ts2='0.40', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1123' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:56:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 539085: <4FGL_J1532.0+3016_daily_bin1123> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin1123> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 03:40:41 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:42:09 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:42:09 2021
Terminated at Sun Sep 12 03:56:43 2021
Results reported at Sun Sep 12 03:56:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1123 233.016 30.2685 530409601 530668801 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 :                                   566.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             228.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            962 sec.

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

