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 37 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7532
number of fields = 31
RA_SUN column already exists. File will not be modified.Done.


Performing analysis on: 4FGL_J0532.0-4827_daily_bin1704
RA = 83.0022, Dec = -48.4607
tmin = 681004801, tmax = 681264001
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='363859', job_status='RUN', time_executed='2022-08-04 01:45:53.067330', time_epoch_executed='1659602753.07' WHERE source_name='4FGL J0532.0-4827' and cadence='daily' and bin_id='1704'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/363859

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/363859/ft1_4FGL_J0532.0-4827_daily_bin1704.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/363859/ft2_4FGL_J0532.0-4827_daily_bin1704.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/363859/ft1_4FGL_J0532.0-4827_daily_bin1704.fits outfile=/scratch/kocevski/363859/ft1_filteredMKT_4FGL_J0532.0-4827_daily_bin1704.fits ra=83.0022 dec=-48.4607 rad=12.0 tmin=681004801.0 tmax=681264001.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.98
user 2.72
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/363859/ft2_4FGL_J0532.0-4827_daily_bin1704.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/363859/ft2_4FGL_J0532.0-4827_daily_bin1704.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/363859/ft1_filteredMKT_4FGL_J0532.0-4827_daily_bin1704.fits evtable="EVENTS" outfile="/scratch/kocevski/363859/ft1_filtered_4FGL_J0532.0-4827_daily_bin1704.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.35
sys 0.17

Number of photons that the gtmktime cut: 1017

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/363859/ft1_filtered_4FGL_J0532.0-4827_daily_bin1704.fits" evtable="EVENTS" scfile=/scratch/kocevski/363859/ft2_4FGL_J0532.0-4827_daily_bin1704.fits sctable="SC_DATA" outfile=/scratch/kocevski/363859/ltcube_681004801_681264001_4FGL_J0532.0-4827_daily_bin1704.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/363859/ft2_4FGL_J0532.0-4827_daily_bin1704.fits
.....................!
real 14.46
user 14.03
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/363859/ft1_filtered_4FGL_J0532.0-4827_daily_bin1704.fits evtable="EVENTS" scfile=/scratch/kocevski/363859/ft2_4FGL_J0532.0-4827_daily_bin1704.fits sctable="SC_DATA" expcube=/scratch/kocevski/363859/ltcube_681004801_681264001_4FGL_J0532.0-4827_daily_bin1704.fits outfile=/scratch/kocevski/363859/expmap_681004801_681264001_4FGL_J0532.0-4827_daily_bin1704.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/363859/ltcube_681004801_681264001_4FGL_J0532.0-4827_daily_bin1704.fits
.....................!
real 191.98
user 184.96
sys 6.59

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
Extended source LMC-FarWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-North.fits is the correct path to the extended template.
Added 202 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0532.0-4827 @ 83.0022 -48.4607

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/363859/ft1_filtered_4FGL_J0532.0-4827_daily_bin1704.fits scfile=/scratch/kocevski/363859/ft2_4FGL_J0532.0-4827_daily_bin1704.fits outfile=/scratch/kocevski/363859/cmap_681004801_681264001_4FGL_J0532.0-4827_daily_bin1704.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=83.0022 yref=-48.4607 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.53
user 0.35
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/363859/ft1_filtered_4FGL_J0532.0-4827_daily_bin1704.fits scfile=/scratch/kocevski/363859/ft2_4FGL_J0532.0-4827_daily_bin1704.fits outfile=/scratch/kocevski/363859/cmap_HighResolution_681004801_681264001_4FGL_J0532.0-4827_daily_bin1704.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=83.0022 yref=-48.4607 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/363859/ft1_filtered_4FGL_J0532.0-4827_daily_bin1704.fits evtable="EVENTS" scfile=/scratch/kocevski/363859/ft2_4FGL_J0532.0-4827_daily_bin1704.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/363859/Model_4FGL_J0532.0-4827_daily_bin1704.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
Working on...
/scratch/kocevski/363859/ft1_filtered_4FGL_J0532.0-4827_daily_bin1704.fits.....................!
real 6216.54
user 6200.65
sys 2.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/363859/ft1_filtered_4FGL_J0532.0-4827_daily_bin1704.fits', '/scratch/kocevski/363859/ft2_4FGL_J0532.0-4827_daily_bin1704.fits', expMap='/scratch/kocevski/363859/expmap_681004801_681264001_4FGL_J0532.0-4827_daily_bin1704.fits', expCube='/scratch/kocevski/363859/ltcube_681004801_681264001_4FGL_J0532.0-4827_daily_bin1704.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/363859/Model_4FGL_J0532.0-4827_daily_bin1704.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0532.0-4827'

