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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1774
RA = 233.016, Dec = 30.2685
tmin = 699148801, tmax = 699408001
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='687028', job_status='RUN', time_executed='2023-03-02 01:03:07.102811', time_epoch_executed='1677747787.1' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/687028

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/687028/ft1_4FGL_J1532.0+3016_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/687028/ft2_4FGL_J1532.0+3016_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/687028/ft1_4FGL_J1532.0+3016_daily_bin1774.fits outfile=/scratch/kocevski/687028/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1774.fits ra=233.016 dec=30.2685 rad=12.0 tmin=699148801.0 tmax=699408001.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.81
user 2.59
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/687028/ft2_4FGL_J1532.0+3016_daily_bin1774.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/687028/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/687028/ft1_filtered_4FGL_J1532.0+3016_daily_bin1774.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.50
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 718

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/687028/ft1_filtered_4FGL_J1532.0+3016_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/687028/ft2_4FGL_J1532.0+3016_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/687028/ltcube_699148801_699408001_4FGL_J1532.0+3016_daily_bin1774.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/687028/ft2_4FGL_J1532.0+3016_daily_bin1774.fits
.....................!
real 13.15
user 12.73
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/687028/ft1_filtered_4FGL_J1532.0+3016_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/687028/ft2_4FGL_J1532.0+3016_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/687028/ltcube_699148801_699408001_4FGL_J1532.0+3016_daily_bin1774.fits outfile=/scratch/kocevski/687028/expmap_699148801_699408001_4FGL_J1532.0+3016_daily_bin1774.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/687028/ltcube_699148801_699408001_4FGL_J1532.0+3016_daily_bin1774.fits
.....................!
real 195.30
user 187.39
sys 6.20

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/687028/ft1_filtered_4FGL_J1532.0+3016_daily_bin1774.fits scfile=/scratch/kocevski/687028/ft2_4FGL_J1532.0+3016_daily_bin1774.fits outfile=/scratch/kocevski/687028/cmap_699148801_699408001_4FGL_J1532.0+3016_daily_bin1774.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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/687028/ft1_filtered_4FGL_J1532.0+3016_daily_bin1774.fits scfile=/scratch/kocevski/687028/ft2_4FGL_J1532.0+3016_daily_bin1774.fits outfile=/scratch/kocevski/687028/cmap_HighResolution_699148801_699408001_4FGL_J1532.0+3016_daily_bin1774.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.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.8663       1.0000          .0000       .10000E+07
     2 'Prefactor '    164.62       1.0000          .0000       .10000E+07
     3 'norm      '    .16312E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    29.435       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.8637       1.0000          .0000       .10000E+07
     6 'Prefactor '    .48936E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .21430E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .97097E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    92.101       1.0000          .0000       .10000E+07
    10 'norm      '    2.1682       1.0000          .0000       .10000E+07
    11 'Prefactor '    .33992E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .26413E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .77273E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .79273E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .26275E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.6363       1.0000          .0000       .10000E+07
    17 'Normalizat'    .89599       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0143       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=   7873.078     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1341 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.8687        6.2770        .16232E-05   -.19179E-02
   2  Prefactor     165.73        49.279        .13788E-04   -.38767E-01
   3  norm          .23870E-08    3.3774       -.34953E-05** at limit **
   4  Prefactor     29.390        3.7727       -.68544E-06   -.25801    
   5  Prefactor     7.8075        6.5840        .66542E-06    .15902E-01
   6  Prefactor     .94369E-09    4.9114        .21720E-05** at limit **
   7  norm          .11102E-09    1.7852       -.16432E-05** at limit **
   8  Prefactor      .0000        22.438        .24513E-04** at limit **
   9  Prefactor     92.080        2.8952       -.10229E-05   -.51657E-02
  10  norm          2.1704        1.0164        .29504E-06   -.23385E-01
  11  Prefactor     .27756E-09    2.7564        .27879E-06** at limit **
  12  Prefactor     .32974E-07    7.5809       -.10023E-04** at limit **
  13  norm          .99920E-09    28.426        .46636E-05** at limit **
  14  Prefactor      .0000        1.0487       -.31750E-05** at limit **
  15  Prefactor     .24536E-07    7.3874        .20230E-04** at limit **
  16  Prefactor     1.6361        2.3210        .15076E-05    .26677E-02
  17  Normalizat    .89558        .18913       -.58707E-04    .41169E-04
  18  Prefactor     1.0146        .14137        .31152E-04   -.39753E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.8687
  Prefactor  = 165.735
  norm       = 2.38698e-09
  Prefactor  = 29.3904
  Prefactor  = 7.80753
  Prefactor  = 9.4369e-10
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 92.0802
  norm       = 2.17041
  Prefactor  = 2.77556e-10
  Prefactor  = 3.29736e-08
  norm       = 9.99201e-10
  Prefactor  = 0
  Prefactor  = 2.45359e-08
  Prefactor  = 1.63605
  Normalizat = 0.89558
  Prefactor  = 1.01456
 **********
 **   18 **HESSE 
 **********

 FCN=   7873.078     FROM HESSE     STATUS=OK           276 CALLS     1617 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.8687        6.2780        .31878E-03   -1.5645    
   2  Prefactor     165.73        49.467        .77946E-04   -1.5450    
   3  norm          .23870E-08    3.3767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     29.390        17.028        .18435E-03   -1.5600    
   5  Prefactor     7.8075        6.7408        .35733E-03   -1.5652    
   6  Prefactor     .94369E-09    4.9040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .11102E-09    1.7130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        22.414        .14008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     92.080        54.313        .10421E-03   -1.5516    
  10  norm          2.1704        1.0188        .69911E-03   -1.5678    
  11  Prefactor     .27756E-09    2.7519        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32974E-07    7.6319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .99920E-09    28.227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.0440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .24536E-07    7.4147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.6361        2.3404        .82598E-03   -1.5682    
  17  Normalizat    .89558        .16581        .44850E-01   -.96616    
  18  Prefactor     1.0146        .12292        .42760E-01   -.92246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.80015e-07
