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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1059
RA = 233.016, Dec = 30.2685
tmin = 513820801, tmax = 514080001
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='538986', job_status='RUN', time_executed='2021-09-12 03:44:54.401306', time_epoch_executed='1631443494.4' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1059'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/538986

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/538986/ft1_4FGL_J1532.0+3016_daily_bin1059.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/538986/ft2_4FGL_J1532.0+3016_daily_bin1059.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/538986/ft1_4FGL_J1532.0+3016_daily_bin1059.fits outfile=/scratch/kocevski/538986/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1059.fits ra=233.016 dec=30.2685 rad=12.0 tmin=513820801.0 tmax=514080001.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.76
user 3.51
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/538986/ft1_filtered_4FGL_J1532.0+3016_daily_bin1059.fits" evtable="EVENTS" scfile=/scratch/kocevski/538986/ft2_4FGL_J1532.0+3016_daily_bin1059.fits sctable="SC_DATA" outfile=/scratch/kocevski/538986/ltcube_513820801_514080001_4FGL_J1532.0+3016_daily_bin1059.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/538986/ft2_4FGL_J1532.0+3016_daily_bin1059.fits
.....................!
real 12.83
user 12.48
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/538986/ft1_filtered_4FGL_J1532.0+3016_daily_bin1059.fits evtable="EVENTS" scfile=/scratch/kocevski/538986/ft2_4FGL_J1532.0+3016_daily_bin1059.fits sctable="SC_DATA" expcube=/scratch/kocevski/538986/ltcube_513820801_514080001_4FGL_J1532.0+3016_daily_bin1059.fits outfile=/scratch/kocevski/538986/expmap_513820801_514080001_4FGL_J1532.0+3016_daily_bin1059.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/538986/ltcube_513820801_514080001_4FGL_J1532.0+3016_daily_bin1059.fits
.....................!
real 190.07
user 185.33
sys 4.42

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/538986/ft1_filtered_4FGL_J1532.0+3016_daily_bin1059.fits scfile=/scratch/kocevski/538986/ft2_4FGL_J1532.0+3016_daily_bin1059.fits outfile=/scratch/kocevski/538986/cmap_513820801_514080001_4FGL_J1532.0+3016_daily_bin1059.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=233.016 yref=30.2685 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    37.391       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    21.718       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.5540       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.938       1.0000         .10000E-03   10000.    
     7 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    58.329       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.3838       1.0000         .10000E-03   10000.    
    11 'norm      '    4.7917       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .55432E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.1245       1.0000         .10000E-03   10000.    
    15 'norm      '    .10859E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.3444       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .84598       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0928       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=   6692.548     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     2060 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          37.392        10.630       -.12120E-07    .15346E-04
   2  Prefactor     .10000E-03    62.738       -.26474E-05** at limit **
   3  norm          21.721        13.297       -.12977E-06   -.85747E-04
   4  Prefactor     .10000E-03    39.952        .59175E-05** at limit **
   5  Prefactor     4.5551        5.8258        .11882E-05   -.93618E-05
   6  Prefactor     10.939        8.7508       -.10464E-06    .12165E-05
   7  norm          .10000E-03    .47833       -.21744E-07** at limit **
   8  Prefactor     .10000E-03    15.370       -.91620E-05** at limit **
   9  Prefactor     58.335        49.988        .49806E-05    .26905E-04
  10  Prefactor     7.3837        10.224       -.22424E-06    .58639E-04
  11  norm          4.7874        1.7633        .15156E-06    .34337E-02
  12  Prefactor     .10390E-03    8.5944       -.26765E-05** at limit **
  13  Prefactor     .10000E-03    13.322        .12958E-04** at limit **
  14  Prefactor     1.1273        6.8011        .19693E-05   -.65580E-03
  15  norm          .10000E-03    10.880       -.93588E-05** at limit **
  16  Prefactor     .10000E-03    1.0737        .37358E-07** at limit **
  17  Prefactor     .10000E-03    10.047        .41531E-05** at limit **
  18  Prefactor     2.3444        2.2212        .38163E-07    .90671E-05
  19  Normalizat    .84610        .18459       -.23698E-06    .24784E-03
  20  Prefactor     1.0927        .14049       -.42020E-06    .25851E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 37.3916
  Prefactor  = 0.0001
  norm       = 21.7211
  Prefactor  = 0.0001
  Prefactor  = 4.55509
  Prefactor  = 10.9385
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 58.3351
  Prefactor  = 7.38369
  norm       = 4.78738
  Prefactor  = 0.000103895
  Prefactor  = 0.0001
  Prefactor  = 1.12732
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.34445
  Normalizat = 0.846097
  Prefactor  = 1.09268
 **********
 **   18 **HESSE 
 **********

 FCN=   6692.548     FROM HESSE     STATUS=OK           297 CALLS     2357 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          37.392        10.632        .65543E-04   -1.4484    
   2  Prefactor     .10000E-03    63.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          21.721        13.285        .85948E-04   -1.4776    
   4  Prefactor     .10000E-03    40.890        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5551        5.8163        .18864E-03   -1.5281    
   6  Prefactor     10.939        8.7539        .12114E-03   -1.5046    
   7  norm          .10000E-03    .48735        .55152E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     58.335        50.060        .52530E-04   -1.4179    
  10  Prefactor     7.3837        10.226        .14760E-03   -1.5164    
  11  norm          4.7874        1.7920        .55670E-04   -1.5270    
  12  Prefactor     .10390E-03    10.754        .60275E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.1273        54.909        .22098E-02   -1.5496    
  15  norm          .10000E-03    10.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.0921        .82730E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.3444        2.2193        .11510E-03   -1.5402    
  19  Normalizat    .84610        .21423        .29602E-03   -.98381    
  20  Prefactor     1.0927        .16294        .20496E-03   -.89701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15582e-08
