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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1647
RA = 233.016, Dec = 30.2685
tmin = 666230401, tmax = 666489601
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='827264', job_status='RUN', time_executed='2022-02-14 00:14:23.008058', time_epoch_executed='1644826463.01' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1647'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/827264

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/827264/ft1_4FGL_J1532.0+3016_daily_bin1647.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/827264/ft2_4FGL_J1532.0+3016_daily_bin1647.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/827264/ft1_4FGL_J1532.0+3016_daily_bin1647.fits outfile=/scratch/kocevski/827264/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1647.fits ra=233.016 dec=30.2685 rad=12.0 tmin=666230401.0 tmax=666489601.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 4.43
user 4.15
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/827264/ft1_filtered_4FGL_J1532.0+3016_daily_bin1647.fits evtable="EVENTS" scfile=/scratch/kocevski/827264/ft2_4FGL_J1532.0+3016_daily_bin1647.fits sctable="SC_DATA" expcube=/scratch/kocevski/827264/ltcube_666230401_666489601_4FGL_J1532.0+3016_daily_bin1647.fits outfile=/scratch/kocevski/827264/expmap_666230401_666489601_4FGL_J1532.0+3016_daily_bin1647.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/827264/ltcube_666230401_666489601_4FGL_J1532.0+3016_daily_bin1647.fits
.....................!
real 190.54
user 185.27
sys 4.77

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/827264/ft1_filtered_4FGL_J1532.0+3016_daily_bin1647.fits scfile=/scratch/kocevski/827264/ft2_4FGL_J1532.0+3016_daily_bin1647.fits outfile=/scratch/kocevski/827264/cmap_666230401_666489601_4FGL_J1532.0+3016_daily_bin1647.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/827264/ft1_filtered_4FGL_J1532.0+3016_daily_bin1647.fits scfile=/scratch/kocevski/827264/ft2_4FGL_J1532.0+3016_daily_bin1647.fits outfile=/scratch/kocevski/827264/cmap_HighResolution_666230401_666489601_4FGL_J1532.0+3016_daily_bin1647.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.56
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.188       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.5154       1.0000         .10000E-03   10000.    
     3 'norm      '    8.9512       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.9500       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9378       1.0000         .10000E-03   10000.    
     7 'norm      '    .10125E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .29859E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .88426E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.1935       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10674E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10770E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.2314       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.3673       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .18190E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.9911       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .92158       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92849       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=   6535.835     FROM MIGRAD    STATUS=CONVERGED    734 CALLS     2109 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.190        7.9541        .11474E-03   -.31408E-04
   2  Prefactor     6.5129        23.495        .15723E-03   -.84600E-05
   3  norm          8.9538        8.4979        .13397E-03   -.37339E-05
   4  Prefactor     .10000E-03    13.067        .18142E-02** at limit **
   5  Prefactor     2.9492        8.4162        .11823E-02   -.24821E-03
   6  Prefactor     2.9395        4.1448        .19094E-03   -.95265E-05
   7  norm          .10000E-03    .67165        .64006E-03** at limit **
   8  Prefactor     .10000E-03    148.00        .21392E-02** at limit **
   9  Prefactor     .10032E-03    47.614        .14657    ** at limit **
  10  Prefactor     .10000E-03    3.6276        .14950E-02** at limit **
  11  norm          .10000E-03    .30942        .86254E-04** at limit **
  12  Prefactor     8.1965        6.3394        .14006E-03   -.19968E-04
  13  Prefactor     .10000E-03    14.736        .18142E-02** at limit **
  14  Prefactor     .10000E-03    7.5962        .18142E-02** at limit **
  15  norm          6.2304        9.0940        .16081E-03   -.44538E-05
  16  Prefactor     2.3675        2.0054        .10117E-03    .25284E-04
  17  Prefactor     .10034E-03    39.258        .40102E-02** at limit **
  18  Prefactor     3.9918        3.0018        .11604E-03   -.22533E-04
  19  Normalizat    .92154        .19459        .25184E-03   -.21122E-03
  20  Prefactor     .92840        .14550        .19484E-03   -.96626E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.19
  Prefactor  = 6.51286
  norm       = 8.95383
  Prefactor  = 0.0001
  Prefactor  = 2.94915
  Prefactor  = 2.93951
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100316
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.19647
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.23035
  Prefactor  = 2.36755
  Prefactor  = 0.000100336
  Prefactor  = 3.99182
  Normalizat = 0.921535
  Prefactor  = 0.928401
 **********
 **   18 **HESSE 
 **********

 FCN=   6535.835     FROM HESSE     STATUS=OK           281 CALLS     2390 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.190        7.9541        .45898E-05   -1.5010    
   2  Prefactor     6.5129        23.492        .62891E-05   -1.5198    
   3  norm          8.9538        8.4973        .53587E-05   -1.5109    
   4  Prefactor     .10000E-03    13.073        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.9492        8.4086        .47290E-04   -1.5364    
   6  Prefactor     2.9395        4.1447        .76376E-05   -1.5365    
   7  norm          .10000E-03    .67169        .12801E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    148.05        .42784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10032E-03    47.978        .14584       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.6287        .29900E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .30942        .17251E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.1965        6.3393        .56025E-05   -1.5135    
  13  Prefactor     .10000E-03    14.738        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.5963        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.2304        9.0937        .64325E-05   -1.5209    
  16  Prefactor     2.3675        2.0053        .40468E-05   -1.5400    
  17  Prefactor     .10034E-03    39.948        .80203E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.9918        3.0016        .46417E-05   -1.5308    
  19  Normalizat    .92154        .19466        .10073E-04   -.95707    
  20  Prefactor     .92840        .14560        .77936E-05   -.95156    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.68762e-09
