aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 232 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1745
RA = 233.016, Dec = 30.2685
tmin = 691632001, tmax = 691891201
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='649188', job_status='RUN', time_executed='2022-12-05 00:54:36.282818', time_epoch_executed='1670230476.28' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/649188

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/649188/ft1_4FGL_J1532.0+3016_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/649188/ft2_4FGL_J1532.0+3016_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/649188/ft1_4FGL_J1532.0+3016_daily_bin1745.fits outfile=/scratch/kocevski/649188/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1745.fits ra=233.016 dec=30.2685 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.35
user 2.16
sys 0.18

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

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

Number of photons that the gtmktime cut: 886

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/649188/ft1_filtered_4FGL_J1532.0+3016_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/649188/ft2_4FGL_J1532.0+3016_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/649188/ltcube_691632001_691891201_4FGL_J1532.0+3016_daily_bin1745.fits outfile=/scratch/kocevski/649188/expmap_691632001_691891201_4FGL_J1532.0+3016_daily_bin1745.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/649188/ltcube_691632001_691891201_4FGL_J1532.0+3016_daily_bin1745.fits
.....................!
real 190.07
user 185.25
sys 4.48

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/649188/ft1_filtered_4FGL_J1532.0+3016_daily_bin1745.fits scfile=/scratch/kocevski/649188/ft2_4FGL_J1532.0+3016_daily_bin1745.fits outfile=/scratch/kocevski/649188/cmap_691632001_691891201_4FGL_J1532.0+3016_daily_bin1745.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/649188/ft1_filtered_4FGL_J1532.0+3016_daily_bin1745.fits scfile=/scratch/kocevski/649188/ft2_4FGL_J1532.0+3016_daily_bin1745.fits outfile=/scratch/kocevski/649188/cmap_HighResolution_691632001_691891201_4FGL_J1532.0+3016_daily_bin1745.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/649188/ft1_filtered_4FGL_J1532.0+3016_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/649188/ft2_4FGL_J1532.0+3016_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/649188/Model_4FGL_J1532.0+3016_daily_bin1745.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/649188/ft1_filtered_4FGL_J1532.0+3016_daily_bin1745.fits.....................!
real 67.33
user 65.99
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/649188/ft1_filtered_4FGL_J1532.0+3016_daily_bin1745.fits', '/scratch/kocevski/649188/ft2_4FGL_J1532.0+3016_daily_bin1745.fits', expMap='/scratch/kocevski/649188/expmap_691632001_691891201_4FGL_J1532.0+3016_daily_bin1745.fits', expCube='/scratch/kocevski/649188/ltcube_691632001_691891201_4FGL_J1532.0+3016_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/649188/Model_4FGL_J1532.0+3016_daily_bin1745.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  0.000e+00  1.000e+06 ( 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/649188/ft1_filtered_4FGL_J1532.0+3016_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/649188/ft2_4FGL_J1532.0+3016_daily_bin1745.fits
Exposure map: /scratch/kocevski/649188/expmap_691632001_691891201_4FGL_J1532.0+3016_daily_bin1745.fits
Exposure cube: /scratch/kocevski/649188/ltcube_691632001_691891201_4FGL_J1532.0+3016_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/649188/Model_4FGL_J1532.0+3016_daily_bin1745.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) = 9651.18827438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2960       1.0000          .0000       .10000E+07
     2 'Prefactor '    73.794       1.0000          .0000       .10000E+07
     3 'norm      '    5.2712       1.0000          .0000       .10000E+07
     4 'Prefactor '    .26997E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .76597E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .63785E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .76302       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17475E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.738       1.0000          .0000       .10000E+07
    10 'norm      '    .13016E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89143E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    14.902       1.0000          .0000       .10000E+07
    13 'norm      '    .59347E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13634E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    8.5614       1.0000          .0000       .10000E+07
    16 'Prefactor '    .79547E-07   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1442       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .78488       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9651.188     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     1454 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2939        6.5409        .66957E-07    .64850E-02
   2  Prefactor     73.792        1.0132        .15784E-08    .54792E-02
   3  norm          5.2931        4.3868       -.14352E-07   -.15832E-03
   4  Prefactor     .44076E-07    20.200        .33675E-06** at limit **
   5  Prefactor     .33307E-09    2.7355       -.74551E-07** at limit **
   6  Prefactor     .98810E-08    3.7669       -.62406E-07** at limit **
   7  norm          .76370        .82839        .43065E-07   -.12627E-02
   8  Prefactor     .20151E-07    13.921        .79201E-06** at limit **
   9  Prefactor     10.738        2.8852       -.40247E-07    .95105E-01
  10  norm          .14638E-01    3.5456       -.27803E-06** at limit **
  11  Prefactor     .10547E-08    3.4994       -.29235E-06** at limit **
  12  Prefactor     14.897        1.2586       -.22812E-07    .15972E-01
  13  norm          .59952E-08    1.8727       -.41496E-07** at limit **
  14  Prefactor      .0000        .75654        .84218E-07** at limit **
  15  Prefactor     8.4878        7.1605       -.74116E-08   -.84404E-02
  16  Prefactor      .0000        .75049        .13727E-07** at limit **
  17  Normalizat    1.1439        .14973       -.56085E-05   -.14349E-03
  18  Prefactor     .78512        .11547        .37504E-05   -.76405E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.29385
  Prefactor  = 73.7918
  norm       = 5.29306
  Prefactor  = 4.40759e-08
  Prefactor  = 3.33067e-10
  Prefactor  = 9.88098e-09
  norm       = 0.763703
  Prefactor  = 2.01505e-08
  Prefactor  = 10.738
  norm       = 0.0146384
  Prefactor  = 1.05471e-09
  Prefactor  = 14.8972
  norm       = 5.9952e-09
  Prefactor  = 0
  Prefactor  = 8.48778
  Prefactor  = 0
  Normalizat = 1.14395
  Prefactor  = 0.785123
 **********
 **   18 **HESSE 
 **********

 FCN=   9651.188     FROM HESSE     STATUS=OK           286 CALLS     1740 TOTAL
                     EDM=   .93E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2939        6.5486        .34783E-03   -1.5650    
   2  Prefactor     73.792        33.392        .11642E-03   -1.5536    
   3  norm          5.2931        4.3878        .43755E-03   -1.5662    
   4  Prefactor     .44076E-07    20.100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33307E-09    4.3299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .98810E-08    3.9995        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .76370        .83648        .55733E-03   -1.5690    
   8  Prefactor     .20151E-07    13.951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.738        32.884        .30550E-03   -1.5642    
  10  norm          .14638E-01    .28493        .27788E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10547E-08    3.5297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.897        17.586        .25920E-03   -1.5631    
  13  norm          .59952E-08    4.1541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        .75184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.4878        7.1572        .34235E-03   -1.5650    
  16  Prefactor      .0000        .74875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1439        .13120        .52313E-01   -.88353    
  18  Prefactor     .78512        .99689E-01    .43520E-01   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.3054e-07