Minuit parameter uncertainties:
  1  10.6326
  2  2.0471e-05
  3  13.2868
  4  6.77991e-05
  5  5.81702
  6  8.75488
  7  1.74048e-06
  8  7.81056e-05
  9  50.0958
  10  10.2279
  11  1.79203
  12  0.0129465
  13  0.000113836
  14  15.75
  15  2.62328e-05
  16  1.9177e-06
  17  2.54402e-05
  18  2.21937
  19  0.214449
  20  0.163014
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.138e-04  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.093e+00  1.630e-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:  8.461e-01  2.144e-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: 4.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/538986/likelihoodResults_513820801_514080001_4FGL_J1532.0+3016_daily_bin1059.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) = 6692.54842461
delta logL = -0.000356319935236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6692.54806881
delta logL = -5.22117261426e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11455E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8882       1.0000          .0000       10.000    
     3 'Normalizat'    .84622       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0926       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6692.548     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      245 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10679E-03    4.8758        .18142E-01** at limit **
   2  Index         1.7302        5.2970        .50000        .12710E-04
   3  Normalizat    .84610        .24572E-02    .29602E-03   -.36600E-04
   4  Prefactor     1.0927        .19214E-02    .20496E-03   -.64686E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010679
  Index      = 1.73024
  Normalizat = 0.846095
  Prefactor  = 1.09268
 **********
 **   18 **HESSE 
 **********

 FCN=   6692.548     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10679E-03    106.30        .32839E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7302        7.6929        .50000       -.71280    
   3  Normalizat    .84610        .11552E-01    .11841E-04   -.98381    
   4  Prefactor     1.0927        .90329E-02    .40992E-04   -.89701    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.24291e-08
Minuit parameter uncertainties:
  1  0.0538289
  2  447.229
  3  0.0115517
  4  0.00903296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/538986': 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) = 6692.54806771
delta logL = 5.86063833907e-07

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.068e-04  5.383e-02  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  1.730e+00  4.472e+02  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.093e+00  9.033e-03  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:  8.461e-01  1.155e-02  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/538986/cmap_HighResolution_513820801_514080001_4FGL_J1532.0+3016_daily_bin1059.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.30e-03', job_status='DONE', photon_flux_upper_limit='4.42e-08', time_completed='2021-09-12 03:56:57.701794', job_id='538986', GAL2='1.09', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1631444217.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='5.86e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1059' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:56:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 538986: <4FGL_J1532.0+3016_daily_bin1059> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1059 233.016 30.2685 513820801 514080001 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 :                                   621.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             265.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            984 sec.

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

