/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 176 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 = 73206 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0540.8-5415_monthly_bin22 RA = 85.2069, Dec = -54.2575 tmin = 294019201, tmax = 296611201 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='712434', job_status='RUN', time_executed='2021-10-15 06:03:28.429318', time_epoch_executed='1634303008.43' WHERE source_name='4FGL J0540.8-5415' and cadence='monthly' and bin_id='22' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/712434 Creating custom pfile directory: /scratch/kocevski/712434/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=294019201.0 && nMetStart<296611201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=294019201.0 && nMetStart<296611201.0' /Data/Flight/Level1/LPA Retrieving 456 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/712434/ft1_4FGL_J0540.8-5415_monthly_bin22.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=294019201.0 && nMetStart<296611201.0' /Data/Flight/Level1/LPA Retrieving 456 files... Done. Merging files... Merged file saved to: /scratch/kocevski/712434/ft2_4FGL_J0540.8-5415_monthly_bin22.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/712434/ft1_4FGL_J0540.8-5415_monthly_bin22.fits outfile=/scratch/kocevski/712434/ft1_filteredMKT_4FGL_J0540.8-5415_monthly_bin22.fits ra=85.2069 dec=-54.2575 rad=12.0 tmin=294019201.0 tmax=296611201.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 20.27 user 19.66 sys 0.55 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/712434/ft2_4FGL_J0540.8-5415_monthly_bin22.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/712434/ft2_4FGL_J0540.8-5415_monthly_bin22.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/712434/ft1_filteredMKT_4FGL_J0540.8-5415_monthly_bin22.fits evtable="EVENTS" outfile="/scratch/kocevski/712434/ft1_filtered_4FGL_J0540.8-5415_monthly_bin22.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.84 user 0.67 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/712434/ft1_filtered_4FGL_J0540.8-5415_monthly_bin22.fits" evtable="EVENTS" scfile=/scratch/kocevski/712434/ft2_4FGL_J0540.8-5415_monthly_bin22.fits sctable="SC_DATA" outfile=/scratch/kocevski/712434/ltcube_294019201_296611201_4FGL_J0540.8-5415_monthly_bin22.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/712434/ft2_4FGL_J0540.8-5415_monthly_bin22.fits .....................! real 109.30 user 108.74 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/712434/ft1_filtered_4FGL_J0540.8-5415_monthly_bin22.fits evtable="EVENTS" scfile=/scratch/kocevski/712434/ft2_4FGL_J0540.8-5415_monthly_bin22.fits sctable="SC_DATA" expcube=/scratch/kocevski/712434/ltcube_294019201_296611201_4FGL_J0540.8-5415_monthly_bin22.fits outfile=/scratch/kocevski/712434/expmap_294019201_296611201_4FGL_J0540.8-5415_monthly_bin22.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/712434/ltcube_294019201_296611201_4FGL_J0540.8-5415_monthly_bin22.fits .....................! real 191.23 user 185.89 sys 4.95 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 LMC-North in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-North.fits is the correct path to the extended template. Extended source LMC-FarWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-FarWest.fits is the correct path to the extended template. Extended source LMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-Galaxy.fits is the correct path to the extended template. Extended source LMC-30DorWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-30DorWest.fits is the correct path to the extended template. Added 214 point sources and 4 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 J0540.8-5415 @ 85.2069 -54.2575 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/712434/ft1_filtered_4FGL_J0540.8-5415_monthly_bin22.fits scfile=/scratch/kocevski/712434/ft2_4FGL_J0540.8-5415_monthly_bin22.fits outfile=/scratch/kocevski/712434/cmap_294019201_296611201_4FGL_J0540.8-5415_monthly_bin22.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=85.2069 yref=-54.2575 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.79 user 0.62 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/712434/ft1_filtered_4FGL_J0540.8-5415_monthly_bin22.fits scfile=/scratch/kocevski/712434/ft2_4FGL_J0540.8-5415_monthly_bin22.fits outfile=/scratch/kocevski/712434/cmap_HighResolution_294019201_296611201_4FGL_J0540.8-5415_monthly_bin22.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=85.2069 yref=-54.2575 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.78 user 0.61 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/712434/ft1_filtered_4FGL_J0540.8-5415_monthly_bin22.fits evtable="EVENTS" scfile=/scratch/kocevski/712434/ft2_4FGL_J0540.8-5415_monthly_bin22.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/712434/Model_4FGL_J0540.8-5415_monthly_bin22.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 adding source LMC-30DorWest adding source LMC-FarWest adding source LMC-Galaxy adding source LMC-North Working on... /scratch/kocevski/712434/ft1_filtered_4FGL_J0540.8-5415_monthly_bin22.fits.....................! real 48585.02 user 48317.28 sys 106.62 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/712434/ft1_filtered_4FGL_J0540.8-5415_monthly_bin22.fits', '/scratch/kocevski/712434/ft2_4FGL_J0540.8-5415_monthly_bin22.fits', expMap='/scratch/kocevski/712434/expmap_294019201_296611201_4FGL_J0540.8-5415_monthly_bin22.fits', expCube='/scratch/kocevski/712434/ltcube_294019201_296611201_4FGL_J0540.8-5415_monthly_bin22.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/712434/Model_4FGL_J0540.8-5415_monthly_bin22.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0540.8-5415' 4FGL J0540.8-5415 Spectrum: PowerLaw 349 Prefactor: 1.334e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 350 Index: 2.627e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 7.197e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/712434/ft1_filtered_4FGL_J0540.8-5415_monthly_bin22.fits Spacecraft file(s): /scratch/kocevski/712434/ft2_4FGL_J0540.8-5415_monthly_bin22.fits Exposure map: /scratch/kocevski/712434/expmap_294019201_296611201_4FGL_J0540.8-5415_monthly_bin22.fits Exposure cube: /scratch/kocevski/712434/ltcube_294019201_296611201_4FGL_J0540.8-5415_monthly_bin22.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/712434/Model_4FGL_J0540.8-5415_monthly_bin22.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) = 88811.7499678 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 88811.5877383 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.0753 1.0000 .10000E-03 10000. 2 'norm ' 3.5843 1.0000 .10000E-03 10000. 3 'Prefactor ' .10099E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .19696 1.0000 .10000E-03 10000. 5 'Prefactor ' .24124E-03 1.0000 .10000E-03 10000. 6 'norm ' 3.7823 1.0000 .10000E-03 10000. 7 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 14.869 1.0000 .10000E-03 10000. 9 'Prefactor ' 1.8786 1.0000 .10000E-03 10000. 10 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 11 'norm ' 2.4962 1.0000 .10000E-03 10000. 12 'norm ' 2.1078 1.0000 .10000E-03 10000. 13 'norm ' 7.6990 1.0000 .10000E-03 10000. 14 'norm ' 22.668 1.0000 .10000E-03 10000. 15 'Prefactor ' 7.4079 1.0000 .10000E-03 10000. 16 'norm ' 6.2709 1.0000 .10000E-03 10000. 17 'norm ' 3.7945 1.0000 .10000E-03 10000. 18 'Prefactor ' .47692E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 2.5253 1.0000 .10000E-03 10000. 20 'Prefactor ' 3.5573 1.0000 .10000E-03 10000. 21 'Prefactor ' .10027E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' 3.1373 1.0000 .10000E-03 10000. 24 'Prefactor ' 2.7063 1.0000 .10000E-03 10000. 25 'Prefactor ' 3.5792 1.0000 .10000E-03 10000. 26 'Prefactor ' 21.558 1.0000 .10000E-03 10000. 27 'Normalizat' 1.0638 1.0000 .10000E-01 10.000 28 'Prefactor ' 1.0174 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7120E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 88811.59 FROM MIGRAD STATUS=CONVERGED 140 CALLS 2534 TOTAL EDM= .18E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.0752 .74108 -.17046E-07 -.29179E-04 2 norm 3.5915 1.8189 .13032E-06 .14004E-03 3 Prefactor .10000E-03 9.3588 .16803E-06** at limit ** 4 Prefactor .54991E-02 6860.0 -.62117E-05 -.10501E-04 5 Prefactor .10000E-03 32.316 .50994E-06** at limit ** 6 norm 3.7820 1.3991 -.19462E-06 -.30207E-03 7 Prefactor .10000E-03 2.8736 -.16687E-06** at limit ** 8 Prefactor 14.875 3.0222 -.25356E-06 -.55818E-02 9 Prefactor 1.8783 1.0796 .29767E-07 -.12016E-03 10 Prefactor .10000E-03 .75475 .18064E-07** at limit ** 11 norm 2.4961 .95117 .27629E-07 .11051E-03 12 norm 2.1077 1.0934 -.61085E-07 -.83074E-04 13 norm 7.6989 1.3060 .14631E-07 -.28804E-04 14 norm 22.668 .70088 -.12120E-07 -.35404E-03 15 Prefactor 7.4074 1.3151 -.57741E-08 -.40189E-04 16 norm 6.2710 1.8196 -.67650E-07 -.19452E-03 17 norm 3.7939 2.4410 .24594E-06 .10283E-03 18 Prefactor .10000E-03 7.2575 .11560E-05** at limit ** 19 Prefactor 2.5284 2.5125 .74693E-08 -.39096E-04 20 Prefactor 3.5611 3.5907 .12031E-06 -.56478E-03 21 Prefactor .10000E-03 6.0382 -.12317E-05** at limit ** 22 Prefactor .10000E-03 .81293 .75961E-07** at limit ** 23 Prefactor 3.1390 3.1766 -.23643E-06 .15646E-03 24 Prefactor 2.7090 2.0315 -.45794E-06 .88182E-03 25 Prefactor 3.5781 3.1657 .10815E-06 .61289E-03 26 Prefactor 21.553 7.7550 -.69263E-06 .17523E-02 27 Normalizat 1.0639 .68005E-01 -.21821E-06 -.69032E-04 28 Prefactor 1.0174 .46611E-01 .20343E-06 -.38097E-04 ERR DEF= .500 Final values: norm = 1.07524 norm = 3.59151 Prefactor = 0.0001 Prefactor = 0.0054991 Prefactor = 0.0001 norm = 3.78205 Prefactor = 0.0001 Prefactor = 14.8752 Prefactor = 1.87831 Prefactor = 0.0001 norm = 2.49606 norm = 2.10768 norm = 7.69886 norm = 22.6676 Prefactor = 7.40742 norm = 6.27098 norm = 3.79388 Prefactor = 0.0001 Prefactor = 2.52837 Prefactor = 3.56105 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 3.13903 Prefactor = 2.70898 Prefactor = 3.57811 Prefactor = 21.5531 Normalizat = 1.06387 Prefactor = 1.01742 ********** ** 18 **HESSE ********** FCN= 88811.59 FROM HESSE STATUS=OK 609 CALLS 3143 TOTAL EDM= .37E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.0752 .75922 .11664E-01 -1.5501 2 norm 3.5915 1.8315 .53362E-02 -1.5329 3 Prefactor .10000E-03 9.2948 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .54991E-02 3.1682 .16294 -1.5693 5 Prefactor .10000E-03 .78528 .13284 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 3.7820 1.5234 .51893E-02 -1.5319 7 Prefactor .10000E-03 2.7593 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 14.875 5.3004 .25968E-02 -1.4936 9 Prefactor 1.8783 3.4811 .75941E-02 -1.5434 10 Prefactor .10000E-03 .85144E-01 .49919E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 2.4961 .98678 .64672E-02 -1.5392 12 norm 2.1077 1.0945 .71046E-03 -1.5418 13 norm 7.6989 1.3063 .36130E-02 -1.5153 14 norm 22.668 .70261 .21033E-02 -1.4755 15 Prefactor 7.4074 1.3158 .36839E-02 -1.5164 16 norm 6.2710 1.8183 .40074E-02 -1.5207 17 norm 3.7939 2.4517 .51806E-02 -1.5318 18 Prefactor .10000E-03 7.1842 .10590E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 2.5284 2.5284 .64264E-02 -1.5390 20 Prefactor 3.5611 3.7030 .53573E-02 -1.5331 21 Prefactor .10000E-03 6.0487 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 .79849 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 3.1390 3.2015 .57218E-02 -1.5354 24 Prefactor 2.7090 28.513 .61901E-02 -1.5379 25 Prefactor 3.5781 3.1923 .53402E-02 -1.5330 26 Prefactor 21.553 8.8443 .21567E-02 -1.4779 27 Normalizat 1.0639 .60372E-01 .72478E-01 -.90920 28 Prefactor 1.0174 .40738E-01 .42407E-01 -.92151 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.74425e-06 Minuit parameter uncertainties: 1 0.759225 2 1.83154 3 4.08935e-06 4 0.261588 5 1.69399e-05 6 1.52337 7 2.90305e-06 8 5.30055 9 3.48149 10 4.50365e-08 11 0.986788 12 1.09454 13 1.30627 14 0.70261 15 1.31579 16 1.81833 17 2.45177 18 8.68941e-06 19 2.52852 20 3.70324 21 1.5919e-05 22 4.957e-07 23 3.20171 24 17.5878 25 3.19241 26 8.84484 27 0.0603757 28 0.0407395 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 88811.5875353 Extracting fit parameters... 4FGL J0540.8-5415 Spectrum: PowerLaw 349 Prefactor: 7.407e+00 1.316e+00 1.000e-04 1.000e+04 ( 1.000e-12) 350 Index: 2.627e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 7.197e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 696 Prefactor: 1.017e+00 4.074e-02 0.000e+00 1.000e+01 ( 1.000e+00) 697 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 698 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 695 Normalization: 1.064e+00 6.038e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 56.41 Ra Dec: 85.207 -54.258 Photon Index (Fixed Index): 2.63 +/- 0.00 Photon Flux (Fixed Index): 8.13e-08 +/- 1.44e-08 Energy Flux (Fixed Index): 2.08e-05 +/- 3.70e-06 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) = 88810.7138706 delta logL = 0.873664716768 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 88810.7136705 delta logL = 0.87386481998 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 8.6204 1.0000 .10000E-03 10000. 2 'Index ' 2.4013 1.0000 .0000 10.000 3 'Normalizat' 1.0778 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0114 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7120E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 88810.71 FROM MIGRAD STATUS=FAILED 91 CALLS 288 TOTAL EDM= .21E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.6204 1.7366 .13653E-03 .10552E-02 2 Index 2.4013 .16919 .83353E-02 .36959E-02 3 Normalizat 1.0778 .66228E-01 .31894E-03 .57033E-06 4 Prefactor 1.0114 .45967E-01 .22957E-03 .34863E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 88810.71 FROM SIMPLEX STATUS=UNCHANGED 72 CALLS 360 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 8.6204 1.7366 .20583E-04 -1.5121 2 Index 2.4013 .16919 .17555E-03 -.54655 3 Normalizat 1.0778 .66228E-01 .77588E-04 -.90469 4 Prefactor 1.0114 .45967E-01 .49390E-04 -.92351 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 88810.71 FROM MIGRAD STATUS=CONVERGED 38 CALLS 398 TOTAL EDM= .49E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.6203 1.7020 .54611E-05 -.33308E-04 2 Index 2.4013 .16572 .16671E-02 .15276E-04 3 Normalizat 1.0778 .66239E-01 .12758E-04 -.28516E-05 4 Prefactor 1.0114 .45984E-01 .45914E-04 -.15847E-05 ERR DEF= .500 Final values: Prefactor = 8.62035 Index = 2.4013 Normalizat = 1.07778 Prefactor = 1.01139 ********** ** 18 **HESSE ********** FCN= 88810.71 FROM HESSE STATUS=OK 23 CALLS 421 TOTAL EDM= .27E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 8.6203 1.6954 .10922E-05 -1.5121 2 Index 2.4013 .16499 .66683E-04 -.54655 3 Normalizat 1.0778 .66249E-01 .25515E-05 -.90469 4 Prefactor 1.0114 .45988E-01 .91827E-05 -.92351 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.71213e-13 Minuit parameter uncertainties: 1 1.69538 2 0.165029 3 0.0662536 4 0.0459901 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/712434': 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) = 88810.7136705 delta logL = 0.873864832422 Extracting fit parameters... 4FGL J0540.8-5415 Spectrum: PowerLaw 349 Prefactor: 8.620e+00 1.695e+00 1.000e-04 1.000e+04 ( 1.000e-12) 350 Index: 2.401e+00 1.650e-01 0.000e+00 1.000e+01 (-1.000e+00) 351 Scale: 7.197e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 696 Prefactor: 1.011e+00 4.599e-02 0.000e+00 1.000e+01 ( 1.000e+00) 697 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 698 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 695 Normalization: 1.078e+00 6.625e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 57.57 Ra Dec: 85.207 -54.258 Photon Index (Free Index): 2.40 +/- 0.17 Photon Flux (Free Index): 7.04e-08 +/- 1.56e-08 Energy Flux (Free Index): 2.30e-05 +/- 4.62e-06 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/712434/cmap_HighResolution_294019201_296611201_4FGL_J0540.8-5415_monthly_bin22.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/712434 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.13e-08', energy_flux2='2.30e-05', photon_flux_error='1.44e-08', dlogl='8.74e-01', energy_flux='2.08e-05', photon_flux2='7.04e-08', job_status='DONE', time_completed='2021-10-15 21:13:15.736346', photon_index_error2='0.17', photon_index2='2.40', ts='56.41', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='4.62e-06', EG='1.06', time_epoch_completed='1634357595.74', return_code='0', job_id='712434', GAL2='1.01', EG2='1.08', return_code2='0', energy_flux_error='3.70e-06', photon_flux_error2='1.56e-08', ts2='57.57', photon_index='2.63' WHERE bin_id='22' AND source_name='4FGL J0540.8-5415' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Oct 15 21:13:15 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 712434: <4FGL_J0540.8-5415_monthly_bin22> in cluster Done Job <4FGL_J0540.8-5415_monthly_bin22> was submitted from host by user in cluster at Fri Oct 15 06:00:19 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Oct 15 06:00:20 2021 was used as the home directory. was used as the working directory. Started at Fri Oct 15 06:00:20 2021 Terminated at Fri Oct 15 21:13:17 2021 Results reported at Fri Oct 15 21:13:17 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0540.8-5415_monthly_bin22 85.2069 -54.2575 294019201 296611201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0540.8-5415 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 54384.00 sec. Max Memory : 642 MB Average Memory : 613.48 MB Total Requested Memory : - Delta Memory : - Max Swap : 4 MB Max Processes : 5 Max Threads : 21 Run time : 54776 sec. Turnaround time : 54778 sec. The output (if any) is above this job summary.