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


Performing analysis on: 4FGL_J0532.9-8325_daily_bin1705
RA = 83.2454, Dec = -83.4324
tmin = 681264001, tmax = 681523201
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='406936', job_status='RUN', time_executed='2022-08-07 00:21:37.172660', time_epoch_executed='1659856897.17' WHERE source_name='4FGL J0532.9-8325' and cadence='daily' and bin_id='1705'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/406936

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/406936/ft1_4FGL_J0532.9-8325_daily_bin1705.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/406936/ft2_4FGL_J0532.9-8325_daily_bin1705.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/406936/ft1_4FGL_J0532.9-8325_daily_bin1705.fits outfile=/scratch/kocevski/406936/ft1_filteredMKT_4FGL_J0532.9-8325_daily_bin1705.fits ra=83.2454 dec=-83.4324 rad=12.0 tmin=681264001.0 tmax=681523201.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.84
user 2.62
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/406936/ft2_4FGL_J0532.9-8325_daily_bin1705.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/406936/ft2_4FGL_J0532.9-8325_daily_bin1705.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/406936/ft1_filteredMKT_4FGL_J0532.9-8325_daily_bin1705.fits evtable="EVENTS" outfile="/scratch/kocevski/406936/ft1_filtered_4FGL_J0532.9-8325_daily_bin1705.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: 1321

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/406936/ft1_filtered_4FGL_J0532.9-8325_daily_bin1705.fits" evtable="EVENTS" scfile=/scratch/kocevski/406936/ft2_4FGL_J0532.9-8325_daily_bin1705.fits sctable="SC_DATA" outfile=/scratch/kocevski/406936/ltcube_681264001_681523201_4FGL_J0532.9-8325_daily_bin1705.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/406936/ft2_4FGL_J0532.9-8325_daily_bin1705.fits
.....................!
real 16.61
user 16.16
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/406936/ft1_filtered_4FGL_J0532.9-8325_daily_bin1705.fits evtable="EVENTS" scfile=/scratch/kocevski/406936/ft2_4FGL_J0532.9-8325_daily_bin1705.fits sctable="SC_DATA" expcube=/scratch/kocevski/406936/ltcube_681264001_681523201_4FGL_J0532.9-8325_daily_bin1705.fits outfile=/scratch/kocevski/406936/expmap_681264001_681523201_4FGL_J0532.9-8325_daily_bin1705.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/406936/ltcube_681264001_681523201_4FGL_J0532.9-8325_daily_bin1705.fits
.....................!
real 193.72
user 188.38
sys 4.74

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 SMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/SMC-Galaxy.fits is the correct path to the extended template.
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 167 point sources and 5 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.9-8325 @ 83.2454 -83.4324

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/406936/ft1_filtered_4FGL_J0532.9-8325_daily_bin1705.fits scfile=/scratch/kocevski/406936/ft2_4FGL_J0532.9-8325_daily_bin1705.fits outfile=/scratch/kocevski/406936/cmap_681264001_681523201_4FGL_J0532.9-8325_daily_bin1705.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.2454 yref=-83.4324 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.57
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/406936/ft1_filtered_4FGL_J0532.9-8325_daily_bin1705.fits scfile=/scratch/kocevski/406936/ft2_4FGL_J0532.9-8325_daily_bin1705.fits outfile=/scratch/kocevski/406936/cmap_HighResolution_681264001_681523201_4FGL_J0532.9-8325_daily_bin1705.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.2454 yref=-83.4324 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.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/406936/ft1_filtered_4FGL_J0532.9-8325_daily_bin1705.fits evtable="EVENTS" scfile=/scratch/kocevski/406936/ft2_4FGL_J0532.9-8325_daily_bin1705.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/406936/Model_4FGL_J0532.9-8325_daily_bin1705.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
adding source SMC-Galaxy
Working on...
/scratch/kocevski/406936/ft1_filtered_4FGL_J0532.9-8325_daily_bin1705.fits.....................!
real 11444.15
user 11409.95
sys 1.51

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/406936/ft1_filtered_4FGL_J0532.9-8325_daily_bin1705.fits', '/scratch/kocevski/406936/ft2_4FGL_J0532.9-8325_daily_bin1705.fits', expMap='/scratch/kocevski/406936/expmap_681264001_681523201_4FGL_J0532.9-8325_daily_bin1705.fits', expCube='/scratch/kocevski/406936/ltcube_681264001_681523201_4FGL_J0532.9-8325_daily_bin1705.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/406936/Model_4FGL_J0532.9-8325_daily_bin1705.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0532.9-8325'

