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


Performing analysis on: 4FGL_J0529.3-7243_daily_bin1675
RA = 82.3293, Dec = -72.733
tmin = 673488001, tmax = 673747201
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='862317', job_status='RUN', time_executed='2022-05-09 00:50:42.216511', time_epoch_executed='1652082642.22' WHERE source_name='4FGL J0529.3-7243' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862317

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/862317/ft1_4FGL_J0529.3-7243_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/862317/ft2_4FGL_J0529.3-7243_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862317/ft1_4FGL_J0529.3-7243_daily_bin1675.fits outfile=/scratch/kocevski/862317/ft1_filteredMKT_4FGL_J0529.3-7243_daily_bin1675.fits ra=82.3293 dec=-72.733 rad=12.0 tmin=673488001.0 tmax=673747201.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.61
user 2.40
sys 0.19

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

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

Number of photons that the gtmktime cut: 1263

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862317/ft1_filtered_4FGL_J0529.3-7243_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/862317/ft2_4FGL_J0529.3-7243_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/862317/ltcube_673488001_673747201_4FGL_J0529.3-7243_daily_bin1675.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/862317/ft2_4FGL_J0529.3-7243_daily_bin1675.fits
.....................!
real 17.71
user 17.26
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862317/ft1_filtered_4FGL_J0529.3-7243_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/862317/ft2_4FGL_J0529.3-7243_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/862317/ltcube_673488001_673747201_4FGL_J0529.3-7243_daily_bin1675.fits outfile=/scratch/kocevski/862317/expmap_673488001_673747201_4FGL_J0529.3-7243_daily_bin1675.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/862317/ltcube_673488001_673747201_4FGL_J0529.3-7243_daily_bin1675.fits
.....................!
real 192.78
user 186.58
sys 5.60

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/862317/ft1_filtered_4FGL_J0529.3-7243_daily_bin1675.fits scfile=/scratch/kocevski/862317/ft2_4FGL_J0529.3-7243_daily_bin1675.fits outfile=/scratch/kocevski/862317/cmap_673488001_673747201_4FGL_J0529.3-7243_daily_bin1675.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.57
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862317/ft1_filtered_4FGL_J0529.3-7243_daily_bin1675.fits scfile=/scratch/kocevski/862317/ft2_4FGL_J0529.3-7243_daily_bin1675.fits outfile=/scratch/kocevski/862317/cmap_HighResolution_673488001_673747201_4FGL_J0529.3-7243_daily_bin1675.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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/862317/ft1_filtered_4FGL_J0529.3-7243_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/862317/ft2_4FGL_J0529.3-7243_daily_bin1675.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/862317/Model_4FGL_J0529.3-7243_daily_bin1675.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/862317/ft1_filtered_4FGL_J0529.3-7243_daily_bin1675.fits.....................!
real 11288.00
user 11259.81
sys 1.76

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/862317/ft1_filtered_4FGL_J0529.3-7243_daily_bin1675.fits', '/scratch/kocevski/862317/ft2_4FGL_J0529.3-7243_daily_bin1675.fits', expMap='/scratch/kocevski/862317/expmap_673488001_673747201_4FGL_J0529.3-7243_daily_bin1675.fits', expCube='/scratch/kocevski/862317/ltcube_673488001_673747201_4FGL_J0529.3-7243_daily_bin1675.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/862317/Model_4FGL_J0529.3-7243_daily_bin1675.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/862317/ft1_filtered_4FGL_J0529.3-7243_daily_bin1675.fits
Spacecraft file(s): /scratch/kocevski/862317/ft2_4FGL_J0529.3-7243_daily_bin1675.fits
Exposure map: /scratch/kocevski/862317/expmap_673488001_673747201_4FGL_J0529.3-7243_daily_bin1675.fits
Exposure cube: /scratch/kocevski/862317/ltcube_673488001_673747201_4FGL_J0529.3-7243_daily_bin1675.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/862317/Model_4FGL_J0529.3-7243_daily_bin1675.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) = 13339.8764353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.3400       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .40227       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.866       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.8339       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .72191       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.681       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5575       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .23287E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.3725       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.8447       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .89050       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99312       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=   13339.71     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2451 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.519       -.10002E-06** at limit **
   2  Prefactor     8.3232        20.181       -.25703E-05   -.24485E-03
   3  Prefactor     .19433        10.398        .78211E-06   -.17201E-03
   4  Prefactor     .10000E-03    3.8433        .42977E-07** at limit **
   5  Prefactor     39.863        19.400        .50165E-08    .70781E-04
   6  Prefactor     .10000E-03    7.1516       -.47404E-09** at limit **
   7  Prefactor     .10000E-03    15.718        .24759E-06** at limit **
   8  norm          7.8335        3.4526        .27097E-06   -.44819E-03
   9  Prefactor     .72183        2.6209        .21370E-05   -.37697E-03
  10  Prefactor     12.685        20.244        .23976E-05    .25948E-03
  11  norm          .10000E-03    8.7009        .10415E-06** at limit **
  12  Prefactor     1.5570        2.7132        .30538E-06   -.20938E-03
  13  norm          .10000E-03    2.7562       -.20067E-07** at limit **
  14  Prefactor     .11585        5.3055        .61040E-07   -.21795E-04
  15  Prefactor     .10000E-03    4.4223        .61003E-08** at limit **
  16  norm          3.3717        2.3448        .60245E-07   -.11296E-03
  17  norm          .10000E-03    .95515       -.44585E-07** at limit **
  18  norm          2.8453        3.1993        .25354E-06   -.22378E-03
  19  Prefactor     .10000E-03    34.864       -.35673E-06** at limit **
  20  norm          .10000E-03    6.0232        .12764E-07** at limit **
  21  Normalizat    .89071        .15904       -.16970E-06   -.19310E-03
  22  Prefactor     .99300        .72512E-01   -.27464E-06   -.19892E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.32318
  Prefactor  = 0.194331
  Prefactor  = 0.0001
  Prefactor  = 39.8628
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.8335
  Prefactor  = 0.721828
  Prefactor  = 12.685
  norm       = 0.0001
  Prefactor  = 1.55702
  norm       = 0.0001
  Prefactor  = 0.115851
  Prefactor  = 0.0001
  norm       = 3.37173
  norm       = 0.0001
  norm       = 2.84531
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.890713
  Prefactor  = 0.993001
 **********
 **   18 **HESSE 
 **********

 FCN=   13339.71     FROM HESSE     STATUS=OK           356 CALLS     2807 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.3232        21.113        .13882E-03   -1.5131    
   3  Prefactor     .19433        13.165        .10893       -1.5620    
   4  Prefactor     .10000E-03    3.8538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.863        19.477        .63483E-04   -1.4444    
   6  Prefactor     .10000E-03    7.1597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.8335        3.4757        .66634E-03   -1.5148    
   9  Prefactor     .72183        2.6974        .36539E-03   -1.5538    
  10  Prefactor     12.685        20.925        .11248E-03   -1.4995    
  11  norm          .10000E-03    8.7049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.5570        2.6796        .24337E-03   -1.5458    
  13  norm          .10000E-03    2.7840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11585        6.2146        .81382E-01   -1.5640    
  15  Prefactor     .10000E-03    4.4735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.3717        2.3433        .14266E-03   -1.5341    
  17  norm          .10000E-03    .96883        .11019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.8453        3.2064        .21122E-03   -1.5371    
  19  Prefactor     .10000E-03    34.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    6.0547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .89071        .18174        .37234E-03   -.96787    
  22  Prefactor     .99300        .83031E-01    .16563E-03   -.92963    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21162e-09