4FGL J0532.0-4827
   Spectrum: LogParabola
291         norm:  5.537e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        alpha:  2.087e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  7.777e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  9.353e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/363859/ft1_filtered_4FGL_J0532.0-4827_daily_bin1704.fits
Spacecraft file(s): /scratch/kocevski/363859/ft2_4FGL_J0532.0-4827_daily_bin1704.fits
Exposure map: /scratch/kocevski/363859/expmap_681004801_681264001_4FGL_J0532.0-4827_daily_bin1704.fits
Exposure cube: /scratch/kocevski/363859/ltcube_681004801_681264001_4FGL_J0532.0-4827_daily_bin1704.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/363859/Model_4FGL_J0532.0-4827_daily_bin1704.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) = 10733.1439301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11754E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.331       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.3957       1.0000         .10000E-03   10000.    
     4 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.2412       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5571       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .87145       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.250       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.5968       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.1075       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.571       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.603       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.2630       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .21282E-01   1.0000         .10000E-03   10000.    
    21 'norm      '    12.591       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    14.098       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.3931       1.0000         .10000E-03   10000.    
    26 'Prefactor '    87.930       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.0130       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0332       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10733.12     FROM MIGRAD    STATUS=CONVERGED    815 CALLS     4150 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8596       -.10616E-05** at limit **
   2  Prefactor     22.330        42.905        .34495E-06   -.24181E-04
   3  Prefactor     4.3957        2.7126        .39100E-07   -.67911E-03
   4  norm          .10000E-03    6.4999        .28102E-06** at limit **
   5  norm          2.2413        1.4131       -.10775E-07   -.79523E-03
   6  Prefactor     4.5560        3.1649       -.12364E-06   -.10074E-02
   7  Prefactor     .10000E-03    5.4188       -.45501E-07** at limit **
   8  norm          .87442        2.4632        .74106E-06    .33431E-03
   9  Prefactor     .10001E-03    36.932        .91073E-06** at limit **
  10  Prefactor     19.236        20.434        .37698E-08   -.16599E-03
  11  Prefactor     .10000E-03    22.719       -.24175E-07** at limit **
  12  Prefactor     7.5968        2.4845       -.32273E-07   -.78656E-03
  13  Prefactor     .10000E-03    2.5637        .48813E-07** at limit **
  14  norm          2.1099        2.4374        .74991E-06   -.47843E-04
  15  norm          .10000E-03    1.1689       -.22693E-06** at limit **
  16  Prefactor     10.573        6.5773        .11877E-06   -.44427E-04
  17  Prefactor     20.605        13.411        .33733E-07    .74257E-05
  18  Prefactor     .10000E-03    7.6695        .96885E-08** at limit **
  19  norm          8.2634        1.3101        .38763E-08   -.30551E-03
  20  Prefactor     .52340E-01    2.5249        .28507E-05   -.12297E-02
  21  norm          12.581        7.0922       -.11968E-07   -.15800E-03
  22  norm          .10000E-03    3.1633        .30013E-08** at limit **
  23  Prefactor     14.095        8.9804        .17666E-06   -.69307E-04
  24  Prefactor     .10000E-03    10.783       -.93344E-08** at limit **
  25  Prefactor     2.3975        10.164        .77684E-05    .28709E-03
  26  Prefactor     87.920        82.554        .45065E-06   -.57925E-04
  27  Prefactor     .10000E-03    4.2126       -.10791E-06** at limit **
  28  Prefactor     .10000E-03    6.2560        .12520E-08** at limit **
  29  Prefactor     .10000E-03    38.007       -.97063E-07** at limit **
  30  Normalizat    1.0130        .17345       -.17873E-05   -.36084E-03
  31  Prefactor     1.0330        .12240        .38887E-06   -.10905E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 22.3298
  Prefactor  = 4.39565
  norm       = 0.0001
  norm       = 2.24131
  Prefactor  = 4.55603
  Prefactor  = 0.0001
  norm       = 0.874417
  Prefactor  = 0.000100008
  Prefactor  = 19.2359
  Prefactor  = 0.000100001
  Prefactor  = 7.59684
  Prefactor  = 0.0001
  norm       = 2.10992
  norm       = 0.0001
  Prefactor  = 10.573
  Prefactor  = 20.6054
  Prefactor  = 0.0001
  norm       = 8.26337
  Prefactor  = 0.0523398
  norm       = 12.5813
  norm       = 0.0001
  Prefactor  = 14.0952
  Prefactor  = 0.0001
  Prefactor  = 2.39755
  Prefactor  = 87.9202
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Normalizat = 1.01296
  Prefactor  = 1.03304
 **********
 **   18 **HESSE 
 **********

 FCN=   10733.12     FROM HESSE     STATUS=OK           628 CALLS     4778 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.8374        .26663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.330        43.027        .84762E-04   -1.4763    
   3  Prefactor     4.3957        2.7024        .12112E-03   -1.5289    
   4  norm          .10000E-03    6.5780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.2413        1.4159        .87546E-04   -1.5409    
   6  Prefactor     4.5560        3.1094        .12166E-03   -1.5281    
   7  Prefactor     .10000E-03    5.4322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .87442        2.5804        .24745E-02   -1.5521    
   9  Prefactor     .10001E-03    37.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.236        20.426        .91287E-04   -1.4831    
  11  Prefactor     .10000E-03    22.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.5968        2.4784        .87897E-04   -1.5157    
  13  Prefactor     .10000E-03    2.6222        .32323E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.1099        2.3958        .82636E-03   -1.5417    
  15  norm          .10000E-03    2.2338        .21142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.573        6.5722        .12323E-03   -1.5058    
  17  Prefactor     20.605        13.400        .88241E-04   -1.4800    
  18  Prefactor     .10000E-03    7.6741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.2634        1.3104        .45194E-04   -1.5133    
  20  Prefactor     .52340E-01    36.146        .20964E-02   -1.5662    
  21  norm          12.581        7.1514        .11289E-03   -1.4998    
  22  norm          .10000E-03    3.1653        .17995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     14.095        8.9777        .10667E-03   -1.4957    
  24  Prefactor     .10000E-03    10.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     2.3975        10.384        .13237E-02   -1.5398    
  26  Prefactor     87.920        82.715        .42847E-04   -1.3830    
  27  Prefactor     .10000E-03    4.2512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    6.2617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    38.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0130        .19907        .31201E-03   -.92597    
  31  Prefactor     1.0330        .14190        .23434E-03   -.91636    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07113e-08
