/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 114 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 = 73147 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1738.2+4000_monthly_bin139 RA = 264.56, Dec = 40.0099 tmin = 597283201, tmax = 599875201 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='692893', job_status='RUN', time_executed='2021-10-31 07:37:17.323058', time_epoch_executed='1635691037.32' WHERE source_name='4FGL J1738.2+4000' and cadence='monthly' and bin_id='139' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/692893 Creating custom pfile directory: /scratch/kocevski/692893/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=597283201.0 && nMetStart<599875201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=597283201.0 && nMetStart<599875201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/692893/ft1_4FGL_J1738.2+4000_monthly_bin139.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=597283201.0 && nMetStart<599875201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/692893/ft2_4FGL_J1738.2+4000_monthly_bin139.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/692893/ft1_4FGL_J1738.2+4000_monthly_bin139.fits outfile=/scratch/kocevski/692893/ft1_filteredMKT_4FGL_J1738.2+4000_monthly_bin139.fits ra=264.56 dec=40.0099 rad=12.0 tmin=597283201.0 tmax=599875201.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 27.71 user 27.10 sys 0.56 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/692893/ft2_4FGL_J1738.2+4000_monthly_bin139.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/692893/ft2_4FGL_J1738.2+4000_monthly_bin139.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/692893/ft1_filteredMKT_4FGL_J1738.2+4000_monthly_bin139.fits evtable="EVENTS" outfile="/scratch/kocevski/692893/ft1_filtered_4FGL_J1738.2+4000_monthly_bin139.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.84 user 0.65 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/692893/ft1_filtered_4FGL_J1738.2+4000_monthly_bin139.fits" evtable="EVENTS" scfile=/scratch/kocevski/692893/ft2_4FGL_J1738.2+4000_monthly_bin139.fits sctable="SC_DATA" outfile=/scratch/kocevski/692893/ltcube_597283201_599875201_4FGL_J1738.2+4000_monthly_bin139.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/692893/ft2_4FGL_J1738.2+4000_monthly_bin139.fits .....................! real 112.40 user 111.84 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/692893/ft1_filtered_4FGL_J1738.2+4000_monthly_bin139.fits evtable="EVENTS" scfile=/scratch/kocevski/692893/ft2_4FGL_J1738.2+4000_monthly_bin139.fits sctable="SC_DATA" expcube=/scratch/kocevski/692893/ltcube_597283201_599875201_4FGL_J1738.2+4000_monthly_bin139.fits outfile=/scratch/kocevski/692893/expmap_597283201_599875201_4FGL_J1738.2+4000_monthly_bin139.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/692893/ltcube_597283201_599875201_4FGL_J1738.2+4000_monthly_bin139.fits .....................! real 191.53 user 186.55 sys 4.62 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/692893/ft1_filtered_4FGL_J1738.2+4000_monthly_bin139.fits scfile=/scratch/kocevski/692893/ft2_4FGL_J1738.2+4000_monthly_bin139.fits outfile=/scratch/kocevski/692893/cmap_597283201_599875201_4FGL_J1738.2+4000_monthly_bin139.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.78 user 0.60 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/692893/ft1_filtered_4FGL_J1738.2+4000_monthly_bin139.fits scfile=/scratch/kocevski/692893/ft2_4FGL_J1738.2+4000_monthly_bin139.fits outfile=/scratch/kocevski/692893/cmap_HighResolution_597283201_599875201_4FGL_J1738.2+4000_monthly_bin139.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.78 user 0.60 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/692893/ft1_filtered_4FGL_J1738.2+4000_monthly_bin139.fits evtable="EVENTS" scfile=/scratch/kocevski/692893/ft2_4FGL_J1738.2+4000_monthly_bin139.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/692893/Model_4FGL_J1738.2+4000_monthly_bin139.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/692893/ft1_filtered_4FGL_J1738.2+4000_monthly_bin139.fits.....................! real 816.32 user 812.93 sys 1.71 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/692893/ft1_filtered_4FGL_J1738.2+4000_monthly_bin139.fits', '/scratch/kocevski/692893/ft2_4FGL_J1738.2+4000_monthly_bin139.fits', expMap='/scratch/kocevski/692893/expmap_597283201_599875201_4FGL_J1738.2+4000_monthly_bin139.fits', expCube='/scratch/kocevski/692893/ltcube_597283201_599875201_4FGL_J1738.2+4000_monthly_bin139.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/692893/Model_4FGL_J1738.2+4000_monthly_bin139.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/692893/ft1_filtered_4FGL_J1738.2+4000_monthly_bin139.fits Spacecraft file(s): /scratch/kocevski/692893/ft2_4FGL_J1738.2+4000_monthly_bin139.fits Exposure map: /scratch/kocevski/692893/expmap_597283201_599875201_4FGL_J1738.2+4000_monthly_bin139.fits Exposure cube: /scratch/kocevski/692893/ltcube_597283201_599875201_4FGL_J1738.2+4000_monthly_bin139.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/692893/Model_4FGL_J1738.2+4000_monthly_bin139.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) = 119285.449291 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 119284.472259 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .10139E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10016E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .59324 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.0051 1.0000 .10000E-03 10000. 5 'norm ' 3.5471 1.0000 .10000E-03 10000. 6 'norm ' .43129 1.0000 .10000E-03 10000. 7 'Prefactor ' 2.3340 1.0000 .10000E-03 10000. 8 'norm ' .23347 1.0000 .10000E-03 10000. 9 'norm ' 1.3476 1.0000 .10000E-03 10000. 10 'norm ' 2.6249 1.0000 .10000E-03 10000. 11 'Prefactor ' 2.0065 1.0000 .10000E-03 10000. 12 'Prefactor ' 1.1590 1.0000 .10000E-03 10000. 13 'norm ' 19.703 1.0000 .10000E-03 10000. 14 'Prefactor ' .14002E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 16 'norm ' 4.4677 1.0000 .10000E-03 10000. 17 'Prefactor ' 6.1588 1.0000 .10000E-03 10000. 18 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .13945E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 3.1711 1.0000 .10000E-03 10000. 21 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' 28.399 1.0000 .10000E-03 10000. 23 'norm ' .26400E-01 1.0000 .10000E-03 10000. 24 'norm ' 12.293 1.0000 .10000E-03 10000. 25 'norm ' 3.4008 1.0000 .10000E-03 10000. 26 'Prefactor ' .22628 1.0000 .10000E-03 10000. 27 'Prefactor ' 6.2189 1.0000 .10000E-03 10000. 28 'Normalizat' 1.0375 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.0421 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= 119284.5 FROM MIGRAD STATUS=CONVERGED 779 CALLS 3416 TOTAL EDM= .13E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .10000E-03 1.2673 .0000 ** at limit ** 2 Prefactor .10000E-03 .47534E-01 .0000 ** at limit ** 3 Prefactor .59330 .25105 .0000 .15843E-01 4 Prefactor 1.0052 .56269 .0000 .14342E-01 5 norm 3.5471 .45035 .0000 -.10564E-02 6 norm .43122 .20455 .0000 .20244E-01 7 Prefactor 2.3380 1.6744 .0000 .23418 8 norm .23341 .14762 .0000 .27336E-01 9 norm 1.3474 1.8015 .0000 .27687 10 norm 2.6248 .43217 .0000 .51466E-02 11 Prefactor 2.0068 .68595 .0000 .29604E-02 12 Prefactor 1.1603 7.0077 .0000 .41185E-02 13 norm 19.699 1.9308 .0000 -.14834E-02 14 Prefactor .10001E-03 39.259 .0000 ** at limit ** 15 Prefactor .10000E-03 13.617 .0000 ** at limit ** 16 norm 4.4679 1.3830 .0000 .11273 17 Prefactor 6.1599 6.7584 .0000 .21515E-02 18 Prefactor .10000E-03 1.7945 .0000 ** at limit ** 19 Prefactor .10000E-03 .66185 .0000 ** at limit ** 20 Prefactor 3.1709 1.7029 .0000 .48448E-02 21 Prefactor .10000E-03 1.7687 .0000 ** at limit ** 22 Prefactor 28.399 14.594 .0000 -.71232E-04 23 norm .26500E-01 .80443E-01 .0000 .31719E-01 24 norm 12.273 12.410 .0000 -.17211E-02 25 norm 3.4011 1.8667 .0000 .78822E-02 26 Prefactor .22035 .50098 .0000 .94459E-02 27 Prefactor 6.2189 1.3080 .0000 .27860E-02 28 Normalizat 1.0374 .55691E-01 .0000 .29956E-04 29 Prefactor 1.0421 .33426E-01 .0000 -.47096E-03 ERR DEF= .500 Final values: norm = 0.000100001 Prefactor = 0.0001 Prefactor = 0.593296 Prefactor = 1.00516 norm = 3.54713 norm = 0.431215 Prefactor = 2.338 norm = 0.233407 norm = 1.34736 norm = 2.62477 Prefactor = 2.00677 Prefactor = 1.16034 norm = 19.699 Prefactor = 0.000100009 Prefactor = 0.000100001 norm = 4.46787 Prefactor = 6.15987 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 3.17095 Prefactor = 0.0001 Prefactor = 28.3992 norm = 0.0264998 norm = 12.273 norm = 3.40114 Prefactor = 0.220351 Prefactor = 6.21895 Normalizat = 1.03741 Prefactor = 1.04215 ********** ** 18 **HESSE ********** FCN= 119284.5 FROM HESSE STATUS=OK 595 CALLS 4011 TOTAL EDM= .30E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .10000E-03 1.2755 .15407 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 .43724E-01 .22839E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .59330 .21544 .95736E-03 -1.5554 4 Prefactor 1.0052 .54234 .18268E-03 -1.5507 5 norm 3.5471 .44803 .79253E-04 -1.5331 6 norm .43122 .17224 .10023E-02 -1.5577 7 Prefactor 2.3380 1.6162 .13421E-02 -1.5402 8 norm .23341 .12667 .96770E-03 -1.5611 9 norm 1.3474 1.7889 .18855E-02 -1.5476 10 norm 2.6248 .43008 .86872E-04 -1.5384 11 Prefactor 2.0068 .68385 .16122E-03 -1.5425 12 Prefactor 1.1603 7.0999 .42831E-03 -1.5493 13 norm 19.699 1.9146 .90232E-04 -1.4820 14 Prefactor .10001E-03 40.426 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 13.685 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 4.4679 1.3793 .95249E-03 -1.5285 17 Prefactor 6.1599 6.7482 .16177E-03 -1.5212 18 Prefactor .10000E-03 1.7988 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 2.6024 .53075E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 3.1709 1.6989 .22759E-03 -1.5352 21 Prefactor .10000E-03 1.7731 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 28.399 14.589 .75179E-04 -1.4642 23 norm .26500E-01 .28886 .16578E-02 -1.5675 24 norm 12.273 12.198 .11425E-03 -1.5007 25 norm 3.4011 1.8597 .21938E-03 -1.5339 26 Prefactor .22035 1.6474 .34743E-02 -1.5614 27 Prefactor 6.2189 1.3066 .16098E-03 -1.5209 28 Normalizat 1.0374 .65649E-01 .31625E-03 -.91787 29 Prefactor 1.0421 .40159E-01 .20115E-03 -.91338 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.95924e-06 Minuit parameter uncertainties: 1 8.49448e-05 2 2.20441e-07 3 0.215443 4 0.542345 5 0.448032 6 0.172242 7 1.61624 8 0.126674 9 1.78899 10 0.430079 11 0.683857 12 5.74127 13 1.91456 14 0.00122422 15 0.000194914 16 1.37929 17 6.74898 18 1.96702e-05 19 6.29726e-06 20 1.69896 21 2.51365e-05 22 14.591 23 0.174654 24 12.2002 25 1.85972 26 1.20479 27 1.30661 28 0.0656536 29 0.0401597 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 119284.472227 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 1.000e-04 1.224e-03 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: 1.042e+00 4.016e-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.037e+00 6.565e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 1.90e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.48e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/692893/likelihoodResults_597283201_599875201_4FGL_J1738.2+4000_monthly_bin139.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) = 119284.472345 delta logL = -0.000117985764518 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 119283.412437 delta logL = 1.05979032349 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .33542E-02 1.0000 .10000E-03 10000. 2 'Index ' 6.3307 1.0000 .0000 10.000 3 'Normalizat' 1.0120 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0525 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= 119283.4 FROM MIGRAD STATUS=FAILED 104 CALLS 438 TOTAL EDM= .61E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .35104E-02 .80738E-01 .11057E-03 1.0174 2 Index 6.3132 3.3016 .78468E-02 .44108E-02 3 Normalizat 1.0121 .31946E-01 .31969E-03 -.39431E-03 4 Prefactor 1.0524 .20221E-01 .20027E-03 -.20073E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 119283.4 FROM SIMPLEX STATUS=UNCHANGED 90 CALLS 528 TOTAL EDM= .89E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .35104E-02 .80738E-01 .22569E-04 1.0174 2 Index 6.3132 3.3016 .28751E-02 .44108E-02 3 Normalizat 1.0121 .31946E-01 .29404E-04 -.39431E-03 4 Prefactor 1.0524 .20221E-01 .15715E-04 -.20073E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 119283.4 FROM MIGRAD STATUS=CONVERGED 30 CALLS 558 TOTAL EDM= .18E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .35103E-02 .88482E-01 .22113E-04 -.63009E-02 2 Index 6.3132 3.4265 .15694E-02 -.50999E-04 3 Normalizat 1.0121 .50295E-01 .12788E-04 -.99572E-04 4 Prefactor 1.0524 .31570E-01 .80106E-05 .68122E-04 ERR DEF= .500 Final values: Prefactor = 0.00351028 Index = 6.31324 Normalizat = 1.01212 Prefactor = 1.05238 ********** ** 18 **HESSE ********** FCN= 119283.4 FROM HESSE STATUS=OK 25 CALLS 583 TOTAL EDM= .20E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .35103E-02 .18375 .88454E-06 -1.5696 2 Index 6.3132 7.5706 .62774E-04 .26577 3 Normalizat 1.0121 .63461E-01 .25575E-05 -.92626 4 Prefactor 1.0524 .39644E-01 .16021E-05 -.91003 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.97075e-11 Minuit parameter uncertainties: 1 0.0500657 2 5.48904 3 0.0634656 4 0.0396456 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/692893': 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) = 119283.412415 delta logL = 1.05981137359 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 3.510e-03 5.007e-02 1.000e-04 1.000e+04 ( 1.000e-14) 327 Index: 6.313e+00 5.489e+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.052e+00 3.965e-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.012e+00 6.347e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.35 Ra Dec: 264.560 40.010 Photon Index (Free Index): 6.31 +/- 5.49 Photon Flux (Free Index): 1.97e-08 +/- 1.54e-08 Energy Flux (Free Index): 2.42e-06 +/- 2.19e-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/692893/cmap_HighResolution_597283201_599875201_4FGL_J1738.2+4000_monthly_bin139.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/692893 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-03', comment='SUCCESS', energy_flux2='2.42e-06', dlogl='1.06e+00', photon_flux2='1.97e-08', job_status='DONE', time_completed='2021-10-31 11:07:22.493758', photon_index_error2='5.49', photon_index2='6.31', ts='-0.00', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.90e-08', energy_flux_error2='2.19e-06', EG='1.04', time_epoch_completed='1635703642.49', return_code='0', job_id='692893', GAL2='1.05', EG2='1.01', return_code2='0', photon_flux_error2='1.54e-08', ts2='2.35', photon_index='2.52' WHERE bin_id='139' AND source_name='4FGL J1738.2+4000' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sun Oct 31 11:07:22 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 692893: <4FGL_J1738.2+4000_monthly_bin139> in cluster Done Job <4FGL_J1738.2+4000_monthly_bin139> was submitted from host by user in cluster at Sun Oct 31 07:35:12 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Oct 31 07:35:14 2021 was used as the home directory. was used as the working directory. Started at Sun Oct 31 07:35:14 2021 Terminated at Sun Oct 31 11:07:23 2021 Results reported at Sun Oct 31 11:07:23 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_monthly_bin139 264.56 40.0099 597283201 599875201 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 : 12456.00 sec. Max Memory : 1264 MB Average Memory : 484.59 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 12729 sec. Turnaround time : 12731 sec. The output (if any) is above this job summary.