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


Performing analysis on: 4FGL_J0532.0-4827_daily_bin1701
RA = 83.0022, Dec = -48.4607
tmin = 680227201, tmax = 680486401
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='158494', job_status='RUN', time_executed='2022-07-26 01:37:35.976605', time_epoch_executed='1658824655.98' WHERE source_name='4FGL J0532.0-4827' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158494

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158494/ft1_4FGL_J0532.0-4827_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158494/ft2_4FGL_J0532.0-4827_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158494/ft1_4FGL_J0532.0-4827_daily_bin1701.fits outfile=/scratch/kocevski/158494/ft1_filteredMKT_4FGL_J0532.0-4827_daily_bin1701.fits ra=83.0022 dec=-48.4607 rad=12.0 tmin=680227201.0 tmax=680486401.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.90
user 2.65
sys 0.18

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

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

Number of photons that the gtmktime cut: 1266

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158494/ft1_filtered_4FGL_J0532.0-4827_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/158494/ft2_4FGL_J0532.0-4827_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/158494/ltcube_680227201_680486401_4FGL_J0532.0-4827_daily_bin1701.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/158494/ft2_4FGL_J0532.0-4827_daily_bin1701.fits
.....................!
real 15.73
user 15.32
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158494/ft1_filtered_4FGL_J0532.0-4827_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/158494/ft2_4FGL_J0532.0-4827_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/158494/ltcube_680227201_680486401_4FGL_J0532.0-4827_daily_bin1701.fits outfile=/scratch/kocevski/158494/expmap_680227201_680486401_4FGL_J0532.0-4827_daily_bin1701.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/158494/ltcube_680227201_680486401_4FGL_J0532.0-4827_daily_bin1701.fits
.....................!
real 196.18
user 190.04
sys 5.52

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/158494/ft1_filtered_4FGL_J0532.0-4827_daily_bin1701.fits scfile=/scratch/kocevski/158494/ft2_4FGL_J0532.0-4827_daily_bin1701.fits outfile=/scratch/kocevski/158494/cmap_680227201_680486401_4FGL_J0532.0-4827_daily_bin1701.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158494/ft1_filtered_4FGL_J0532.0-4827_daily_bin1701.fits scfile=/scratch/kocevski/158494/ft2_4FGL_J0532.0-4827_daily_bin1701.fits outfile=/scratch/kocevski/158494/cmap_HighResolution_680227201_680486401_4FGL_J0532.0-4827_daily_bin1701.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.58
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158494/ft1_filtered_4FGL_J0532.0-4827_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/158494/ft2_4FGL_J0532.0-4827_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158494/Model_4FGL_J0532.0-4827_daily_bin1701.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/158494/ft1_filtered_4FGL_J0532.0-4827_daily_bin1701.fits.....................!
real 7440.13
user 7425.07
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158494/ft1_filtered_4FGL_J0532.0-4827_daily_bin1701.fits', '/scratch/kocevski/158494/ft2_4FGL_J0532.0-4827_daily_bin1701.fits', expMap='/scratch/kocevski/158494/expmap_680227201_680486401_4FGL_J0532.0-4827_daily_bin1701.fits', expCube='/scratch/kocevski/158494/ltcube_680227201_680486401_4FGL_J0532.0-4827_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158494/Model_4FGL_J0532.0-4827_daily_bin1701.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/158494/ft1_filtered_4FGL_J0532.0-4827_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/158494/ft2_4FGL_J0532.0-4827_daily_bin1701.fits
Exposure map: /scratch/kocevski/158494/expmap_680227201_680486401_4FGL_J0532.0-4827_daily_bin1701.fits
Exposure cube: /scratch/kocevski/158494/ltcube_680227201_680486401_4FGL_J0532.0-4827_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158494/Model_4FGL_J0532.0-4827_daily_bin1701.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) = 13265.2717751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1424       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.1290       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10610E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    13.987       1.0000         .10000E-03   10000.    
     5 'norm      '    4.7815       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13696E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .68485       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.8953       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.1002       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.6404       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .87948       1.0000         .10000E-03   10000.    
    14 'norm      '    4.2470       1.0000         .10000E-03   10000.    
    15 'norm      '    .95563       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.3769       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.8728       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .13584       1.0000         .10000E-03   10000.    
    21 'norm      '    26.113       1.0000         .10000E-03   10000.    
    22 'norm      '    9.4056       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .68738E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.3149       1.0000         .10000E-03   10000.    
    26 'Prefactor '    36.555       1.0000         .10000E-03   10000.    
    27 'Prefactor '    9.9616       1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.2072       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.2449       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82403       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=   13265.18     FROM MIGRAD    STATUS=CONVERGED    845 CALLS     3649 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1423        2.1236        .21764E-07    .71186E-04
   2  Prefactor     8.1269        27.374        .56573E-06   -.90912E-04
   3  Prefactor     .10000E-03    .82085       -.37441E-07** at limit **
   4  norm          13.988        8.9486       -.30386E-06   -.10861E-04
   5  norm          4.7827        1.4433        .10763E-07    .32034E-03
   6  Prefactor     .10000E-03    .82231       -.13592E-06** at limit **
   7  Prefactor     .10000E-03    7.0925       -.13851E-06** at limit **
   8  norm          .68716        2.2388        .76041E-06   -.73274E-03
   9  Prefactor     6.8854        24.211        .96215E-06   -.12852E-03
  10  Prefactor     6.0995        9.7751        .35267E-06   -.30406E-03
  11  Prefactor     .10000E-03    13.908        .24713E-06** at limit **
  12  Prefactor     5.6411        2.2170       -.57406E-07   -.37944E-04
  13  Prefactor     .88297        2.4402        .13527E-06   -.43410E-03
  14  norm          4.2470        2.5584       -.28295E-07    .64398E-04
  15  norm          .95606        1.6994        .93204E-07    .20391E-03
  16  Prefactor     4.3775        4.4828       -.31189E-06   -.27163E-03
  17  Prefactor     .10000E-03    3.9454        .17534E-07** at limit **
  18  Prefactor     .10000E-03    5.8912       -.29338E-07** at limit **
  19  norm          6.8728        1.1125       -.14998E-07    .31136E-04
  20  Prefactor     .13503        1.4884       -.68053E-06    .11238E-02
  21  norm          26.118        9.2407        .26786E-06    .41934E-03
  22  norm          9.4052        6.9315        .10667E-06    .32351E-04
  23  Prefactor     .10008E-03    4.9335        .93940E-06** at limit **
  24  Prefactor     .10000E-03    2.8812        .85453E-08** at limit **
  25  Prefactor     4.3138        6.3706        .56697E-06    .37695E-05
  26  Prefactor     36.553        37.235       -.34703E-06   -.21481E-04
  27  Prefactor     9.9591        7.9448       -.15766E-05   -.63596E-03
  28  Prefactor     4.2057        13.914       -.83999E-06   -.50112E-04
  29  Prefactor     .10000E-03    87.825        .27132E-05** at limit **
  30  Normalizat    1.2449        .14904        .36835E-06    .10300E-03
  31  Prefactor     .82407        .10471       -.53483E-07    .10419E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.14229
  Prefactor  = 8.12693
  Prefactor  = 0.0001
  norm       = 13.9882
  norm       = 4.78267
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.68716
  Prefactor  = 6.88541
  Prefactor  = 6.09946
  Prefactor  = 0.0001
  Prefactor  = 5.64107
  Prefactor  = 0.882972
  norm       = 4.247
  norm       = 0.956061
  Prefactor  = 4.37751
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.87279
  Prefactor  = 0.135026
  norm       = 26.1179
  norm       = 9.40525
  Prefactor  = 0.00010008
  Prefactor  = 0.0001
  Prefactor  = 4.31384
  Prefactor  = 36.5533
  Prefactor  = 9.9591
  Prefactor  = 4.20566
  Prefactor  = 0.0001
  Normalizat = 1.24494
  Prefactor  = 0.824067
 **********
 **   18 **HESSE 
 **********

 FCN=   13265.18     FROM HESSE     STATUS=OK           650 CALLS     4299 TOTAL
                     EDM=   .67E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1423        2.1280        .16212E-03   -1.5415    
   2  Prefactor     8.1269        28.124        .70310E-03   -1.5138    
   3  Prefactor     .10000E-03    2.3134        .18945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          13.988        8.5695        .10710E-03   -1.4960    
   5  norm          4.7827        1.4032        .70107E-04   -1.5271    
   6  Prefactor     .10000E-03    2.4045        .18183E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.1470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .68716        2.6077        .34704E-03   -1.5542    
   9  Prefactor     6.8854        25.193        .76393E-03   -1.5183    
  10  Prefactor     6.0995        10.059        .81277E-03   -1.5214    
  11  Prefactor     .10000E-03    13.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.6411        2.2128        .99162E-04   -1.5233    
  13  Prefactor     .88297        3.2219        .26455E-02   -1.5520    
  14  norm          4.2470        2.5128        .13382E-03   -1.5296    
  15  norm          .95606        1.2267        .18916E-02   -1.5512    
  16  Prefactor     4.3775        4.3609        .19252E-03   -1.5289    
  17  Prefactor     .10000E-03    3.9571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.8930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.8728        1.1127        .46347E-04   -1.5184    
  20  Prefactor     .13503        26.915        .23033E-02   -1.5634    
  21  norm          26.118        9.4806        .78393E-04   -1.4685    
  22  norm          9.4052        6.9328        .13067E-03   -1.5095    
  23  Prefactor     .10008E-03    9.1675        .64738E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    2.8863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.3138        6.3688        .19393E-03   -1.5293    
  26  Prefactor     36.553        37.251        .66287E-04   -1.4498    
  27  Prefactor     9.9591        8.8078        .12696E-03   -1.5077    
  28  Prefactor     4.2057        13.968        .19647E-03   -1.5298    
  29  Prefactor     .10000E-03    88.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.2449        .17288        .27375E-03   -.85225    
  31  Prefactor     .82407        .12033        .24802E-03   -.98847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.68107e-08
