/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 38 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 = 7405 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.3+6850_daily_bin678 RA = 250.082, Dec = 68.8483 tmin = 415065601, tmax = 415324801 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='820232', job_status='RUN', time_executed='2021-09-15 05:41:05.956161', time_epoch_executed='1631709665.96' WHERE source_name='4FGL J1640.3+6850' and cadence='daily' and bin_id='678' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/820232 Creating custom pfile directory: /scratch/kocevski/820232/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=415065601.0 && nMetStart<415324801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=415065601.0 && nMetStart<415324801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/820232/ft1_4FGL_J1640.3+6850_daily_bin678.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=415065601.0 && nMetStart<415324801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/820232/ft2_4FGL_J1640.3+6850_daily_bin678.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/820232/ft1_4FGL_J1640.3+6850_daily_bin678.fits outfile=/scratch/kocevski/820232/ft1_filteredMKT_4FGL_J1640.3+6850_daily_bin678.fits ra=250.082 dec=68.8483 rad=12.0 tmin=415065601.0 tmax=415324801.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 3.68 user 3.43 sys 0.23 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/820232/ft2_4FGL_J1640.3+6850_daily_bin678.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/820232/ft2_4FGL_J1640.3+6850_daily_bin678.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/820232/ft1_filteredMKT_4FGL_J1640.3+6850_daily_bin678.fits evtable="EVENTS" outfile="/scratch/kocevski/820232/ft1_filtered_4FGL_J1640.3+6850_daily_bin678.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.51 user 0.34 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/820232/ft1_filtered_4FGL_J1640.3+6850_daily_bin678.fits" evtable="EVENTS" scfile=/scratch/kocevski/820232/ft2_4FGL_J1640.3+6850_daily_bin678.fits sctable="SC_DATA" outfile=/scratch/kocevski/820232/ltcube_415065601_415324801_4FGL_J1640.3+6850_daily_bin678.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/820232/ft2_4FGL_J1640.3+6850_daily_bin678.fits .....................! real 14.11 user 13.72 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/820232/ft1_filtered_4FGL_J1640.3+6850_daily_bin678.fits evtable="EVENTS" scfile=/scratch/kocevski/820232/ft2_4FGL_J1640.3+6850_daily_bin678.fits sctable="SC_DATA" expcube=/scratch/kocevski/820232/ltcube_415065601_415324801_4FGL_J1640.3+6850_daily_bin678.fits outfile=/scratch/kocevski/820232/expmap_415065601_415324801_4FGL_J1640.3+6850_daily_bin678.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/820232/ltcube_415065601_415324801_4FGL_J1640.3+6850_daily_bin678.fits .....................! real 193.15 user 187.21 sys 5.28 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 209 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.3+6850 @ 250.082 68.8483 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/820232/ft1_filtered_4FGL_J1640.3+6850_daily_bin678.fits scfile=/scratch/kocevski/820232/ft2_4FGL_J1640.3+6850_daily_bin678.fits outfile=/scratch/kocevski/820232/cmap_415065601_415324801_4FGL_J1640.3+6850_daily_bin678.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.082 yref=68.8483 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.38 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/820232/ft1_filtered_4FGL_J1640.3+6850_daily_bin678.fits scfile=/scratch/kocevski/820232/ft2_4FGL_J1640.3+6850_daily_bin678.fits outfile=/scratch/kocevski/820232/cmap_HighResolution_415065601_415324801_4FGL_J1640.3+6850_daily_bin678.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.082 yref=68.8483 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.41 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/820232/ft1_filtered_4FGL_J1640.3+6850_daily_bin678.fits evtable="EVENTS" scfile=/scratch/kocevski/820232/ft2_4FGL_J1640.3+6850_daily_bin678.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/820232/Model_4FGL_J1640.3+6850_daily_bin678.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/820232/ft1_filtered_4FGL_J1640.3+6850_daily_bin678.fits.! real 13.58 user 12.24 sys 1.24 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/820232/ft1_filtered_4FGL_J1640.3+6850_daily_bin678.fits', '/scratch/kocevski/820232/ft2_4FGL_J1640.3+6850_daily_bin678.fits', expMap='/scratch/kocevski/820232/expmap_415065601_415324801_4FGL_J1640.3+6850_daily_bin678.fits', expCube='/scratch/kocevski/820232/ltcube_415065601_415324801_4FGL_J1640.3+6850_daily_bin678.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/820232/Model_4FGL_J1640.3+6850_daily_bin678.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.3+6850' 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 3.992e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 351 Index: 2.132e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 352 Scale: 2.329e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/820232/ft1_filtered_4FGL_J1640.3+6850_daily_bin678.fits Spacecraft file(s): /scratch/kocevski/820232/ft2_4FGL_J1640.3+6850_daily_bin678.fits Exposure map: /scratch/kocevski/820232/expmap_415065601_415324801_4FGL_J1640.3+6850_daily_bin678.fits Exposure cube: /scratch/kocevski/820232/ltcube_415065601_415324801_4FGL_J1640.3+6850_daily_bin678.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/820232/Model_4FGL_J1640.3+6850_daily_bin678.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 101 logL (Fixed Index) = 11.0164151517 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 101 logL (Fixed Index) = 9.87905229157 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.6273 1.0000 .10000E-03 10000. 2 'Prefactor ' .14635E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 8.8459 1.0000 .10000E-03 10000. 4 'Prefactor ' 4.6017 1.0000 .10000E-03 10000. 5 'Prefactor ' .31394E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .41889E-02 1.0000 .10000E-03 10000. 7 'norm ' 738.32 1.0000 .10000E-03 10000. 8 'Prefactor ' .15208E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10312E-03 1.0000 .10000E-03 10000. 10 'norm ' 7.6227 1.0000 .10000E-03 10000. 11 'Prefactor ' 4.1183 1.0000 .10000E-03 10000. 12 'Prefactor ' .10263E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 9994.6 1.0000 .10000E-03 10000. 14 'norm ' .10104E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .28887E-03 1.0000 .10000E-03 10000. 16 'norm ' 10000.0 1.0000 .10000E-03 10000. 17 'Prefactor ' 10000.0 1.0000 .10000E-03 10000. 18 'Prefactor ' 1.9678 1.0000 .10000E-03 10000. 19 'Prefactor ' 9998.3 1.0000 .10000E-03 10000. 20 'Prefactor ' .19134E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' 4.5589 1.0000 .10000E-03 10000. 22 'Prefactor ' .10107E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' .34118E-02 1.0000 .10000E-03 10000. 24 'norm ' 9999.5 1.0000 .10000E-03 10000. 25 'norm ' 1.6076 1.0000 .10000E-03 10000. 26 'Prefactor ' 9903.5 1.0000 .10000E-03 10000. 27 'norm ' 7.6281 1.0000 .10000E-03 10000. 28 'Prefactor ' 9635.6 1.0000 .10000E-03 10000. 29 'Prefactor ' 414.39 1.0000 .10000E-03 10000. 30 'Prefactor ' 7702.2 1.0000 .10000E-03 10000. 31 'Prefactor ' 4.1911 1.0000 .10000E-03 10000. 32 'Prefactor ' 2.8158 1.0000 .10000E-03 10000. 33 'Normalizat' .10818E-01 1.0000 .10000E-01 10.000 34 'Prefactor ' .40492E-06 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6760E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 9.879020 FROM MIGRAD STATUS=CONVERGED 35 CALLS 275 TOTAL EDM= .10E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.6273 1.0194 .0000 .0000 2 Prefactor .88255E-02 .20571 -.24303E-05 .31476E-03 3 Prefactor 8.8459 1.0016 .0000 .0000 4 Prefactor 4.6017 1.0060 .0000 .0000 5 Prefactor .28432E-03 .28543 -.60117E-06** at limit ** 6 Prefactor .36258E-02 .23611 -.26132E-05 .28654E-03 7 norm 738.32 1.00000 -.95697E-08 .72408E-03 8 Prefactor .88623E-02 .20571 -.23177E-05 .30079E-03 9 Prefactor .59057E-02 .20571 -.12275E-04 .13047E-02 10 norm 7.6227 1.0022 .0000 .0000 11 Prefactor 4.1183 1.0076 .0000 .0000 12 Prefactor .38118E-03 .20571 -.65183E-04** at limit ** 13 Prefactor 9994.6 1.0043 .45526E-07 -.27162E-04 14 norm .61428E-02 .20571 -.11395E-04 .12350E-02 15 Prefactor .19203E-03 .28637 -.23727E-05** at limit ** 16 norm 10000.0 .25602 .18271E-06** at limit ** 17 Prefactor 10000.0 .20845 .39912E-07 -.53216E-05 18 Prefactor 1.9678 1.0366 .0000 .0000 19 Prefactor 9998.3 1.0535 .77450E-07 -.12982E-04 20 Prefactor .40914E-02 .20571 -.19710E-04 .17451E-02 21 Prefactor 4.5589 1.0061 .0000 .0000 22 Prefactor .40254E-02 .20571 -.20009E-04 .17573E-02 23 Prefactor .32821E-02 .24218 -.65138E-06 .73380E-04 24 norm 9999.5 .82124 .10542E-06 -.90811E-05 25 norm 1.6076 1.0591 .0000 .0000 26 Prefactor 9903.5 1.0000 .24774E-08 -.26337E-04 27 norm 7.6281 1.0022 .0000 .0000 28 Prefactor 9635.6 1.0000 .92342E-09 -.36068E-04 29 Prefactor 414.39 1.0000 .60037E-10 -.26532E-05 30 Prefactor 7702.2 1.0000 .41947E-09 -.82593E-04 31 Prefactor 4.1911 1.0073 .0000 .0000 32 Prefactor 2.8158 1.0167 .0000 .0000 33 Normalizat .10000E-01 .25526 .14451E-03** at limit ** 34 Prefactor .16650E-07 .25749 -.41230E-04** at limit ** ERR DEF= .500 Final values: Prefactor = 2.6273 Prefactor = 0.00882552 Prefactor = 8.84589 Prefactor = 4.60169 Prefactor = 0.000284319 Prefactor = 0.00362579 norm = 738.324 Prefactor = 0.00886231 Prefactor = 0.00590575 norm = 7.62273 Prefactor = 4.11829 Prefactor = 0.000381179 Prefactor = 9994.59 norm = 0.0061428 Prefactor = 0.000192032 norm = 10000 Prefactor = 9999.99 Prefactor = 1.9678 Prefactor = 9998.33 Prefactor = 0.00409138 Prefactor = 4.55891 Prefactor = 0.00402537 Prefactor = 0.00328211 norm = 9999.48 norm = 1.60758 Prefactor = 9903.51 norm = 7.62808 Prefactor = 9635.64 Prefactor = 414.391 Prefactor = 7702.23 Prefactor = 4.19106 Prefactor = 2.81576 Normalizat = 0.01 Prefactor = 1.66503e-08 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 9.879020 FROM HESSE STATUS=FAILED 9 CALLS 284 TOTAL EDM= .10E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 559.45 556.73 .0000 -1.5384 2 Prefactor .88255E-02 .20571 -.24303E-05 -1.5689 3 Prefactor 8.8459 1.0016 .0000 -1.5113 4 Prefactor 4.6017 1.0060 .0000 -1.5279 5 Prefactor .28432E-03 .28543 -.60117E-06 -1.5705 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .36258E-02 .23611 -.26132E-05 -1.5696 7 norm 738.32 1.00000 -.95697E-08 -1.0204 8 Prefactor .88623E-02 .20571 -.23177E-05 -1.5689 9 Prefactor .59057E-02 .20571 -.12275E-04 -1.5693 10 norm 7.6227 1.0022 .0000 -1.5156 11 Prefactor 4.1183 1.0076 .0000 -1.5302 12 Prefactor .38118E-03 .20571 -.65183E-04 -1.5711 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 9994.6 1.0043 .45526E-07 1.5243 14 norm .61428E-02 .20571 -.11395E-04 -1.5692 15 Prefactor .19203E-03 .28637 -.23727E-05 -1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 10000.0 .25602 .18271E-06 1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 10000.0 .20845 .39912E-07 1.5689 18 Prefactor 1.9678 1.0366 .0000 -1.5427 19 Prefactor 9998.3 1.0535 .77450E-07 1.5449 20 Prefactor .40914E-02 .20571 -.19710E-04 -1.5695 21 Prefactor 4.5589 1.0061 .0000 -1.5281 22 Prefactor .40254E-02 .20571 -.20009E-04 -1.5695 23 Prefactor .32821E-02 .24218 -.65138E-06 -1.5697 24 norm 9999.5 .82124 .10542E-06 1.5563 25 norm 1.6076 1.0591 .0000 -1.5454 26 Prefactor 9903.5 1.0000 .24774E-08 1.3740 27 norm 7.6281 1.0022 .0000 -1.5156 28 Prefactor 9635.6 1.0000 .92342E-09 1.1867 29 Prefactor 414.39 1.0000 .60037E-10 -1.1608 30 Prefactor 7702.2 1.0000 .41947E-09 .57097 31 Prefactor 4.1911 1.0073 .0000 -1.5298 32 Prefactor 2.8158 1.0167 .0000 -1.5372 33 Normalizat .10000E-01 .25526 .14451E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 34 Prefactor .16650E-07 .25749 -.41230E-04 -1.5707 WARNING - - ABOVE PARAMETER IS AT LIMIT. ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.00532e-09 Minuit parameter uncertainties: 1 1.01936 2 0.0847343 3 1.00161 4 1.00603 5 0.0145067 6 0.0577055 7 1 8 0.0849127 9 0.0691182 10 1.00217 11 1.00757 12 0.0152109 13 1.0043 14 0.0705152 15 0.0102675 16 0.0435171 17 0.0862224 18 1.0366 19 1.05349 20 0.0573093 21 1.00614 22 0.0568334 23 0.0555207 24 0.821256 25 1.05912 26 1.00001 27 1.00216 28 1 29 1 30 1 31 1.0073 32 1.0167 33 8.55667e-06 34 0.000131524 Done. MINUIT Return Code (Fixed Index): 101 logL (Fixed Index) = 9.87901996786 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 9.995e+03 1.004e+00 1.000e-04 1.000e+04 ( 1.000e-14) 351 Index: 2.132e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 352 Scale: 2.329e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 673 Prefactor: 1.665e-08 1.315e-04 0.000e+00 1.000e+01 ( 1.000e+00) 674 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 675 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 672 Normalization: 1.000e-02 8.557e-06 1.000e-02 1.000e+01 ( 1.000e+00) calc_int error: parameter max 10000.0 is not large enough delta logLike = 6.32059691696e-07 TS (Fixed Index): 0.00 Ra Dec: 250.082 68.848 Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1 Energy Flux Upper Limit: -7.58e+04 MeV cm-2 s-1 Saving results to: /scratch/kocevski/820232/likelihoodResults_415065601_415324801_4FGL_J1640.3+6850_daily_bin678.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) = 9.87511186084 delta logL = 0.00390810701765 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 4.86773092604 delta logL = 5.01128904183 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Index ' 10.000 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6760E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 4.867731 FROM MIGRAD STATUS=CONVERGED 11 CALLS 67 TOTAL EDM= .88E-17 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Index 10.000 .33306 .18792E-01** at limit ** ERR DEF= .500 Final values: Index = 10 ********** ** 18 **HESSE ********** FCN= 4.867731 FROM HESSE STATUS=OK 5 CALLS 72 TOTAL EDM= .88E-17 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Index 10.000 .33305 .41524E-03 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.83286e-18 Minuit parameter uncertainties: 1 2.00181e-09 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/820232': 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) = 4.86773092604 delta logL = 5.01128904183 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 9.995e+03 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) fixed 351 Index: 1.000e+01 2.002e-09 0.000e+00 1.000e+01 (-1.000e+00) 352 Scale: 2.329e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 673 Prefactor: 2.016e-08 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 674 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 675 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 672 Normalization: 1.000e-02 0.000e+00 1.000e-02 1.000e+01 ( 1.000e+00) fixed TS (Free Index): 10.02 Ra Dec: 250.082 68.848 Photon Index (Free Index): 10.00 +/- 0.00 Photon Flux (Free Index): 5.38e+04 +/- 3.17e-04 Energy Flux (Free Index): 6.01e+06 +/- 3.55e-02 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/820232/cmap_HighResolution_415065601_415324801_4FGL_J1640.3+6850_daily_bin678.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/820232 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.58e+04', comment='SUCCESS', energy_flux2='6.01e+06', dlogl='5.01e+00', photon_flux2='5.38e+04', job_status='DONE', time_completed='2021-09-15 05:46:43.160991', photon_index_error2='0.00', photon_index2='10.00', ts='0.00', fit_tolerance='1e-08', GAL='0.00', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='3.55e-02', EG='0.01', time_epoch_completed='1631710003.16', return_code='101', job_id='820232', GAL2='0.00', EG2='0.01', return_code2='0', photon_flux_error2='3.17e-04', ts2='10.02', photon_index='2.13' WHERE bin_id='678' AND source_name='4FGL J1640.3+6850' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 05:46:43 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 820232: <4FGL_J1640.3+6850_daily_bin678> in cluster Done Job <4FGL_J1640.3+6850_daily_bin678> was submitted from host by user in cluster at Wed Sep 15 05:40:16 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 05:40:18 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 05:40:18 2021 Terminated at Wed Sep 15 05:46:43 2021 Results reported at Wed Sep 15 05:46:43 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.3+6850_daily_bin678 250.082 68.8483 415065601 415324801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.3+6850 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 335.56 sec. Max Memory : 940 MB Average Memory : 368.00 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 385 sec. Turnaround time : 387 sec. The output (if any) is above this job summary.