/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 164 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 = 73220 number of fields = 22 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1738.2+4000_monthly_bin9 RA = 264.56, Dec = 40.0099 tmin = 260323201, tmax = 262915201 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='680650', job_status='RUN', time_executed='2021-10-31 07:13:30.241585', time_epoch_executed='1635689610.24' WHERE source_name='4FGL J1738.2+4000' and cadence='monthly' and bin_id='9' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/680650 Creating custom pfile directory: /scratch/kocevski/680650/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=260323201.0 && nMetStart<262915201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=260323201.0 && nMetStart<262915201.0' /Data/Flight/Level1/LPA Retrieving 456 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/680650/ft1_4FGL_J1738.2+4000_monthly_bin9.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=260323201.0 && nMetStart<262915201.0' /Data/Flight/Level1/LPA Retrieving 456 files... Done. Merging files... Merged file saved to: /scratch/kocevski/680650/ft2_4FGL_J1738.2+4000_monthly_bin9.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/680650/ft1_4FGL_J1738.2+4000_monthly_bin9.fits outfile=/scratch/kocevski/680650/ft1_filteredMKT_4FGL_J1738.2+4000_monthly_bin9.fits ra=264.56 dec=40.0099 rad=12.0 tmin=260323201.0 tmax=262915201.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 10.35 user 9.92 sys 0.36 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/680650/ft2_4FGL_J1738.2+4000_monthly_bin9.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/680650/ft2_4FGL_J1738.2+4000_monthly_bin9.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/680650/ft1_filteredMKT_4FGL_J1738.2+4000_monthly_bin9.fits evtable="EVENTS" outfile="/scratch/kocevski/680650/ft1_filtered_4FGL_J1738.2+4000_monthly_bin9.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.89 user 0.67 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/680650/ft1_filtered_4FGL_J1738.2+4000_monthly_bin9.fits" evtable="EVENTS" scfile=/scratch/kocevski/680650/ft2_4FGL_J1738.2+4000_monthly_bin9.fits sctable="SC_DATA" outfile=/scratch/kocevski/680650/ltcube_260323201_262915201_4FGL_J1738.2+4000_monthly_bin9.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/680650/ft2_4FGL_J1738.2+4000_monthly_bin9.fits .....................! real 117.92 user 117.33 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/680650/ft1_filtered_4FGL_J1738.2+4000_monthly_bin9.fits evtable="EVENTS" scfile=/scratch/kocevski/680650/ft2_4FGL_J1738.2+4000_monthly_bin9.fits sctable="SC_DATA" expcube=/scratch/kocevski/680650/ltcube_260323201_262915201_4FGL_J1738.2+4000_monthly_bin9.fits outfile=/scratch/kocevski/680650/expmap_260323201_262915201_4FGL_J1738.2+4000_monthly_bin9.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/680650/ltcube_260323201_262915201_4FGL_J1738.2+4000_monthly_bin9.fits .....................! real 191.38 user 186.64 sys 4.34 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/680650/ft1_filtered_4FGL_J1738.2+4000_monthly_bin9.fits scfile=/scratch/kocevski/680650/ft2_4FGL_J1738.2+4000_monthly_bin9.fits outfile=/scratch/kocevski/680650/cmap_260323201_262915201_4FGL_J1738.2+4000_monthly_bin9.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.80 user 0.58 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/680650/ft1_filtered_4FGL_J1738.2+4000_monthly_bin9.fits scfile=/scratch/kocevski/680650/ft2_4FGL_J1738.2+4000_monthly_bin9.fits outfile=/scratch/kocevski/680650/cmap_HighResolution_260323201_262915201_4FGL_J1738.2+4000_monthly_bin9.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.76 user 0.59 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/680650/ft1_filtered_4FGL_J1738.2+4000_monthly_bin9.fits evtable="EVENTS" scfile=/scratch/kocevski/680650/ft2_4FGL_J1738.2+4000_monthly_bin9.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/680650/Model_4FGL_J1738.2+4000_monthly_bin9.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/680650/ft1_filtered_4FGL_J1738.2+4000_monthly_bin9.fits.....................! real 574.08 user 571.09 sys 1.44 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/680650/ft1_filtered_4FGL_J1738.2+4000_monthly_bin9.fits', '/scratch/kocevski/680650/ft2_4FGL_J1738.2+4000_monthly_bin9.fits', expMap='/scratch/kocevski/680650/expmap_260323201_262915201_4FGL_J1738.2+4000_monthly_bin9.fits', expCube='/scratch/kocevski/680650/ltcube_260323201_262915201_4FGL_J1738.2+4000_monthly_bin9.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/680650/Model_4FGL_J1738.2+4000_monthly_bin9.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/680650/ft1_filtered_4FGL_J1738.2+4000_monthly_bin9.fits Spacecraft file(s): /scratch/kocevski/680650/ft2_4FGL_J1738.2+4000_monthly_bin9.fits Exposure map: /scratch/kocevski/680650/expmap_260323201_262915201_4FGL_J1738.2+4000_monthly_bin9.fits Exposure cube: /scratch/kocevski/680650/ltcube_260323201_262915201_4FGL_J1738.2+4000_monthly_bin9.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/680650/Model_4FGL_J1738.2+4000_monthly_bin9.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) = 84252.2303397 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 84252.0851306 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .45985 1.0000 .10000E-03 10000. 2 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 3.1271 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'norm ' 4.7346 1.0000 .10000E-03 10000. 6 'norm ' .12620 1.0000 .10000E-03 10000. 7 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 8 'norm ' .43784 1.0000 .10000E-03 10000. 9 'norm ' 9.4533 1.0000 .10000E-03 10000. 10 'norm ' 3.5511 1.0000 .10000E-03 10000. 11 'Prefactor ' 1.6889 1.0000 .10000E-03 10000. 12 'Prefactor ' 28.716 1.0000 .10000E-03 10000. 13 'norm ' 24.904 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.4001 1.0000 .10000E-03 10000. 15 'Prefactor ' .10435E-03 1.0000 .10000E-03 10000. 16 'norm ' 4.3957 1.0000 .10000E-03 10000. 17 'Prefactor ' .10246E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10537E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 18.233 1.0000 .10000E-03 10000. 20 'Prefactor ' 8.0450 1.0000 .10000E-03 10000. 21 'Prefactor ' 14.972 1.0000 .10000E-03 10000. 22 'Prefactor ' 10.638 1.0000 .10000E-03 10000. 23 'norm ' 1.9671 1.0000 .10000E-03 10000. 24 'norm ' .10481E-03 1.0000 .10000E-03 10000. 25 'norm ' .92974 1.0000 .10000E-03 10000. 26 'Prefactor ' .37296 1.0000 .10000E-03 10000. 27 'Prefactor ' 3.6287 1.0000 .10000E-03 10000. 28 'Normalizat' 1.2294 1.0000 .10000E-01 10.000 29 'Prefactor ' .89313 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. FCN= 84252.09 FROM MIGRAD STATUS=CONVERGED 736 CALLS 3317 TOTAL EDM= .32E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .45659 2.3341 .0000 .30859E-02 2 Prefactor .10000E-03 .70821E-01 .0000 ** at limit ** 3 Prefactor 3.1271 .48858 .0000 .40792E-02 4 Prefactor .10000E-03 .16800 .0000 ** at limit ** 5 norm 4.7346 .61065 .0000 -.28821E-03 6 norm .12627 .18748 .0000 .39642E-01 7 Prefactor .10000E-03 .56304 .0000 ** at limit ** 8 norm .43790 .22681 .0000 .16732E-01 9 norm 9.4539 2.7910 .0000 -.14506E-02 10 norm 3.5511 .60363 .0000 .28969E-02 11 Prefactor 1.6890 .97370 .0000 .56902E-02 12 Prefactor 28.714 10.737 .0000 .24305E-02 13 norm 24.904 2.7835 .0000 -.53290E-02 14 Prefactor 1.4009 65.807 .0000 -.27565E-03 15 Prefactor .10001E-03 11.184 .0000 ** at limit ** 16 norm 4.3959 2.0583 .0000 .65079E-01 17 Prefactor .10009E-03 7.4297 .0000 ** at limit ** 18 Prefactor .10000E-03 5.1648 .0000 ** at limit ** 19 Prefactor 18.233 4.8548 .0000 -.96878E-03 20 Prefactor 8.0432 2.8688 .0000 .84543E-03 21 Prefactor 14.977 10.208 .0000 -.28710E-02 22 Prefactor 10.636 21.279 .0000 .51136E-02 23 norm 1.9671 .50246 .0000 .84705E-04 24 norm .10011E-03 8.3244 .0000 ** at limit ** 25 norm .93991 1.8106 .0000 .17198E-01 26 Prefactor .37337 1.1421 .0000 .42519 27 Prefactor 3.6288 1.2547 .0000 .66871E-01 28 Normalizat 1.2293 .67798E-01 .0000 .85564E-03 29 Prefactor .89312 .40044E-01 .0000 .11994E-02 ERR DEF= .500 Final values: norm = 0.456592 Prefactor = 0.0001 Prefactor = 3.12713 Prefactor = 0.0001 norm = 4.73461 norm = 0.126269 Prefactor = 0.0001 norm = 0.437896 norm = 9.45392 norm = 3.55114 Prefactor = 1.68901 Prefactor = 28.7144 norm = 24.9042 Prefactor = 1.40091 Prefactor = 0.00010001 norm = 4.39588 Prefactor = 0.000100085 Prefactor = 0.0001 Prefactor = 18.233 Prefactor = 8.04317 Prefactor = 14.9766 Prefactor = 10.6359 norm = 1.96713 norm = 0.000100106 norm = 0.939905 Prefactor = 0.373373 Prefactor = 3.62876 Normalizat = 1.22933 Prefactor = 0.893116 ********** ** 18 **HESSE ********** FCN= 84252.09 FROM HESSE STATUS=OK 573 CALLS 3890 TOTAL EDM= .18E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .45659 2.3797 .16697 -1.5573 2 Prefactor .10000E-03 .36778 .12709E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 3.1271 .42262 .64816E-04 -1.5354 4 Prefactor .10000E-03 .36876 .22637E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 4.7346 .60999 .78209E-04 -1.5273 6 norm .12627 .18781 .14712E-03 -1.5637 7 Prefactor .10000E-03 .58169 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .43790 .19720 .93557E-03 -1.5576 9 norm 9.4539 2.7846 .13034E-03 -1.5093 10 norm 3.5511 .60250 .88014E-04 -1.5331 11 Prefactor 1.6890 .96431 .20682E-03 -1.5448 12 Prefactor 28.714 10.736 .74763E-04 -1.4636 13 norm 24.904 2.7098 .80271E-04 -1.4709 14 Prefactor 1.4009 63.144 .36672E-03 -1.5471 15 Prefactor .10001E-03 11.228 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 4.3959 2.0487 .96046E-03 -1.5289 17 Prefactor .10009E-03 7.5062 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 5.2042 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 18.233 4.8489 .93797E-04 -1.4854 20 Prefactor 8.0432 2.8564 .14136E-03 -1.5141 21 Prefactor 14.977 10.135 .10351E-03 -1.4934 22 Prefactor 10.636 21.141 .12284E-03 -1.5056 23 norm 1.9671 .50315 .10059E-03 -1.5427 24 norm .10011E-03 8.3646 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm .93991 1.8059 .51475E-03 -1.5514 26 Prefactor .37337 1.1315 .21481E-02 -1.5586 27 Prefactor 3.6288 1.2537 .92233E-03 -1.5327 28 Normalizat 1.2293 .80963E-01 .30622E-03 -.85701 29 Prefactor .89312 .48410E-01 .21811E-03 -.96382 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.80202e-07 Minuit parameter uncertainties: 1 2.08465 2 2.61601e-06 3 0.422616 4 2.53229e-07 5 0.609994 6 0.18781 7 2.3481e-06 8 0.197199 9 2.78459 10 0.602505 11 0.964324 12 10.7365 13 2.70981 14 18.8311 15 0.000685996 16 2.0487 17 0.00159982 18 6.04528e-06 19 4.849 20 2.85649 21 10.1366 22 21.1557 23 0.503154 24 0.00188596 25 1.80598 26 1.13155 27 1.25371 28 0.0809708 29 0.0484119 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 84252.0851129 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 1.401e+00 1.883e+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: 8.931e-01 4.841e-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.229e+00 8.097e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.01 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 2.63e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.05e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/680650/likelihoodResults_260323201_262915201_4FGL_J1738.2+4000_monthly_bin9.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) = 84251.71377 delta logL = 0.371342883998 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 84251.632163 delta logL = 0.452949889077 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .46823E-01 1.0000 .10000E-03 10000. 2 'Index ' 5.2511 1.0000 .0000 10.000 3 'Normalizat' 1.2085 1.0000 .10000E-01 10.000 4 'Prefactor ' .90140 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= 84251.63 FROM MIGRAD STATUS=FAILED 103 CALLS 330 TOTAL EDM= .12E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .46725E-01 2.2460 .50811E-03 .21790 2 Index 5.2523 7.2753 .87951E-02 .28529E-02 3 Normalizat 1.2085 .36582E-01 .30840E-03 -.30080E-04 4 Prefactor .90141 .22466E-01 .21719E-03 -.29313E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 84251.63 FROM SIMPLEX STATUS=UNCHANGED 89 CALLS 419 TOTAL EDM= .82E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .46725E-01 2.2460 .30633E-04 .21790 2 Index 5.2523 7.2753 .12512E-02 .28529E-02 3 Normalizat 1.2085 .36582E-01 .32677E-04 -.30080E-04 4 Prefactor .90141 .22466E-01 .27956E-04 -.29313E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 84251.63 FROM MIGRAD STATUS=CONVERGED 38 CALLS 457 TOTAL EDM= .64E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .46725E-01 2.5304 .10162E-03 -.51909E-03 2 Index 5.2523 7.3575 .17590E-02 -.16235E-04 3 Normalizat 1.2085 .61028E-01 .12336E-04 -.29490E-04 4 Prefactor .90141 .37111E-01 .86875E-05 -.29313E-04 ERR DEF= .500 Final values: Prefactor = 0.046725 Index = 5.2523 Normalizat = 1.20847 Prefactor = 0.901407 ********** ** 18 **HESSE ********** FCN= 84251.63 FROM HESSE STATUS=OK 25 CALLS 482 TOTAL EDM= .70E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .46725E-01 .92600 .40649E-05 -1.5665 2 Index 5.2523 3.2072 .70361E-04 .50481E-01 3 Normalizat 1.2085 .79384E-01 .24672E-05 -.86341 4 Prefactor .90141 .48177E-01 .17375E-05 -.96092 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.96534e-12 Minuit parameter uncertainties: 1 0.415578 2 3.48273 3 0.0793915 4 0.0481795 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/680650': 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) = 84251.6321626 delta logL = 0.452950344799 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 4.672e-02 4.156e-01 1.000e-04 1.000e+04 ( 1.000e-14) 327 Index: 5.252e+00 3.483e+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: 9.014e-01 4.818e-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.208e+00 7.939e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.02 Ra Dec: 264.560 40.010 Photon Index (Free Index): 5.25 +/- 3.48 Photon Flux (Free Index): 1.82e-08 +/- 1.96e-08 Energy Flux (Free Index): 2.37e-06 +/- 2.72e-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/680650/cmap_HighResolution_260323201_262915201_4FGL_J1738.2+4000_monthly_bin9.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/680650 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.05e-03', comment='SUCCESS', energy_flux2='2.37e-06', dlogl='4.53e-01', photon_flux2='1.82e-08', job_status='DONE', time_completed='2021-10-31 09:37:46.393758', photon_index_error2='3.48', photon_index2='5.25', ts='0.01', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='2.63e-08', energy_flux_error2='2.72e-06', EG='1.23', time_epoch_completed='1635698266.39', return_code='0', job_id='680650', GAL2='0.90', EG2='1.21', return_code2='0', photon_flux_error2='1.96e-08', ts2='1.02', photon_index='2.52' WHERE bin_id='9' AND source_name='4FGL J1738.2+4000' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sun Oct 31 09:37:46 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 680650: <4FGL_J1738.2+4000_monthly_bin9> in cluster Done Job <4FGL_J1738.2+4000_monthly_bin9> was submitted from host by user in cluster at Sun Oct 31 06:50:10 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Oct 31 07:10:21 2021 was used as the home directory. was used as the working directory. Started at Sun Oct 31 07:10:21 2021 Terminated at Sun Oct 31 09:37:47 2021 Results reported at Sun Oct 31 09:37:47 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_monthly_bin9 264.56 40.0099 260323201 262915201 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 : 8422.00 sec. Max Memory : 1262 MB Average Memory : 423.19 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 8849 sec. Turnaround time : 10057 sec. The output (if any) is above this job summary.