/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 11 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 = 7414 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2149.7+1917_daily_bin604 RA = 327.444, Dec = 19.2859 tmin = 395884801, tmax = 396144001 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='988815', job_status='RUN', time_executed='2021-09-27 18:27:48.833043', time_epoch_executed='1632792468.83' WHERE source_name='4FGL J2149.7+1917' and cadence='daily' and bin_id='604' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/988815 Creating custom pfile directory: /scratch/kocevski/988815/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=395884801.0 && nMetStart<396144001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=395884801.0 && nMetStart<396144001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/988815/ft1_4FGL_J2149.7+1917_daily_bin604.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=395884801.0 && nMetStart<396144001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/988815/ft2_4FGL_J2149.7+1917_daily_bin604.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/988815/ft1_4FGL_J2149.7+1917_daily_bin604.fits outfile=/scratch/kocevski/988815/ft1_filteredMKT_4FGL_J2149.7+1917_daily_bin604.fits ra=327.444 dec=19.2859 rad=12.0 tmin=395884801.0 tmax=396144001.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.30 user 3.12 sys 0.16 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/988815/ft2_4FGL_J2149.7+1917_daily_bin604.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/988815/ft2_4FGL_J2149.7+1917_daily_bin604.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/988815/ft1_filteredMKT_4FGL_J2149.7+1917_daily_bin604.fits evtable="EVENTS" outfile="/scratch/kocevski/988815/ft1_filtered_4FGL_J2149.7+1917_daily_bin604.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.56 user 0.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/988815/ft1_filtered_4FGL_J2149.7+1917_daily_bin604.fits" evtable="EVENTS" scfile=/scratch/kocevski/988815/ft2_4FGL_J2149.7+1917_daily_bin604.fits sctable="SC_DATA" outfile=/scratch/kocevski/988815/ltcube_395884801_396144001_4FGL_J2149.7+1917_daily_bin604.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/988815/ft2_4FGL_J2149.7+1917_daily_bin604.fits .....................! real 14.01 user 13.62 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/988815/ft1_filtered_4FGL_J2149.7+1917_daily_bin604.fits evtable="EVENTS" scfile=/scratch/kocevski/988815/ft2_4FGL_J2149.7+1917_daily_bin604.fits sctable="SC_DATA" expcube=/scratch/kocevski/988815/ltcube_395884801_396144001_4FGL_J2149.7+1917_daily_bin604.fits outfile=/scratch/kocevski/988815/expmap_395884801_396144001_4FGL_J2149.7+1917_daily_bin604.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/988815/ltcube_395884801_396144001_4FGL_J2149.7+1917_daily_bin604.fits .....................! real 191.78 user 186.36 sys 4.96 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 Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CygnusLoop.fits is the correct path to the extended template. Added 161 point sources and 1 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 J2149.7+1917 @ 327.444 19.2859 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/988815/ft1_filtered_4FGL_J2149.7+1917_daily_bin604.fits scfile=/scratch/kocevski/988815/ft2_4FGL_J2149.7+1917_daily_bin604.fits outfile=/scratch/kocevski/988815/cmap_395884801_396144001_4FGL_J2149.7+1917_daily_bin604.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=327.444 yref=19.2859 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.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/988815/ft1_filtered_4FGL_J2149.7+1917_daily_bin604.fits scfile=/scratch/kocevski/988815/ft2_4FGL_J2149.7+1917_daily_bin604.fits outfile=/scratch/kocevski/988815/cmap_HighResolution_395884801_396144001_4FGL_J2149.7+1917_daily_bin604.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=327.444 yref=19.2859 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.55 user 0.38 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/988815/ft1_filtered_4FGL_J2149.7+1917_daily_bin604.fits evtable="EVENTS" scfile=/scratch/kocevski/988815/ft2_4FGL_J2149.7+1917_daily_bin604.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/988815/Model_4FGL_J2149.7+1917_daily_bin604.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 Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /scratch/kocevski/988815/ft1_filtered_4FGL_J2149.7+1917_daily_bin604.fits.....................! real 125.56 user 123.95 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/988815/ft1_filtered_4FGL_J2149.7+1917_daily_bin604.fits', '/scratch/kocevski/988815/ft2_4FGL_J2149.7+1917_daily_bin604.fits', expMap='/scratch/kocevski/988815/expmap_395884801_396144001_4FGL_J2149.7+1917_daily_bin604.fits', expCube='/scratch/kocevski/988815/ltcube_395884801_396144001_4FGL_J2149.7+1917_daily_bin604.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/988815/Model_4FGL_J2149.7+1917_daily_bin604.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2149.7+1917' 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 7.294e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 278 Index: 2.521e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/988815/ft1_filtered_4FGL_J2149.7+1917_daily_bin604.fits Spacecraft file(s): /scratch/kocevski/988815/ft2_4FGL_J2149.7+1917_daily_bin604.fits Exposure map: /scratch/kocevski/988815/expmap_395884801_396144001_4FGL_J2149.7+1917_daily_bin604.fits Exposure cube: /scratch/kocevski/988815/ltcube_395884801_396144001_4FGL_J2149.7+1917_daily_bin604.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/988815/Model_4FGL_J2149.7+1917_daily_bin604.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) = 7944.21263424 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7944.19776995 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10021E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 163.71 1.0000 .10000E-03 10000. 3 'Prefactor ' 13.273 1.0000 .10000E-03 10000. 4 'Prefactor ' 5.2947 1.0000 .10000E-03 10000. 5 'Prefactor ' 5.0922 1.0000 .10000E-03 10000. 6 'norm ' 1.3213 1.0000 .10000E-03 10000. 7 'Prefactor ' 7.0193 1.0000 .10000E-03 10000. 8 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 10 'norm ' 5.1521 1.0000 .10000E-03 10000. 11 'Prefactor ' 57.260 1.0000 .10000E-03 10000. 12 'norm ' 3.7810 1.0000 .10000E-03 10000. 13 'Prefactor ' 61.004 1.0000 .10000E-03 10000. 14 'Prefactor ' .10036E-03 1.0000 .10000E-03 10000. 15 'norm ' .10009E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 17 'norm ' .10000E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 92.030 1.0000 .10000E-03 10000. 20 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 21 'Normalizat' .58108 1.0000 .10000E-01 10.000 22 'Prefactor ' .97377 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7944.198 FROM MIGRAD STATUS=CONVERGED 463 CALLS 2362 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 17.004 .25353E-05** at limit ** 2 Prefactor 163.73 97.001 .43716E-05 .25980E-03 3 Prefactor 13.273 15.839 .76602E-07 -.13328E-04 4 Prefactor 5.2944 32.775 .36493E-05 -.14572E-03 5 Prefactor 5.0876 28.140 -.20550E-05 -.84167E-04 6 norm 1.3226 4.9949 .13636E-05 -.35297E-03 7 Prefactor 7.0196 6.1151 .24080E-05 -.13511E-02 8 Prefactor .10000E-03 2.4398 -.19568E-06** at limit ** 9 Prefactor .10000E-03 50.370 -.21505E-06** at limit ** 10 norm 5.1520 3.3584 -.51668E-07 -.14555E-03 11 Prefactor 57.281 68.941 .57008E-05 .26874E-03 12 norm 3.7808 2.7705 -.25933E-06 -.12862E-03 13 Prefactor 61.007 42.295 .94679E-06 .77341E-04 14 Prefactor .10000E-03 16.595 -.23715E-05** at limit ** 15 norm .10000E-03 .35012 .64224E-07** at limit ** 16 Prefactor .10000E-03 6.5082 .71378E-07** at limit ** 17 norm .10000E-03 2.3611 .43968E-07** at limit ** 18 Prefactor .10000E-03 3.2312 .12625E-07** at limit ** 19 Prefactor 92.043 93.325 .34620E-05 .11237E-03 20 Prefactor .10000E-03 4.5487 .27362E-07** at limit ** 21 Normalizat .58102 .23288 -.23296E-05 -.10013E-03 22 Prefactor .97379 .99836E-01 -.31740E-06 -.73462E-04 ERR DEF= .500 Final values: Prefactor = 0.000100002 Prefactor = 163.73 Prefactor = 13.273 Prefactor = 5.29441 Prefactor = 5.08764 norm = 1.3226 Prefactor = 7.0196 Prefactor = 0.0001 Prefactor = 0.0001 norm = 5.15205 Prefactor = 57.2814 norm = 3.78082 Prefactor = 61.0075 Prefactor = 0.000100002 norm = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 92.0427 Prefactor = 0.0001 Normalizat = 0.58102 Prefactor = 0.973792 ********** ** 18 **HESSE ********** FCN= 7944.198 FROM HESSE STATUS=OK 340 CALLS 2702 TOTAL EDM= .30E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 17.309 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 163.73 99.257 .15761E-03 -1.3142 3 Prefactor 13.273 15.823 .10994E-03 -1.4979 4 Prefactor 5.2944 32.574 .87335E-03 -1.5248 5 Prefactor 5.0876 28.286 .17817E-03 -1.5257 6 norm 1.3226 4.9516 .35206E-03 -1.5478 7 Prefactor 7.0196 6.4896 .75709E-03 -1.5178 8 Prefactor .10000E-03 2.4497 .13600E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 50.389 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 5.1520 3.3437 .10827E-03 -1.5254 11 Prefactor 57.281 71.706 .26507E-03 -1.4193 12 norm 3.7808 2.7709 .11406E-03 -1.5319 13 Prefactor 61.007 42.147 .51372E-04 -1.4144 14 Prefactor .10000E-03 16.874 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .10000E-03 .62310 .10113E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 6.5375 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .10000E-03 2.4043 .13369E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 3.2339 .15647E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 92.043 93.849 .41890E-04 -1.3786 20 Prefactor .10000E-03 4.5881 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Normalizat .58102 .25783 .44405E-03 -1.0880 22 Prefactor .97379 .11348 .15734E-03 -.93608 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.04243e-09 Minuit parameter uncertainties: 1 0.000397944 2 99.3584 3 15.8281 4 26.2858 5 24.0095 6 4.95311 7 6.49028 8 1.07359e-05 9 7.42804e-05 10 3.34385 11 71.8142 12 2.77104 13 42.1674 14 0.000407128 15 5.36066e-06 16 5.86722e-06 17 7.5606e-06 18 2.65052e-06 19 94.0007 20 7.26597e-06 21 0.258367 22 0.113505 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7944.19776969 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 6.101e+01 4.217e+01 1.000e-04 1.000e+04 ( 1.000e-13) 278 Index: 2.521e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.738e-01 1.135e-01 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 5.810e-01 2.584e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.92 Ra Dec: 327.444 19.286 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 1.02e-07 +/- 7.03e-08 Energy Flux (Fixed Index): 2.89e-05 +/- 2.00e-05 TS (Fixed Index): 3.92 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 2.16e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.69e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/988815/likelihoodResults_395884801_396144001_4FGL_J2149.7+1917_daily_bin604.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) = 7943.22041921 delta logL = 0.977350481802 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7943.19803582 delta logL = 0.99973387126 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 19.630 1.0000 .10000E-03 10000. 2 'Index ' 3.4464 1.0000 .0000 10.000 3 'Normalizat' .50698 1.0000 .10000E-01 10.000 4 'Prefactor ' .99771 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+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= 7943.198 FROM MIGRAD STATUS=FAILED 101 CALLS 306 TOTAL EDM= .19E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 19.571 111.12 .45200E-03 -.73117E-04 2 Index 3.4480 2.5453 .42036E-02 .76132E-03 3 Normalizat .50689 .26760 .47332E-03 .12970E-04 4 Prefactor .99772 .12168 .15555E-03 -.43333E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 7943.198 FROM SIMPLEX STATUS=UNCHANGED 82 CALLS 388 TOTAL EDM= .78E-05 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 19.571 111.12 .39056E-03 -1.4823 2 Index 3.4480 2.5453 .96026E-03 -.31561 3 Normalizat .50689 .26760 .21841E-03 -1.1210 4 Prefactor .99772 .12168 .86300E-04 -.92806 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7943.198 FROM MIGRAD STATUS=CONVERGED 30 CALLS 418 TOTAL EDM= .47E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 19.570 30.847 .18080E-04 -.58855E-04 2 Index 3.4480 .88065 .84073E-03 .14577E-04 3 Normalizat .50689 .25505 .18933E-04 .36028E-06 4 Prefactor .99772 .11359 .31110E-04 -.59638E-04 ERR DEF= .500 Final values: Prefactor = 19.5704 Index = 3.44803 Normalizat = 0.506886 Prefactor = 0.997719 ********** ** 18 **HESSE ********** FCN= 7943.198 FROM HESSE STATUS=OK 23 CALLS 441 TOTAL EDM= .39E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 19.570 28.541 .36160E-05 -1.4823 2 Index 3.4480 .81511 .33629E-04 -.31561 3 Normalizat .50689 .25463 .37866E-05 -1.1210 4 Prefactor .99772 .11336 .62221E-05 -.92806 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.88024e-11 Minuit parameter uncertainties: 1 28.5605 2 0.819161 3 0.255214 4 0.113389 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/988815': 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) = 7943.19803333 delta logL = 0.99973636681 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 1.957e+01 2.856e+01 1.000e-04 1.000e+04 ( 1.000e-13) 278 Index: 3.448e+00 8.192e-01 0.000e+00 1.000e+01 (-1.000e+00) 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.977e-01 1.134e-01 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 5.069e-01 2.552e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 6.31 Ra Dec: 327.444 19.286 Photon Index (Free Index): 3.45 +/- 0.82 Photon Flux (Free Index): 1.56e-07 +/- 7.81e-08 Energy Flux (Free Index): 2.63e-05 +/- 1.35e-05 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/988815/cmap_HighResolution_395884801_396144001_4FGL_J2149.7+1917_daily_bin604.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/988815 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.69e-02', comment='SUCCESS', photon_flux='1.02e-07', energy_flux2='2.63e-05', photon_flux_error='7.03e-08', dlogl='1.00e+00', energy_flux='2.89e-05', photon_flux2='1.56e-07', job_status='DONE', time_completed='2021-09-27 18:40:52.915148', photon_index_error2='0.82', photon_index2='3.45', ts='3.92', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='2.16e-07', energy_flux_error2='1.35e-05', EG='0.58', time_epoch_completed='1632793252.92', return_code='0', job_id='988815', GAL2='1.00', EG2='0.51', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='7.81e-08', ts2='6.31', photon_index='2.52' WHERE bin_id='604' AND source_name='4FGL J2149.7+1917' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 27 18:40:52 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 988815: <4FGL_J2149.7+1917_daily_bin604> in cluster Done Job <4FGL_J2149.7+1917_daily_bin604> was submitted from host by user in cluster at Mon Sep 27 18:25:30 2021 Job was executed on host(s) , in queue , as user in cluster at Mon Sep 27 18:27:24 2021 was used as the home directory. was used as the working directory. Started at Mon Sep 27 18:27:24 2021 Terminated at Mon Sep 27 18:40:53 2021 Results reported at Mon Sep 27 18:40:53 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2149.7+1917_daily_bin604 327.444 19.2859 395884801 396144001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2149.7+1917 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 778.00 sec. Max Memory : 765 MB Average Memory : 350.71 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 809 sec. Turnaround time : 923 sec. The output (if any) is above this job summary.