/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 197 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 = 72952 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0540.8-5415_monthly_bin33 RA = 85.2069, Dec = -54.2575 tmin = 322531201, tmax = 325123201 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='713722', job_status='RUN', time_executed='2021-10-15 06:08:52.490649', time_epoch_executed='1634303332.49' WHERE source_name='4FGL J0540.8-5415' and cadence='monthly' and bin_id='33' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/713722 Creating custom pfile directory: /scratch/kocevski/713722/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=322531201.0 && nMetStart<325123201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=322531201.0 && nMetStart<325123201.0' /Data/Flight/Level1/LPA Retrieving 456 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/713722/ft1_4FGL_J0540.8-5415_monthly_bin33.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=322531201.0 && nMetStart<325123201.0' /Data/Flight/Level1/LPA Retrieving 456 files... Done. Merging files... Merged file saved to: /scratch/kocevski/713722/ft2_4FGL_J0540.8-5415_monthly_bin33.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/713722/ft1_4FGL_J0540.8-5415_monthly_bin33.fits outfile=/scratch/kocevski/713722/ft1_filteredMKT_4FGL_J0540.8-5415_monthly_bin33.fits ra=85.2069 dec=-54.2575 rad=12.0 tmin=322531201.0 tmax=325123201.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 64.15 user 61.38 sys 1.71 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/713722/ft2_4FGL_J0540.8-5415_monthly_bin33.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/713722/ft2_4FGL_J0540.8-5415_monthly_bin33.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/713722/ft1_filteredMKT_4FGL_J0540.8-5415_monthly_bin33.fits evtable="EVENTS" outfile="/scratch/kocevski/713722/ft1_filtered_4FGL_J0540.8-5415_monthly_bin33.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.64 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/713722/ft1_filtered_4FGL_J0540.8-5415_monthly_bin33.fits" evtable="EVENTS" scfile=/scratch/kocevski/713722/ft2_4FGL_J0540.8-5415_monthly_bin33.fits sctable="SC_DATA" outfile=/scratch/kocevski/713722/ltcube_322531201_325123201_4FGL_J0540.8-5415_monthly_bin33.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/713722/ft2_4FGL_J0540.8-5415_monthly_bin33.fits .....................! real 103.64 user 103.02 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/713722/ft1_filtered_4FGL_J0540.8-5415_monthly_bin33.fits evtable="EVENTS" scfile=/scratch/kocevski/713722/ft2_4FGL_J0540.8-5415_monthly_bin33.fits sctable="SC_DATA" expcube=/scratch/kocevski/713722/ltcube_322531201_325123201_4FGL_J0540.8-5415_monthly_bin33.fits outfile=/scratch/kocevski/713722/expmap_322531201_325123201_4FGL_J0540.8-5415_monthly_bin33.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/713722/ltcube_322531201_325123201_4FGL_J0540.8-5415_monthly_bin33.fits .....................! real 191.20 user 185.93 sys 4.54 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/713722/ft1_filtered_4FGL_J0540.8-5415_monthly_bin33.fits scfile=/scratch/kocevski/713722/ft2_4FGL_J0540.8-5415_monthly_bin33.fits outfile=/scratch/kocevski/713722/cmap_322531201_325123201_4FGL_J0540.8-5415_monthly_bin33.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.82 user 0.62 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/713722/ft1_filtered_4FGL_J0540.8-5415_monthly_bin33.fits scfile=/scratch/kocevski/713722/ft2_4FGL_J0540.8-5415_monthly_bin33.fits outfile=/scratch/kocevski/713722/cmap_HighResolution_322531201_325123201_4FGL_J0540.8-5415_monthly_bin33.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.79 user 0.62 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/713722/ft1_filtered_4FGL_J0540.8-5415_monthly_bin33.fits evtable="EVENTS" scfile=/scratch/kocevski/713722/ft2_4FGL_J0540.8-5415_monthly_bin33.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/713722/Model_4FGL_J0540.8-5415_monthly_bin33.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/713722/ft1_filtered_4FGL_J0540.8-5415_monthly_bin33.fits.....................! real 31765.19 user 31700.22 sys 3.96 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/713722/ft1_filtered_4FGL_J0540.8-5415_monthly_bin33.fits', '/scratch/kocevski/713722/ft2_4FGL_J0540.8-5415_monthly_bin33.fits', expMap='/scratch/kocevski/713722/expmap_322531201_325123201_4FGL_J0540.8-5415_monthly_bin33.fits', expCube='/scratch/kocevski/713722/ltcube_322531201_325123201_4FGL_J0540.8-5415_monthly_bin33.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/713722/Model_4FGL_J0540.8-5415_monthly_bin33.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/713722/ft1_filtered_4FGL_J0540.8-5415_monthly_bin33.fits Spacecraft file(s): /scratch/kocevski/713722/ft2_4FGL_J0540.8-5415_monthly_bin33.fits Exposure map: /scratch/kocevski/713722/expmap_322531201_325123201_4FGL_J0540.8-5415_monthly_bin33.fits Exposure cube: /scratch/kocevski/713722/ltcube_322531201_325123201_4FGL_J0540.8-5415_monthly_bin33.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/713722/Model_4FGL_J0540.8-5415_monthly_bin33.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) = 59393.0134668 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 59392.9325956 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.6938 1.0000 .10000E-03 10000. 2 'norm ' 3.2924 1.0000 .10000E-03 10000. 3 'Prefactor ' .23460E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 7.7484 1.0000 .10000E-03 10000. 5 'Prefactor ' 8.0610 1.0000 .10000E-03 10000. 6 'norm ' 1.0707 1.0000 .10000E-03 10000. 7 'Prefactor ' 2.0601 1.0000 .10000E-03 10000. 8 'Prefactor ' 7.4024 1.0000 .10000E-03 10000. 9 'Prefactor ' .11454E-01 1.0000 .10000E-03 10000. 10 'Prefactor ' 1.7770 1.0000 .10000E-03 10000. 11 'norm ' 3.1730 1.0000 .10000E-03 10000. 12 'norm ' 2.8770 1.0000 .10000E-03 10000. 13 'norm ' 14.443 1.0000 .10000E-03 10000. 14 'norm ' 10.820 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.1578 1.0000 .10000E-03 10000. 16 'norm ' .84078 1.0000 .10000E-03 10000. 17 'norm ' 5.4354 1.0000 .10000E-03 10000. 18 'Prefactor ' .67044E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 6.1167 1.0000 .10000E-03 10000. 20 'Prefactor ' 10.584 1.0000 .10000E-03 10000. 21 'Prefactor ' 8.0710 1.0000 .10000E-03 10000. 22 'Prefactor ' 2.1949 1.0000 .10000E-03 10000. 23 'Prefactor ' .10037E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' .48410E-03 1.0000 .10000E-03 10000. 25 'Prefactor ' .18815E-03 1.0000 .10000E-03 10000. 26 'Prefactor ' 30.128 1.0000 .10000E-03 10000. 27 'Normalizat' 1.0713 1.0000 .10000E-01 10.000 28 'Prefactor ' 1.0109 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. FCN= 59392.93 FROM MIGRAD STATUS=CONVERGED 731 CALLS 3069 TOTAL EDM= .38E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 5.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.6934 1.1815 .82435E-07 -.19174E-03 2 norm 3.2859 1.6644 .51198E-06 .89869E-03 3 Prefactor .10000E-03 13.890 .56536E-06** at limit ** 4 Prefactor 7.8244 9.7419 .11801E-05 -.11334E-04 5 Prefactor 8.0464 5.2020 .61765E-07 -.80801E-04 6 norm 1.0727 1.3073 .67492E-07 -.14605E-04 7 Prefactor 2.0568 4.8140 .25676E-05 .49974E-03 8 Prefactor 7.4199 5.7652 .13209E-06 -.23521E-03 9 Prefactor .10017E-03 22.241 .15665E-04** at limit ** 10 Prefactor 1.7769 .85067 .50517E-07 .10483E-03 11 norm 3.1717 1.4021 .44532E-07 -.51788E-03 12 norm 2.8800 1.9202 .72128E-07 .87653E-04 13 norm 14.439 2.1684 .11317E-07 -.33767E-03 14 norm 10.820 .61247 .11193E-07 -.63299E-03 15 Prefactor 1.1581 1.0284 .12045E-06 .51715E-03 16 norm .83993 1.3288 -.56145E-07 .28184E-03 17 norm 5.4243 2.9777 .38181E-07 .25106E-05 18 Prefactor .10005E-03 9.1293 .11472E-04** at limit ** 19 Prefactor 6.0984 3.3365 .69348E-08 -.11281E-03 20 Prefactor 10.594 4.3929 -.16477E-05 .41146E-03 21 Prefactor 8.5073 19.560 -.76319E-06 -.87951E-05 22 Prefactor 2.2167 3.2399 .21382E-06 .10934E-03 23 Prefactor .10000E-03 1.0477 .17640E-06** at limit ** 24 Prefactor .10000E-03 40.229 .51094E-06** at limit ** 25 Prefactor .10000E-03 3.0531 .64005E-07** at limit ** 26 Prefactor 29.835 11.548 .43476E-06 -.17477E-04 27 Normalizat 1.0712 .72584E-01 -.59424E-06 -.40293E-03 28 Prefactor 1.0109 .48845E-01 -.79926E-07 -.83573E-03 ERR DEF= .500 Final values: norm = 1.69339 norm = 3.28592 Prefactor = 0.0001 Prefactor = 7.82439 Prefactor = 8.04638 norm = 1.07271 Prefactor = 2.0568 Prefactor = 7.41991 Prefactor = 0.000100166 Prefactor = 1.77686 norm = 3.17168 norm = 2.87997 norm = 14.4385 norm = 10.82 Prefactor = 1.15808 norm = 0.839931 norm = 5.4243 Prefactor = 0.000100045 Prefactor = 6.09842 Prefactor = 10.5936 Prefactor = 8.50734 Prefactor = 2.21672 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 29.8352 Normalizat = 1.07125 Prefactor = 1.01095 ********** ** 18 **HESSE ********** FCN= 59392.93 FROM HESSE STATUS=OK 551 CALLS 3620 TOTAL EDM= .32E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.6934 1.1794 .21436E-03 -1.5448 2 norm 3.2859 1.9680 .11157E-02 -1.5345 3 Prefactor .10000E-03 13.968 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 7.8244 9.7642 .14406E-03 -1.5148 5 Prefactor 8.0464 5.1926 .14122E-03 -1.5141 6 norm 1.0727 1.3032 .23466E-03 -1.5501 7 Prefactor 2.0568 6.4346 .14396E-02 -1.5421 8 Prefactor 7.4199 5.7409 .14741E-03 -1.5163 9 Prefactor .10017E-03 2.6499 .13012 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 1.7769 .84310 .14557E-03 -1.5441 11 norm 3.1717 1.3928 .17473E-03 -1.5352 12 norm 2.8800 1.8936 .22567E-03 -1.5369 13 norm 14.439 2.1479 .10539E-03 -1.4948 14 norm 10.820 .61258 .43540E-04 -1.5050 15 Prefactor 1.1581 1.0041 .21978E-03 -1.5493 16 norm .83993 1.1190 .33877E-02 -1.5525 17 norm 5.4243 2.9783 .17236E-03 -1.5242 18 Prefactor .10005E-03 20.987 .67951E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 6.0984 3.3125 .16233E-03 -1.5214 20 Prefactor 10.594 4.4385 .12316E-03 -1.5057 21 Prefactor 8.5073 19.567 .14113E-03 -1.5125 22 Prefactor 2.2167 3.2247 .27777E-03 -1.5410 23 Prefactor .10000E-03 1.0557 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .10000E-03 40.743 .21173E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor .10000E-03 3.0853 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor 29.835 11.563 .72994E-04 -1.4615 27 Normalizat 1.0712 .84138E-01 .31452E-03 -.90680 28 Prefactor 1.0109 .56362E-01 .22461E-03 -.92365 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.18829e-09 Minuit parameter uncertainties: 1 1.17946 2 1.96806 3 1.44917e-05 4 9.76622 5 5.19288 6 1.30323 7 6.43675 8 5.7413 9 0.0013259 10 0.843105 11 1.39282 12 1.8936 13 2.14794 14 0.612576 15 1.00414 16 1.11902 17 2.97841 18 0.00194532 19 3.31256 20 4.43867 21 19.5818 22 3.22491 23 7.85651e-06 24 0.000112809 25 1.34483e-05 26 11.5637 27 0.0841482 28 0.0563651 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 59392.931767 Extracting fit parameters... 4FGL J0540.8-5415 Spectrum: PowerLaw 349 Prefactor: 1.158e+00 1.004e+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.011e+00 5.637e-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.071e+00 8.415e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.13 Ra Dec: 85.207 -54.258 Photon Index (Fixed Index): 2.63 +/- 0.00 Photon Flux (Fixed Index): 1.27e-08 +/- 1.10e-08 Energy Flux (Fixed Index): 3.25e-06 +/- 2.82e-06 TS (Fixed Index): 2.13 Ra Dec: 85.207 -54.258 Photon Flux Upper Limit: 3.61e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.83e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/713722/likelihoodResults_322531201_325123201_4FGL_J0540.8-5415_monthly_bin33.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) = 59391.4454485 delta logL = 1.48631854461 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 59391.4437412 delta logL = 1.48802589023 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.1507 1.0000 .10000E-03 10000. 2 'Index ' 1.6930 1.0000 .0000 10.000 3 'Normalizat' 1.0798 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0082 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 59391.44 FROM MIGRAD STATUS=FAILED 96 CALLS 266 TOTAL EDM= .22E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.1509 1.2022 .20719E-03 .10974E-04 2 Index 1.6930 .48900 .14270E-01 -.11430E-02 3 Normalizat 1.0798 .78471E-01 .31339E-03 .29021E-06 4 Prefactor 1.0082 .55020E-01 .22488E-03 .40444E-06 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 59391.44 FROM SIMPLEX STATUS=UNCHANGED 71 CALLS 337 TOTAL EDM= .12E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.1509 1.2022 .54857E-04 -1.5493 2 Index 1.6930 .48900 .55255E-03 -.72269 3 Normalizat 1.0798 .78471E-01 .10134E-03 -.90402 4 Prefactor 1.0082 .55020E-01 .78634E-04 -.92458 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 59391.44 FROM MIGRAD STATUS=CONVERGED 27 CALLS 364 TOTAL EDM= .38E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.1509 1.2579 .82875E-05 .87795E-05 2 Index 1.6930 .51190 .28539E-02 -.45412E-04 3 Normalizat 1.0798 .78536E-01 .12536E-04 .29021E-06 4 Prefactor 1.0082 .55073E-01 .89950E-05 .40444E-06 ERR DEF= .500 Final values: Prefactor = 1.15086 Index = 1.69298 Normalizat = 1.07982 Prefactor = 1.00816 ********** ** 18 **HESSE ********** FCN= 59391.44 FROM HESSE STATUS=OK 25 CALLS 389 TOTAL EDM= .22E-13 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.1509 1.2718 .16575E-05 -1.5493 2 Index 1.6930 .51753 .57079E-03 -.72269 3 Normalizat 1.0798 .78536E-01 .12536E-04 -.90402 4 Prefactor 1.0082 .55074E-01 .89950E-05 -.92458 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.23684e-14 Minuit parameter uncertainties: 1 1.27179 2 0.519188 3 0.078544 4 0.0550772 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/713722': 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) = 59391.4437411 delta logL = 1.48802589647 Extracting fit parameters... 4FGL J0540.8-5415 Spectrum: PowerLaw 349 Prefactor: 1.151e+00 1.272e+00 1.000e-04 1.000e+04 ( 1.000e-12) 350 Index: 1.693e+00 5.192e-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.008e+00 5.508e-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.080e+00 7.854e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 5.10 Ra Dec: 85.207 -54.258 Photon Index (Free Index): 1.69 +/- 0.52 Photon Flux (Free Index): 4.65e-09 +/- 6.19e-09 Energy Flux (Free Index): 7.77e-06 +/- 7.99e-06 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/713722/cmap_HighResolution_322531201_325123201_4FGL_J0540.8-5415_monthly_bin33.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/713722 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.83e-03', comment='SUCCESS', photon_flux='1.27e-08', energy_flux2='7.77e-06', photon_flux_error='1.10e-08', dlogl='1.49e+00', energy_flux='3.25e-06', photon_flux2='4.65e-09', job_status='DONE', time_completed='2021-10-15 16:38:52.073007', photon_index_error2='0.52', photon_index2='1.69', ts='2.13', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='3.61e-08', energy_flux_error2='7.99e-06', EG='1.07', time_epoch_completed='1634341132.07', return_code='0', job_id='713722', GAL2='1.01', EG2='1.08', return_code2='0', energy_flux_error='2.82e-06', photon_flux_error2='6.19e-09', ts2='5.10', photon_index='2.63' WHERE bin_id='33' AND source_name='4FGL J0540.8-5415' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Oct 15 16:38:52 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 713722: <4FGL_J0540.8-5415_monthly_bin33> in cluster Done Job <4FGL_J0540.8-5415_monthly_bin33> was submitted from host by user in cluster at Fri Oct 15 06:05:26 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Oct 15 06:05:27 2021 was used as the home directory. was used as the working directory. Started at Fri Oct 15 06:05:27 2021 Terminated at Fri Oct 15 16:38:53 2021 Results reported at Fri Oct 15 16:38:53 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0540.8-5415_monthly_bin33 85.2069 -54.2575 322531201 325123201 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 : 37635.00 sec. Max Memory : 638 MB Average Memory : 588.37 MB Total Requested Memory : - Delta Memory : - Max Swap : 1 MB Max Processes : 5 Max Threads : 21 Run time : 38005 sec. Turnaround time : 38007 sec. The output (if any) is above this job summary.