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 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 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 = 17393 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0239.7+0415_weekly_bin755 RA = 39.9403, Dec = 4.2643 tmin = 695606401, tmax = 696211201 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='698574', job_status='RUN', time_executed='2023-01-24 00:37:52.307606', time_epoch_executed='1674549472.31' WHERE source_name='4FGL J0239.7+0415' and cadence='weekly' and bin_id='755' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/698574 Creating custom pfile directory: /scratch/kocevski/698574/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=695606401.0 && nMetStart<696211201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=695606401.0 && nMetStart<696211201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/698574/ft1_4FGL_J0239.7+0415_weekly_bin755.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=695606401.0 && nMetStart<696211201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/698574/ft2_4FGL_J0239.7+0415_weekly_bin755.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/698574/ft1_4FGL_J0239.7+0415_weekly_bin755.fits outfile=/scratch/kocevski/698574/ft1_filteredMKT_4FGL_J0239.7+0415_weekly_bin755.fits ra=39.9403 dec=4.2643 rad=12.0 tmin=695606401.0 tmax=696211201.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 8.63 user 8.17 sys 0.32 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/698574/ft2_4FGL_J0239.7+0415_weekly_bin755.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/698574/ft2_4FGL_J0239.7+0415_weekly_bin755.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/698574/ft1_filteredMKT_4FGL_J0239.7+0415_weekly_bin755.fits evtable="EVENTS" outfile="/scratch/kocevski/698574/ft1_filtered_4FGL_J0239.7+0415_weekly_bin755.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.62 user 0.38 sys 0.16 Number of photons that the gtmktime cut: 1679 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/698574/ft1_filtered_4FGL_J0239.7+0415_weekly_bin755.fits" evtable="EVENTS" scfile=/scratch/kocevski/698574/ft2_4FGL_J0239.7+0415_weekly_bin755.fits sctable="SC_DATA" outfile=/scratch/kocevski/698574/ltcube_695606401_696211201_4FGL_J0239.7+0415_weekly_bin755.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/698574/ft2_4FGL_J0239.7+0415_weekly_bin755.fits .....................! real 34.71 user 33.90 sys 0.48 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/698574/ft1_filtered_4FGL_J0239.7+0415_weekly_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/698574/ft2_4FGL_J0239.7+0415_weekly_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/698574/ltcube_695606401_696211201_4FGL_J0239.7+0415_weekly_bin755.fits outfile=/scratch/kocevski/698574/expmap_695606401_696211201_4FGL_J0239.7+0415_weekly_bin755.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/698574/ltcube_695606401_696211201_4FGL_J0239.7+0415_weekly_bin755.fits .....................! real 193.62 user 186.83 sys 5.76 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 165 point sources and 0 extended sources Setting source of interest to: 4FGL J0239.7+0415 @ 39.9403 4.2643 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/698574/ft1_filtered_4FGL_J0239.7+0415_weekly_bin755.fits scfile=/scratch/kocevski/698574/ft2_4FGL_J0239.7+0415_weekly_bin755.fits outfile=/scratch/kocevski/698574/cmap_695606401_696211201_4FGL_J0239.7+0415_weekly_bin755.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=39.9403 yref=4.2643 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.64 user 0.43 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/698574/ft1_filtered_4FGL_J0239.7+0415_weekly_bin755.fits scfile=/scratch/kocevski/698574/ft2_4FGL_J0239.7+0415_weekly_bin755.fits outfile=/scratch/kocevski/698574/cmap_HighResolution_695606401_696211201_4FGL_J0239.7+0415_weekly_bin755.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=39.9403 yref=4.2643 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.64 user 0.43 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/698574/ft1_filtered_4FGL_J0239.7+0415_weekly_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/698574/ft2_4FGL_J0239.7+0415_weekly_bin755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/698574/Model_4FGL_J0239.7+0415_weekly_bin755.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/698574/ft1_filtered_4FGL_J0239.7+0415_weekly_bin755.fits.....................! real 197.40 user 193.65 sys 2.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/698574/ft1_filtered_4FGL_J0239.7+0415_weekly_bin755.fits', '/scratch/kocevski/698574/ft2_4FGL_J0239.7+0415_weekly_bin755.fits', expMap='/scratch/kocevski/698574/expmap_695606401_696211201_4FGL_J0239.7+0415_weekly_bin755.fits', expCube='/scratch/kocevski/698574/ltcube_695606401_696211201_4FGL_J0239.7+0415_weekly_bin755.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/698574/Model_4FGL_J0239.7+0415_weekly_bin755.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0239.7+0415' 4FGL J0239.7+0415 Spectrum: PowerLaw 277 Prefactor: 7.975e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 278 Index: 2.775e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 279 Scale: 4.112e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/698574/ft1_filtered_4FGL_J0239.7+0415_weekly_bin755.fits Spacecraft file(s): /scratch/kocevski/698574/ft2_4FGL_J0239.7+0415_weekly_bin755.fits Exposure map: /scratch/kocevski/698574/expmap_695606401_696211201_4FGL_J0239.7+0415_weekly_bin755.fits Exposure cube: /scratch/kocevski/698574/ltcube_695606401_696211201_4FGL_J0239.7+0415_weekly_bin755.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/698574/Model_4FGL_J0239.7+0415_weekly_bin755.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) = 18128.7432991 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 18128.7185996 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 8.0399 1.0000 .0000 .10000E+07 2 'norm ' 19.381 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.3945 1.0000 .0000 .10000E+07 4 'norm ' 1.1265 1.0000 .0000 .10000E+07 5 'Prefactor ' 19.633 1.0000 .0000 .10000E+07 6 'Prefactor ' .17265E-03 1.0000 .0000 .10000E+07 7 'Prefactor ' .15426 1.0000 .0000 .10000E+07 8 'Prefactor ' 9.5394 1.0000 .0000 .10000E+07 9 'Prefactor ' .11008E-03 1.0000 .0000 .10000E+07 10 'Prefactor ' .52408E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' 14.497 1.0000 .0000 .10000E+07 12 'norm ' .50800E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 7.9290 1.0000 .0000 .10000E+07 14 'Prefactor ' 36.599 1.0000 .0000 .10000E+07 15 'Prefactor ' 13.657 1.0000 .0000 .10000E+07 16 'Prefactor ' .40466E-04 1.0000 .0000 .10000E+07 17 'norm ' 8.2317 1.0000 .0000 .10000E+07 18 'norm ' 13.908 1.0000 .0000 .10000E+07 19 'Prefactor ' 2.5645 1.0000 .0000 .10000E+07 20 'norm ' .38275E-05 1.0000 .0000 .10000E+07 21 'Prefactor ' 5.5306 1.0000 .0000 .10000E+07 22 'Prefactor ' .71572E-05 1.0000 .0000 .10000E+07 23 'Normalizat' .71979 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.0844 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5190E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 18128.72 FROM MIGRAD STATUS=CONVERGED 148 CALLS 2005 TOTAL EDM= .33E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.0727 4.9042 -.30336E-07 .24813E-03 2 norm 19.413 4.1969 .11938E-07 .65788E-03 3 Prefactor 4.3920 1.6076 .15208E-07 -.29444E-04 4 norm 1.1257 .62947 -.30358E-07 -.65696E-05 5 Prefactor 19.615 1.2460 .50576E-07 .12585E-01 6 Prefactor .0000 10.819 -.16965E-06** at limit ** 7 Prefactor .14883 13.052 -.68160E-06** at limit ** 8 Prefactor 9.5955 2.0798 .19758E-06 .12059E-01 9 Prefactor .0000 1.5369 -.13172E-06** at limit ** 10 Prefactor .11102E-09 20.519 .47635E-06** at limit ** 11 Prefactor 14.469 2.8060 .23643E-06 .20358E-01 12 norm .0000 9.2406 .22382E-06** at limit ** 13 Prefactor 7.9234 7.0994 -.18887E-06 .57088E-03 14 Prefactor 36.545 24.062 .82041E-06 -.95764E-03 15 Prefactor 13.831 3.7565 .22290E-06 -.66451E-02 16 Prefactor .0000 1.5653 -.19948E-06** at limit ** 17 norm 8.2322 6.7400 -.18495E-06 -.15782E-02 18 norm 13.911 3.4180 -.36230E-07 .29975E-04 19 Prefactor 2.5692 2.3209 .95486E-07 -.42435E-03 20 norm .0000 1.1966 .52217E-08** at limit ** 21 Prefactor 5.5305 9.7345 -.11717E-05 .49137E-02 22 Prefactor .0000 4.2732 .57757E-07** at limit ** 23 Normalizat .71962 .13078 .23311E-05 -.11805E-04 24 Prefactor 1.0844 .71959E-01 .20486E-06 -.23451E-04 ERR DEF= .500 Final values: Prefactor = 8.07269 norm = 19.4132 Prefactor = 4.39199 norm = 1.12573 Prefactor = 19.6155 Prefactor = 0 Prefactor = 0.148828 Prefactor = 9.59552 Prefactor = 0 Prefactor = 1.11022e-10 Prefactor = 14.4694 norm = 0 Prefactor = 7.92336 Prefactor = 36.545 Prefactor = 13.8306 Prefactor = 0 norm = 8.23217 norm = 13.9109 Prefactor = 2.56919 norm = 0 Prefactor = 5.53048 Prefactor = 0 Normalizat = 0.719624 Prefactor = 1.08441 ********** ** 18 **HESSE ********** FCN= 18128.72 FROM HESSE STATUS=OK 459 CALLS 2464 TOTAL EDM= .12E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 8.0727 4.9085 .35336E-03 -1.5651 2 norm 19.413 4.2065 .22723E-03 -1.5620 3 Prefactor 4.3920 1.6238 .48019E-03 -1.5666 4 norm 1.1257 .64480 .11026E-02 -1.5687 5 Prefactor 19.615 12.743 .22576E-03 -1.5619 6 Prefactor .0000 10.825 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .14883 1.3519 .81808E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 9.5955 10.697 .32422E-03 -1.5646 9 Prefactor .0000 1.5391 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .11102E-09 20.479 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 14.469 9.8008 .26280E-03 -1.5632 12 norm .0000 9.1781 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 7.9234 7.1351 .35584E-03 -1.5652 14 Prefactor 36.545 24.522 .16532E-03 -1.5587 15 Prefactor 13.831 24.422 .27078E-03 -1.5634 16 Prefactor .0000 1.5601 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 8.2322 6.7472 .34919E-03 -1.5651 18 norm 13.911 3.4175 .26832E-03 -1.5633 19 Prefactor 2.5692 2.3344 .63719E-03 -1.5676 20 norm .0000 1.1945 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 5.5305 10.466 .42699E-03 -1.5661 22 Prefactor .0000 4.1718 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Normalizat .71962 .12692 .84653E-01 -1.0312 24 Prefactor 1.0844 .66514E-01 .38212E-01 -.89966 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.15003e-08 Minuit parameter uncertainties: 1 4.90854 2 4.20647 3 1.62375 4 0.644798 5 12.743 6 9.2368e-06 7 0.897122 8 10.6967 9 9.24113e-07 10 8.3276e-05 11 9.80077 12 2.85093e-05 13 7.13507 14 24.5221 15 24.4218 16 1.49754e-06 17 6.74721 18 3.41747 19 2.33436 20 5.14088e-09 21 10.466 22 5.72833e-06 23 0.126969 24 0.0665192 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 18128.7184276 Extracting fit parameters... 4FGL J0239.7+0415 Spectrum: PowerLaw 277 Prefactor: 1.447e+01 9.801e+00 0.000e+00 1.000e+06 ( 1.000e-12) 278 Index: 2.775e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 279 Scale: 4.112e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 516 Prefactor: 1.084e+00 6.652e-02 0.000e+00 1.000e+01 ( 1.000e+00) 517 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 518 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 515 Normalization: 7.196e-01 1.270e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.27 Ra Dec: 39.940 4.264 Photon Index (Fixed Index): 2.78 +/- 0.00 Photon Flux (Fixed Index): 4.13e-08 +/- 2.79e-08 Energy Flux (Fixed Index): 9.40e-06 +/- 6.37e-06 TS (Fixed Index): 3.27 Ra Dec: 39.940 4.264 Photon Flux Upper Limit: 9.60e-08 ph cm-2 s-1 Energy Flux Upper Limit: 7.59e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/698574/likelihoodResults_695606401_696211201_4FGL_J0239.7+0415_weekly_bin755.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) = 18127.9451801 delta logL = 0.773247546342 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 18127.9279874 delta logL = 0.790440292927 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 8.0557 1.0000 .0000 .10000E+07 2 'Index ' 3.9102 1.0000 .0000 10.000 3 'Normalizat' .68397 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0968 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5190E+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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 18127.93 FROM MIGRAD STATUS=FAILED 103 CALLS 294 TOTAL EDM= .19E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.0481 107.36 .70603E-04 .46037E-02 2 Index 3.9121 6.9506 .10200E-01 .10340E-02 3 Normalizat .68411 .13478 .38373E-03 -.73474E-05 4 Prefactor 1.0968 .77838E-01 .17615E-03 -.51632E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 18127.93 FROM SIMPLEX STATUS=UNCHANGED 82 CALLS 376 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.0481 107.36 .20061E-04 .46037E-02 2 Index 3.9121 6.9506 .11315E-02 .10340E-02 3 Normalizat .68411 .13478 .15109E-03 -.73474E-05 4 Prefactor 1.0968 .77838E-01 .50404E-04 -.51632E-05 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 18127.93 FROM MIGRAD STATUS=CONVERGED 31 CALLS 407 TOTAL EDM= .13E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.0481 11.158 .14121E-04 -.77291E-04 2 Index 3.9121 1.2960 .20400E-02 .40513E-04 3 Normalizat .68411 .12758 .15349E-04 -.71104E-05 4 Prefactor 1.0968 .71078E-01 .70460E-05 -.51632E-05 ERR DEF= .500 Final values: Prefactor = 8.04814 Index = 3.91205 Normalizat = 0.684105 Prefactor = 1.09681 ********** ** 18 **HESSE ********** FCN= 18127.93 FROM HESSE STATUS=OK 25 CALLS 432 TOTAL EDM= .47E-13 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 8.0481 10.188 .56482E-06 -1.5651 2 Index 3.9121 1.1854 .40800E-03 -.21934 3 Normalizat .68411 .12755 .30698E-05 -1.0452 4 Prefactor 1.0968 .71043E-01 .14092E-05 -.89569 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.68931e-14 Minuit parameter uncertainties: 1 10.1883 2 1.19739 3 0.127603 4 0.0710489 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/698574': 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) = 18127.9279825 delta logL = 0.790445121063 Extracting fit parameters... 4FGL J0239.7+0415 Spectrum: PowerLaw 277 Prefactor: 8.048e+00 1.019e+01 0.000e+00 1.000e+06 ( 1.000e-12) 278 Index: 3.912e+00 1.197e+00 0.000e+00 1.000e+01 (-1.000e+00) 279 Scale: 4.112e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 516 Prefactor: 1.097e+00 7.105e-02 0.000e+00 1.000e+01 ( 1.000e+00) 517 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 518 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 515 Normalization: 6.841e-01 1.276e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 5.09 Ra Dec: 39.940 4.264 Photon Index (Free Index): 3.91 +/- 1.20 Photon Flux (Free Index): 7.00e-08 +/- 3.79e-08 Energy Flux (Free Index): 1.06e-05 +/- 5.68e-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/698574/cmap_HighResolution_695606401_696211201_4FGL_J0239.7+0415_weekly_bin755.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/698574 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.59e-03', comment='SUCCESS', photon_flux='4.13e-08', energy_flux2='1.06e-05', photon_flux_error='2.79e-08', dlogl='7.90e-01', energy_flux='9.40e-06', photon_flux2='7.00e-08', job_status='DONE', time_completed='2023-01-24 00:59:39.571713', photon_index_error2='1.20', photon_index2='3.91', ts='3.27', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='9.60e-08', energy_flux_error2='5.68e-06', EG='0.72', time_epoch_completed='1674550779.57', return_code='0', job_id='698574', GAL2='1.10', EG2='0.68', return_code2='0', energy_flux_error='6.37e-06', photon_flux_error2='3.79e-08', ts2='5.09', photon_index='2.78' WHERE bin_id='755' AND source_name='4FGL J0239.7+0415' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jan 24 00:59:39 PST 2023 ------------------------------------------------------------ Sender: LSF System Subject: Job 698574: <4FGL_J0239.7+0415_weekly_bin755> in cluster Done Job <4FGL_J0239.7+0415_weekly_bin755> was submitted from host by user in cluster at Tue Jan 24 00:05:25 2023 Job was executed on host(s) , in queue , as user in cluster at Tue Jan 24 00:37:32 2023 was used as the home directory. was used as the working directory. Started at Tue Jan 24 00:37:32 2023 Terminated at Tue Jan 24 00:59:40 2023 Results reported at Tue Jan 24 00:59:40 2023 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0239.7+0415_weekly_bin755 39.9403 4.2643 695606401 696211201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0239.7+0415 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 1298.00 sec. Max Memory : 620 MB Average Memory : 330.09 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 1327 sec. Turnaround time : 3255 sec. The output (if any) is above this job summary.