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


Performing analysis on: 4FGL_J0529.3-7243_monthly_bin168
RA = 82.3293, Dec = -72.733
tmin = 672451201, tmax = 675043201
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='617694', job_status='RUN', time_executed='2022-05-24 02:13:27.957359', time_epoch_executed='1653383607.96' WHERE source_name='4FGL J0529.3-7243' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/617694

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/617694/ft1_4FGL_J0529.3-7243_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/617694/ft2_4FGL_J0529.3-7243_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/617694/ft1_4FGL_J0529.3-7243_monthly_bin168.fits outfile=/scratch/kocevski/617694/ft1_filteredMKT_4FGL_J0529.3-7243_monthly_bin168.fits ra=82.3293 dec=-72.733 rad=12.0 tmin=672451201.0 tmax=675043201.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 28.91
user 28.16
sys 0.68

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/617694/ft2_4FGL_J0529.3-7243_monthly_bin168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/617694/ft2_4FGL_J0529.3-7243_monthly_bin168.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/617694/ft1_filteredMKT_4FGL_J0529.3-7243_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/617694/ft1_filtered_4FGL_J0529.3-7243_monthly_bin168.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.87
user 0.69
sys 0.17

Number of photons that the gtmktime cut: 10954

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/617694/ft1_filtered_4FGL_J0529.3-7243_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/617694/ft2_4FGL_J0529.3-7243_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/617694/ltcube_672451201_675043201_4FGL_J0529.3-7243_monthly_bin168.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/617694/ft2_4FGL_J0529.3-7243_monthly_bin168.fits
.....................!
real 137.61
user 136.93
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/617694/ft1_filtered_4FGL_J0529.3-7243_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/617694/ft2_4FGL_J0529.3-7243_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/617694/ltcube_672451201_675043201_4FGL_J0529.3-7243_monthly_bin168.fits outfile=/scratch/kocevski/617694/expmap_672451201_675043201_4FGL_J0529.3-7243_monthly_bin168.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/617694/ltcube_672451201_675043201_4FGL_J0529.3-7243_monthly_bin168.fits
.....................!
real 192.29
user 186.77
sys 4.82

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.
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.
Added 178 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 J0529.3-7243 @ 82.3293 -72.733

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/617694/ft1_filtered_4FGL_J0529.3-7243_monthly_bin168.fits scfile=/scratch/kocevski/617694/ft2_4FGL_J0529.3-7243_monthly_bin168.fits outfile=/scratch/kocevski/617694/cmap_672451201_675043201_4FGL_J0529.3-7243_monthly_bin168.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=82.3293 yref=-72.733 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.81
user 0.61
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/617694/ft1_filtered_4FGL_J0529.3-7243_monthly_bin168.fits scfile=/scratch/kocevski/617694/ft2_4FGL_J0529.3-7243_monthly_bin168.fits outfile=/scratch/kocevski/617694/cmap_HighResolution_672451201_675043201_4FGL_J0529.3-7243_monthly_bin168.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=82.3293 yref=-72.733 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.82
user 0.64
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/617694/ft1_filtered_4FGL_J0529.3-7243_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/617694/ft2_4FGL_J0529.3-7243_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/617694/Model_4FGL_J0529.3-7243_monthly_bin168.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/617694/ft1_filtered_4FGL_J0529.3-7243_monthly_bin168.fits.....................!
real 95660.64
user 95401.89
sys 32.59

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/617694/ft1_filtered_4FGL_J0529.3-7243_monthly_bin168.fits', '/scratch/kocevski/617694/ft2_4FGL_J0529.3-7243_monthly_bin168.fits', expMap='/scratch/kocevski/617694/expmap_672451201_675043201_4FGL_J0529.3-7243_monthly_bin168.fits', expCube='/scratch/kocevski/617694/ltcube_672451201_675043201_4FGL_J0529.3-7243_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/617694/Model_4FGL_J0529.3-7243_monthly_bin168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0529.3-7243'

4FGL J0529.3-7243
   Spectrum: PowerLaw
