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

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

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

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

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


Performing analysis on: 4FGL_J0532.8-3941_daily_bin1709
RA = 83.2, Dec = -39.6853
tmin = 682300801, tmax = 682560001
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='29994', job_status='RUN', time_executed='2022-09-16 11:46:28.553138', time_epoch_executed='1663353988.55' WHERE source_name='4FGL J0532.8-3941' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/29994

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/29994/ft1_4FGL_J0532.8-3941_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/29994/ft2_4FGL_J0532.8-3941_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/29994/ft1_4FGL_J0532.8-3941_daily_bin1709.fits outfile=/scratch/kocevski/29994/ft1_filteredMKT_4FGL_J0532.8-3941_daily_bin1709.fits ra=83.2 dec=-39.6853 rad=12.0 tmin=682300801.0 tmax=682560001.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 3.72
user 3.51
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/29994/ft2_4FGL_J0532.8-3941_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/29994/ft2_4FGL_J0532.8-3941_daily_bin1709.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/29994/ft1_filteredMKT_4FGL_J0532.8-3941_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/29994/ft1_filtered_4FGL_J0532.8-3941_daily_bin1709.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.33
sys 0.17

Number of photons that the gtmktime cut: 653

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/29994/ft1_filtered_4FGL_J0532.8-3941_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/29994/ft2_4FGL_J0532.8-3941_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/29994/ltcube_682300801_682560001_4FGL_J0532.8-3941_daily_bin1709.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/29994/ft2_4FGL_J0532.8-3941_daily_bin1709.fits
.....................!
real 16.41
user 16.01
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/29994/ft1_filtered_4FGL_J0532.8-3941_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/29994/ft2_4FGL_J0532.8-3941_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/29994/ltcube_682300801_682560001_4FGL_J0532.8-3941_daily_bin1709.fits outfile=/scratch/kocevski/29994/expmap_682300801_682560001_4FGL_J0532.8-3941_daily_bin1709.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/29994/ltcube_682300801_682560001_4FGL_J0532.8-3941_daily_bin1709.fits
.....................!
real 192.59
user 186.46
sys 5.62

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 198 point sources and 0 extended sources

Setting source of interest to:
4FGL J0532.8-3941 @ 83.2 -39.6853

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/29994/ft1_filtered_4FGL_J0532.8-3941_daily_bin1709.fits scfile=/scratch/kocevski/29994/ft2_4FGL_J0532.8-3941_daily_bin1709.fits outfile=/scratch/kocevski/29994/cmap_682300801_682560001_4FGL_J0532.8-3941_daily_bin1709.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.2 yref=-39.6853 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/29994/ft1_filtered_4FGL_J0532.8-3941_daily_bin1709.fits scfile=/scratch/kocevski/29994/ft2_4FGL_J0532.8-3941_daily_bin1709.fits outfile=/scratch/kocevski/29994/cmap_HighResolution_682300801_682560001_4FGL_J0532.8-3941_daily_bin1709.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.2 yref=-39.6853 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/29994/ft1_filtered_4FGL_J0532.8-3941_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/29994/ft2_4FGL_J0532.8-3941_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/29994/Model_4FGL_J0532.8-3941_daily_bin1709.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/29994/ft1_filtered_4FGL_J0532.8-3941_daily_bin1709.fits.....................!
real 73.42
user 71.92
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/29994/ft1_filtered_4FGL_J0532.8-3941_daily_bin1709.fits', '/scratch/kocevski/29994/ft2_4FGL_J0532.8-3941_daily_bin1709.fits', expMap='/scratch/kocevski/29994/expmap_682300801_682560001_4FGL_J0532.8-3941_daily_bin1709.fits', expCube='/scratch/kocevski/29994/ltcube_682300801_682560001_4FGL_J0532.8-3941_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/29994/Model_4FGL_J0532.8-3941_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0532.8-3941'

4FGL J0532.8-3941
   Spectrum: PowerLaw
