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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1760
RA = 233.016, Dec = 30.2685
tmin = 695520001, tmax = 695779201
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='741767', job_status='RUN', time_executed='2023-01-19 01:14:16.615035', time_epoch_executed='1674119656.62' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/741767

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/741767/ft1_4FGL_J1532.0+3016_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/741767/ft2_4FGL_J1532.0+3016_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/741767/ft1_4FGL_J1532.0+3016_daily_bin1760.fits outfile=/scratch/kocevski/741767/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1760.fits ra=233.016 dec=30.2685 rad=12.0 tmin=695520001.0 tmax=695779201.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.48
user 2.24
sys 0.20

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

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

Number of photons that the gtmktime cut: 781

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/741767/ft1_filtered_4FGL_J1532.0+3016_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/741767/ft2_4FGL_J1532.0+3016_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/741767/ltcube_695520001_695779201_4FGL_J1532.0+3016_daily_bin1760.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/741767/ft2_4FGL_J1532.0+3016_daily_bin1760.fits
.....................!
real 15.90
user 15.34
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/741767/ft1_filtered_4FGL_J1532.0+3016_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/741767/ft2_4FGL_J1532.0+3016_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/741767/ltcube_695520001_695779201_4FGL_J1532.0+3016_daily_bin1760.fits outfile=/scratch/kocevski/741767/expmap_695520001_695779201_4FGL_J1532.0+3016_daily_bin1760.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/741767/ltcube_695520001_695779201_4FGL_J1532.0+3016_daily_bin1760.fits
.....................!
real 196.04
user 188.61
sys 5.05

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/741767/ft1_filtered_4FGL_J1532.0+3016_daily_bin1760.fits scfile=/scratch/kocevski/741767/ft2_4FGL_J1532.0+3016_daily_bin1760.fits outfile=/scratch/kocevski/741767/cmap_695520001_695779201_4FGL_J1532.0+3016_daily_bin1760.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.59
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/741767/ft1_filtered_4FGL_J1532.0+3016_daily_bin1760.fits scfile=/scratch/kocevski/741767/ft2_4FGL_J1532.0+3016_daily_bin1760.fits outfile=/scratch/kocevski/741767/cmap_HighResolution_695520001_695779201_4FGL_J1532.0+3016_daily_bin1760.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.61
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2356       1.0000          .0000       .10000E+07
     2 'Prefactor '    70.931       1.0000          .0000       .10000E+07
     3 'norm      '    3.8626       1.0000          .0000       .10000E+07
     4 'Prefactor '    .58300E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .42220E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .23408E-02   1.0000          .0000       .10000E+07
     7 'norm      '    1.8213       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11111E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .50723E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .14947E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .20256E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    53.266       1.0000          .0000       .10000E+07
    13 'norm      '    .13277E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .16281E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .82293E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.9416       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1215       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80229       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=   8635.207     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1103 TOTAL
                     EDM=   .37E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1805        4.5985       -.36780E-06    .43773E-04
   2  Prefactor     73.010        31.516        .63078E-06   -.13637E-03
   3  norm          3.8525        4.5699       -.34326E-06    .15441E-03
   4  Prefactor      .0000        9.9981       -.23465E-05** at limit **
   5  Prefactor      .0000        5.0191       -.16997E-06** at limit **
   6  Prefactor      .0000        6.6736       -.79170E-06** at limit **
   7  norm          1.8231        1.1394       -.19760E-06    .11337E-03
   8  Prefactor     .33307E-09    29.827        .11932E-05** at limit **
   9  Prefactor      .0000        19.657       -.20881E-05** at limit **
  10  norm           .0000        .48355        .20868E-06** at limit **
  11  Prefactor      .0000        12.034       -.71364E-06** at limit **
  12  Prefactor     52.640        1.7929        .33256E-08   -.18147E-01
  13  norm           .0000        3.2767        .11710E-06** at limit **
  14  Prefactor      .0000        2.3480        .46594E-06** at limit **
  15  Prefactor      .0000        5.0615       -.10132E-06** at limit **
  16  Prefactor     2.9460        2.5454        .20868E-06   -.26140E-04
  17  Normalizat    1.1203        .17061       -.45929E-05    .49115E-05
  18  Prefactor     .80284        .12672       -.18401E-05    .26314E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.18049
  Prefactor  = 73.0099
  norm       = 3.85249
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.82306
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 52.6399
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.94597
  Normalizat = 1.12026
  Prefactor  = 0.802839
 **********
 **   18 **HESSE 
 **********

 FCN=   8635.207     FROM HESSE     STATUS=OK           276 CALLS     1379 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1805        4.6223        .56286E-03   -1.5672    
   2  Prefactor     73.010        31.447        .11874E-03   -1.5537    
   3  norm          3.8525        4.5737        .51321E-03   -1.5669    
   4  Prefactor      .0000        9.9555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        4.9696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        6.6377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.8231        1.1420        .77342E-03   -1.5681    
   8  Prefactor     .33307E-09    29.870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        19.662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .47238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        11.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     52.640        33.441        .13703E-03   -1.5563    
  13  norm           .0000        3.2779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.2953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        5.0516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.9460        2.5466        .59193E-03   -1.5674    
  17  Normalizat    1.1203        .14470        .54043E-01   -.89104    
  18  Prefactor     .80284        .10712        .43747E-01   -.99624    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.92476e-09
