/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 219 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 = 7419
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1532.0+3016_daily_bin88
RA = 233.016, Dec = 30.2685
tmin = 262137601, tmax = 262396801
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='534368', job_status='RUN', time_executed='2021-09-12 03:29:17.866899', time_epoch_executed='1631442557.87' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='88'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534368

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534368/ft1_4FGL_J1532.0+3016_daily_bin88.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534368/ft2_4FGL_J1532.0+3016_daily_bin88.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534368/ft1_4FGL_J1532.0+3016_daily_bin88.fits outfile=/scratch/kocevski/534368/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin88.fits ra=233.016 dec=30.2685 rad=12.0 tmin=262137601.0 tmax=262396801.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 1.40
user 1.21
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534368/ft1_filtered_4FGL_J1532.0+3016_daily_bin88.fits evtable="EVENTS" scfile=/scratch/kocevski/534368/ft2_4FGL_J1532.0+3016_daily_bin88.fits sctable="SC_DATA" expcube=/scratch/kocevski/534368/ltcube_262137601_262396801_4FGL_J1532.0+3016_daily_bin88.fits outfile=/scratch/kocevski/534368/expmap_262137601_262396801_4FGL_J1532.0+3016_daily_bin88.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/534368/ltcube_262137601_262396801_4FGL_J1532.0+3016_daily_bin88.fits
.....................!
real 191.28
user 186.26
sys 4.69

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/534368/ft1_filtered_4FGL_J1532.0+3016_daily_bin88.fits scfile=/scratch/kocevski/534368/ft2_4FGL_J1532.0+3016_daily_bin88.fits outfile=/scratch/kocevski/534368/cmap_262137601_262396801_4FGL_J1532.0+3016_daily_bin88.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/534368/ft1_filtered_4FGL_J1532.0+3016_daily_bin88.fits scfile=/scratch/kocevski/534368/ft2_4FGL_J1532.0+3016_daily_bin88.fits outfile=/scratch/kocevski/534368/cmap_HighResolution_262137601_262396801_4FGL_J1532.0+3016_daily_bin88.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4807       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.017       1.0000         .10000E-03   10000.    
     3 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.5614       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    75.956       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.249       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    18.646       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .22037E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10350E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.2480       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.7882       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .31221E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .87632       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0411       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99257       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=   6398.566     FROM MIGRAD    STATUS=CONVERGED    427 CALLS     1805 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4806        4.9015        .41523E-05   -.99548E-04
   2  Prefactor     22.017        23.589        .20935E-06   -.88989E-06
   3  norm          .10000E-03    5.6844        .19253E-06** at limit **
   4  Prefactor     5.5850        14.439       -.12495E-05   -.13564E-03
   5  Prefactor     .10000E-03    4.3223        .36212E-06** at limit **
   6  Prefactor     .10000E-03    2.2748       -.22688E-07** at limit **
   7  norm          .10000E-03    1.1696        .12250E-05** at limit **
   8  Prefactor     75.991        71.585       -.37364E-05   -.48432E-04
   9  Prefactor     10.250        29.416        .75806E-06    .16233E-05
  10  Prefactor     .10000E-03    1.8162       -.19827E-07** at limit **
  11  norm          18.645        2.5570        .47176E-07   -.36324E-03
  12  Prefactor     .10000E-03    4.8467       -.34003E-07** at limit **
  13  Prefactor     .10000E-03    101.96       -.20343E-06** at limit **
  14  Prefactor     .10000E-03    48.232       -.16097E-05** at limit **
  15  norm          5.2397        17.413        .19171E-05    .65922E-04
  16  Prefactor     4.7865        2.9575        .82225E-07    .94132E-04
  17  Prefactor     .10013E-03    8.4040       -.28154E-05** at limit **
  18  Prefactor     .87564        2.9132        .37273E-06   -.71648E-04
  19  Normalizat    1.0416        .20516       -.26207E-05   -.19089E-03
  20  Prefactor     .99227        .14567        .13817E-05    .11273E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.48057
  Prefactor  = 22.0169
  norm       = 0.0001
  Prefactor  = 5.58499
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 75.9909
  Prefactor  = 10.2501
  Prefactor  = 0.0001
  norm       = 18.6454
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.23968
  Prefactor  = 4.78649
  Prefactor  = 0.000100127
  Prefactor  = 0.875642
  Normalizat = 1.04159
  Prefactor  = 0.992274
 **********
 **   18 **HESSE 
 **********

 FCN=   6398.566     FROM HESSE     STATUS=OK           291 CALLS     2096 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4806        5.0438        .12464E-02   -1.5393    
   2  Prefactor     22.017        23.615        .85364E-04   -1.4769    
   3  norm          .10000E-03    5.7273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.5850        14.499        .17036E-03   -1.5235    
   5  Prefactor     .10000E-03    4.3466        .16239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.2771        .11782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.6967        .16091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     75.991        71.616        .23036E-03   -1.3962    
   9  Prefactor     10.250        29.415        .62579E-03   -1.5068    
  10  Prefactor     .10000E-03    1.8183        .10528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          18.645        2.5644        .44705E-04   -1.4844    
  12  Prefactor     .10000E-03    4.8569        .17187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    106.69        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    48.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.2397        17.437        .17546E-03   -1.5250    
  16  Prefactor     4.7865        2.9565        .10333E-03   -1.5270    
  17  Prefactor     .10013E-03    55.372        .41046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .87564        2.8704        .23779E-03   -1.5521    
  19  Normalizat    1.0416        .23899        .28830E-03   -.91650    
  20  Prefactor     .99227        .17128        .22324E-03   -.92988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75452e-09
