/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 92 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 = 17302 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2021.5+4026_weekly_bin693 RA = 305.385, Dec = 40.4445 tmin = 658108801, tmax = 658713601 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='756750', job_status='RUN', time_executed='2021-12-09 01:19:27.440029', time_epoch_executed='1639041567.44' WHERE source_name='4FGL J2021.5+4026' and cadence='weekly' and bin_id='693' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/756750 Creating custom pfile directory: /scratch/kocevski/756750/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=658108801.0 && nMetStart<658713601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=658108801.0 && nMetStart<658713601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/756750/ft1_4FGL_J2021.5+4026_weekly_bin693.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=658108801.0 && nMetStart<658713601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/756750/ft2_4FGL_J2021.5+4026_weekly_bin693.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/756750/ft1_4FGL_J2021.5+4026_weekly_bin693.fits outfile=/scratch/kocevski/756750/ft1_filteredMKT_4FGL_J2021.5+4026_weekly_bin693.fits ra=305.385 dec=40.4445 rad=12.0 tmin=658108801.0 tmax=658713601.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.60 user 8.25 sys 0.31 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/756750/ft2_4FGL_J2021.5+4026_weekly_bin693.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/756750/ft2_4FGL_J2021.5+4026_weekly_bin693.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/756750/ft1_filteredMKT_4FGL_J2021.5+4026_weekly_bin693.fits evtable="EVENTS" outfile="/scratch/kocevski/756750/ft1_filtered_4FGL_J2021.5+4026_weekly_bin693.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.57 user 0.40 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/756750/ft1_filtered_4FGL_J2021.5+4026_weekly_bin693.fits" evtable="EVENTS" scfile=/scratch/kocevski/756750/ft2_4FGL_J2021.5+4026_weekly_bin693.fits sctable="SC_DATA" outfile=/scratch/kocevski/756750/ltcube_658108801_658713601_4FGL_J2021.5+4026_weekly_bin693.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/756750/ft2_4FGL_J2021.5+4026_weekly_bin693.fits .....................! real 31.57 user 31.07 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/756750/ft1_filtered_4FGL_J2021.5+4026_weekly_bin693.fits evtable="EVENTS" scfile=/scratch/kocevski/756750/ft2_4FGL_J2021.5+4026_weekly_bin693.fits sctable="SC_DATA" expcube=/scratch/kocevski/756750/ltcube_658108801_658713601_4FGL_J2021.5+4026_weekly_bin693.fits outfile=/scratch/kocevski/756750/expmap_658108801_658713601_4FGL_J2021.5+4026_weekly_bin693.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/756750/ltcube_658108801_658713601_4FGL_J2021.5+4026_weekly_bin693.fits .....................! real 191.33 user 186.56 sys 3.80 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 gamma Cygni in ROI with RadialDisk spatial model. Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model. Extended source HB 21 in ROI with RadialDisk spatial model. 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. Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model. Added 194 point sources and 5 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 J2021.5+4026 @ 305.385 40.4445 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/756750/ft1_filtered_4FGL_J2021.5+4026_weekly_bin693.fits scfile=/scratch/kocevski/756750/ft2_4FGL_J2021.5+4026_weekly_bin693.fits outfile=/scratch/kocevski/756750/cmap_658108801_658713601_4FGL_J2021.5+4026_weekly_bin693.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=305.385 yref=40.4445 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.61 user 0.45 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/756750/ft1_filtered_4FGL_J2021.5+4026_weekly_bin693.fits scfile=/scratch/kocevski/756750/ft2_4FGL_J2021.5+4026_weekly_bin693.fits outfile=/scratch/kocevski/756750/cmap_HighResolution_658108801_658713601_4FGL_J2021.5+4026_weekly_bin693.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=305.385 yref=40.4445 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.63 user 0.46 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/756750/ft1_filtered_4FGL_J2021.5+4026_weekly_bin693.fits evtable="EVENTS" scfile=/scratch/kocevski/756750/ft2_4FGL_J2021.5+4026_weekly_bin693.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/756750/Model_4FGL_J2021.5+4026_weekly_bin693.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 Cocoon adding source Cygnus Loop adding source EG_v02 adding source FHES J2129.9+5833 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /scratch/kocevski/756750/ft1_filtered_4FGL_J2021.5+4026_weekly_bin693.fits.....................! real 3111.56 user 3102.74 sys 2.17 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/756750/ft1_filtered_4FGL_J2021.5+4026_weekly_bin693.fits', '/scratch/kocevski/756750/ft2_4FGL_J2021.5+4026_weekly_bin693.fits', expMap='/scratch/kocevski/756750/expmap_658108801_658713601_4FGL_J2021.5+4026_weekly_bin693.fits', expCube='/scratch/kocevski/756750/ltcube_658108801_658713601_4FGL_J2021.5+4026_weekly_bin693.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/756750/Model_4FGL_J2021.5+4026_weekly_bin693.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2021.5+4026' 4FGL J2021.5+4026 Spectrum: PLSuperExpCutoff2 332 Prefactor: 2.092e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-10) 333 Index1: 1.258e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 334 Scale: 2.208e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed 335 Expfactor: 1.221e+01 0.000e+00 -1.000e+00 1.000e+02 ( 1.000e-03) fixed 336 Index2: 6.667e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/756750/ft1_filtered_4FGL_J2021.5+4026_weekly_bin693.fits Spacecraft file(s): /scratch/kocevski/756750/ft2_4FGL_J2021.5+4026_weekly_bin693.fits Exposure map: /scratch/kocevski/756750/expmap_658108801_658713601_4FGL_J2021.5+4026_weekly_bin693.fits Exposure cube: /scratch/kocevski/756750/ltcube_658108801_658713601_4FGL_J2021.5+4026_weekly_bin693.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/756750/Model_4FGL_J2021.5+4026_weekly_bin693.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) = 129183.936987 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 129183.914119 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 73.039 1.0000 .10000E-03 10000. 2 'Prefactor ' 4.9580 1.0000 .10000E-03 10000. 3 'norm ' .10103E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 18.812 1.0000 .10000E-03 10000. 5 'norm ' .13107E-02 1.0000 .10000E-03 10000. 6 'Prefactor ' .11379E-03 1.0000 .10000E-03 10000. 7 'norm ' 7.3859 1.0000 .10000E-03 10000. 8 'Prefactor ' .73005E-03 1.0000 .10000E-03 10000. 9 'norm ' 4.2941 1.0000 .10000E-03 10000. 10 'norm ' 5.6662 1.0000 .10000E-03 10000. 11 'Prefactor ' 1.9730 1.0000 .10000E-03 10000. 12 'Prefactor ' .22126E-03 1.0000 .10000E-03 10000. 13 'norm ' .10950E-03 1.0000 .10000E-03 10000. 14 'norm ' 3.0946 1.0000 .10000E-03 10000. 15 'norm ' 37.674 1.0000 .10000E-03 10000. 16 'norm ' 3.5944 1.0000 .10000E-03 10000. 17 'Prefactor ' .11877E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .30747E-03 1.0000 .10000E-03 10000. 19 'Normalizat' 1.2767 1.0000 .10000E-01 10.000 20 'Prefactor ' 1.0302 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7240E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 129183.9 FROM MIGRAD STATUS=CONVERGED 442 CALLS 2082 TOTAL EDM= .21E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 72.866 71.148 .15274E-04 .15562E-04 2 Prefactor 4.9744 4.0545 .31602E-07 -.50333E-04 3 norm .10000E-03 4.9999 -.30380E-06** at limit ** 4 Prefactor 18.971 23.293 .53146E-06 -.92046E-06 5 norm .10002E-03 .67485 .25734E-06** at limit ** 6 Prefactor .10000E-03 3.7617 .57533E-07** at limit ** 7 norm 7.3858 5.7335 .19279E-06 -.25008E-05 8 Prefactor .10004E-03 3.1193 .56497E-06** at limit ** 9 norm 4.2937 1.2371 .25464E-06 .71847E-04 10 norm 5.6708 3.0995 .90288E-06 -.21421E-03 11 Prefactor 1.9729 .14887 .25059E-08 -.12342E-02 12 Prefactor .10000E-03 5.3124 .30036E-06** at limit ** 13 norm .10000E-03 .26540 .39508E-07** at limit ** 14 norm 3.0901 3.1264 .22229E-05 .89135E-04 15 norm 37.673 4.1876 .89268E-07 -.12670E-03 16 norm 3.6084 2.9184 .23602E-07 .37938E-05 17 Prefactor .10000E-03 2.3187 .14194E-07** at limit ** 18 Prefactor .10000E-03 18.975 .12536E-05** at limit ** 19 Normalizat 1.2764 .19429 -.84423E-07 -.11312E-03 20 Prefactor 1.0302 .16672E-01 -.15474E-06 -.11935E-02 ERR DEF= .500 Final values: Prefactor = 72.8657 Prefactor = 4.97443 norm = 0.0001 Prefactor = 18.9714 norm = 0.000100024 Prefactor = 0.0001 norm = 7.38585 Prefactor = 0.000100042 norm = 4.29372 norm = 5.67078 Prefactor = 1.97294 Prefactor = 0.0001 norm = 0.0001 norm = 3.09005 norm = 37.6725 norm = 3.60838 Prefactor = 0.0001 Prefactor = 0.0001 Normalizat = 1.27645 Prefactor = 1.03017 ********** ** 18 **HESSE ********** FCN= 129183.9 FROM HESSE STATUS=OK 317 CALLS 2399 TOTAL EDM= .42E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 72.866 71.166 .23488E-03 -1.3999 2 Prefactor 4.9744 4.0452 .18062E-03 -1.5262 3 norm .10000E-03 5.0263 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 18.971 23.273 .92344E-04 -1.4837 5 norm .10002E-03 .68059 .10106 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 3.7860 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 7.3858 5.7318 .73789E-03 -1.5164 8 Prefactor .10004E-03 3.0141 .21929 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 4.2937 1.2357 .97207E-03 -1.5294 10 norm 5.6708 3.1023 .84377E-03 -1.5232 11 Prefactor 1.9729 .14812 .35505E-04 -1.5427 12 Prefactor .10000E-03 5.3256 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .10000E-03 3.2361 .35486E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 3.0901 3.1234 .11527E-02 -1.5356 15 norm 37.673 4.1903 .32649E-03 -1.4480 16 norm 3.6084 2.9175 .21314E-03 -1.5328 17 Prefactor .10000E-03 2.3220 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 19.337 .21379E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Normalizat 1.2764 .18507 .14022E-02 -.84272 20 Prefactor 1.0302 .16357E-01 .13015E-03 -.91730 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.17768e-10 Minuit parameter uncertainties: 1 71.2495 2 4.04544 3 5.0761e-07 4 23.284 5 0.000254222 6 4.25094e-07 7 5.73222 8 0.000709426 9 1.23572 10 3.10237 11 0.148115 12 9.44023e-07 13 4.03772e-05 14 3.12358 15 4.19033 16 2.91758 17 3.6559e-07 18 5.76825e-06 19 0.185162 20 0.0163572 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 129183.913974 Extracting fit parameters... 4FGL J2021.5+4026 Spectrum: PLSuperExpCutoff2 332 Prefactor: 1.973e+00 1.481e-01 1.000e-04 1.000e+04 ( 1.000e-10) 333 Index1: 1.258e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 334 Scale: 2.208e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed 335 Expfactor: 1.221e+01 0.000e+00 -1.000e+00 1.000e+02 ( 1.000e-03) fixed 336 Index2: 6.667e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 713 Prefactor: 1.030e+00 1.636e-02 0.000e+00 1.000e+01 ( 1.000e+00) 714 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 715 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 709 Normalization: 1.276e+00 1.852e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 388.92 Ra Dec: 305.385 40.444 Photon Index (Fixed Index): 1.26 +/- 0.00 Photon Flux (Fixed Index): 1.08e-06 +/- 8.09e-08 Energy Flux (Fixed Index): 4.93e-04 +/- 3.70e-05 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) = 129180.861468 delta logL = 3.05250558995 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 129180.857829 delta logL = 3.05614509259 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.5386 1.0000 .10000E-03 10000. 2 'Index1 ' 1.4497 1.0000 .0000 10.000 3 'Normalizat' 1.2428 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0274 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7240E+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= 129180.9 FROM MIGRAD STATUS=FAILED 96 CALLS 271 TOTAL EDM= .10E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.5385 .22204 .30159E-04 .62726E-03 2 Index1 1.4497 .84245E-01 .35646E-02 .13397E-01 3 Normalizat 1.2428 .17784 .14151E-02 -.16582E-04 4 Prefactor 1.0274 .15626E-01 .13018E-03 -.13973E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 129180.9 FROM SIMPLEX STATUS=UNCHANGED 73 CALLS 344 TOTAL EDM= .15E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.5385 .22204 .65712E-05 -1.5460 2 Index1 1.4497 .84245E-01 .86999E-04 -.78959 3 Normalizat 1.2428 .17784 .19449E-03 -.85291 4 Prefactor 1.0274 .15626E-01 .21782E-04 -.91821 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 129180.9 FROM MIGRAD STATUS=CONVERGED 27 CALLS 371 TOTAL EDM= .12E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.5385 .20556 .12063E-05 .63167E-03 2 Index1 1.4497 .77949E-01 .71292E-03 .52397E-03 3 Normalizat 1.2428 .17764 .56605E-04 -.17353E-04 4 Prefactor 1.0274 .15626E-01 .52070E-05 -.13973E-05 ERR DEF= .500 Final values: Prefactor = 1.53849 Index1 = 1.44967 Normalizat = 1.24279 Prefactor = 1.02742 ********** ** 18 **HESSE ********** FCN= 129180.9 FROM HESSE STATUS=OK 25 CALLS 396 TOTAL EDM= .21E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.5385 .20296 .36859E-06 -1.5460 2 Index1 1.4497 .76950E-01 .14258E-03 -.78959 3 Normalizat 1.2428 .17766 .11321E-04 -.85291 4 Prefactor 1.0274 .15628E-01 .52070E-05 -.91821 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.12263e-12 Minuit parameter uncertainties: 1 0.20296 2 0.0769559 3 0.177743 4 0.0156283 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/756750': 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) = 129180.857828 delta logL = 3.05614519704 Extracting fit parameters... 4FGL J2021.5+4026 Spectrum: PLSuperExpCutoff2 332 Prefactor: 1.538e+00 2.030e-01 1.000e-04 1.000e+04 ( 1.000e-10) 333 Index1: 1.450e+00 7.696e-02 0.000e+00 1.000e+01 (-1.000e+00) 334 Scale: 2.208e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed 335 Expfactor: 1.221e+01 0.000e+00 -1.000e+00 1.000e+02 ( 1.000e-03) fixed 336 Index2: 6.667e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 713 Prefactor: 1.027e+00 1.563e-02 0.000e+00 1.000e+01 ( 1.000e+00) 714 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 715 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 709 Normalization: 1.243e+00 1.777e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 396.90 Ra Dec: 305.385 40.444 Photon Index (Free Index): 1.45 +/- 0.08 Photon Flux (Free Index): 1.25e-06 +/- 1.12e-07 Energy Flux (Free Index): 4.80e-04 +/- 3.47e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/756750/cmap_HighResolution_658108801_658713601_4FGL_J2021.5+4026_weekly_bin693.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/756750 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.08e-06', energy_flux2='4.80e-04', photon_flux_error='8.09e-08', dlogl='3.06e+00', energy_flux='4.93e-04', photon_flux2='1.25e-06', job_status='DONE', time_completed='2021-12-09 04:02:48.457799', photon_index_error2='0.08', photon_index2='1.45', ts='388.92', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='3.47e-05', EG='1.28', time_epoch_completed='1639051368.46', return_code='0', job_id='756750', GAL2='1.03', EG2='1.24', return_code2='0', energy_flux_error='3.70e-05', photon_flux_error2='1.12e-07', ts2='396.90', photon_index='1.26' WHERE bin_id='693' AND source_name='4FGL J2021.5+4026' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Dec 9 04:02:48 PST 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 756750: <4FGL_J2021.5+4026_weekly_bin693> in cluster Done Job <4FGL_J2021.5+4026_weekly_bin693> was submitted from host by user in cluster at Thu Dec 9 01:15:24 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Dec 9 01:17:47 2021 was used as the home directory. was used as the working directory. Started at Thu Dec 9 01:17:47 2021 Terminated at Thu Dec 9 04:02:49 2021 Results reported at Thu Dec 9 04:02:49 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2021.5+4026_weekly_bin693 305.385 40.4445 658108801 658713601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2021.5+4026 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 9788.00 sec. Max Memory : 1273 MB Average Memory : 564.32 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 9902 sec. Turnaround time : 10045 sec. The output (if any) is above this job summary.