Minuit parameter uncertainties:
  1  9.39362e-05
  2  43.0865
  3  2.70245
  4  4.47066e-05
  5  1.41593
  6  3.10947
  7  1.70927e-05
  8  2.58071
  9  0.00111606
  10  20.4332
  11  0.000358364
  12  2.47842
  13  7.23686e-06
  14  2.39589
  15  2.94828e-05
  16  6.57268
  17  13.4015
  18  1.39549e-05
  19  1.31038
  20  2.74996
  21  7.15192
  22  2.21058e-07
  23  8.9786
  24  2.4239e-05
  25  9.98193
  26  82.8234
  27  1.55685e-05
  28  3.94798e-06
  29  0.000579152
  30  0.199216
  31  0.141954
Done.

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

Extracting fit parameters...

4FGL J0532.0-4827
   Spectrum: LogParabola
291         norm:  1.000e-04  2.948e-05  1.000e-04  1.000e+04 ( 1.000e-12)
292        alpha:  2.087e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  7.777e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  9.353e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  1.033e+00  1.420e-01  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  1.013e+00  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 83.002 -48.461
Photon Flux Upper Limit: 4.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.13e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/363859/likelihoodResults_681004801_681264001_4FGL_J0532.0-4827_daily_bin1704.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) = 10733.126272
delta logL = -0.00213295013236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10733.1241383
delta logL = 7.78683897806e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10136E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1228       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0130       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0331       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6720E+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=   10733.12     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      266 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13294E-03    .31438        .28436E-01** at limit **
   2  alpha         2.9563        3.8666        .50000       -.10487E-04
   3  Normalizat    1.0130        .29129E-02    .31201E-03    .86247E-03
   4  Prefactor     1.0330        .22207E-02    .23434E-03    .65979E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000132938
  alpha      = 2.95625
  Normalizat = 1.01297
  Prefactor  = 1.03304
 **********
 **   18 **HESSE 
 **********

 FCN=   10733.12     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      305 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13294E-03    .40325        .25833E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.9563        3.0132        .50000        .18353    
   3  Normalizat    1.0130        .31076E-02    .62401E-04   -.92597    
   4  Prefactor     1.0330        .23691E-02    .46867E-04   -.91636    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.4609e-09