Minuit parameter uncertainties:
  1  2.1281
  2  28.17
  3  1.55359e-05
  4  8.57023
  5  1.40318
  6  1.81027e-05
  7  1.30319e-05
  8  2.60811
  9  25.232
  10  10.0618
  11  1.10174e-05
  12  2.2128
  13  3.2225
  14  2.5129
  15  1.22675
  16  4.36118
  17  2.47643e-06
  18  2.10731e-06
  19  1.11272
  20  3.81303
  21  9.48116
  22  6.93342
  23  0.00171796
  24  2.32591e-06
  25  6.36978
  26  37.2749
  27  8.80897
  28  13.9792
  29  0.000401201
  30  0.17296
  31  0.120372
Done.

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

Extracting fit parameters...

4FGL J0532.0-4827
   Spectrum: LogParabola
291         norm:  9.561e-01  1.227e+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

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  8.241e-01  1.204e-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.245e+00  1.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.37
Ra Dec: 83.002 -48.461
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 7.72e-09 +/- 9.90e-09
Energy Flux (Fixed Index): 3.96e-06 +/- 5.08e-06

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

Saving results to:
/scratch/kocevski/158494/likelihoodResults_680227201_680486401_4FGL_J0532.0-4827_daily_bin1701.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) = 13265.0090026
delta logL = 0.173763677318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13265.0017551
delta logL = 0.181011200315

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .81968       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4674       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2487       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82297       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.

 FCN=   13265.00     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      210 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .81873        1.6115        .28999E-01   -.64377E-03
   2  alpha         1.4669        .74524        .46816       -.67350E-04
   3  Normalizat    1.2487        .13371        .61817E-01    .68175E-03
   4  Prefactor     .82296        .10130        .44015E-01    .77076E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.818732
  alpha      = 1.46687
  Normalizat = 1.24866
  Prefactor  = 0.82296
 **********
 **   18 **HESSE 
 **********

 FCN=   13265.00     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .81873        1.1336        .17902E-02   -1.5527    
   2  alpha         1.4669        .88599        .33542E-01   -.42602    
   3  Normalizat    1.2487        .15222        .27342E-03   -.85112    
   4  Prefactor     .82296        .11537        .24817E-03   -.98887    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30346e-08