Minuit parameter uncertainties:
  1  6.278
  2  49.467
  3  0.000179052
  4  17.0285
  5  6.7408
  6  0.000134188
  7  2.47122e-05
  8  3.84007e-05
  9  54.3134
  10  1.0188
  11  5.34269e-05
  12  0.0010034
  13  0.000337906
  14  6.84327e-06
  15  0.000853437
  16  2.34043
  17  0.1659
  18  0.122954
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  3.297e-08  1.003e-03  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:  1.015e+00  1.230e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.956e-01  1.659e-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: 2.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/687028/likelihoodResults_699148801_699408001_4FGL_J1532.0+3016_daily_bin1774.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) = 7873.14065706
delta logL = -0.0625393105211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7873.07811817
delta logL = -4.21725417254e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12884E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .21271       1.0000          .0000       10.000    
     3 'Normalizat'    .89549       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0146       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=   7873.078     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      204 TOTAL
                     EDM=   .14E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.8443       -.22316E-06** at limit **
   2  Index         1.9045        5.9348        .15261E-04     .0000    
   3  Normalizat    .89558        .18017        .13625E-06    .42371E-04
   4  Prefactor     1.0146        .13911        .39748E-05    .61816E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.90448
  Normalizat = 0.89558
  Prefactor  = 1.01456
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7873.078     FROM HESSE     STATUS=FAILED        11 CALLS      215 TOTAL
                     EDM=   .14E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.7905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .38155        1.7156        .15261E-04   -.66760    
   3  Normalizat    .89558        1.2311        .13625E-06   -.96616    
   4  Prefactor     1.0146        1.2510        .39748E-05   -.92246    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.43564e-12
Minuit parameter uncertainties:
  1  1.00293e-05
  2  1.39281
  3  1.27334
  4  1.28992
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/687028': 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): 101
logL (Free Index) = 7873.07811775
delta logL = 2.16823536903e-09

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.003e-05  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  1.904e+00  1.393e+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:  1.015e+00  1.290e+00  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.956e-01  1.273e+00  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/687028/cmap_HighResolution_699148801_699408001_4FGL_J1532.0+3016_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.13e-03', job_status='DONE', photon_flux_upper_limit='2.86e-08', time_completed='2023-03-02 01:12:44.684447', job_id='687028', GAL2='1.01', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1677748364.68', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.17e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1774' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:12:44 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 687028: <4FGL_J1532.0+3016_daily_bin1774> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin1774> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Mar  2 01:00:18 2023
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 01:00:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 01:00:24 2023
Terminated at Thu Mar  2 01:12:45 2023
Results reported at Thu Mar  2 01:12:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1774 233.016 30.2685 699148801 699408001 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 :                                   577.54 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            747 sec.

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