285    Prefactor:  2.458e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.591e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  6.147e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/29994/ft1_filtered_4FGL_J0532.8-3941_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/29994/ft2_4FGL_J0532.8-3941_daily_bin1709.fits
Exposure map: /scratch/kocevski/29994/expmap_682300801_682560001_4FGL_J0532.8-3941_daily_bin1709.fits
Exposure cube: /scratch/kocevski/29994/ltcube_682300801_682560001_4FGL_J0532.8-3941_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/29994/Model_4FGL_J0532.8-3941_daily_bin1709.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) = 7010.06859713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5300       1.0000          .0000       .10000E+07
     2 'norm      '    7.6006       1.0000          .0000       .10000E+07
     3 'norm      '    3.6209       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18973E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12262E-02   1.0000          .0000       .10000E+07
     6 'norm      '    3.4594       1.0000          .0000       .10000E+07
     7 'Prefactor '    .44190E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .22580E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.0705       1.0000          .0000       .10000E+07
    10 'Prefactor '    .34878       1.0000          .0000       .10000E+07
    11 'norm      '    1.6585       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18059E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .10722E-03   1.0000          .0000       .10000E+07
    14 'norm      '    10.048       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.6830       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14159E-02   1.0000          .0000       .10000E+07
    17 'norm      '    6.0789       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18413E-02   1.0000          .0000       .10000E+07
    19 'norm      '    4.8710       1.0000          .0000       .10000E+07
    20 'norm      '    6.0125       1.0000          .0000       .10000E+07
    21 'norm      '    8.1956       1.0000          .0000       .10000E+07
    22 'Prefactor '    44.681       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.7366       1.0000          .0000       .10000E+07
    24 'norm      '    .33035E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    .10031E-02   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.0610       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .84069       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7009.973     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     1898 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5229        3.4844       -.30560E-06   -.75253E-02
   2  norm          7.5502        10.633       -.68632E-07   -.84103E-02
   3  norm          3.6245        1.7846       -.13209E-06   -.75301E-02
   4  Prefactor     .99920E-09    2.6462        .31533E-06** at limit **
   5  Prefactor     .15726E-06    26.312        .46866E-05** at limit **
   6  norm          3.4343        5.6435        .52845E-06   -.15453E-02
   7  Prefactor     .58892E-06    9.1558       -.27526E-05** at limit **
   8  Prefactor     .23670E-06    7.3719       -.45374E-05** at limit **
   9  Prefactor     8.0731        3.1724        .85302E-07    .10795E-01
  10  Prefactor     .32215        4.7596        .51131E-06   -.46887E-02
  11  norm          1.6603        2.0203       -.98620E-07    .38119E-02
  12  Prefactor     .21078E-06    6.5517        .31693E-05** at limit **
  13  norm          .17358E-06    3.7860       -.18002E-05** at limit **
  14  norm          10.027        4.1291       -.21797E-06   -.96723E-02
  15  Prefactor     4.6969        4.8255       -.17032E-06   -.21970E-02
  16  Prefactor     .17980E-06    3.9205        .24088E-05** at limit **
  17  norm          6.0653        5.7500        .63961E-07   -.11791E-01
  18  Prefactor     .21971E-06    9.1056       -.19957E-05** at limit **
  19  norm          4.8696        1.2115       -.14319E-07    .17127E-01
  20  norm          6.0125        3.0790       -.10434E-06   -.79790E-02
  21  norm          8.2778        1.1376       -.20260E-06    .26406E-02
  22  Prefactor     43.179        32.531       -.22774E-05    .12490E-01
  23  Prefactor     3.7080        5.5158       -.33906E-05   -.38461E-01
  24  norm          .89928E-08    4.4136        .11295E-05** at limit **
  25  Prefactor     .74607E-07    7.9499        .86848E-06** at limit **
  26  Normalizat    1.0625        .23443        .34929E-05   -.26661E-03
  27  Prefactor     .84041        .16538        .22928E-05   -.21682E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.5229
  norm       = 7.5502
  norm       = 3.62453
  Prefactor  = 9.99201e-10
  Prefactor  = 1.57263e-07
  norm       = 3.43429
  Prefactor  = 5.88918e-07
  Prefactor  = 2.367e-07
  Prefactor  = 8.07306
  Prefactor  = 0.322148
  norm       = 1.66026
  Prefactor  = 2.10776e-07
  norm       = 1.73583e-07
  norm       = 10.0274
  Prefactor  = 4.69692
  Prefactor  = 1.79801e-07
  norm       = 6.06525
  Prefactor  = 2.19713e-07
  norm       = 4.8696
  norm       = 6.01246
  norm       = 8.27781
  Prefactor  = 43.1791
  Prefactor  = 3.70803
  norm       = 8.99281e-09
  Prefactor  = 7.4607e-08
  Normalizat = 1.06246
  Prefactor  = 0.840405
 **********
 **   18 **HESSE 
 **********

 FCN=   7009.973     FROM HESSE     STATUS=OK           550 CALLS     2448 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5229        3.5080        .53778E-03   -1.5670    
   2  norm          7.5502        11.123        .36352E-03   -1.5653    
   3  norm          3.6245        1.7901        .53071E-03   -1.5670    
   4  Prefactor     .99920E-09    2.6415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15726E-06    26.873        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4343        5.6940        .54349E-03   -1.5671    
   7  Prefactor     .58892E-06    18.377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23670E-06    9.9755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.0731        3.1844        .35269E-03   -1.5651    
  10  Prefactor     .32215        2.4645        .40300E-02   -1.5697    
  11  norm          1.6603        2.0851        .81900E-03   -1.5682    
  12  Prefactor     .21078E-06    11.650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .17358E-06    6.3421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.027        4.1469        .31587E-03   -1.5645    
  15  Prefactor     4.6969        4.8640        .46479E-03   -1.5665    
  16  Prefactor     .17980E-06    6.1075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.0653        5.7731        .40698E-03   -1.5659    
  18  Prefactor     .21971E-06    17.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.8696        1.2111        .45553E-03   -1.5664    
  20  norm          6.0125        3.0739        .40925E-03   -1.5659    
  21  norm          8.2778        12.895        .34996E-03   -1.5650    
  22  Prefactor     43.179        32.812        .14962E-03   -1.5577    
  23  Prefactor     3.7080        11.540        .52211E-03   -1.5669    
  24  norm          .89928E-08    11.140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .74607E-07    8.3889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0625        .20350        .65361E-01   -.90967    
  27  Prefactor     .84041        .14446        .44244E-01   -.98256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94399e-07