277    Prefactor:  1.328e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
278        Index:  2.369e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  1.568e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/617694/ft1_filtered_4FGL_J0529.3-7243_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/617694/ft2_4FGL_J0529.3-7243_monthly_bin168.fits
Exposure map: /scratch/kocevski/617694/expmap_672451201_675043201_4FGL_J0529.3-7243_monthly_bin168.fits
Exposure cube: /scratch/kocevski/617694/ltcube_672451201_675043201_4FGL_J0529.3-7243_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/617694/Model_4FGL_J0529.3-7243_monthly_bin168.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) = 114684.49713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.537       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.466       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.9954       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.153       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8214       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.6202       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.5533       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .61460       1.0000         .10000E-03   10000.    
    13 'norm      '    2.3702       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.0857       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11331E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.1188       1.0000         .10000E-03   10000.    
    17 'norm      '    2.0169       1.0000         .10000E-03   10000.    
    18 'norm      '    2.8425       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.7153       1.0000         .10000E-03   10000.    
    20 'norm      '    6.3105       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1269       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95785       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   114683.6     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2061 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.538        7.4316       -.16122E-06   -.10572E-04
   2  Prefactor     .10000E-03    2.8107       -.39990E-06** at limit **
   3  Prefactor     14.467        6.8138       -.17935E-06   -.11286E-04
   4  Prefactor     3.9960        3.2115        .58248E-07   -.30622E-02
   5  Prefactor     11.153        4.6649       -.15320E-07   -.48146E-03
   6  Prefactor     3.8215        3.1820        .15558E-06    .13137E-04
   7  Prefactor     .10000E-03    11.293        .47934E-06** at limit **
   8  norm          5.6202        1.0389       -.48810E-08   -.42047E-06
   9  Prefactor     .10000E-03    .26994       -.16643E-07** at limit **
  10  Prefactor     3.5533        4.0236       -.10295E-06   -.68120E-04
  11  norm          .10000E-03    4.1387       -.59072E-06** at limit **
  12  Prefactor     .61479        .71515       -.76034E-07   -.14752E-02
  13  norm          2.3729        1.5444       -.52173E-07   -.67963E-03
  14  Prefactor     2.0856        1.2705        .22460E-06   -.64204E-02
  15  Prefactor     .10000E-03    .39347        .78615E-07** at limit **
  16  norm          1.1188        .64570        .25653E-07   -.92680E-03
  17  norm          2.0169        .76612       -.23514E-07   -.52886E-03
  18  norm          2.8421        1.1422        .38156E-06    .37151E-03
  19  Prefactor     3.7029        12.472       -.22798E-04   -.10140E-03
  20  norm          6.3099        2.7594        .98401E-06    .57157E-03
  21  Normalizat    1.1269        .56118E-01   -.11874E-06    .33272E-03
  22  Prefactor     .95786        .25376E-01    .22323E-06   -.49333E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.5379
  Prefactor  = 0.0001
  Prefactor  = 14.467
  Prefactor  = 3.99596
  Prefactor  = 11.153
  Prefactor  = 3.82145
  Prefactor  = 0.0001
  norm       = 5.62023
  Prefactor  = 0.0001
  Prefactor  = 3.55326
  norm       = 0.0001
  Prefactor  = 0.614788
  norm       = 2.37286
  Prefactor  = 2.08557
  Prefactor  = 0.0001
  norm       = 1.11877
  norm       = 2.01691
  norm       = 2.84212
  Prefactor  = 3.70286
  norm       = 6.3099
  Normalizat = 1.1269
  Prefactor  = 0.957863
 **********
 **   18 **HESSE 
 **********

 FCN=   114683.6     FROM HESSE     STATUS=OK           360 CALLS     2421 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.538        7.4446        .11313E-03   -1.5000    
   2  Prefactor     .10000E-03    2.8477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.467        6.8263        .10531E-03   -1.4947    
   4  Prefactor     3.9960        3.6703        .10088E-02   -1.5308    
   5  Prefactor     11.153        4.6750        .59982E-03   -1.5040    
   6  Prefactor     3.8215        3.1846        .20647E-03   -1.5317    
   7  Prefactor     .10000E-03    11.745        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6202        1.0388        .16945E-04   -1.5234    
   9  Prefactor     .10000E-03    .64444        .33919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.5533        4.0225        .21442E-03   -1.5331    
  11  norm          .10000E-03    4.1791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .61479        .82734        .29558E-02   -1.5551    
  13  norm          2.3729        1.5406        .26614E-03   -1.5400    
  14  Prefactor     2.0856        2.1546        .14295E-02   -1.5419    
  15  Prefactor     .10000E-03    3.2501        .40057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.1188        .63757        .19921E-03   -1.5496    
  17  norm          2.0169        .76209        .17631E-03   -1.5424    
  18  norm          2.8421        1.1439        .21832E-03   -1.5371    
  19  Prefactor     3.7029        12.497        .20950E-03   -1.5323    
  20  norm          6.3099        2.7627        .15979E-03   -1.5206    
  21  Normalizat    1.1269        .64603E-01    .35027E-03   -.88893    
  22  Prefactor     .95786        .29304E-01    .17366E-03   -.94148    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11751e-07
