/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 6 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 = 73129 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J2005.1+7003_monthly_bin45 RA = 301.278, Dec = 70.0624 tmin = 353635201, tmax = 356227201 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='564181', job_status='RUN', time_executed='2021-11-05 13:04:43.204334', time_epoch_executed='1636142683.2' WHERE source_name='4FGL J2005.1+7003' and cadence='monthly' and bin_id='45' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/564181 Creating custom pfile directory: /scratch/kocevski/564181/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=353635201.0 && nMetStart<356227201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=353635201.0 && nMetStart<356227201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/564181/ft1_4FGL_J2005.1+7003_monthly_bin45.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=353635201.0 && nMetStart<356227201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/564181/ft2_4FGL_J2005.1+7003_monthly_bin45.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/564181/ft1_4FGL_J2005.1+7003_monthly_bin45.fits outfile=/scratch/kocevski/564181/ft1_filteredMKT_4FGL_J2005.1+7003_monthly_bin45.fits ra=301.278 dec=70.0624 rad=12.0 tmin=353635201.0 tmax=356227201.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 31.37 user 30.61 sys 0.69 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/564181/ft2_4FGL_J2005.1+7003_monthly_bin45.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/564181/ft2_4FGL_J2005.1+7003_monthly_bin45.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/564181/ft1_filteredMKT_4FGL_J2005.1+7003_monthly_bin45.fits evtable="EVENTS" outfile="/scratch/kocevski/564181/ft1_filtered_4FGL_J2005.1+7003_monthly_bin45.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.85 user 0.67 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/564181/ft1_filtered_4FGL_J2005.1+7003_monthly_bin45.fits" evtable="EVENTS" scfile=/scratch/kocevski/564181/ft2_4FGL_J2005.1+7003_monthly_bin45.fits sctable="SC_DATA" outfile=/scratch/kocevski/564181/ltcube_353635201_356227201_4FGL_J2005.1+7003_monthly_bin45.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/564181/ft2_4FGL_J2005.1+7003_monthly_bin45.fits .....................! real 117.15 user 116.61 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/564181/ft1_filtered_4FGL_J2005.1+7003_monthly_bin45.fits evtable="EVENTS" scfile=/scratch/kocevski/564181/ft2_4FGL_J2005.1+7003_monthly_bin45.fits sctable="SC_DATA" expcube=/scratch/kocevski/564181/ltcube_353635201_356227201_4FGL_J2005.1+7003_monthly_bin45.fits outfile=/scratch/kocevski/564181/expmap_353635201_356227201_4FGL_J2005.1+7003_monthly_bin45.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/564181/ltcube_353635201_356227201_4FGL_J2005.1+7003_monthly_bin45.fits .....................! real 192.76 user 187.73 sys 4.68 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 FHES J2208.4+6443 in ROI with RadialGaussian spatial model. Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model. Extended source HB 21 in ROI with RadialDisk spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 193 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 J2005.1+7003 @ 301.278 70.0624 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/564181/ft1_filtered_4FGL_J2005.1+7003_monthly_bin45.fits scfile=/scratch/kocevski/564181/ft2_4FGL_J2005.1+7003_monthly_bin45.fits outfile=/scratch/kocevski/564181/cmap_353635201_356227201_4FGL_J2005.1+7003_monthly_bin45.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=301.278 yref=70.0624 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.81 user 0.66 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/564181/ft1_filtered_4FGL_J2005.1+7003_monthly_bin45.fits scfile=/scratch/kocevski/564181/ft2_4FGL_J2005.1+7003_monthly_bin45.fits outfile=/scratch/kocevski/564181/cmap_HighResolution_353635201_356227201_4FGL_J2005.1+7003_monthly_bin45.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=301.278 yref=70.0624 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.83 user 0.66 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/564181/ft1_filtered_4FGL_J2005.1+7003_monthly_bin45.fits evtable="EVENTS" scfile=/scratch/kocevski/564181/ft2_4FGL_J2005.1+7003_monthly_bin45.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/564181/Model_4FGL_J2005.1+7003_monthly_bin45.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 CTB 109 adding source EG_v02 adding source FHES J2129.9+5833 adding source FHES J2208.4+6443 adding source GAL_V02 adding source HB 21 Working on... /scratch/kocevski/564181/ft1_filtered_4FGL_J2005.1+7003_monthly_bin45.fits....................! real 2290.18 user 2284.86 sys 1.37 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/564181/ft1_filtered_4FGL_J2005.1+7003_monthly_bin45.fits', '/scratch/kocevski/564181/ft2_4FGL_J2005.1+7003_monthly_bin45.fits', expMap='/scratch/kocevski/564181/expmap_353635201_356227201_4FGL_J2005.1+7003_monthly_bin45.fits', expCube='/scratch/kocevski/564181/ltcube_353635201_356227201_4FGL_J2005.1+7003_monthly_bin45.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/564181/Model_4FGL_J2005.1+7003_monthly_bin45.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2005.1+7003' 4FGL J2005.1+7003 Spectrum: LogParabola 354 norm: 5.049e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 355 alpha: 1.640e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 356 beta: 1.694e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 357 Eb: 3.789e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/564181/ft1_filtered_4FGL_J2005.1+7003_monthly_bin45.fits Spacecraft file(s): /scratch/kocevski/564181/ft2_4FGL_J2005.1+7003_monthly_bin45.fits Exposure map: /scratch/kocevski/564181/expmap_353635201_356227201_4FGL_J2005.1+7003_monthly_bin45.fits Exposure cube: /scratch/kocevski/564181/ltcube_353635201_356227201_4FGL_J2005.1+7003_monthly_bin45.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/564181/Model_4FGL_J2005.1+7003_monthly_bin45.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) = 182586.943293 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 182586.203997 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.3870 1.0000 .10000E-03 10000. 2 'norm ' 2.7167 1.0000 .10000E-03 10000. 3 'norm ' 7.0460 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 2.0354 1.0000 .10000E-03 10000. 6 'Prefactor ' 4.5103 1.0000 .10000E-03 10000. 7 'Prefactor ' 5.6774 1.0000 .10000E-03 10000. 8 'Prefactor ' 4.4369 1.0000 .10000E-03 10000. 9 'norm ' 1.0660 1.0000 .10000E-03 10000. 10 'norm ' 1.7535 1.0000 .10000E-03 10000. 11 'norm ' 5.0666 1.0000 .10000E-03 10000. 12 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 14 'norm ' 2.1065 1.0000 .10000E-03 10000. 15 'norm ' 4.4492 1.0000 .10000E-03 10000. 16 'norm ' 1.6871 1.0000 .10000E-03 10000. 17 'norm ' .10001E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 9.3026 1.0000 .10000E-03 10000. 19 'norm ' .94713 1.0000 .10000E-03 10000. 20 'Prefactor ' 10.319 1.0000 .10000E-03 10000. 21 'norm ' 2.2209 1.0000 .10000E-03 10000. 22 'Prefactor ' 2.4836 1.0000 .10000E-03 10000. 23 'Prefactor ' 7.4128 1.0000 .10000E-03 10000. 24 'Normalizat' 1.2646 1.0000 .10000E-01 10.000 25 'Prefactor ' .96577 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6600E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 182586.2 FROM MIGRAD STATUS=CONVERGED 57 CALLS 2005 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.3871 .54340 -.98315E-08 -.20258E-04 2 norm 2.7167 .27759 -.93518E-08 .64765E-03 3 norm 7.0459 1.3327 .29279E-06 .38864E-03 4 Prefactor .10000E-03 7.7680 -.97805E-07** at limit ** 5 Prefactor 2.0358 1.6020 -.21703E-05 .93712E-04 6 Prefactor 4.5090 1.0090 .40319E-07 -.24799E-02 7 Prefactor 5.6757 1.0406 -.19321E-06 .44970E-02 8 Prefactor 4.4356 1.0323 -.18390E-06 .33309E-02 9 norm 1.0665 .68198 .11518E-06 -.70510E-04 10 norm 1.7536 .96428 .28232E-06 .19595E-02 11 norm 5.0666 1.0038 .38427E-07 .39539E-03 12 Prefactor .10000E-03 2.0035 .42620E-06** at limit ** 13 Prefactor .10000E-03 .23691 .33862E-06** at limit ** 14 norm 2.1064 .38639 -.36653E-07 -.92296E-03 15 norm 4.4492 1.0065 -.27715E-08 .53436E-04 16 norm 1.6872 .82390 -.54675E-07 -.42838E-04 17 norm .10000E-03 1.5491 .44683E-06** at limit ** 18 Prefactor 9.3029 1.0017 .17552E-08 .18019E-03 19 norm .94722 .69205 -.65356E-07 .17374E-03 20 Prefactor 10.319 1.0030 .39009E-07 -.98877E-03 21 norm 2.2208 1.0280 -.11814E-06 -.12100E-02 22 Prefactor 2.4837 .98436 -.28293E-06 -.47206E-02 23 Prefactor 7.4128 1.0023 -.76858E-09 .80361E-04 24 Normalizat 1.2646 .60272E-01 .61611E-06 .17391E-04 25 Prefactor .96577 .14649E-01 -.67712E-07 .28429E-03 ERR DEF= .500 Final values: norm = 1.38706 norm = 2.71673 norm = 7.04593 Prefactor = 0.0001 Prefactor = 2.03578 Prefactor = 4.50899 Prefactor = 5.6757 Prefactor = 4.43563 norm = 1.0665 norm = 1.75357 norm = 5.06662 Prefactor = 0.0001 Prefactor = 0.0001 norm = 2.10642 norm = 4.44925 norm = 1.68716 norm = 0.0001 Prefactor = 9.3029 norm = 0.947216 Prefactor = 10.3186 norm = 2.22085 Prefactor = 2.4837 Prefactor = 7.41285 Normalizat = 1.26464 Prefactor = 0.965774 ********** ** 18 **HESSE ********** FCN= 182586.2 FROM HESSE STATUS=OK 495 CALLS 2500 TOTAL EDM= .26E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.3871 .54859 .92299E-02 -1.5472 2 norm 2.7167 .27739 .61774E-02 -1.5378 3 norm 7.0459 1.3424 .37782E-02 -1.5177 4 Prefactor .10000E-03 7.7636 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 2.0358 1.6533 .72479E-02 -1.5423 6 Prefactor 4.5090 4.3722 .47393E-02 -1.5283 7 Prefactor 5.6757 12.416 .42146E-02 -1.5231 8 Prefactor 4.4356 15.784 .47794E-02 -1.5287 9 norm 1.0665 .74135 .11806E-01 -1.5501 10 norm 1.7536 1.0250 .79142E-02 -1.5443 11 norm 5.0666 2.9455 .44658E-02 -1.5258 12 Prefactor .10000E-03 1.9534 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 .23134 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 2.1064 .40031 .71072E-02 -1.5418 15 norm 4.4492 4.2076 .47726E-02 -1.5286 16 norm 1.6872 .84244 .81042E-02 -1.5448 17 norm .10000E-03 1.5200 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 9.3029 5.8747 .32850E-02 -1.5098 19 norm .94722 .71081 .12978E-01 -1.5513 20 Prefactor 10.319 3.4801 .31184E-02 -1.5065 21 norm 2.2208 1.1330 .68984E-02 -1.5410 22 Prefactor 2.4837 .94413 .64850E-02 -1.5393 23 Prefactor 7.4128 7.4154 .36827E-02 -1.5163 24 Normalizat 1.2646 .58699E-01 .10840 -.84628 25 Prefactor .96577 .13841E-01 .30885E-01 -.93879 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.62769e-06 Minuit parameter uncertainties: 1 0.548597 2 0.277388 3 1.34241 4 2.57267e-05 5 1.65338 6 4.37254 7 12.4216 8 15.7992 9 0.741361 10 1.02505 11 2.94562 12 8.94816e-06 13 2.79195e-06 14 0.400306 15 4.20783 16 0.842447 17 1.47934e-05 18 5.87502 19 0.710819 20 3.4802 21 1.13302 22 0.944133 23 7.41636 24 0.0587019 25 0.0138409 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 182586.203997 Extracting fit parameters... 4FGL J2005.1+7003 Spectrum: LogParabola 354 norm: 4.449e+00 4.208e+00 1.000e-04 1.000e+04 ( 1.000e-14) 355 alpha: 1.640e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 356 beta: 1.694e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 357 Eb: 3.789e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 653 Prefactor: 9.658e-01 1.384e-02 0.000e+00 1.000e+01 ( 1.000e+00) 654 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 655 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 645 Normalization: 1.265e+00 5.870e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 8.08 Ra Dec: 301.278 70.062 Photon Index (Fixed Index): 1.64 +/- 0.00 Photon Flux (Fixed Index): 1.12e-09 +/- 1.06e-09 Energy Flux (Fixed Index): 2.99e-06 +/- 2.83e-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) = 182585.843899 delta logL = 0.360098093282 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 182585.546841 delta logL = 0.657156229485 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.2053 1.0000 .10000E-03 10000. 2 'alpha ' .38794 1.0000 .0000 5.0000 3 'Normalizat' 1.2644 1.0000 .10000E-01 10.000 4 'Prefactor ' .96604 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6600E+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= 182585.5 FROM MIGRAD STATUS=FAILED 100 CALLS 270 TOTAL EDM= .20E-05 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.2053 1.7020 .66778E-02 -.10829 2 alpha .38794 .82750 .50000 .65079E-03 3 Normalizat 1.2644 .55974E-01 .48061E-03 -.75695E-06 4 Prefactor .96604 .14232E-01 .13647E-03 -.13329E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 182585.5 FROM SIMPLEX STATUS=UNCHANGED 72 CALLS 342 TOTAL EDM= .93E-05 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.2053 1.7020 .60431E-04 -1.5488 2 alpha .38794 .82750 .22627E-02 -1.0062 3 Normalizat 1.2644 .55974E-01 .70309E-04 -.84636 4 Prefactor .96604 .14232E-01 .18209E-04 -.93870 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 182585.5 FROM MIGRAD STATUS=CONVERGED 49 CALLS 391 TOTAL EDM= .62E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.2052 1.5763 .0000 .24886E-02 2 alpha .38786 .76720 .0000 .53528E-03 3 Normalizat 1.2644 .55989E-01 .0000 .11354E-04 4 Prefactor .96604 .14236E-01 .0000 .66646E-04 ERR DEF= .500 Final values: norm = 1.20521 alpha = 0.387862 Normalizat = 1.26436 Prefactor = 0.966035 ********** ** 18 **HESSE ********** FCN= 182585.5 FROM HESSE STATUS=OK 31 CALLS 422 TOTAL EDM= .12E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.2052 1.5460 .53422E-04 -1.5488 2 alpha .38786 .75399 .50000 -1.0063 3 Normalizat 1.2644 .56046E-01 .38449E-05 -.84636 4 Prefactor .96604 .14247E-01 .10917E-05 -.93870 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.19173e-07 Minuit parameter uncertainties: 1 1.54609 2 0.801021 3 0.0560488 4 0.0142474 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/564181': 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) = 182585.546841 delta logL = 0.657156251225 Extracting fit parameters... 4FGL J2005.1+7003 Spectrum: LogParabola 354 norm: 1.205e+00 1.546e+00 1.000e-04 1.000e+04 ( 1.000e-14) 355 alpha: 3.879e-01 8.010e-01 0.000e+00 5.000e+00 ( 1.000e+00) 356 beta: 1.694e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 357 Eb: 3.789e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 653 Prefactor: 9.660e-01 1.425e-02 0.000e+00 1.000e+01 ( 1.000e+00) 654 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 655 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 645 Normalization: 1.264e+00 5.605e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 9.40 Ra Dec: 301.278 70.062 Photon Index (Free Index): 0.39 +/- 0.80 Photon Flux (Free Index): 2.74e-10 +/- 2.79e-10 Energy Flux (Free Index): 6.68e-06 +/- 9.75e-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/564181/cmap_HighResolution_353635201_356227201_4FGL_J2005.1+7003_monthly_bin45.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/564181 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.12e-09', energy_flux2='6.68e-06', photon_flux_error='1.06e-09', dlogl='6.57e-01', energy_flux='2.99e-06', photon_flux2='2.74e-10', job_status='DONE', time_completed='2021-11-05 16:22:52.856090', photon_index_error2='0.80', photon_index2='0.39', ts='8.08', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='9.75e-06', EG='1.26', time_epoch_completed='1636154572.86', return_code='0', job_id='564181', GAL2='0.97', EG2='1.26', return_code2='0', energy_flux_error='2.83e-06', photon_flux_error2='2.79e-10', ts2='9.40', photon_index='1.64' WHERE bin_id='45' AND source_name='4FGL J2005.1+7003' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Nov 5 16:22:52 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 564181: <4FGL_J2005.1+7003_monthly_bin45> in cluster Done Job <4FGL_J2005.1+7003_monthly_bin45> was submitted from host by user in cluster at Fri Nov 5 12:10:23 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Nov 5 13:04:29 2021 was used as the home directory. was used as the working directory. Started at Fri Nov 5 13:04:29 2021 Terminated at Fri Nov 5 16:22:54 2021 Results reported at Fri Nov 5 16:22:54 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2005.1+7003_monthly_bin45 301.278 70.0624 353635201 356227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2005.1+7003 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 11077.00 sec. Max Memory : 657 MB Average Memory : 564.03 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 6 Max Threads : 21 Run time : 11904 sec. Turnaround time : 15151 sec. The output (if any) is above this job summary.