Minuit parameter uncertainties:
  1  3.508
  2  11.1229
  3  1.79011
  4  0.000104012
  5  0.00411128
  6  5.69405
  7  0.00657951
  8  0.00307335
  9  3.1844
  10  1.78207
  11  2.08509
  12  0.0031341
  13  0.00209861
  14  4.14685
  15  4.86396
  16  0.0020957
  17  5.77308
  18  0.00389492
  19  1.21111
  20  3.07391
  21  12.8949
  22  32.8122
  23  11.5398
  24  0.000632439
  25  0.00158245
  26  0.203652
  27  0.144528
Done.

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

Extracting fit parameters...

4FGL J0532.8-3941
   Spectrum: PowerLaw
285    Prefactor:  4.697e+00  4.864e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.591e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  6.147e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.404e-01  1.445e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.062e+00  2.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.52
Ra Dec: 83.200 -39.685
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 3.26e-08 +/- 3.38e-08
Energy Flux (Fixed Index): 8.64e-06 +/- 8.94e-06

TS (Fixed Index): 1.52
Ra Dec: 83.200 -39.685
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/29994/likelihoodResults_682300801_682560001_4FGL_J0532.8-3941_daily_bin1709.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) = 7009.95485791
delta logL = 0.0181935865157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7009.94814764
delta logL = 0.0249038579259

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1074       1.0000          .0000       .10000E+07
     2 'Index     '    2.9102       1.0000          .0000       10.000    
     3 'Normalizat'    1.0494       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84670       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7009.948     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      268 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1094        5.9747        .78267E-04   -.36768E-02
   2  Index         2.9107        1.6186        .44642E-02   -.42590E-04
   3  Normalizat    1.0494        .22387        .29072E-03   -.16620E-03
   4  Prefactor     .84674        .16620        .24474E-03   -.73347E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.10935
  Index      = 2.91072
  Normalizat = 1.04937
  Prefactor  = 0.846744
 **********
 **   18 **HESSE 
 **********

 FCN=   7009.948     FROM HESSE     STATUS=OK            23 CALLS      291 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1094        5.4809        .31307E-05   -1.5667    
   2  Index         2.9107        1.4882        .17857E-03   -.43108    
   3  Normalizat    1.0494        .22306        .11629E-04   -.91394    
   4  Prefactor     .84674        .16589        .97897E-05   -.98028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25696e-10
Minuit parameter uncertainties:
  1  5.48091
  2  1.51623
  3  0.223264
  4  0.165987
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/29994': 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) = 7009.94814718
delta logL = 0.0249043167596

Extracting fit parameters...

4FGL J0532.8-3941
   Spectrum: PowerLaw
285    Prefactor:  4.109e+00  5.481e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.911e+00  1.516e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  6.147e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.467e-01  1.660e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.049e+00  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.57
Ra Dec: 83.200 -39.685
Photon Index (Free Index): 2.91 +/- 1.52
Photon Flux (Free Index): 4.25e-08 +/- 6.05e-08
Energy Flux (Free Index): 8.90e-06 +/- 8.79e-06

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/29994/cmap_HighResolution_682300801_682560001_4FGL_J0532.8-3941_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.79e-03', comment='SUCCESS', photon_flux='3.26e-08', energy_flux2='8.90e-06', photon_flux_error='3.38e-08', dlogl='2.49e-02', energy_flux='8.64e-06', photon_flux2='4.25e-08', job_status='DONE', time_completed='2022-09-16 11:58:47.900851', photon_index_error2='1.52', photon_index2='2.91', ts='1.52', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='8.79e-06', EG='1.06', time_epoch_completed='1663354727.9', return_code='0', job_id='29994', GAL2='0.85', EG2='1.05', return_code2='0', energy_flux_error='8.94e-06', photon_flux_error2='6.05e-08', ts2='1.57', photon_index='2.59' WHERE bin_id='1709' AND source_name='4FGL J0532.8-3941' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 11:58:47 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 29994: <4FGL_J0532.8-3941_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0532.8-3941_daily_bin1709> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 11:45:19 2022
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 11:46:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 11:46:00 2022
Terminated at Fri Sep 16 11:58:48 2022
Results reported at Fri Sep 16 11:58:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0532.8-3941_daily_bin1709 83.2 -39.6853 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0532.8-3941 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   741.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             337.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            809 sec.

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