Minuit parameter uncertainties:
  1  4.62228
  2  31.4474
  3  4.57368
  4  1.55786e-06
  5  5.04321e-06
  6  7.38346e-06
  7  1.14196
  8  0.000200073
  9  9.9578e-06
  10  1.55888e-07
  11  1.00855e-05
  12  33.4413
  13  4.9536e-07
  14  2.99865e-07
  15  5.79803e-06
  16  2.54658
  17  0.144753
  18  0.107151
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  5.264e+01  3.344e+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:  8.028e-01  1.072e-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.120e+00  1.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.22
Ra Dec: 233.016 30.268
Photon Index (Fixed Index): 1.92 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.27e-08
Energy Flux (Fixed Index): 3.01e-05 +/- 1.91e-05

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) = 8634.38216508
delta logL = 0.82434243776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8634.37102247
delta logL = 0.83548504779

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.892       1.0000          .0000       .10000E+07
     2 'Index     '    2.5368       1.0000          .0000       10.000    
     3 'Normalizat'    1.0723       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82112       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=   8634.371     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      288 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.899        34.381        .81853E-05    .23278E-02
   2  Index         2.5370        .63613        .34195E-02    .15326E-03
   3  Normalizat    1.0724        .17338        .24324E-03   -.55632E-03
   4  Prefactor     .82110        .12816        .20754E-03   -.27580E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.8986
  Index      = 2.53702
  Normalizat = 1.07236
  Prefactor  = 0.821098
 **********
 **   18 **HESSE 
 **********

 FCN=   8634.371     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.899        26.053        .32741E-06   -1.5610    
   2  Index         2.5370        .48226        .13678E-03   -.51507    
   3  Normalizat    1.0724        .17158        .48648E-04   -.90644    
   4  Prefactor     .82110        .12750        .41508E-04   -.98955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.26863e-10
Minuit parameter uncertainties:
  1  26.0536
  2  0.483248
  3  0.171673
  4  0.127545
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/741767': 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) = 8634.37102115
delta logL = 0.835486367387

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  2.390e+01  2.605e+01  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  2.537e+00  4.832e-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:  8.211e-01  1.275e-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.072e+00  1.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.94
Ra Dec: 233.016 30.268
Photon Index (Free Index): 2.54 +/- 0.48
Photon Flux (Free Index): 7.62e-08 +/- 4.37e-08
Energy Flux (Free Index): 2.13e-05 +/- 1.08e-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/741767/cmap_HighResolution_695520001_695779201_4FGL_J1532.0+3016_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='2.13e-05', photon_flux_error='2.27e-08', dlogl='8.35e-01', energy_flux='3.01e-05', photon_flux2='7.62e-08', job_status='DONE', time_completed='2023-01-19 01:23:33.019164', photon_index_error2='0.48', photon_index2='2.54', ts='6.22', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='1.08e-05', EG='1.12', time_epoch_completed='1674120213.02', return_code='0', job_id='741767', GAL2='0.82', EG2='1.07', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='4.37e-08', ts2='7.94', photon_index='1.92' WHERE bin_id='1760' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 01:23:33 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 741767: <4FGL_J1532.0+3016_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin1760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 01:10:16 2023
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 01:10:43 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 01:10:43 2023
Terminated at Thu Jan 19 01:23:33 2023
Results reported at Thu Jan 19 01:23:33 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1760 233.016 30.2685 695520001 695779201 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 :                                   553.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             262.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            797 sec.

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

