/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 10 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 = 7402 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin1083 RA = 250.119, Dec = 39.7626 tmin = 520041601, tmax = 520300801 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='837133', job_status='RUN', time_executed='2021-09-15 06:46:10.523290', time_epoch_executed='1631713570.52' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='1083' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/837133 Creating custom pfile directory: /scratch/kocevski/837133/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=520041601.0 && nMetStart<520300801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=520041601.0 && nMetStart<520300801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/837133/ft1_4FGL_J1640.4+3945_daily_bin1083.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=520041601.0 && nMetStart<520300801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/837133/ft2_4FGL_J1640.4+3945_daily_bin1083.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/837133/ft1_4FGL_J1640.4+3945_daily_bin1083.fits outfile=/scratch/kocevski/837133/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1083.fits ra=250.119 dec=39.7626 rad=12.0 tmin=520041601.0 tmax=520300801.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 4.28 user 4.03 sys 0.23 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/837133/ft2_4FGL_J1640.4+3945_daily_bin1083.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/837133/ft2_4FGL_J1640.4+3945_daily_bin1083.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/837133/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1083.fits evtable="EVENTS" outfile="/scratch/kocevski/837133/ft1_filtered_4FGL_J1640.4+3945_daily_bin1083.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.50 user 0.33 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/837133/ft1_filtered_4FGL_J1640.4+3945_daily_bin1083.fits" evtable="EVENTS" scfile=/scratch/kocevski/837133/ft2_4FGL_J1640.4+3945_daily_bin1083.fits sctable="SC_DATA" outfile=/scratch/kocevski/837133/ltcube_520041601_520300801_4FGL_J1640.4+3945_daily_bin1083.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/837133/ft2_4FGL_J1640.4+3945_daily_bin1083.fits .....................! real 14.13 user 13.73 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/837133/ft1_filtered_4FGL_J1640.4+3945_daily_bin1083.fits evtable="EVENTS" scfile=/scratch/kocevski/837133/ft2_4FGL_J1640.4+3945_daily_bin1083.fits sctable="SC_DATA" expcube=/scratch/kocevski/837133/ltcube_520041601_520300801_4FGL_J1640.4+3945_daily_bin1083.fits outfile=/scratch/kocevski/837133/expmap_520041601_520300801_4FGL_J1640.4+3945_daily_bin1083.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/837133/ltcube_520041601_520300801_4FGL_J1640.4+3945_daily_bin1083.fits .....................! real 191.72 user 186.50 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 Added 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/837133/ft1_filtered_4FGL_J1640.4+3945_daily_bin1083.fits scfile=/scratch/kocevski/837133/ft2_4FGL_J1640.4+3945_daily_bin1083.fits outfile=/scratch/kocevski/837133/cmap_520041601_520300801_4FGL_J1640.4+3945_daily_bin1083.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=250.119 yref=39.7626 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.54 user 0.38 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/837133/ft1_filtered_4FGL_J1640.4+3945_daily_bin1083.fits scfile=/scratch/kocevski/837133/ft2_4FGL_J1640.4+3945_daily_bin1083.fits outfile=/scratch/kocevski/837133/cmap_HighResolution_520041601_520300801_4FGL_J1640.4+3945_daily_bin1083.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=250.119 yref=39.7626 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.56 user 0.41 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/837133/ft1_filtered_4FGL_J1640.4+3945_daily_bin1083.fits evtable="EVENTS" scfile=/scratch/kocevski/837133/ft2_4FGL_J1640.4+3945_daily_bin1083.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/837133/Model_4FGL_J1640.4+3945_daily_bin1083.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/837133/ft1_filtered_4FGL_J1640.4+3945_daily_bin1083.fits.....................! real 53.93 user 52.47 sys 1.24 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/837133/ft1_filtered_4FGL_J1640.4+3945_daily_bin1083.fits', '/scratch/kocevski/837133/ft2_4FGL_J1640.4+3945_daily_bin1083.fits', expMap='/scratch/kocevski/837133/expmap_520041601_520300801_4FGL_J1640.4+3945_daily_bin1083.fits', expCube='/scratch/kocevski/837133/ltcube_520041601_520300801_4FGL_J1640.4+3945_daily_bin1083.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/837133/Model_4FGL_J1640.4+3945_daily_bin1083.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.4+3945' 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.345e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/837133/ft1_filtered_4FGL_J1640.4+3945_daily_bin1083.fits Spacecraft file(s): /scratch/kocevski/837133/ft2_4FGL_J1640.4+3945_daily_bin1083.fits Exposure map: /scratch/kocevski/837133/expmap_520041601_520300801_4FGL_J1640.4+3945_daily_bin1083.fits Exposure cube: /scratch/kocevski/837133/ltcube_520041601_520300801_4FGL_J1640.4+3945_daily_bin1083.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/837133/Model_4FGL_J1640.4+3945_daily_bin1083.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) = 6666.41053247 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6666.38571317 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10152E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .56128 1.0000 .10000E-03 10000. 5 'Prefactor ' 35.183 1.0000 .10000E-03 10000. 6 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 7 'norm ' .50265 1.0000 .10000E-03 10000. 8 'norm ' .10002E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 10.643 1.0000 .10000E-03 10000. 10 'Prefactor ' .15372E-03 1.0000 .10000E-03 10000. 11 'norm ' 44.968 1.0000 .10000E-03 10000. 12 'Prefactor ' .10314E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.5101 1.0000 .10000E-03 10000. 14 'Prefactor ' 2.8962 1.0000 .10000E-03 10000. 15 'Prefactor ' .38618 1.0000 .10000E-03 10000. 16 'norm ' .10010E-03 1.0000 .10000E-03 10000. 17 'norm ' 4.9840 1.0000 .10000E-03 10000. 18 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 19 'norm ' .44449 1.0000 .10000E-03 10000. 20 'norm ' .10001E-03 1.0000 .10000E-03 10000. 21 'norm ' 2.7772 1.0000 .10000E-03 10000. 22 'Prefactor ' 24.945 1.0000 .10000E-03 10000. 23 'norm ' 45.005 1.0000 .10000E-03 10000. 24 'Prefactor ' 75.369 1.0000 .10000E-03 10000. 25 'Normalizat' .86979 1.0000 .10000E-01 10.000 26 'Prefactor ' .97378 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6666.386 FROM MIGRAD STATUS=CONVERGED 634 CALLS 3156 TOTAL EDM= .67E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 39.637 -.23213E-06** at limit ** 2 Prefactor .10000E-03 24.274 .24816E-07** at limit ** 3 Prefactor .10000E-03 1.3072 -.49199E-07** at limit ** 4 Prefactor .56954 16.547 -.33130E-05 .40595E-03 5 Prefactor 35.207 35.816 .47797E-06 .17111E-03 6 Prefactor .10000E-03 1.5232 -.51217E-07** at limit ** 7 norm .50268 .16515 .13770E-07 .37305E-02 8 norm .10000E-03 9.4470 .34512E-07** at limit ** 9 Prefactor 10.642 13.793 .13964E-06 .10740E-03 10 Prefactor .10000E-03 3.9481 .64380E-06** at limit ** 11 norm 44.974 44.680 .51026E-07 .91823E-04 12 Prefactor .10000E-03 .90163 -.35527E-06** at limit ** 13 Prefactor 1.5103 1.1951 .25886E-06 .19437E-02 14 Prefactor 2.8972 3.3898 .41120E-06 .52970E-03 15 Prefactor .38598 1.3254 .18611E-07 .90712E-04 16 norm .10000E-03 .97270 -.60177E-07** at limit ** 17 norm 4.9845 1.4503 -.90867E-09 .11680E-03 18 Prefactor .10000E-03 3.0292 -.41217E-07** at limit ** 19 norm .44436 .70362 -.89354E-07 -.41972E-03 20 norm .10000E-03 2.8606 -.11387E-06** at limit ** 21 norm 2.7772 1.9983 -.18097E-07 .65631E-04 22 Prefactor 24.931 49.889 .97022E-06 .16630E-04 23 norm 45.008 11.894 -.43220E-06 .66710E-04 24 Prefactor 75.262 112.23 .58219E-05 .55710E-04 25 Normalizat .86950 .20455 -.72189E-06 .26377E-03 26 Prefactor .97405 .15869 .71916E-06 .28361E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.569544 Prefactor = 35.2071 Prefactor = 0.0001 norm = 0.502677 norm = 0.0001 Prefactor = 10.6421 Prefactor = 0.0001 norm = 44.9742 Prefactor = 0.0001 Prefactor = 1.51032 Prefactor = 2.89719 Prefactor = 0.385976 norm = 0.0001 norm = 4.98453 Prefactor = 0.0001 norm = 0.44436 norm = 0.0001 norm = 2.77721 Prefactor = 24.9312 norm = 45.0079 Prefactor = 75.2616 Normalizat = 0.869504 Prefactor = 0.974052 ********** ** 18 **HESSE ********** FCN= 6666.386 FROM HESSE STATUS=OK 464 CALLS 3620 TOTAL EDM= .51E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 40.917 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 24.275 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 1.3188 .91134E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .56954 29.058 .37294E-02 -1.5557 5 Prefactor 35.207 37.255 .67562E-04 -1.4521 6 Prefactor .10000E-03 1.5431 .98361E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .50268 .16501 .17229E-04 -1.5566 8 norm .10000E-03 9.4941 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 10.642 13.831 .61406E-03 -1.5055 10 Prefactor .10000E-03 9.8666 .29544E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 44.974 44.393 .59788E-04 -1.4366 12 Prefactor .10000E-03 1.6006 .13569E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 1.5103 1.1513 .34809E-04 -1.5462 14 Prefactor 2.8972 3.4360 .78379E-03 -1.5368 15 Prefactor .38598 1.3930 .16543E-02 -1.5584 16 norm .10000E-03 1.0053 .15710E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 4.9845 1.4463 .49827E-04 -1.5261 18 Prefactor .10000E-03 3.0478 .13871E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .44436 .61768 .82431E-03 -1.5575 20 norm .10000E-03 2.8667 .13486E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 2.7772 1.9873 .93619E-04 -1.5375 22 Prefactor 24.931 49.858 .80204E-04 -1.4709 23 norm 45.008 11.809 .29882E-03 -1.4365 24 Prefactor 75.262 110.10 .23125E-03 -1.3971 25 Normalizat .86950 .24274 .29668E-03 -.97540 26 Prefactor .97405 .19032 .22860E-03 -.93600 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.09924e-09 Minuit parameter uncertainties: 1 2.09963e-05 2 7.45094e-06 3 1.79994e-06 4 8.13981 5 37.2795 6 1.42734e-06 7 0.165013 8 1.19847e-06 9 13.8349 10 6.28634e-05 11 44.4257 12 2.87308e-05 13 1.15135 14 3.4362 15 1.39312 16 3.69244e-06 17 1.44626 18 2.9005e-06 19 0.617691 20 9.34727e-06 21 1.98738 22 49.9412 23 11.8092 24 110.404 25 0.243043 26 0.190454 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6666.38570582 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 2.873e-05 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.741e-01 1.905e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 8.695e-01 2.430e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 9.83e-08 ph cm-2 s-1 Energy Flux Upper Limit: 7.61e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/837133/likelihoodResults_520041601_520300801_4FGL_J1640.4+3945_daily_bin1083.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) = 6666.388706 delta logL = -0.00300017819245 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6666.38570304 delta logL = 2.77886465483e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.3746 1.0000 .0000 10.000 3 'Normalizat' .86949 1.0000 .10000E-01 10.000 4 'Prefactor ' .97405 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6666.386 FROM MIGRAD STATUS=CONVERGED 84 CALLS 243 TOTAL EDM= .12E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .89354E-01 .42210E-01** at limit ** 2 Index 1.7432 8.3616 .50000 -.73353E-06 3 Normalizat .86950 .14906E-02 .67062E-01 .15694E-04 4 Prefactor .97405 .12157E-02 .45942E-01 .18958E-05 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 1.74317 Normalizat = 0.869505 Prefactor = 0.974051 ********** ** 18 **HESSE ********** FCN= 6666.386 FROM HESSE STATUS=NOT POSDEF 35 CALLS 278 TOTAL EDM= .45E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 233.41 .14897E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.7432 9.1271 .50000 -.70938 3 Normalizat .86950 .29654E-01 .29668E-03 -.97540 4 Prefactor .97405 .24212E-01 .22860E-03 -.93600 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.50422e-09 Minuit parameter uncertainties: 1 4.13974e-06 2 348.788 3 0.0296541 4 0.0242124 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/837133': 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) = 6666.38568248 delta logL = 2.33409919019e-05 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 4.140e-06 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 1.743e+00 3.488e+02 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.741e-01 2.421e-02 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 8.695e-01 2.965e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.500e-04 [aplpy.core] INFO: Auto-setting vmax to 2.775e-03 [aplpy.core] Saving /scratch/kocevski/837133/cmap_HighResolution_520041601_520300801_4FGL_J1640.4+3945_daily_bin1083.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/837133 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.61e-03', job_status='DONE', photon_flux_upper_limit='9.83e-08', time_completed='2021-09-15 07:00:31.257833', job_id='837133', GAL2='0.97', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1631714431.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.33e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1083' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 07:00:31 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 837133: <4FGL_J1640.4+3945_daily_bin1083> in cluster Done Job <4FGL_J1640.4+3945_daily_bin1083> was submitted from host by user in cluster at Wed Sep 15 06:40:31 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:45:52 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:45:52 2021 Terminated at Wed Sep 15 07:00:31 2021 Results reported at Wed Sep 15 07:00:31 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin1083 250.119 39.7626 520041601 520300801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.4+3945 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 857.11 sec. Max Memory : 1094 MB Average Memory : 314.61 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 879 sec. Turnaround time : 1200 sec. The output (if any) is above this job summary.