Minuit parameter uncertainties:
  1  5.04462
  2  23.6246
  3  2.60426e-05
  4  14.5078
  5  3.95339e-05
  6  2.15324e-06
  7  2.00256e-05
  8  71.6977
  9  29.4568
  10  1.47871e-06
  11  2.56442
  12  3.19591e-06
  13  0.000365444
  14  0.000183376
  15  17.4536
  16  2.95654
  17  0.00530795
  18  2.87083
  19  0.239238
  20  0.171379
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  3.654e-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:  9.923e-01  1.714e-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:  1.042e+00  2.392e-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.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/534368/likelihoodResults_262137601_262396801_4FGL_J1532.0+3016_daily_bin88.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) = 6398.56609745
delta logL = -4.46297981398e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6398.54626549
delta logL = 0.0197873298102

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0612       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7335       1.0000          .0000       10.000    
     3 'Normalizat'    1.0409       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99187       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6398.546     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      316 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0568        39.871        .41944E-03    .80228E-05
   2  Index         2.7383        3.7124        .12393E-01    .72610E-05
   3  Normalizat    1.0379        .22147        .28867E-03   -.15044E-04
   4  Prefactor     .99292        .16811        .22312E-03   -.22165E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05685
  Index      = 2.73833
  Normalizat = 1.03788
  Prefactor  = 0.992922
 **********
 **   18 **HESSE 
 **********

 FCN=   6398.546     FROM HESSE     STATUS=OK            25 CALLS      341 TOTAL
                     EDM=   .69E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0568        14.797        .16778E-04   -1.5502    
   2  Index         2.7383        2.5193        .49571E-03   -.46938    
   3  Normalizat    1.0379        .22151        .11547E-04   -.91772    
   4  Prefactor     .99292        .16814        .89248E-05   -.92966    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8946e-13
Minuit parameter uncertainties:
  1  7.91101
  2  2.67726
  3  0.221709
  4  0.16823
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534368': 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) = 6398.54611848
delta logL = 0.019934342914

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.057e+00  7.911e+00  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  2.738e+00  2.677e+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.929e-01  1.682e-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:  1.038e+00  2.217e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/534368/cmap_HighResolution_262137601_262396801_4FGL_J1532.0+3016_daily_bin88.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.77e-03', job_status='DONE', photon_flux_upper_limit='5.06e-08', time_completed='2021-09-12 03:39:11.097787', job_id='534368', GAL2='0.99', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1631443151.1', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.99e-02', ts2='0.04', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='88' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:39:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 534368: <4FGL_J1532.0+3016_daily_bin88> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin88> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 03:25:28 2021
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:25:30 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:25:30 2021
Terminated at Sun Sep 12 03:39:11 2021
Results reported at Sun Sep 12 03:39:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin88 233.016 30.2685 262137601 262396801 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 :                                   592.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            823 sec.

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