Minuit parameter uncertainties:
  1  9.8942e-06
  2  21.1317
  3  3.1989
  4  2.64954e-06
  5  19.4796
  6  1.26005e-06
  7  3.95487e-05
  8  3.4758
  9  2.69781
  10  20.9367
  11  1.3007e-05
  12  2.6798
  13  1.36396e-06
  14  1.69647
  15  3.00354e-07
  16  2.34333
  17  1.29903e-06
  18  3.20661
  19  8.07966e-05
  20  3.10096e-06
  21  0.181865
  22  0.0830419
Done.

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

Extracting fit parameters...

4FGL J0529.3-7243
   Spectrum: PowerLaw
277    Prefactor:  7.218e-01  2.698e+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

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.930e-01  8.304e-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:  8.907e-01  1.819e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 82.329 -72.733
Photon Flux Upper Limit: 5.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/862317/likelihoodResults_673488001_673747201_4FGL_J0529.3-7243_daily_bin1675.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) = 13339.5976552
delta logL = 0.10923333059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13339.5150533
delta logL = 0.191835298856

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0993       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5742       1.0000          .0000       10.000    
     3 'Normalizat'    .89352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99174       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=   13339.52     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      227 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1017        88.278        .71210E-02    .66557E-03
   2  Index         1.5737        2.8430        .50000       -.10115E-04
   3  Normalizat    .89351        .34443E-01    .83975E-01    .52052E-04
   4  Prefactor     .99175        .14899E-01    .46164E-01   -.12932E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.10167
  Index      = 1.57367
  Normalizat = 0.89351
  Prefactor  = 0.991748
 **********
 **   18 **HESSE 
 **********

 FCN=   13339.52     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1017        3.8969        .28484E-03   -1.5418    
   2  Index         1.5737        .95984        .14519E-01   -.75497    
   3  Normalizat    .89351        .17199        .37180E-03   -.96689    
   4  Prefactor     .99175        .80990E-01    .16570E-03   -.93005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63056e-10
