/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 229 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 = 73197 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1738.2+4000_monthly_bin132 RA = 264.56, Dec = 40.0099 tmin = 579139201, tmax = 581731201 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='692882', job_status='RUN', time_executed='2021-10-31 07:39:10.408413', time_epoch_executed='1635691150.41' WHERE source_name='4FGL J1738.2+4000' and cadence='monthly' and bin_id='132' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/692882 Creating custom pfile directory: /scratch/kocevski/692882/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=579139201.0 && nMetStart<581731201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=579139201.0 && nMetStart<581731201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/692882/ft1_4FGL_J1738.2+4000_monthly_bin132.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=579139201.0 && nMetStart<581731201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/692882/ft2_4FGL_J1738.2+4000_monthly_bin132.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/692882/ft1_4FGL_J1738.2+4000_monthly_bin132.fits outfile=/scratch/kocevski/692882/ft1_filteredMKT_4FGL_J1738.2+4000_monthly_bin132.fits ra=264.56 dec=40.0099 rad=12.0 tmin=579139201.0 tmax=581731201.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 70.00 user 27.38 sys 1.86 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/692882/ft2_4FGL_J1738.2+4000_monthly_bin132.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/692882/ft2_4FGL_J1738.2+4000_monthly_bin132.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/692882/ft1_filteredMKT_4FGL_J1738.2+4000_monthly_bin132.fits evtable="EVENTS" outfile="/scratch/kocevski/692882/ft1_filtered_4FGL_J1738.2+4000_monthly_bin132.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 5.02 user 0.67 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/692882/ft1_filtered_4FGL_J1738.2+4000_monthly_bin132.fits" evtable="EVENTS" scfile=/scratch/kocevski/692882/ft2_4FGL_J1738.2+4000_monthly_bin132.fits sctable="SC_DATA" outfile=/scratch/kocevski/692882/ltcube_579139201_581731201_4FGL_J1738.2+4000_monthly_bin132.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/692882/ft2_4FGL_J1738.2+4000_monthly_bin132.fits .....................! real 118.35 user 117.38 sys 0.46 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/692882/ft1_filtered_4FGL_J1738.2+4000_monthly_bin132.fits evtable="EVENTS" scfile=/scratch/kocevski/692882/ft2_4FGL_J1738.2+4000_monthly_bin132.fits sctable="SC_DATA" expcube=/scratch/kocevski/692882/ltcube_579139201_581731201_4FGL_J1738.2+4000_monthly_bin132.fits outfile=/scratch/kocevski/692882/expmap_579139201_581731201_4FGL_J1738.2+4000_monthly_bin132.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/692882/ltcube_579139201_581731201_4FGL_J1738.2+4000_monthly_bin132.fits .....................! real 191.87 user 186.04 sys 5.40 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/692882/ft1_filtered_4FGL_J1738.2+4000_monthly_bin132.fits scfile=/scratch/kocevski/692882/ft2_4FGL_J1738.2+4000_monthly_bin132.fits outfile=/scratch/kocevski/692882/cmap_579139201_581731201_4FGL_J1738.2+4000_monthly_bin132.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 3.51 user 0.64 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/692882/ft1_filtered_4FGL_J1738.2+4000_monthly_bin132.fits scfile=/scratch/kocevski/692882/ft2_4FGL_J1738.2+4000_monthly_bin132.fits outfile=/scratch/kocevski/692882/cmap_HighResolution_579139201_581731201_4FGL_J1738.2+4000_monthly_bin132.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.60 sys 0.18 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/692882/ft1_filtered_4FGL_J1738.2+4000_monthly_bin132.fits evtable="EVENTS" scfile=/scratch/kocevski/692882/ft2_4FGL_J1738.2+4000_monthly_bin132.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/692882/Model_4FGL_J1738.2+4000_monthly_bin132.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/692882/ft1_filtered_4FGL_J1738.2+4000_monthly_bin132.fits.....................! real 731.24 user 728.20 sys 1.59 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/692882/ft1_filtered_4FGL_J1738.2+4000_monthly_bin132.fits', '/scratch/kocevski/692882/ft2_4FGL_J1738.2+4000_monthly_bin132.fits', expMap='/scratch/kocevski/692882/expmap_579139201_581731201_4FGL_J1738.2+4000_monthly_bin132.fits', expCube='/scratch/kocevski/692882/ltcube_579139201_581731201_4FGL_J1738.2+4000_monthly_bin132.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/692882/Model_4FGL_J1738.2+4000_monthly_bin132.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/692882/ft1_filtered_4FGL_J1738.2+4000_monthly_bin132.fits Spacecraft file(s): /scratch/kocevski/692882/ft2_4FGL_J1738.2+4000_monthly_bin132.fits Exposure map: /scratch/kocevski/692882/expmap_579139201_581731201_4FGL_J1738.2+4000_monthly_bin132.fits Exposure cube: /scratch/kocevski/692882/ltcube_579139201_581731201_4FGL_J1738.2+4000_monthly_bin132.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/692882/Model_4FGL_J1738.2+4000_monthly_bin132.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) = 109222.135403 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 109221.939751 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 19.775 1.0000 .10000E-03 10000. 2 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 2.5186 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.3333 1.0000 .10000E-03 10000. 5 'norm ' 2.2254 1.0000 .10000E-03 10000. 6 'norm ' 1.7241 1.0000 .10000E-03 10000. 7 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 8 'norm ' .95308 1.0000 .10000E-03 10000. 9 'norm ' 1.4966 1.0000 .10000E-03 10000. 10 'norm ' 1.5752 1.0000 .10000E-03 10000. 11 'Prefactor ' 1.5084 1.0000 .10000E-03 10000. 12 'Prefactor ' .10159E-01 1.0000 .10000E-03 10000. 13 'norm ' 3.8638 1.0000 .10000E-03 10000. 14 'Prefactor ' 10.324 1.0000 .10000E-03 10000. 15 'Prefactor ' 7.3631 1.0000 .10000E-03 10000. 16 'norm ' 11.706 1.0000 .10000E-03 10000. 17 'Prefactor ' 9.8563 1.0000 .10000E-03 10000. 18 'Prefactor ' 5.3511 1.0000 .10000E-03 10000. 19 'Prefactor ' .10060E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 4.8546 1.0000 .10000E-03 10000. 21 'Prefactor ' 4.6162 1.0000 .10000E-03 10000. 22 'Prefactor ' 26.575 1.0000 .10000E-03 10000. 23 'norm ' .10033E-03 1.0000 .10000E-03 10000. 24 'norm ' 17.601 1.0000 .10000E-03 10000. 25 'norm ' 5.8147 1.0000 .10000E-03 10000. 26 'Prefactor ' .10024E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' 4.9885 1.0000 .10000E-03 10000. 28 'Normalizat' 1.0567 1.0000 .10000E-01 10.000 29 'Prefactor ' .99522 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 109221.9 FROM MIGRAD STATUS=CONVERGED 92 CALLS 2696 TOTAL EDM= .10E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 19.776 4.3478 -.17112E-06 .26747E-02 2 Prefactor .10000E-03 .34389 .12373E-06** at limit ** 3 Prefactor 2.5188 .32446 -.46739E-08 .91103E-03 4 Prefactor 1.3333 .56241 -.36201E-07 -.10008E-03 5 norm 2.2255 .39345 .31433E-07 .46667E-03 6 norm 1.7241 .24936 -.17570E-07 -.47596E-03 7 Prefactor .10000E-03 1.3444 -.72377E-06** at limit ** 8 norm .95307 .18281 -.12843E-07 -.46408E-03 9 norm 1.4970 1.6594 .33742E-06 .72457E-03 10 norm 1.5752 .41080 -.30787E-07 -.39013E-03 11 Prefactor 1.5084 .66439 .14359E-07 -.47127E-04 12 Prefactor .10005E-03 106.94 .38398E-05** at limit ** 13 norm 3.8642 1.2967 -.64947E-07 -.35558E-03 14 Prefactor 10.323 1.0732 .40030E-07 -.49462E-03 15 Prefactor 7.3590 1.0864 .43855E-07 -.22988E-03 16 norm 11.706 1.7195 -.46411E-06 -.67818E-02 17 Prefactor 9.8568 2.4948 -.11292E-06 .46692E-02 18 Prefactor 5.3518 2.5631 -.18726E-06 .39063E-02 19 Prefactor .10000E-03 3.9248 -.10739E-05** at limit ** 20 Prefactor 4.8546 1.3920 .22334E-06 .15356E-02 21 Prefactor 4.6156 3.7888 .64113E-07 -.32718E-02 22 Prefactor 26.574 1.1099 .95994E-08 -.12446E-02 23 norm .10000E-03 .92937 -.25831E-06** at limit ** 24 norm 17.593 5.7525 .36425E-06 -.84170E-02 25 norm 5.8147 1.5669 .24509E-06 .21414E-02 26 Prefactor .10000E-03 .74953 -.75899E-07** at limit ** 27 Prefactor 4.9885 1.3181 -.12535E-06 -.44786E-03 28 Normalizat 1.0567 .67646E-01 .78418E-07 .19106E-03 29 Prefactor .99522 .41043E-01 .43419E-07 .38898E-03 ERR DEF= .500 Final values: norm = 19.776 Prefactor = 0.0001 Prefactor = 2.51877 Prefactor = 1.33332 norm = 2.22545 norm = 1.72413 Prefactor = 0.0001 norm = 0.953074 norm = 1.49698 norm = 1.57524 Prefactor = 1.50844 Prefactor = 0.000100049 norm = 3.86422 Prefactor = 10.3228 Prefactor = 7.35898 norm = 11.7063 Prefactor = 9.85679 Prefactor = 5.35176 Prefactor = 0.0001 Prefactor = 4.85463 Prefactor = 4.61563 Prefactor = 26.5743 norm = 0.0001 norm = 17.5925 norm = 5.81466 Prefactor = 0.0001 Prefactor = 4.9885 Normalizat = 1.0567 Prefactor = 0.995215 ********** ** 18 **HESSE ********** FCN= 109221.9 FROM HESSE STATUS=OK 663 CALLS 3359 TOTAL EDM= .11E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 19.776 9.7162 .22517E-02 -1.4818 2 Prefactor .10000E-03 .48490E-01 .37854E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 2.5188 .36889 .64357E-02 -1.5391 4 Prefactor 1.3333 .57304 .95028E-02 -1.5477 5 norm 2.2255 .39402 .68905E-02 -1.5410 6 norm 1.7241 .25246 .79963E-02 -1.5445 7 Prefactor .10000E-03 .29995 .61723E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .95307 .18872 .12999E-01 -1.5513 9 norm 1.4970 1.6853 .87548E-02 -1.5463 10 norm 1.5752 .41721 .84641E-02 -1.5457 11 Prefactor 1.5084 .66965 .87087E-02 -1.5462 12 Prefactor .10005E-03 1.7159 .16280 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 3.8642 1.4034 .51323E-02 -1.5315 14 Prefactor 10.323 16.336 .31176E-02 -1.5065 15 Prefactor 7.3590 22.017 .36952E-02 -1.5165 16 norm 11.706 1.7559 .29271E-02 -1.5024 17 Prefactor 9.8568 6.7869 .31909E-02 -1.5080 18 Prefactor 5.3518 6.5614 .43433E-02 -1.5245 19 Prefactor .10000E-03 .74991 .90712E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 4.8546 1.9703 .45643E-02 -1.5267 21 Prefactor 4.6156 7.1444 .46834E-02 -1.5278 22 Prefactor 26.574 18.507 .19428E-02 -1.4677 23 norm .10000E-03 .86121E-01 .30634E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 17.593 13.036 .23867E-02 -1.4869 25 norm 5.8147 1.9210 .41638E-02 -1.5226 26 Prefactor .10000E-03 .23369 .56586E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor 4.9885 1.3200 .45013E-02 -1.5261 28 Normalizat 1.0567 .57375E-01 .71468E-01 -.91155 29 Prefactor .99522 .34238E-01 .46207E-01 -.92889 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.09918e-06 Minuit parameter uncertainties: 1 9.71695 2 2.36646e-07 3 0.368895 4 0.573045 5 0.394019 6 0.252456 7 4.53967e-06 8 0.188725 9 1.68532 10 0.417209 11 0.669654 12 0.000582522 13 1.40339 14 16.3435 15 22.0415 16 1.75594 17 6.78748 18 6.56228 19 1.01815e-05 20 1.9703 21 7.14573 22 18.5105 23 1.14431e-06 24 13.0381 25 1.92098 26 4.08944e-07 27 1.32002 28 0.0573783 29 0.0342388 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 109221.939701 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 1.032e+01 1.634e+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.952e-01 3.424e-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: 1.057e+00 5.738e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.53 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 2.49e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.94e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/692882/likelihoodResults_579139201_581731201_4FGL_J1738.2+4000_monthly_bin132.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) = 109221.349085 delta logL = 0.590616443224 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 109221.346127 delta logL = 0.593574309809 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.4437 1.0000 .10000E-03 10000. 2 'Index ' 3.8696 1.0000 .0000 10.000 3 'Normalizat' 1.0380 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0028 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= 109221.3 FROM MIGRAD STATUS=FAILED 94 CALLS 347 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.4391 39.723 .17944E-03 -.83122E-04 2 Index 3.8710 3.8863 .83627E-02 .35627E-02 3 Normalizat 1.0380 .46964E-01 .31881E-03 -.11354E-03 4 Prefactor 1.0028 .28729E-01 .20345E-03 -.12159E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 109221.3 FROM SIMPLEX STATUS=UNCHANGED 83 CALLS 430 TOTAL EDM= .13E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.4391 39.723 .15293E-03 -.83122E-04 2 Index 3.8710 3.8863 .10306E-02 .35627E-02 3 Normalizat 1.0380 .46964E-01 .62035E-04 -.11354E-03 4 Prefactor 1.0028 .28729E-01 .23185E-04 -.12159E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 109221.3 FROM MIGRAD STATUS=CONVERGED 32 CALLS 462 TOTAL EDM= .14E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.4391 41.092 .71777E-05 -.96300E-04 2 Index 3.8710 3.9386 .16725E-02 -.95706E-05 3 Normalizat 1.0380 .65727E-01 .12753E-04 -.11411E-03 4 Prefactor 1.0028 .40687E-01 .81381E-05 -.12070E-03 ERR DEF= .500 Final values: Prefactor = 1.43907 Index = 3.87097 Normalizat = 1.03799 Prefactor = 1.00285 ********** ** 18 **HESSE ********** FCN= 109221.3 FROM HESSE STATUS=OK 23 CALLS 485 TOTAL EDM= .21E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.4391 6.1703 .14355E-05 -1.5468 2 Index 3.8710 1.7373 .66901E-04 -.22777 3 Normalizat 1.0380 .67069E-01 .25505E-05 -.91768 4 Prefactor 1.0028 .41240E-01 .16276E-05 -.92635 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.06822e-12 Minuit parameter uncertainties: 1 5.9605 2 1.7764 3 0.0670741 4 0.0412413 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/692882': 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) = 109221.346127 delta logL = 0.593574728395 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 1.439e+00 5.961e+00 1.000e-04 1.000e+04 ( 1.000e-14) 327 Index: 3.871e+00 1.776e+00 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: 1.003e+00 4.124e-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: 1.038e+00 6.707e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.91 Ra Dec: 264.560 40.010 Photon Index (Free Index): 3.87 +/- 1.78 Photon Flux (Free Index): 1.91e-08 +/- 1.55e-08 Energy Flux (Free Index): 2.93e-06 +/- 2.39e-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/692882/cmap_HighResolution_579139201_581731201_4FGL_J1738.2+4000_monthly_bin132.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/692882 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-03', comment='SUCCESS', energy_flux2='2.93e-06', dlogl='5.94e-01', photon_flux2='1.91e-08', job_status='DONE', time_completed='2021-10-31 10:28:54.080994', photon_index_error2='1.78', photon_index2='3.87', ts='0.53', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='2.49e-08', energy_flux_error2='2.39e-06', EG='1.06', time_epoch_completed='1635701334.08', return_code='0', job_id='692882', GAL2='1.00', EG2='1.04', return_code2='0', photon_flux_error2='1.55e-08', ts2='1.91', photon_index='2.52' WHERE bin_id='132' AND source_name='4FGL J1738.2+4000' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sun Oct 31 10:28:54 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 692882: <4FGL_J1738.2+4000_monthly_bin132> in cluster Done Job <4FGL_J1738.2+4000_monthly_bin132> was submitted from host by user in cluster at Sun Oct 31 07:35:11 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Oct 31 07:35:13 2021 was used as the home directory. was used as the working directory. Started at Sun Oct 31 07:35:13 2021 Terminated at Sun Oct 31 10:28:55 2021 Results reported at Sun Oct 31 10:28:55 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_monthly_bin132 264.56 40.0099 579139201 581731201 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 : 9937.00 sec. Max Memory : 1264 MB Average Memory : 458.08 MB Total Requested Memory : - Delta Memory : - Max Swap : 3 MB Max Processes : 5 Max Threads : 21 Run time : 10421 sec. Turnaround time : 10424 sec. The output (if any) is above this job summary.