/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 190 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 = 73058 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1738.2+4000_monthly_bin147 RA = 264.56, Dec = 40.0099 tmin = 618019201, tmax = 620611201 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='694214', job_status='RUN', time_executed='2021-10-31 07:43:43.379821', time_epoch_executed='1635691423.38' WHERE source_name='4FGL J1738.2+4000' and cadence='monthly' and bin_id='147' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/694214 Creating custom pfile directory: /scratch/kocevski/694214/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=618019201.0 && nMetStart<620611201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=618019201.0 && nMetStart<620611201.0' /Data/Flight/Level1/LPA Retrieving 458 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/694214/ft1_4FGL_J1738.2+4000_monthly_bin147.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=618019201.0 && nMetStart<620611201.0' /Data/Flight/Level1/LPA Retrieving 458 files... Done. Merging files... Merged file saved to: /scratch/kocevski/694214/ft2_4FGL_J1738.2+4000_monthly_bin147.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/694214/ft1_4FGL_J1738.2+4000_monthly_bin147.fits outfile=/scratch/kocevski/694214/ft1_filteredMKT_4FGL_J1738.2+4000_monthly_bin147.fits ra=264.56 dec=40.0099 rad=12.0 tmin=618019201.0 tmax=620611201.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 33.77 user 33.01 sys 0.61 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/694214/ft2_4FGL_J1738.2+4000_monthly_bin147.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/694214/ft2_4FGL_J1738.2+4000_monthly_bin147.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/694214/ft1_filteredMKT_4FGL_J1738.2+4000_monthly_bin147.fits evtable="EVENTS" outfile="/scratch/kocevski/694214/ft1_filtered_4FGL_J1738.2+4000_monthly_bin147.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.86 user 0.66 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/694214/ft1_filtered_4FGL_J1738.2+4000_monthly_bin147.fits" evtable="EVENTS" scfile=/scratch/kocevski/694214/ft2_4FGL_J1738.2+4000_monthly_bin147.fits sctable="SC_DATA" outfile=/scratch/kocevski/694214/ltcube_618019201_620611201_4FGL_J1738.2+4000_monthly_bin147.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/694214/ft2_4FGL_J1738.2+4000_monthly_bin147.fits .....................! real 107.26 user 106.39 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/694214/ft1_filtered_4FGL_J1738.2+4000_monthly_bin147.fits evtable="EVENTS" scfile=/scratch/kocevski/694214/ft2_4FGL_J1738.2+4000_monthly_bin147.fits sctable="SC_DATA" expcube=/scratch/kocevski/694214/ltcube_618019201_620611201_4FGL_J1738.2+4000_monthly_bin147.fits outfile=/scratch/kocevski/694214/expmap_618019201_620611201_4FGL_J1738.2+4000_monthly_bin147.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/694214/ltcube_618019201_620611201_4FGL_J1738.2+4000_monthly_bin147.fits .....................! real 191.18 user 185.26 sys 5.36 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 Added 210 point sources and 0 extended sources Setting source of interest to: 4FGL J1738.2+4000 @ 264.56 40.0099 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/694214/ft1_filtered_4FGL_J1738.2+4000_monthly_bin147.fits scfile=/scratch/kocevski/694214/ft2_4FGL_J1738.2+4000_monthly_bin147.fits outfile=/scratch/kocevski/694214/cmap_618019201_620611201_4FGL_J1738.2+4000_monthly_bin147.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=264.56 yref=40.0099 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.84 user 0.60 sys 0.18 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/694214/ft1_filtered_4FGL_J1738.2+4000_monthly_bin147.fits scfile=/scratch/kocevski/694214/ft2_4FGL_J1738.2+4000_monthly_bin147.fits outfile=/scratch/kocevski/694214/cmap_HighResolution_618019201_620611201_4FGL_J1738.2+4000_monthly_bin147.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=264.56 yref=40.0099 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.61 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/694214/ft1_filtered_4FGL_J1738.2+4000_monthly_bin147.fits evtable="EVENTS" scfile=/scratch/kocevski/694214/ft2_4FGL_J1738.2+4000_monthly_bin147.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/694214/Model_4FGL_J1738.2+4000_monthly_bin147.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 Working on... /scratch/kocevski/694214/ft1_filtered_4FGL_J1738.2+4000_monthly_bin147.fits.....................! real 544.28 user 540.98 sys 1.45 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/694214/ft1_filtered_4FGL_J1738.2+4000_monthly_bin147.fits', '/scratch/kocevski/694214/ft2_4FGL_J1738.2+4000_monthly_bin147.fits', expMap='/scratch/kocevski/694214/expmap_618019201_620611201_4FGL_J1738.2+4000_monthly_bin147.fits', expCube='/scratch/kocevski/694214/ltcube_618019201_620611201_4FGL_J1738.2+4000_monthly_bin147.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/694214/Model_4FGL_J1738.2+4000_monthly_bin147.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1738.2+4000' 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 6.394e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 327 Index: 2.517e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/694214/ft1_filtered_4FGL_J1738.2+4000_monthly_bin147.fits Spacecraft file(s): /scratch/kocevski/694214/ft2_4FGL_J1738.2+4000_monthly_bin147.fits Exposure map: /scratch/kocevski/694214/expmap_618019201_620611201_4FGL_J1738.2+4000_monthly_bin147.fits Exposure cube: /scratch/kocevski/694214/ltcube_618019201_620611201_4FGL_J1738.2+4000_monthly_bin147.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/694214/Model_4FGL_J1738.2+4000_monthly_bin147.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) = 79796.6935654 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 79796.6691577 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 3.4170 1.0000 .10000E-03 10000. 2 'Prefactor ' .90845E-01 1.0000 .10000E-03 10000. 3 'Prefactor ' .58747 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.4696 1.0000 .10000E-03 10000. 5 'norm ' 2.7826 1.0000 .10000E-03 10000. 6 'norm ' .10001E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 2.5150 1.0000 .10000E-03 10000. 8 'norm ' .20296 1.0000 .10000E-03 10000. 9 'norm ' 6.6514 1.0000 .10000E-03 10000. 10 'norm ' 4.8284 1.0000 .10000E-03 10000. 11 'Prefactor ' 2.9312 1.0000 .10000E-03 10000. 12 'Prefactor ' .10088E-03 1.0000 .10000E-03 10000. 13 'norm ' 2.0806 1.0000 .10000E-03 10000. 14 'Prefactor ' 18.281 1.0000 .10000E-03 10000. 15 'Prefactor ' .12943E-02 1.0000 .10000E-03 10000. 16 'norm ' 5.2114 1.0000 .10000E-03 10000. 17 'Prefactor ' 9.1565 1.0000 .10000E-03 10000. 18 'Prefactor ' 3.1659 1.0000 .10000E-03 10000. 19 'Prefactor ' 2.3951 1.0000 .10000E-03 10000. 20 'Prefactor ' 8.3074 1.0000 .10000E-03 10000. 21 'Prefactor ' .49270E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' .19605E-03 1.0000 .10000E-03 10000. 23 'norm ' .97598 1.0000 .10000E-03 10000. 24 'norm ' .10806 1.0000 .10000E-03 10000. 25 'norm ' 2.4187 1.0000 .10000E-03 10000. 26 'Prefactor ' 1.2237 1.0000 .10000E-03 10000. 27 'Prefactor ' 24.683 1.0000 .10000E-03 10000. 28 'Normalizat' .98456 1.0000 .10000E-01 10.000 29 'Prefactor ' .94163 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+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= 79796.67 FROM MIGRAD STATUS=FAILED 1392 CALLS 4487 TOTAL EDM= .22E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 3.4143 4.8660 .21884E-03 .14962E-04 2 Prefactor .90784E-01 .12886 .11395E-03 .11158E-02 3 Prefactor .58742 .21641 .76026E-04 .62207E-04 4 Prefactor 1.4696 .72712 .16258E-03 .46206E-03 5 norm 2.7827 .47379 .77578E-04 -.63307E-04 6 norm .10000E-03 .84960E-01 .11359E-02** at limit ** 7 Prefactor 2.5151 1.8372 .25763E-03 .24147E-03 8 norm .20283 .12885 .93856E-03 .41787E-01 9 norm 6.6516 2.4180 .15559E-03 .22095E-03 10 norm 4.8282 .61786 .74410E-04 .22490E-03 11 Prefactor 2.9313 .91872 .14637E-03 .11184E-04 12 Prefactor .10000E-03 2.1453 .18142E-02** at limit ** 13 norm 2.0842 1.2467 .22169E-03 -.12734E-02 14 Prefactor 18.136 19.045 .93675E-04 -.25438E-03 15 Prefactor .10000E-03 18.684 .20583E-02** at limit ** 16 norm 5.2103 1.6483 .17609E-03 .15702E-03 17 Prefactor 9.1497 12.359 .13245E-03 .11536E-03 18 Prefactor 3.2002 7.8315 .22778E-03 .12697E-03 19 Prefactor 2.3899 2.9646 .26461E-03 -.14230E-03 20 Prefactor 8.3057 2.7967 .69546E-03 .83880E-03 21 Prefactor .10001E-03 2.3056 .12657 ** at limit ** 22 Prefactor .10000E-03 11.726 .18142E-02** at limit ** 23 norm .97600 .40384 .11160E-03 -.29339E-03 24 norm .17542 3.1286 .17477 .99035E-03 25 norm 2.4182 1.8976 .13159E-02 .58857E-02 26 Prefactor 1.2227 1.3979 .34283E-03 .56665E-03 27 Prefactor 24.685 2.1907 .80628E-04 -.36999E-03 28 Normalizat .98461 .76219E-01 .30736E-03 -.76226E-03 29 Prefactor .94162 .46326E-01 .19936E-03 .10949E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 79796.67 FROM SIMPLEX STATUS=PROGRESS 1327 CALLS 5814 TOTAL EDM= .18E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 3.4143 4.8660 .87912E-07 -1.5338 2 Prefactor .90783E-01 .12886 .41024E-07 -1.5648 3 Prefactor .58742 .21641 .33900E-07 -1.5555 4 Prefactor 1.4696 .72712 .34700E-07 -1.5466 5 norm 2.7827 .47379 .30831E-07 -1.5374 6 norm .10000E-03 .84960E-01 .56931E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 2.5151 1.8372 .29157E-07 -1.5391 8 norm .20283 .12885 .29126E-07 -1.5618 9 norm 6.6516 2.4180 .27694E-07 -1.5192 10 norm 4.8282 .61786 .29877E-07 -1.5268 11 Prefactor 2.9313 .91872 .32016E-07 -1.5366 12 Prefactor .10000E-03 2.1453 .27279E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 2.0842 1.2467 .30177E-07 -1.5419 14 Prefactor 18.136 19.045 .28795E-07 -1.4856 15 Prefactor .10000E-03 18.684 .19332E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 5.2103 1.6483 .29832E-07 -1.5251 17 Prefactor 9.1497 12.359 .28751E-07 -1.5103 18 Prefactor 3.2002 7.8315 .28466E-07 -1.5350 19 Prefactor 2.3899 2.9646 .29364E-07 -1.5399 20 Prefactor 8.3057 2.7967 .29179E-07 -1.5131 21 Prefactor .10001E-03 2.3056 .69855E-05 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 11.726 .28070E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .97600 .40384 .30349E-07 -1.5510 24 norm .17542 3.1286 .30391E-07 -1.5624 25 norm 2.4182 1.8976 .29834E-07 -1.5397 26 Prefactor 1.2227 1.3979 .30193E-07 -1.5487 27 Prefactor 24.685 2.1907 .28716E-07 -1.4714 28 Normalizat .98461 .76219E-01 .18307E-07 -.93548 29 Prefactor .94162 .46326E-01 .18446E-07 -.94702 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 79796.67 FROM MIGRAD STATUS=CONVERGED 552 CALLS 6366 TOTAL EDM= .14E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 3.4143 4.8659 .87535E-05 .83120E-06 2 Prefactor .90783E-01 .12882 .45581E-05 .38310E-04 3 Prefactor .58742 .21635 .30411E-05 -.11963E-04 4 Prefactor 1.4695 .72702 .65034E-05 -.55940E-05 5 norm 2.7827 .47378 .31031E-05 -.70341E-05 6 norm .10000E-03 .85241E-01 .22718E-03** at limit ** 7 Prefactor 2.5151 1.8360 .10305E-04 -.17651E-04 8 norm .20283 .12874 .18771E-03 .17673E-02 9 norm 6.6516 2.4177 .62237E-05 -.11691E-04 10 norm 4.8282 .61781 .29764E-05 -.12223E-04 11 Prefactor 2.9313 .91868 .58549E-05 .0000 12 Prefactor .10000E-03 2.1455 .36285E-03** at limit ** 13 norm 2.0842 1.2461 .88676E-05 -.24615E-04 14 Prefactor 18.136 19.019 .37470E-05 -.58254E-05 15 Prefactor .10000E-03 18.690 .41166E-03** at limit ** 16 norm 5.2103 1.6481 .70434E-05 .51651E-05 17 Prefactor 9.1497 12.352 .52979E-05 .13734E-05 18 Prefactor 3.2002 7.8248 .91113E-05 .15971E-05 19 Prefactor 2.3899 2.9641 .10584E-04 -.12030E-03 20 Prefactor 8.3057 2.7957 .27818E-04 .13078E-04 21 Prefactor .10001E-03 2.2462 .12919 ** at limit ** 22 Prefactor .10000E-03 11.728 .36285E-03** at limit ** 23 norm .97600 .40383 .44639E-05 -.16299E-03 24 norm .17545 3.1278 .17478 .10041E-02 25 norm 2.4181 1.8960 .52638E-04 -.10367E-04 26 Prefactor 1.2227 1.3975 .13713E-04 -.95503E-04 27 Prefactor 24.685 2.1907 .32251E-05 -.11280E-03 28 Normalizat .98461 .76260E-01 .12294E-04 -.13908E-03 29 Prefactor .94162 .46370E-01 .79745E-05 -.23722E-03 ERR DEF= .500 Final values: norm = 3.41431 Prefactor = 0.0907832 Prefactor = 0.587424 Prefactor = 1.46955 norm = 2.78267 norm = 0.0001 Prefactor = 2.51508 norm = 0.202834 norm = 6.65159 norm = 4.82822 Prefactor = 2.93127 Prefactor = 0.0001 norm = 2.0842 Prefactor = 18.136 Prefactor = 0.0001 norm = 5.21031 Prefactor = 9.14968 Prefactor = 3.20022 Prefactor = 2.38994 Prefactor = 8.30566 Prefactor = 0.00010001 Prefactor = 0.0001 norm = 0.976002 norm = 0.175446 norm = 2.4181 Prefactor = 1.22272 Prefactor = 24.6847 Normalizat = 0.984608 Prefactor = 0.941617 ********** ** 18 **HESSE ********** FCN= 79796.67 FROM HESSE STATUS=OK 545 CALLS 6911 TOTAL EDM= .13E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 3.4143 4.8659 .87535E-05 -1.5338 2 Prefactor .90783E-01 .12881 .45581E-05 -1.5648 3 Prefactor .58742 .21629 .60821E-06 -1.5555 4 Prefactor 1.4695 .72697 .13007E-05 -1.5466 5 norm 2.7827 .47378 .31031E-05 -1.5374 6 norm .10000E-03 .85252E-01 .45435E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 2.5151 1.8361 .20610E-05 -1.5391 8 norm .20283 .12872 .37542E-04 -1.5618 9 norm 6.6516 2.4171 .12447E-05 -1.5192 10 norm 4.8282 .61787 .59528E-06 -1.5268 11 Prefactor 2.9313 .91868 .58549E-05 -1.5366 12 Prefactor .10000E-03 2.1455 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 2.0842 1.2458 .17735E-05 -1.5419 14 Prefactor 18.136 19.020 .37470E-05 -1.4856 15 Prefactor .10000E-03 18.690 .82332E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 5.2103 1.6481 .70434E-05 -1.5251 17 Prefactor 9.1497 12.353 .52979E-05 -1.5103 18 Prefactor 3.2002 7.8248 .91113E-05 -1.5350 19 Prefactor 2.3899 2.9613 .21169E-05 -1.5399 20 Prefactor 8.3057 2.7959 .11127E-05 -1.5131 21 Prefactor .10001E-03 2.2582 .12865 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 11.728 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .97600 .40378 .89279E-06 -1.5510 24 norm .17545 3.1277 .17478 -1.5624 25 norm 2.4181 1.8949 .21055E-05 -1.5397 26 Prefactor 1.2227 1.3975 .27427E-05 -1.5487 27 Prefactor 24.685 2.1901 .64502E-06 -1.4714 28 Normalizat .98461 .76319E-01 .24589E-05 -.93548 29 Prefactor .94162 .46403E-01 .15949E-05 -.94702 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.32513e-09 Minuit parameter uncertainties: 1 4.86644 2 0.128814 3 0.216288 4 0.726972 5 0.473782 6 4.41386e-08 7 1.83614 8 0.12872 9 2.41716 10 0.617875 11 0.918682 12 1.80619e-07 13 1.24577 14 19.0266 15 2.93352e-06 16 1.64812 17 12.3561 18 7.82731 19 2.96147 20 2.79599 21 0.000299544 22 6.09636e-07 23 0.403783 24 1.4812 25 1.89499 26 1.39751 27 2.19007 28 0.0763272 29 0.0464045 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 79796.6690401 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 1.814e+01 1.903e+01 1.000e-04 1.000e+04 ( 1.000e-14) 327 Index: 2.517e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 681 Prefactor: 9.416e-01 4.640e-02 0.000e+00 1.000e+01 ( 1.000e+00) 682 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 683 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 680 Normalization: 9.846e-01 7.633e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.23 Ra Dec: 264.560 40.010 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 1.14e-08 +/- 1.19e-08 Energy Flux (Fixed Index): 3.24e-06 +/- 3.40e-06 TS (Fixed Index): 1.23 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 3.22e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.51e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/694214/likelihoodResults_618019201_620611201_4FGL_J1738.2+4000_monthly_bin147.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): 102 logL (Free Index) = 79795.3632832 delta logL = 1.30575688177 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 79795.3592167 delta logL = 1.30982340936 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.7828 1.0000 .10000E-03 10000. 2 'Index ' 3.7702 1.0000 .0000 10.000 3 'Normalizat' .95872 1.0000 .10000E-01 10.000 4 'Prefactor ' .95226 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+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= 79795.36 FROM MIGRAD STATUS=FAILED 105 CALLS 301 TOTAL EDM= .30E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.7801 37.637 .23939E-03 .24315E-04 2 Index 3.7707 2.9094 .81780E-02 .27427E-03 3 Normalizat .95872 .52844E-01 .31105E-03 .87717E-05 4 Prefactor .95226 .33185E-01 .19836E-03 .25677E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 79795.36 FROM SIMPLEX STATUS=UNCHANGED 82 CALLS 383 TOTAL EDM= .17E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.7801 37.637 .27247E-03 .24315E-04 2 Index 3.7707 2.9094 .12913E-02 .27427E-03 3 Normalizat .95872 .52844E-01 .55865E-04 .87717E-05 4 Prefactor .95226 .33185E-01 .42427E-04 .25677E-05 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 79795.36 FROM MIGRAD STATUS=CONVERGED 28 CALLS 411 TOTAL EDM= .34E-13 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.7801 7.1845 .95755E-05 .11398E-04 2 Index 3.7707 1.0874 .32712E-03 .22242E-05 3 Normalizat .95872 .72980E-01 .62211E-04 .87717E-05 4 Prefactor .95226 .45676E-01 .39671E-04 .25677E-05 ERR DEF= .500 Final values: Prefactor = 2.78005 Index = 3.77069 Normalizat = 0.958724 Prefactor = 0.952259 ********** ** 18 **HESSE ********** FCN= 79795.36 FROM HESSE STATUS=OK 23 CALLS 434 TOTAL EDM= .49E-13 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.7801 6.4490 .19151E-05 -1.5374 2 Index 3.7707 .97746 .13085E-04 -.24841 3 Normalizat .95872 .72941E-01 .62211E-04 -.94426 4 Prefactor .95226 .45637E-01 .39671E-04 -.94338 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.88477e-14 Minuit parameter uncertainties: 1 6.45061 2 0.98421 3 0.0729488 4 0.0456386 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/694214': 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) = 79795.3592165 delta logL = 1.30982357838 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 2.780e+00 6.451e+00 1.000e-04 1.000e+04 ( 1.000e-14) 327 Index: 3.771e+00 9.842e-01 0.000e+00 1.000e+01 (-1.000e+00) 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 681 Prefactor: 9.523e-01 4.564e-02 0.000e+00 1.000e+01 ( 1.000e+00) 682 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 683 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 680 Normalization: 9.587e-01 7.295e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.20 Ra Dec: 264.560 40.010 Photon Index (Free Index): 3.77 +/- 0.98 Photon Flux (Free Index): 2.92e-08 +/- 1.60e-08 Energy Flux (Free Index): 4.55e-06 +/- 2.56e-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/694214/cmap_HighResolution_618019201_620611201_4FGL_J1738.2+4000_monthly_bin147.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/694214 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.51e-03', comment='SUCCESS', photon_flux='1.14e-08', energy_flux2='4.55e-06', photon_flux_error='1.19e-08', dlogl='1.31e+00', energy_flux='3.24e-06', photon_flux2='2.92e-08', job_status='DONE', time_completed='2021-10-31 11:03:19.790584', photon_index_error2='0.98', photon_index2='3.77', ts='1.23', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='3.22e-08', energy_flux_error2='2.56e-06', EG='0.98', time_epoch_completed='1635703399.79', return_code='0', job_id='694214', GAL2='0.95', EG2='0.96', return_code2='0', energy_flux_error='3.40e-06', photon_flux_error2='1.60e-08', ts2='4.20', photon_index='2.52' WHERE bin_id='147' AND source_name='4FGL J1738.2+4000' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sun Oct 31 11:03:19 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 694214: <4FGL_J1738.2+4000_monthly_bin147> in cluster Done Job <4FGL_J1738.2+4000_monthly_bin147> was submitted from host by user in cluster at Sun Oct 31 07:40:22 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Oct 31 07:40:24 2021 was used as the home directory. was used as the working directory. Started at Sun Oct 31 07:40:24 2021 Terminated at Sun Oct 31 11:03:20 2021 Results reported at Sun Oct 31 11:03:20 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_monthly_bin147 264.56 40.0099 618019201 620611201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1738.2+4000 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 11861.00 sec. Max Memory : 1100 MB Average Memory : 421.28 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 12176 sec. Turnaround time : 12178 sec. The output (if any) is above this job summary.