/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 189 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 = 7393
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1532.0+3016_daily_bin231
RA = 233.016, Dec = 30.2685
tmin = 299203201, tmax = 299462401
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='534587', job_status='RUN', time_executed='2021-09-12 03:29:01.823580', time_epoch_executed='1631442541.82' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='231'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534587

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534587/ft1_4FGL_J1532.0+3016_daily_bin231.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534587/ft2_4FGL_J1532.0+3016_daily_bin231.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534587/ft1_4FGL_J1532.0+3016_daily_bin231.fits outfile=/scratch/kocevski/534587/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin231.fits ra=233.016 dec=30.2685 rad=12.0 tmin=299203201.0 tmax=299462401.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.41
user 3.18
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/534587/ft2_4FGL_J1532.0+3016_daily_bin231.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/534587/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin231.fits evtable="EVENTS" outfile="/scratch/kocevski/534587/ft1_filtered_4FGL_J1532.0+3016_daily_bin231.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/534587/ft1_filtered_4FGL_J1532.0+3016_daily_bin231.fits" evtable="EVENTS" scfile=/scratch/kocevski/534587/ft2_4FGL_J1532.0+3016_daily_bin231.fits sctable="SC_DATA" outfile=/scratch/kocevski/534587/ltcube_299203201_299462401_4FGL_J1532.0+3016_daily_bin231.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/534587/ft2_4FGL_J1532.0+3016_daily_bin231.fits
.....................!
real 13.09
user 12.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534587/ft1_filtered_4FGL_J1532.0+3016_daily_bin231.fits evtable="EVENTS" scfile=/scratch/kocevski/534587/ft2_4FGL_J1532.0+3016_daily_bin231.fits sctable="SC_DATA" expcube=/scratch/kocevski/534587/ltcube_299203201_299462401_4FGL_J1532.0+3016_daily_bin231.fits outfile=/scratch/kocevski/534587/expmap_299203201_299462401_4FGL_J1532.0+3016_daily_bin231.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/534587/ltcube_299203201_299462401_4FGL_J1532.0+3016_daily_bin231.fits
.....................!
real 191.36
user 186.54
sys 4.30

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/534587/ft1_filtered_4FGL_J1532.0+3016_daily_bin231.fits scfile=/scratch/kocevski/534587/ft2_4FGL_J1532.0+3016_daily_bin231.fits outfile=/scratch/kocevski/534587/cmap_299203201_299462401_4FGL_J1532.0+3016_daily_bin231.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534587/ft1_filtered_4FGL_J1532.0+3016_daily_bin231.fits scfile=/scratch/kocevski/534587/ft2_4FGL_J1532.0+3016_daily_bin231.fits outfile=/scratch/kocevski/534587/cmap_HighResolution_299203201_299462401_4FGL_J1532.0+3016_daily_bin231.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6199       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16331E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.4301       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.052       1.0000         .10000E-03   10000.    
     7 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    62.561       1.0000         .10000E-03   10000.    
     9 'Prefactor '    81.231       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    8.9230       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    36.856       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.9486       1.0000         .10000E-03   10000.    
    15 'norm      '    .12163E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .59209       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12259E-02   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .86102       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95248       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=   6181.816     FROM MIGRAD    STATUS=CONVERGED    430 CALLS     2074 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6202        4.4265       -.27110E-05    .25313E-03
   2  Prefactor     .10000E-03    88.156        .19312E-05** at limit **
   3  norm          .10000E-03    3.8879        .13852E-07** at limit **
   4  Prefactor     9.4243        13.815        .10084E-06   -.50072E-04
   5  Prefactor     .10000E-03    3.5863       -.56214E-07** at limit **
   6  Prefactor     11.054        7.8026        .16352E-05   -.33809E-03
   7  norm          .10000E-03    .78771       -.86931E-08** at limit **
   8  Prefactor     62.562        58.872        .17696E-05    .67295E-05
   9  Prefactor     81.246        53.174        .10943E-04   -.32564E-03
  10  Prefactor     .10000E-03    2.4622       -.38075E-07** at limit **
  11  norm          8.9234        1.9045       -.30414E-07    .55883E-03
  12  Prefactor     .10000E-03    23.201       -.99270E-06** at limit **
  13  Prefactor     36.862        35.536        .46446E-05   -.76613E-04
  14  Prefactor     1.9179        78.103       -.21702E-04    .14363E-04
  15  norm          .10000E-03    14.643        .11759E-05** at limit **
  16  Prefactor     .59321        2.1758       -.14912E-05   -.14639E-02
  17  Prefactor     .10000E-03    2.0598        .74892E-08** at limit **
  18  Prefactor     .10003E-03    1.4742        .12929E-06** at limit **
  19  Normalizat    .86100        .18222        .12076E-05    .82738E-04
  20  Prefactor     .95232        .13203       -.92116E-06    .23897E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.62019
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.42432
  Prefactor  = 0.0001
  Prefactor  = 11.0537
  norm       = 0.0001
  Prefactor  = 62.5622
  Prefactor  = 81.2461
  Prefactor  = 0.0001
  norm       = 8.92337
  Prefactor  = 0.0001
  Prefactor  = 36.862
  Prefactor  = 1.91789
  norm       = 0.000100002
  Prefactor  = 0.593206
  Prefactor  = 0.0001
  Prefactor  = 0.000100031
  Normalizat = 0.861
  Prefactor  = 0.952322
 **********
 **   18 **HESSE 
 **********

 FCN=   6181.816     FROM HESSE     STATUS=OK           291 CALLS     2365 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6202        4.4302        .17827E-03   -1.5327    
   2  Prefactor     .10000E-03    89.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.9000        .15140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.4243        13.797        .13050E-03   -1.5094    
   5  Prefactor     .10000E-03    3.6052        .14528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.054        7.7693        .12051E-03   -1.5043    
   7  norm          .10000E-03    1.2802        .13297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     62.562        58.611        .50732E-04   -1.4124    
   9  Prefactor     81.246        51.953        .44563E-04   -1.3903    
  10  Prefactor     .10000E-03    2.4687        .12048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.9234        1.9017        .46328E-04   -1.5110    
  12  Prefactor     .10000E-03    23.709        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     36.862        35.529        .66016E-04   -1.4493    
  14  Prefactor     1.9179        79.951        .29731E-03   -1.5431    
  15  norm          .10000E-03    14.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .59321        2.2675        .21616E-03   -1.5554    
  17  Prefactor     .10000E-03    2.0612        .11020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10003E-03    39.415        .18241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .86100        .20507        .27010E-03   -.97844    
  20  Prefactor     .95232        .15145        .20164E-03   -.94336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49527e-09