Minuit parameter uncertainties:
  1  7.44515
  2  2.80485e-06
  3  6.82665
  4  3.6705
  5  4.67519
  6  3.18477
  7  1.26887e-05
  8  1.03876
  9  7.64255e-07
  10  4.02279
  11  1.17547e-06
  12  0.827358
  13  1.54062
  14  2.15466
  15  3.66475e-05
  16  0.63757
  17  0.762091
  18  1.14386
  19  12.5063
  20  2.7628
  21  0.0646079
  22  0.0293042
Done.

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

Extracting fit parameters...

4FGL J0529.3-7243
   Spectrum: PowerLaw
277    Prefactor:  1.000e-04  7.643e-07  1.000e-04  1.000e+04 ( 1.000e-13)
278        Index:  2.369e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  1.568e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.579e-01  2.930e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.127e+00  6.461e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 82.329 -72.733
Photon Flux Upper Limit: 1.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.82e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/617694/likelihoodResults_672451201_675043201_4FGL_J0529.3-7243_monthly_bin168.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): 102
logL (Free Index) = 114683.641629
delta logL = -0.00736054978915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 114683.634269
delta logL = -1.45756348502e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10232E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3517       1.0000          .0000       10.000    
     3 'Normalizat'    1.1270       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95785       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   114683.6     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      237 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .76188        .90712E-02** at limit **
   2  Index         1.9571        7.5086        .50000       -.67752E-05
   3  Normalizat    1.1269        .15274E-02    .79129E-01    .23429E-03
   4  Prefactor     .95786        .70794E-03    .45738E-01    .12356E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.95712
  Normalizat = 1.1269
  Prefactor  = 0.957863
 **********
 **   18 **HESSE 
 **********

 FCN=   114683.6     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      268 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    76.153        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9571        6.4297        .50000       -.65426    
   3  Normalizat    1.1269        .17052E-01    .35027E-03   -.88893    
   4  Prefactor     .95786        .79040E-02    .17366E-03   -.94148    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.603e-07
Minuit parameter uncertainties:
  1  2.06234e-05
  2  446.261
  3  0.017052
  4  0.00790396
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/617694': 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) = 114683.634257
delta logL = 1.13668065751e-05

Extracting fit parameters...

4FGL J0529.3-7243
   Spectrum: PowerLaw
277    Prefactor:  1.000e-04  2.062e-05  1.000e-04  1.000e+04 ( 1.000e-13)
278        Index:  1.957e+00  4.463e+02  0.000e+00  1.000e+01 (-1.000e+00)
279        Scale:  1.568e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.579e-01  7.904e-03  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.127e+00  1.705e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 82.329 -72.733

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/617694/cmap_HighResolution_672451201_675043201_4FGL_J0529.3-7243_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.82e-04', job_status='DONE', photon_flux_upper_limit='1.14e-08', time_completed='2022-05-25 06:30:37.473011', job_id='617694', GAL2='0.96', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1653485437.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.14e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='168' AND source_name='4FGL J0529.3-7243' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Wed May 25 06:30:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 617694: <4FGL_J0529.3-7243_monthly_bin168> in cluster <slac> Done

Job <4FGL_J0529.3-7243_monthly_bin168> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue May 24 02:10:28 2022
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 02:12:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 02:12:29 2022
Terminated at Wed May 25 06:30:38 2022
Results reported at Wed May 25 06:30:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0529.3-7243_monthly_bin168 82.3293 -72.733 672451201 675043201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0529.3-7243 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   101648.00 sec.
    Max Memory :                                 655 MB
    Average Memory :                             633.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   101889 sec.
    Turnaround time :                            102010 sec.

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