Minuit parameter uncertainties:
  1  7.95478
  2  23.5253
  3  8.49843
  4  6.43898e-05
  5  8.41196
  6  4.14515
  7  6.20471e-06
  8  0.000908266
  9  0.00779162
  10  1.72042e-05
  11  2.53815e-06
  12  6.33978
  13  2.89954e-06
  14  1.90137e-05
  15  9.09572
  16  2.00538
  17  0.0073319
  18  3.00173
  19  0.194809
  20  0.145658
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  2.900e-06  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.284e-01  1.457e-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.215e-01  1.948e-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: 3.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/827264/likelihoodResults_666230401_666489601_4FGL_J1532.0+3016_daily_bin1647.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) = 6535.83482345
delta logL = -0.00032328983707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6535.83450017
delta logL = -1.09166649054e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9180       1.0000          .0000       10.000    
     3 'Normalizat'    .92153       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92841       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=   6535.835     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      203 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.7976        .90712E-02** at limit **
   2  Index         1.9126        7.9221        .50000        .27903E-05
   3  Normalizat    .92154        .27860E-02    .45176E-01    .16286E-04
   4  Prefactor     .92840        .21744E-02    .45366E-01    .67965E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.91257
  Normalizat = 0.921537
  Prefactor  = 0.9284
 **********
 **   18 **HESSE 
 **********

 FCN=   6535.835     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      236 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    147.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9126        5.5792        .50000       -.66554    
   3  Normalizat    .92154        .13131E-01    .25184E-03   -.95707    
   4  Prefactor     .92840        .10250E-01    .19484E-03   -.95156    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.35105e-07
Minuit parameter uncertainties:
  1  4.30596e-06
  2  517.876
  3  0.0131307
  4  0.0102499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/827264': 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) = 6535.83450015
delta logL = 7.93716026237e-09

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  4.306e-06  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  1.913e+00  5.179e+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:  9.284e-01  1.025e-02  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.215e-01  1.313e-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/827264/cmap_HighResolution_666230401_666489601_4FGL_J1532.0+3016_daily_bin1647.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.78e-03', job_status='DONE', photon_flux_upper_limit='3.73e-08', time_completed='2022-02-14 00:24:50.191343', job_id='827264', GAL2='0.93', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1644827090.19', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='7.94e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1647' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 14 00:24:50 PST 2022

UCCESS', return_code='0', GAL='0.93', dlogl='7.94e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1647' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 14 00:22:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 827114: <4FGL_J1532.0+3016_daily_bin1647> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin1647> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Feb 14 00:08:15 2022
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 14 00:08:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 14 00:08:17 2022
Terminated at Mon Feb 14 00:22:47 2022
Results reported at Mon Feb 14 00:22:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1647 233.016 30.2685 666230401 666489601 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 :                                   623.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             272.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            872 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 827264: <4FGL_J1532.0+3016_daily_bin1647> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin1647> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Mon Feb 14 00:08:24 2022
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 14 00:08:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 14 00:08:27 2022
Terminated at Mon Feb 14 00:24:50 2022
Results reported at Mon Feb 14 00:24:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1647 233.016 30.2685 666230401 666489601 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 :                                   626.10 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             221.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            986 sec.

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