Minuit parameter uncertainties:
  1  4.43058
  2  0.000248883
  3  5.10911e-07
  4  13.8021
  5  7.18782e-07
  6  7.77004
  7  1.69231e-06
  8  58.6648
  9  51.9819
  10  2.60435e-06
  11  1.90173
  12  7.26611e-05
  13  35.5493
  14  24.8009
  15  0.000374648
  16  2.2678
  17  3.3253e-08
  18  0.00221249
  19  0.205255
  20  0.151515
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  3.686e+01  3.555e+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.523e-01  1.515e-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.610e-01  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.52
Ra Dec: 233.016 30.268
Photon Index (Fixed Index): 1.92 +/- 0.00
Photon Flux (Fixed Index): 2.50e-08 +/- 2.41e-08
Energy Flux (Fixed Index): 2.10e-05 +/- 2.03e-05

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

Saving results to:
/scratch/kocevski/534587/likelihoodResults_299203201_299462401_4FGL_J1532.0+3016_daily_bin231.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) = 6181.4741575
delta logL = 0.34177077505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6181.46689091
delta logL = 0.349037359866

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.219       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5859       1.0000          .0000       10.000    
     3 'Normalizat'    .82724       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96419       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=   6181.467     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      291 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.228        43.673        .96519E-04    .22109E-03
   2  Index         2.5864        1.1764        .46083E-02    .11357E-03
   3  Normalizat    .82738        .19740        .27443E-03   -.53932E-03
   4  Prefactor     .96415        .14958        .20034E-03   -.31153E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2283
  Index      = 2.58637
  Normalizat = 0.82738
  Prefactor  = 0.96415
 **********
 **   18 **HESSE 
 **********

 FCN=   6181.467     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.228        28.152        .38608E-05   -1.4878    
   2  Index         2.5864        .76190        .18433E-03   -.50376    
   3  Normalizat    .82738        .19266        .54886E-04   -.99061    
   4  Prefactor     .96415        .14809        .40068E-04   -.93934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00778e-10
Minuit parameter uncertainties:
  1  28.1738
  2  0.765794
  3  0.192814
  4  0.148154
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534587': 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) = 6181.46688776
delta logL = 0.34904051283

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.723e+01  2.817e+01  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  2.586e+00  7.658e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  2.847e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  9.641e-01  1.482e-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.274e-01  1.928e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.24
Ra Dec: 233.016 30.268
Photon Index (Free Index): 2.59 +/- 0.77
Photon Flux (Free Index): 6.28e-08 +/- 5.94e-08
Energy Flux (Free Index): 1.67e-05 +/- 1.22e-05

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/534587/cmap_HighResolution_299203201_299462401_4FGL_J1532.0+3016_daily_bin231.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.41e-03', comment='SUCCESS', photon_flux='2.50e-08', energy_flux2='1.67e-05', photon_flux_error='2.41e-08', dlogl='3.49e-01', energy_flux='2.10e-05', photon_flux2='6.28e-08', job_status='DONE', time_completed='2021-09-12 03:39:15.070427', photon_index_error2='0.77', photon_index2='2.59', ts='2.52', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='8.60e-08', energy_flux_error2='1.22e-05', EG='0.86', time_epoch_completed='1631443155.07', return_code='0', job_id='534587', GAL2='0.96', EG2='0.83', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='5.94e-08', ts2='3.24', photon_index='1.92' WHERE bin_id='231' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:39:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 534587: <4FGL_J1532.0+3016_daily_bin231> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin231 233.016 30.2685 299203201 299462401 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 :                                   609.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            813 sec.

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