Minuit parameter uncertainties:
  1  1.13365
  2  0.910032
  3  0.152271
  4  0.115408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158494': 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) = 13265.0017547
delta logL = 0.181011577346

Extracting fit parameters...

4FGL J0532.0-4827
   Spectrum: LogParabola
291         norm:  8.187e-01  1.134e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        alpha:  1.467e+00  9.100e-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:  8.230e-01  1.154e-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.249e+00  1.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.73
Ra Dec: 83.002 -48.461
Photon Index (Free Index): 1.47 +/- 0.91
Photon Flux (Free Index): 3.73e-09 +/- 6.11e-09
Energy Flux (Free Index): 7.67e-06 +/- 1.41e-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/158494/cmap_HighResolution_680227201_680486401_4FGL_J0532.0-4827_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.03e-05', comment='SUCCESS', photon_flux='7.72e-09', energy_flux2='7.67e-06', photon_flux_error='9.90e-09', dlogl='1.81e-01', energy_flux='3.96e-06', photon_flux2='3.73e-09', job_status='DONE', time_completed='2022-07-26 04:08:28.412595', photon_index_error2='0.91', photon_index2='1.47', ts='1.37', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='3.96e-08', energy_flux_error2='1.41e-05', EG='1.24', time_epoch_completed='1658833708.41', return_code='0', job_id='158494', GAL2='0.82', EG2='1.25', return_code2='0', energy_flux_error='5.08e-06', photon_flux_error2='6.11e-09', ts2='1.73', photon_index='2.09' WHERE bin_id='1701' AND source_name='4FGL J0532.0-4827' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 04:08:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 158316: <4FGL_J0532.0-4827_daily_bin1701> in cluster <slac> Done

Job <4FGL_J0532.0-4827_daily_bin1701> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jul 26 00:05:14 2022
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 00:32:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 00:32:37 2022
Terminated at Tue Jul 26 03:02:59 2022
Results reported at Tue Jul 26 03:02:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0532.0-4827_daily_bin1701 83.0022 -48.4607 680227201 680486401 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 :                                   8896.00 sec.
    Max Memory :                                 626 MB
    Average Memory :                             559.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   9022 sec.
    Turnaround time :                            10665 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 158494: <4FGL_J0532.0-4827_daily_bin1701> in cluster <slac> Done

Job <4FGL_J0532.0-4827_daily_bin1701> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul 26 00:05:22 2022
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 01:35:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 01:35:57 2022
Terminated at Tue Jul 26 04:08:29 2022
Results reported at Tue Jul 26 04:08:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0532.0-4827_daily_bin1701 83.0022 -48.4607 680227201 680486401 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 :                                   9044.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             564.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   9151 sec.
    Turnaround time :                            14587 sec.

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

