aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189) 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 5 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 = 17204 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0007.7+4008_weekly_bin472 RA = 1.9275, Dec = 40.134 tmin = 524448001, tmax = 525052801 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='737088', job_status='RUN', time_executed='2021-07-02 21:06:04.047202', time_epoch_executed='1625285164.05' WHERE source_name='4FGL J0007.7+4008' and cadence='weekly' and bin_id='472' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/737088 Creating custom pfile directory: /scratch/kocevski/737088/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=524448001.0 && nMetStart<525052801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=524448001.0 && nMetStart<525052801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/737088/ft1_4FGL_J0007.7+4008_weekly_bin472.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=524448001.0 && nMetStart<525052801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /scratch/kocevski/737088/ft2_4FGL_J0007.7+4008_weekly_bin472.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/737088/ft1_4FGL_J0007.7+4008_weekly_bin472.fits outfile=/scratch/kocevski/737088/ft1_filteredMKT_4FGL_J0007.7+4008_weekly_bin472.fits ra=1.9275 dec=40.134 rad=12.0 tmin=524448001.0 tmax=525052801.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 7.37 user 7.05 sys 0.30 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/737088/ft2_4FGL_J0007.7+4008_weekly_bin472.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/737088/ft2_4FGL_J0007.7+4008_weekly_bin472.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/737088/ft1_filteredMKT_4FGL_J0007.7+4008_weekly_bin472.fits evtable="EVENTS" outfile="/scratch/kocevski/737088/ft1_filtered_4FGL_J0007.7+4008_weekly_bin472.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.58 user 0.40 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/737088/ft1_filtered_4FGL_J0007.7+4008_weekly_bin472.fits" evtable="EVENTS" scfile=/scratch/kocevski/737088/ft2_4FGL_J0007.7+4008_weekly_bin472.fits sctable="SC_DATA" outfile=/scratch/kocevski/737088/ltcube_524448001_525052801_4FGL_J0007.7+4008_weekly_bin472.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/737088/ft2_4FGL_J0007.7+4008_weekly_bin472.fits .....................! real 37.19 user 36.78 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/737088/ft1_filtered_4FGL_J0007.7+4008_weekly_bin472.fits evtable="EVENTS" scfile=/scratch/kocevski/737088/ft2_4FGL_J0007.7+4008_weekly_bin472.fits sctable="SC_DATA" expcube=/scratch/kocevski/737088/ltcube_524448001_525052801_4FGL_J0007.7+4008_weekly_bin472.fits outfile=/scratch/kocevski/737088/expmap_524448001_525052801_4FGL_J0007.7+4008_weekly_bin472.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/737088/ltcube_524448001_525052801_4FGL_J0007.7+4008_weekly_bin472.fits .....................! real 192.00 user 186.62 sys 4.81 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 FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 160 point sources and 2 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 J0007.7+4008 @ 1.9275 40.134 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/737088/ft1_filtered_4FGL_J0007.7+4008_weekly_bin472.fits scfile=/scratch/kocevski/737088/ft2_4FGL_J0007.7+4008_weekly_bin472.fits outfile=/scratch/kocevski/737088/cmap_524448001_525052801_4FGL_J0007.7+4008_weekly_bin472.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=1.9275 yref=40.134 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.61 user 0.43 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/737088/ft1_filtered_4FGL_J0007.7+4008_weekly_bin472.fits scfile=/scratch/kocevski/737088/ft2_4FGL_J0007.7+4008_weekly_bin472.fits outfile=/scratch/kocevski/737088/cmap_HighResolution_524448001_525052801_4FGL_J0007.7+4008_weekly_bin472.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=1.9275 yref=40.134 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.59 user 0.43 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/737088/ft1_filtered_4FGL_J0007.7+4008_weekly_bin472.fits evtable="EVENTS" scfile=/scratch/kocevski/737088/ft2_4FGL_J0007.7+4008_weekly_bin472.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/737088/Model_4FGL_J0007.7+4008_weekly_bin472.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 CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /scratch/kocevski/737088/ft1_filtered_4FGL_J0007.7+4008_weekly_bin472.fits.....................! real 246.93 user 245.20 sys 1.27 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/737088/ft1_filtered_4FGL_J0007.7+4008_weekly_bin472.fits', '/scratch/kocevski/737088/ft2_4FGL_J0007.7+4008_weekly_bin472.fits', expMap='/scratch/kocevski/737088/expmap_524448001_525052801_4FGL_J0007.7+4008_weekly_bin472.fits', expCube='/scratch/kocevski/737088/ltcube_524448001_525052801_4FGL_J0007.7+4008_weekly_bin472.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/737088/Model_4FGL_J0007.7+4008_weekly_bin472.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0007.7+4008' 4FGL J0007.7+4008 Spectrum: PowerLaw 30 Prefactor: 1.216e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 31 Index: 2.159e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 32 Scale: 1.870e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/737088/ft1_filtered_4FGL_J0007.7+4008_weekly_bin472.fits Spacecraft file(s): /scratch/kocevski/737088/ft2_4FGL_J0007.7+4008_weekly_bin472.fits Exposure map: /scratch/kocevski/737088/expmap_524448001_525052801_4FGL_J0007.7+4008_weekly_bin472.fits Exposure cube: /scratch/kocevski/737088/ltcube_524448001_525052801_4FGL_J0007.7+4008_weekly_bin472.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/737088/Model_4FGL_J0007.7+4008_weekly_bin472.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 24331.6503689 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24331.6031614 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.9301 1.0000 .10000E-03 10000. 2 'Prefactor ' 25.627 1.0000 .10000E-03 10000. 3 'norm ' 6.9177 1.0000 .10000E-03 10000. 4 'Prefactor ' 3.1150 1.0000 .10000E-03 10000. 5 'norm ' 2.6990 1.0000 .10000E-03 10000. 6 'Prefactor ' 5.1155 1.0000 .10000E-03 10000. 7 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10056E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 4.1867 1.0000 .10000E-03 10000. 11 'norm ' .10004E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 1.8219 1.0000 .10000E-03 10000. 13 'Prefactor ' 22.476 1.0000 .10000E-03 10000. 14 'Prefactor ' 11.976 1.0000 .10000E-03 10000. 15 'Prefactor ' 5.7837 1.0000 .10000E-03 10000. 16 'norm ' 5.1288 1.0000 .10000E-03 10000. 17 'norm ' .41096 1.0000 .10000E-03 10000. 18 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10007E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 1.5746 1.0000 .10000E-03 10000. 21 'Prefactor ' 33.183 1.0000 .10000E-03 10000. 22 'Prefactor ' .39621 1.0000 .10000E-03 10000. 23 'Normalizat' .90981 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.1035 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5290E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 24331.60 FROM MIGRAD STATUS=CONVERGED 570 CALLS 2839 TOTAL EDM= .18E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.9325 16.582 .21167E-05 -.31934E-04 2 Prefactor 25.620 16.611 -.35108E-06 -.21425E-04 3 norm 6.9428 14.007 .79330E-06 .26969E-03 4 Prefactor 3.1166 3.0288 .87569E-08 .25440E-03 5 norm 2.6989 1.3507 -.56541E-08 -.17775E-03 6 Prefactor 5.1146 5.0634 .23071E-05 .28929E-03 7 Prefactor .10000E-03 .45558 .19710E-08** at limit ** 8 Prefactor .10000E-03 4.8003 -.31419E-07** at limit ** 9 Prefactor .10000E-03 15.834 -.18075E-06** at limit ** 10 Prefactor 4.1872 10.086 .15874E-06 .79304E-05 11 norm .10000E-03 .33266 -.10744E-07** at limit ** 12 Prefactor 1.8221 3.6990 .69193E-06 .10145E-03 13 Prefactor 22.474 7.7535 -.64986E-07 .27046E-03 14 Prefactor 11.980 10.446 -.16751E-06 .11511E-03 15 Prefactor 5.7828 7.1953 -.97459E-07 .89055E-05 16 norm 5.1287 4.4347 .31499E-07 -.68789E-04 17 norm .41089 .83633 .26162E-06 -.12969E-03 18 Prefactor .10000E-03 2.5316 .11128E-07** at limit ** 19 Prefactor .10000E-03 8.3655 -.12765E-06** at limit ** 20 Prefactor 1.5702 79.663 -.11170E-05 .18497E-04 21 Prefactor 33.284 35.766 .55539E-06 .22657E-03 22 Prefactor .35515 3.6105 -.19519E-05 .44276E-03 23 Normalizat .90989 .14144 -.17425E-05 .26543E-03 24 Prefactor 1.1035 .58960E-01 .47237E-06 .79004E-03 ERR DEF= .500 Final values: Prefactor = 3.93251 Prefactor = 25.6197 norm = 6.94278 Prefactor = 3.11664 norm = 2.69885 Prefactor = 5.11465 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 4.18717 norm = 0.0001 Prefactor = 1.82213 Prefactor = 22.4739 Prefactor = 11.9797 Prefactor = 5.78279 norm = 5.12872 norm = 0.41089 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 1.57024 Prefactor = 33.2841 Prefactor = 0.35515 Normalizat = 0.909886 Prefactor = 1.10349 ********** ** 18 **HESSE ********** FCN= 24331.60 FROM HESSE STATUS=OK 411 CALLS 3250 TOTAL EDM= .62E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.9325 16.509 .20349E-03 -1.5311 2 Prefactor 25.620 16.606 .79131E-04 -1.4695 3 norm 6.9428 13.739 .15254E-03 -1.5181 4 Prefactor 3.1166 3.0155 .22974E-03 -1.5355 5 norm 2.6989 1.3496 .12384E-03 -1.5379 6 Prefactor 5.1146 5.1803 .88881E-03 -1.5256 7 Prefactor .10000E-03 .46025 .10275E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10000E-03 4.8307 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 15.962 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 4.1872 10.070 .19696E-03 -1.5299 11 norm .10000E-03 .66486 .17505E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 1.8221 3.6903 .30934E-03 -1.5438 13 Prefactor 22.474 7.7582 .84488E-04 -1.4759 14 Prefactor 11.980 10.435 .11575E-03 -1.5016 15 Prefactor 5.7828 7.1107 .16700E-03 -1.5227 16 norm 5.1287 4.4311 .17753E-03 -1.5255 17 norm .41089 .99668 .19154E-02 -1.5580 18 Prefactor .10000E-03 2.5342 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 8.3709 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 1.5702 80.224 .33866E-03 -1.5457 21 Prefactor 33.284 38.606 .69563E-04 -1.4553 22 Prefactor .35515 22.775 .41680E-02 -1.5589 23 Normalizat .90989 .15558 .39361E-03 -.96114 24 Prefactor 1.1035 .66667E-01 .16678E-03 -.89355 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.1539e-08 Minuit parameter uncertainties: 1 16.122 2 16.6089 3 13.7457 4 3.01567 5 1.34966 6 5.18077 7 2.35839e-07 8 1.49143e-06 9 3.73963e-05 10 10.074 11 5.47525e-07 12 3.69072 13 7.75855 14 10.4362 15 7.11169 16 4.43138 17 0.99672 18 1.72547e-08 19 6.16238e-06 20 22.4786 21 38.6354 22 5.68951 23 0.155655 24 0.066672 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24331.6031301 Extracting fit parameters... 4FGL J0007.7+4008 Spectrum: PowerLaw 30 Prefactor: 3.117e+00 3.016e+00 1.000e-04 1.000e+04 ( 1.000e-13) 31 Index: 2.159e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 32 Scale: 1.870e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 526 Prefactor: 1.103e+00 6.667e-02 0.000e+00 1.000e+01 ( 1.000e+00) 527 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 528 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 521 Normalization: 9.099e-01 1.557e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.49 Ra Dec: 1.927 40.134 Photon Index (Fixed Index): 2.16 +/- 0.00 Photon Flux (Fixed Index): 1.50e-08 +/- 1.45e-08 Energy Flux (Fixed Index): 7.27e-06 +/- 7.04e-06 TS (Fixed Index): 3.49 Ra Dec: 1.927 40.134 Photon Flux Upper Limit: 5.22e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.97e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/737088/likelihoodResults_524448001_525052801_4FGL_J0007.7+4008_weekly_bin472.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) = 24331.6029111 delta logL = 0.000219071120227 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 24331.6028525 delta logL = 0.000277615286905 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.1359 1.0000 .10000E-03 10000. 2 'Index ' 2.1405 1.0000 .0000 10.000 3 'Normalizat' .91034 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1034 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5290E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 24331.60 FROM MIGRAD STATUS=CONVERGED 53 CALLS 228 TOTAL EDM= .35E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.1372 51.887 .57232E-02 .28706E-03 2 Index 2.1417 2.5824 .25038 .14932E-03 3 Normalizat .91029 .40414E-01 .88863E-01 .19344E-03 4 Prefactor 1.1034 .15548E-01 .37458E-01 -.41381E-03 ERR DEF= .500 Final values: Prefactor = 3.13718 Index = 2.14171 Normalizat = 0.910292 Prefactor = 1.10342 ********** ** 18 **HESSE ********** FCN= 24331.60 FROM HESSE STATUS=OK 31 CALLS 259 TOTAL EDM= .23E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.1372 3.1506 .22893E-03 -1.5354 2 Index 2.1417 .74257 .11918E-01 -.60853 3 Normalizat .91029 .14036 .39354E-03 -.96099 4 Prefactor 1.1034 .64745E-01 .16679E-03 -.89357 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.28731e-10 Minuit parameter uncertainties: 1 3.15079 2 0.746681 3 0.140413 4 0.0647497 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/737088': 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) = 24331.6028507 delta logL = 0.000279434785625 Extracting fit parameters... 4FGL J0007.7+4008 Spectrum: PowerLaw 30 Prefactor: 3.137e+00 3.151e+00 1.000e-04 1.000e+04 ( 1.000e-13) 31 Index: 2.142e+00 7.467e-01 0.000e+00 1.000e+01 (-1.000e+00) 32 Scale: 1.870e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 526 Prefactor: 1.103e+00 6.475e-02 0.000e+00 1.000e+01 ( 1.000e+00) 527 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 528 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 521 Normalization: 9.103e-01 1.404e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.49 Ra Dec: 1.927 40.134 Photon Index (Free Index): 2.14 +/- 0.75 Photon Flux (Free Index): 1.45e-08 +/- 2.21e-08 Energy Flux (Free Index): 7.32e-06 +/- 7.29e-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/737088/cmap_HighResolution_524448001_525052801_4FGL_J0007.7+4008_weekly_bin472.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/737088 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.97e-03', comment='SUCCESS', photon_flux='1.50e-08', energy_flux2='7.32e-06', photon_flux_error='1.45e-08', dlogl='2.79e-04', energy_flux='7.27e-06', photon_flux2='1.45e-08', job_status='DONE', time_completed='2021-07-02 21:49:48.957944', photon_index_error2='0.75', photon_index2='2.14', ts='3.49', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='5.22e-08', energy_flux_error2='7.29e-06', EG='0.91', time_epoch_completed='1625287788.96', return_code='0', job_id='737088', GAL2='1.10', EG2='0.91', return_code2='0', energy_flux_error='7.04e-06', photon_flux_error2='2.21e-08', ts2='3.49', photon_index='2.16' WHERE bin_id='472' AND source_name='4FGL J0007.7+4008' AND cadence='weekly'; Database successfully updated. Analysis Complete. Fri Jul 2 21:49:48 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 737088: <4FGL_J0007.7+4008_weekly_bin472> in cluster Done Job <4FGL_J0007.7+4008_weekly_bin472> was submitted from host by user in cluster at Fri Jul 2 20:55:19 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Jul 2 21:05:52 2021 was used as the home directory. was used as the working directory. Started at Fri Jul 2 21:05:52 2021 Terminated at Fri Jul 2 21:49:49 2021 Results reported at Fri Jul 2 21:49:49 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0007.7+4008_weekly_bin472 1.9275 40.134 524448001 525052801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0007.7+4008 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 1829.00 sec. Max Memory : 1095 MB Average Memory : 282.42 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2637 sec. Turnaround time : 3270 sec. The output (if any) is above this job summary.