Minuit parameter uncertainties:
  1  0.007289
  2  69.3844
  3  0.00310757
  4  0.00236915
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/363859': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10733.1241235
delta logL = 1.55980433192e-05

Extracting fit parameters...

4FGL J0532.0-4827
   Spectrum: LogParabola
291         norm:  1.329e-04  7.289e-03  1.000e-04  1.000e+04 ( 1.000e-12)
292        alpha:  2.956e+00  6.938e+01  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  7.777e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  9.353e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  1.033e+00  2.369e-03  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  1.013e+00  3.108e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 83.002 -48.461

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/363859/cmap_HighResolution_681004801_681264001_4FGL_J0532.0-4827_daily_bin1704.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.13e-05', job_status='DONE', photon_flux_upper_limit='4.16e-08', time_completed='2022-08-04 03:53:24.401253', job_id='363859', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1659610404.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.56e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1704' AND source_name='4FGL J0532.0-4827' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug  4 03:53:24 PDT 2022




------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 363913: <4FGL_J0532.0-4827_daily_bin1704> in cluster <slac> Done

Job <4FGL_J0532.0-4827_daily_bin1704> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Aug  4 00:06:04 2022
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug  4 01:46:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug  4 01:46:11 2022
Terminated at Thu Aug  4 03:52:50 2022
Results reported at Thu Aug  4 03:52:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0532.0-4827_daily_bin1704 83.0022 -48.4607 681004801 681264001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0532.0-4827 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   7541.00 sec.
    Max Memory :                                 822 MB
    Average Memory :                             560.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   7599 sec.
    Turnaround time :                            13606 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 363859: <4FGL_J0532.0-4827_daily_bin1704> in cluster <slac> Done

Job <4FGL_J0532.0-4827_daily_bin1704> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Aug  4 00:06:01 2022
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug  4 01:45:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug  4 01:45:38 2022
Terminated at Thu Aug  4 03:53:25 2022
Results reported at Thu Aug  4 03:53:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0532.0-4827_daily_bin1704 83.0022 -48.4607 681004801 681264001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0532.0-4827 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   7643.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             565.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   7668 sec.
    Turnaround time :                            13644 sec.

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