4FGL J0532.9-8325
   Spectrum: PowerLaw
184    Prefactor:  1.856e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
185        Index:  2.077e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
186        Scale:  3.620e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/406936/ft1_filtered_4FGL_J0532.9-8325_daily_bin1705.fits
Spacecraft file(s): /scratch/kocevski/406936/ft2_4FGL_J0532.9-8325_daily_bin1705.fits
Exposure map: /scratch/kocevski/406936/expmap_681264001_681523201_4FGL_J0532.9-8325_daily_bin1705.fits
Exposure cube: /scratch/kocevski/406936/ltcube_681264001_681523201_4FGL_J0532.9-8325_daily_bin1705.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/406936/Model_4FGL_J0532.9-8325_daily_bin1705.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) = 13770.1742025

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7668       1.0000         .10000E-03   10000.    
     2 'Prefactor '    83.450       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1261       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    30.795       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.9525       1.0000         .10000E-03   10000.    
    11 'norm      '    .14904E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.798       1.0000         .10000E-03   10000.    
    13 'norm      '    13.595       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.045       1.0000         .10000E-03   10000.    
    15 'norm      '    .25535       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.810       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.5942       1.0000         .10000E-03   10000.    
    19 'norm      '    5.1382       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.5005       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99028       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0572       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13770.17     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2358 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7673        6.6121       -.17330E-06   -.13495E-03
   2  Prefactor     83.441        48.326       -.83388E-05    .16198E-04
   3  Prefactor     .10000E-03    1.5706        .79521E-07** at limit **
   4  Prefactor     .10000E-03    22.717       -.17422E-05** at limit **
   5  Prefactor     .10000E-03    2.4094       -.13745E-06** at limit **
   6  Prefactor     5.1206        15.145       -.26656E-05   -.66035E-04
   7  Prefactor     .10000E-03    31.770        .60577E-05** at limit **
   8  norm          30.800        40.751        .67230E-05    .20700E-04
   9  Prefactor     .10000E-03    2.6120       -.34230E-06** at limit **
  10  Prefactor     9.9591        10.197       -.13458E-05    .12327E-03
  11  norm          .10001E-03    2.1455       -.18181E-05** at limit **
  12  Prefactor     23.817        32.052        .27464E-04    .12874E-03
  13  norm          13.595        8.9844       -.12831E-05    .95563E-04
  14  Prefactor     14.043        17.222        .51774E-06    .22904E-04
  15  norm          .26253        1.1162       -.70455E-06   -.30570E-03
  16  Prefactor     .10000E-03    2.1716        .27826E-06** at limit **
  17  Prefactor     16.784        30.647       -.42066E-04   -.46700E-05
  18  Prefactor     6.5946        4.6923        .12000E-05   -.12441E-03
  19  norm          5.1376        4.9903        .58537E-06   -.18535E-03
  20  Prefactor     6.4987        104.76       -.60733E-05   -.52210E-05
  21  Normalizat    .99018        .19964        .47864E-05    .23783E-03
  22  Prefactor     1.0572        .71163E-01   -.79651E-07    .12678E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.76734
  Prefactor  = 83.4408
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.1206
  Prefactor  = 0.0001
  norm       = 30.8004
  Prefactor  = 0.0001
  Prefactor  = 9.95906
  norm       = 0.000100011
  Prefactor  = 23.8174
  norm       = 13.5953
  Prefactor  = 14.0432
  norm       = 0.26253
  Prefactor  = 0.0001
  Prefactor  = 16.7838
  Prefactor  = 6.5946
  norm       = 5.13764
  Prefactor  = 6.49867
  Normalizat = 0.990176
  Prefactor  = 1.05724
 **********
 **   18 **HESSE 
 **********

 FCN=   13770.17     FROM HESSE     STATUS=OK           346 CALLS     2704 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7673        6.5984        .16725E-03   -1.5228    
   2  Prefactor     83.441        48.323        .43972E-04   -1.3878    
   3  Prefactor     .10000E-03    1.5744        .14359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    22.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.4200        .17787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.1206        15.143        .17757E-03   -1.5255    
   7  Prefactor     .10000E-03    31.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          30.800        40.688        .72201E-04   -1.4597    
   9  Prefactor     .10000E-03    2.6320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.9591        10.166        .12702E-03   -1.5077    
  11  norm          .10001E-03    8.7588        .32814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.817        32.011        .82112E-04   -1.4732    
  13  norm          13.595        8.9835        .10863E-03   -1.4970    
  14  Prefactor     14.043        17.218        .10688E-03   -1.4958    
  15  norm          .26253        4.7029        .24018E-02   -1.5606    
  16  Prefactor     .10000E-03    2.2157        .16881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.784        30.598        .97685E-04   -1.4888    
  18  Prefactor     6.5946        4.6822        .15627E-03   -1.5194    
  19  norm          5.1376        4.9604        .17736E-03   -1.5255    
  20  Prefactor     6.4987        103.63        .15741E-03   -1.5198    
  21  Normalizat    .99018        .22576        .43308E-03   -.93360    
  22  Prefactor     1.0572        .81504E-01    .15367E-03   -.90845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10697e-08
