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


Performing analysis on: 4FGL_J1532.0+3016_weekly_bin744
RA = 233.016, Dec = 30.2685
tmin = 688953601, tmax = 689558401
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='974341', job_status='RUN', time_executed='2022-11-08 01:21:47.891042', time_epoch_executed='1667899307.89' WHERE source_name='4FGL J1532.0+3016' and cadence='weekly' and bin_id='744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/974341

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/974341/ft1_4FGL_J1532.0+3016_weekly_bin744.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/974341/ft2_4FGL_J1532.0+3016_weekly_bin744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/974341/ft1_4FGL_J1532.0+3016_weekly_bin744.fits outfile=/scratch/kocevski/974341/ft1_filteredMKT_4FGL_J1532.0+3016_weekly_bin744.fits ra=233.016 dec=30.2685 rad=12.0 tmin=688953601.0 tmax=689558401.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 7.63
user 7.38
sys 0.22

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

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

Number of photons that the gtmktime cut: 1409

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/974341/ft1_filtered_4FGL_J1532.0+3016_weekly_bin744.fits evtable="EVENTS" scfile=/scratch/kocevski/974341/ft2_4FGL_J1532.0+3016_weekly_bin744.fits sctable="SC_DATA" expcube=/scratch/kocevski/974341/ltcube_688953601_689558401_4FGL_J1532.0+3016_weekly_bin744.fits outfile=/scratch/kocevski/974341/expmap_688953601_689558401_4FGL_J1532.0+3016_weekly_bin744.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/974341/ltcube_688953601_689558401_4FGL_J1532.0+3016_weekly_bin744.fits
.....................!
real 191.24
user 185.13
sys 5.80

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/974341/ft1_filtered_4FGL_J1532.0+3016_weekly_bin744.fits scfile=/scratch/kocevski/974341/ft2_4FGL_J1532.0+3016_weekly_bin744.fits outfile=/scratch/kocevski/974341/cmap_688953601_689558401_4FGL_J1532.0+3016_weekly_bin744.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/974341/ft1_filtered_4FGL_J1532.0+3016_weekly_bin744.fits scfile=/scratch/kocevski/974341/ft2_4FGL_J1532.0+3016_weekly_bin744.fits outfile=/scratch/kocevski/974341/cmap_HighResolution_688953601_689558401_4FGL_J1532.0+3016_weekly_bin744.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.60
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9144       1.0000          .0000       .10000E+07
     2 'Prefactor '    118.43       1.0000          .0000       .10000E+07
     3 'norm      '    .35638E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.2215       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.2917       1.0000          .0000       .10000E+07
     6 'Prefactor '    12.307       1.0000          .0000       .10000E+07
     7 'norm      '    1.4236       1.0000          .0000       .10000E+07
     8 'Prefactor '    .96773E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.1693       1.0000          .0000       .10000E+07
    10 'norm      '    .34694E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .83294       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5011       1.0000          .0000       .10000E+07
    13 'norm      '    4.7546       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18952       1.0000          .0000       .10000E+07
    15 'Prefactor '    .65163E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .20833E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    .94439       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96544       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=   15100.27     FROM MIGRAD    STATUS=CONVERGED    142 CALLS      919 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9171        3.2537        .75516E-08    .20337E-03
   2  Prefactor     118.47        1.2861       -.72719E-08    .54797E-01
   3  norm           .0000        1.0028        .14497E-07** at limit **
   4  Prefactor     6.2623        6.8114       -.92077E-07   -.98008E-03
   5  Prefactor     1.3864        3.9286       -.28321E-07   -.14614E-03
   6  Prefactor     12.323        5.4756       -.34227E-07   -.32703E-03
   7  norm          1.4187        .87259        .64939E-08   -.94305E-03
   8  Prefactor     .55511E-10    10.573        .12690E-06** at limit **
   9  Prefactor     6.7577        24.556        .23010E-06   -.55798E-03
  10  norm           .0000        .25345        .54623E-08** at limit **
  11  Prefactor     .81987        3.2898       -.54041E-07   -.54620E-03
  12  Prefactor     4.7503        13.079       -.51576E-07   -.99571E-04
  13  norm          4.7442        4.9852       -.54118E-08   -.46784E-03
  14  Prefactor     .18931        1.4564        .81746E-08** at limit **
  15  Prefactor     .10547E-08    185.42       -.34418E-05** at limit **
  16  Prefactor      .0000        1.3778       -.40855E-07** at limit **
  17  Normalizat    .94395        .12752        .32808E-06    .16238E-03
  18  Prefactor     .96540        .99254E-01   -.24507E-06    .29598E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.91712
  Prefactor  = 118.471
  norm       = 0
  Prefactor  = 6.26231
  Prefactor  = 1.38636
  Prefactor  = 12.3234
  norm       = 1.41866
  Prefactor  = 5.55112e-11
  Prefactor  = 6.75771
  norm       = 0
  Prefactor  = 0.819871
  Prefactor  = 4.75027
  norm       = 4.74424
  Prefactor  = 0.189308
  Prefactor  = 1.05471e-09
  Prefactor  = 0
  Normalizat = 0.943952
  Prefactor  = 0.965398
 **********
 **   18 **HESSE 
 **********

 FCN=   15100.27     FROM HESSE     STATUS=OK           298 CALLS     1217 TOTAL
                     EDM=   .53E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9171        3.2623        .45347E-03   -1.5664    
   2  Prefactor     118.47        31.146        .91896E-04   -1.5490    
   3  norm           .0000        1.0101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.2623        6.8648        .40223E-03   -1.5658    
   5  Prefactor     1.3864        4.0262        .97377E-03   -1.5684    
   6  Prefactor     12.323        5.4981        .28529E-03   -1.5638    
   7  norm          1.4187        .90206        .90593E-03   -1.5684    
   8  Prefactor     .55511E-10    10.644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.7577        24.817        .40395E-03   -1.5656    
  10  norm           .0000        .24946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .81987        3.4185        .50512E-03   -1.5690    
  12  Prefactor     4.7503        13.191        .47432E-03   -1.5664    
  13  norm          4.7442        5.0243        .46120E-03   -1.5664    
  14  Prefactor     .18931        .70280        .31241E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10547E-08    4.0962        .62659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.3508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .94395        .11260        .45466E-01   -.94932    
  18  Prefactor     .96540        .85346E-01    .45834E-01   -.93892    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.32486e-07