Minuit parameter uncertainties:
  1  3.89736
  2  0.971313
  3  0.172096
  4  0.081
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862317': 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) = 13339.5150529
delta logL = 0.191835673622

Extracting fit parameters...

4FGL J0529.3-7243
   Spectrum: PowerLaw
277    Prefactor:  2.102e+00  3.897e+00  1.000e-04  1.000e+04 ( 1.000e-13)
278        Index:  1.574e+00  9.713e-01  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.917e-01  8.100e-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:  8.935e-01  1.721e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/862317/cmap_HighResolution_673488001_673747201_4FGL_J0529.3-7243_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.85e-03', job_status='DONE', photon_flux_upper_limit='5.00e-08', time_completed='2022-05-09 04:15:56.937399', job_id='862317', GAL2='0.99', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1652094956.94', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.92e-01', ts2='0.47', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1675' AND source_name='4FGL J0529.3-7243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 04:15:56 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 862316: <4FGL_J0529.3-7243_daily_bin1675> in cluster <slac> Done

Job <4FGL_J0529.3-7243_daily_bin1675> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon May  9 00:05:45 2022
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 00:48:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 00:48:59 2022
Terminated at Mon May  9 04:08:34 2022
Results reported at Mon May  9 04:08:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0529.3-7243_daily_bin1675 82.3293 -72.733 673488001 673747201 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 :                                   11848.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             596.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11974 sec.
    Turnaround time :                            14569 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 862317: <4FGL_J0529.3-7243_daily_bin1675> in cluster <slac> Done

Job <4FGL_J0529.3-7243_daily_bin1675> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon May  9 00:05:45 2022
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 00:49:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 00:49:00 2022
Terminated at Mon May  9 04:15:57 2022
Results reported at Mon May  9 04:15:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0529.3-7243_daily_bin1675 82.3293 -72.733 673488001 673747201 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 :                                   12298.00 sec.
    Max Memory :                                 771 MB
    Average Memory :                             595.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   12417 sec.
    Turnaround time :                            15012 sec.

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