Minuit parameter uncertainties:
  1  6.59927
  2  48.346
  3  1.15554e-06
  4  9.02706e-05
  5  1.07729e-05
  6  15.1542
  7  2.7278e-05
  8  40.725
  9  3.06354e-05
  10  10.1681
  11  0.000610012
  12  32.034
  13  8.98436
  14  17.2236
  15  2.22208
  16  2.37214e-05
  17  30.6265
  18  4.68245
  19  4.96075
  20  52.0091
  21  0.225979
  22  0.0815138
Done.

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

Extracting fit parameters...

4FGL J0532.9-8325
   Spectrum: PowerLaw
184    Prefactor:  5.121e+00  1.515e+01  1.000e-04  1.000e+04 ( 1.000e-14)
185        Index:  2.077e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
186        Scale:  3.620e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  1.057e+00  8.151e-02  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  9.902e-01  2.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 83.245 -83.432
Photon Flux Upper Limit: 7.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/406936/likelihoodResults_681264001_681523201_4FGL_J0532.9-8325_daily_bin1705.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) = 13770.1676823
delta logL = 0.000105800281744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13770.1675652
delta logL = 0.000222882195885

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2835       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0549       1.0000          .0000       10.000    
     3 'Normalizat'    .99036       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0573       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+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=   13770.17     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      259 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2873        18.496        .17486E-03    .51363E-04
   2  Index         2.0545        1.1079        .10461E-01    .45873E-04
   3  Normalizat    .99039        .21742        .43304E-03    .73110E-03
   4  Prefactor     1.0572        .80219E-01    .15367E-03    .18712E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.28729
  Index      = 2.05449
  Normalizat = 0.990385
  Prefactor  = 1.05721
 **********
 **   18 **HESSE 
 **********

 FCN=   13770.17     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2873        17.328        .69943E-05   -1.5248    
   2  Index         2.0545        1.0405        .41844E-03   -.62995    
   3  Normalizat    .99039        .21746        .17321E-04   -.93353    
   4  Prefactor     1.0572        .80248E-01    .30734E-04   -.90846    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00749e-10
Minuit parameter uncertainties:
  1  17.3442
  2  1.05238
  3  0.217657
  4  0.0802571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/406936': 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) = 13770.1675645
delta logL = 0.000223643126446

Extracting fit parameters...

4FGL J0532.9-8325
   Spectrum: PowerLaw
184    Prefactor:  5.287e+00  1.734e+01  1.000e-04  1.000e+04 ( 1.000e-14)
185        Index:  2.054e+00  1.052e+00  0.000e+00  1.000e+01 (-1.000e+00)
186        Scale:  3.620e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  1.057e+00  8.026e-02  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  9.904e-01  2.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
Ra Dec: 83.245 -83.432

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/406936/cmap_HighResolution_681264001_681523201_4FGL_J0532.9-8325_daily_bin1705.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.61e-03', job_status='DONE', photon_flux_upper_limit='7.43e-08', time_completed='2022-08-07 03:49:06.063136', job_id='406936', GAL2='1.06', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1659869346.06', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='2.24e-04', ts2='0.14', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='1705' AND source_name='4FGL J0532.9-8325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug  7 03:49:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 406936: <4FGL_J0532.9-8325_daily_bin1705> in cluster <slac> Done

Job <4FGL_J0532.9-8325_daily_bin1705> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug  7 00:05:08 2022
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug  7 00:19:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug  7 00:19:16 2022
Terminated at Sun Aug  7 03:49:06 2022
Results reported at Sun Aug  7 03:49:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0532.9-8325_daily_bin1705 83.2454 -83.4324 681264001 681523201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0532.9-8325 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   12423.00 sec.
    Max Memory :                                 629 MB
    Average Memory :                             594.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   12590 sec.
    Turnaround time :                            13438 sec.

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