Minuit parameter uncertainties:
  1  6.54858
  2  33.3925
  3  4.38783
  4  0.00188227
  5  7.60015e-05
  6  0.000397109
  7  0.836484
  8  0.00106084
  9  32.8846
  10  0.129165
  11  0.000121176
  12  17.5859
  13  0.000314951
  14  2.17751e-06
  15  7.15721
  16  3.98834e-07
  17  0.131238
  18  0.0997123
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.490e+01  1.759e+01  0.000e+00  1.000e+06 ( 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:  7.851e-01  9.971e-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:  1.144e+00  1.312e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.54
Ra Dec: 233.016 30.268
Photon Index (Fixed Index): 1.92 +/- 0.00
Photon Flux (Fixed Index): 1.01e-08 +/- 1.19e-08
Energy Flux (Fixed Index): 8.51e-06 +/- 1.00e-05

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

Saving results to:
/scratch/kocevski/649188/likelihoodResults_691632001_691891201_4FGL_J1532.0+3016_daily_bin1745.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) = 9651.18814509
delta logL = 6.59848956275e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9651.18812736
delta logL = 8.37162078824e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.007       1.0000          .0000       .10000E+07
     2 'Index     '    1.9104       1.0000          .0000       10.000    
     3 'Normalizat'    1.1442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78510       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=   9651.188     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      281 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.018        21.173        .10331E-04    .15406E-04
   2  Index         1.9114        .96874        .14291E-01    .16950E-04
   3  Normalizat    1.1442        .14869        .23128E-03   -.13960E-04
   4  Prefactor     .78506        .11416        .21060E-03    .13064E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.0183
  Index      = 1.91138
  Normalizat = 1.14415
  Prefactor  = 0.785062
 **********
 **   18 **HESSE 
 **********

 FCN=   9651.188     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.018        20.015        .41325E-06   -1.5630    
   2  Index         1.9114        .91701        .57165E-03   -.66585    
   3  Normalizat    1.1442        .14858        .92511E-05   -.88347    
   4  Prefactor     .78506        .11422        .84240E-05   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43139e-12
Minuit parameter uncertainties:
  1  20.0154
  2  0.925534
  3  0.148633
  4  0.11425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/649188': 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) = 9651.18812583
delta logL = 8.52399753057e-05

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.502e+01  2.002e+01  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  1.911e+00  9.255e-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:  7.851e-01  1.143e-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.144e+00  1.486e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.54
Ra Dec: 233.016 30.268
Photon Index (Free Index): 1.91 +/- 0.93
Photon Flux (Free Index): 9.91e-09 +/- 1.87e-08
Energy Flux (Free Index): 8.62e-06 +/- 1.36e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/649188/cmap_HighResolution_691632001_691891201_4FGL_J1532.0+3016_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-03', comment='SUCCESS', photon_flux='1.01e-08', energy_flux2='8.62e-06', photon_flux_error='1.19e-08', dlogl='8.52e-05', energy_flux='8.51e-06', photon_flux2='9.91e-09', job_status='DONE', time_completed='2022-12-05 01:05:58.300570', photon_index_error2='0.93', photon_index2='1.91', ts='1.54', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='4.45e-08', energy_flux_error2='1.36e-05', EG='1.14', time_epoch_completed='1670231158.3', return_code='0', job_id='649188', GAL2='0.79', EG2='1.14', return_code2='0', energy_flux_error='1.00e-05', photon_flux_error2='1.87e-08', ts2='1.54', photon_index='1.92' WHERE bin_id='1745' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:05:58 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 649188: <4FGL_J1532.0+3016_daily_bin1745> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin1745> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Dec  5 00:50:32 2022
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:50:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:50:33 2022
Terminated at Mon Dec  5 01:05:59 2022
Results reported at Mon Dec  5 01:05:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1745 233.016 30.2685 691632001 691891201 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 :                                   682.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             306.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            927 sec.

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