Minuit parameter uncertainties:
  1  3.26227
  2  31.1464
  3  2.16522e-06
  4  6.86479
  5  4.02625
  6  5.49809
  7  0.902064
  8  5.50799e-05
  9  24.8172
  10  8.34876e-08
  11  3.34827
  12  13.1912
  13  5.02428
  14  0.7028
  15  0.000131959
  16  4.16899e-06
  17  0.112633
  18  0.0853575
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  4.750e+00  1.319e+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:  9.654e-01  8.536e-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.440e-01  1.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/974341/likelihoodResults_688953601_689558401_4FGL_J1532.0+3016_weekly_bin744.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) = 15100.2453473
delta logL = 0.0290001699432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15100.2423204
delta logL = 0.03202706909

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8735       1.0000          .0000       .10000E+07
     2 'Index     '    2.2085       1.0000          .0000       10.000    
     3 'Normalizat'    .94208       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96583       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=   15100.24     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      241 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8722        12.602        .20498E-04   -.24769E-02
   2  Index         2.2095        1.2883        .11410E-01   -.10476E-03
   3  Normalizat    .94208        .12349        .25550E-03   -.59518E-03
   4  Prefactor     .96579        .97427E-01    .19880E-03   -.79767E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.87218
  Index      = 2.20951
  Normalizat = 0.942078
  Prefactor  = 0.965785
 **********
 **   18 **HESSE 
 **********

 FCN=   15100.24     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8722        11.080        .81994E-06   -1.5669    
   2  Index         2.2095        1.1375        .45640E-03   -.59209    
   3  Normalizat    .94208        .12349        .10220E-04   -.94997    
   4  Prefactor     .96579        .97456E-01    .39760E-04   -.93879    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.28172e-10
Minuit parameter uncertainties:
  1  11.0798
  2  1.15231
  3  0.123527
  4  0.0974741
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/974341': 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) = 15100.2423195
delta logL = 0.0320279585703

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  3.872e+00  1.108e+01  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  2.210e+00  1.152e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  2.847e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  9.658e-01  9.747e-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.421e-01  1.235e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
Ra Dec: 233.016 30.268

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/974341/cmap_HighResolution_688953601_689558401_4FGL_J1532.0+3016_weekly_bin744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.06e-03', job_status='DONE', photon_flux_upper_limit='2.77e-08', time_completed='2022-11-08 01:35:23.791252', job_id='974341', GAL2='0.97', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1667900123.79', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.20e-02', ts2='0.23', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='744' AND source_name='4FGL J1532.0+3016' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Nov  8 01:35:23 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 974341: <4FGL_J1532.0+3016_weekly_bin744> in cluster <slac> Done

Job <4FGL_J1532.0+3016_weekly_bin744> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov  8 01:20:29 2022
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 01:20:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 01:20:30 2022
Terminated at Tue Nov  8 01:35:24 2022
Results reported at Tue Nov  8 01:35:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_weekly_bin744 233.016 30.2685 688953601 689558401 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 :                                   813.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             328.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            895 sec.

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

