/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 120 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 = 73210 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1738.2+4000_monthly_bin55 RA = 264.56, Dec = 40.0099 tmin = 379555201, tmax = 382147201 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='685780', job_status='RUN', time_executed='2021-10-31 07:12:37.509079', time_epoch_executed='1635689557.51' WHERE source_name='4FGL J1738.2+4000' and cadence='monthly' and bin_id='55' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/685780 Creating custom pfile directory: /scratch/kocevski/685780/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=379555201.0 && nMetStart<382147201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=379555201.0 && nMetStart<382147201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/685780/ft1_4FGL_J1738.2+4000_monthly_bin55.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=379555201.0 && nMetStart<382147201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Merged file saved to: /scratch/kocevski/685780/ft2_4FGL_J1738.2+4000_monthly_bin55.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/685780/ft1_4FGL_J1738.2+4000_monthly_bin55.fits outfile=/scratch/kocevski/685780/ft1_filteredMKT_4FGL_J1738.2+4000_monthly_bin55.fits ra=264.56 dec=40.0099 rad=12.0 tmin=379555201.0 tmax=382147201.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 35.09 user 34.21 sys 0.80 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/685780/ft2_4FGL_J1738.2+4000_monthly_bin55.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/685780/ft2_4FGL_J1738.2+4000_monthly_bin55.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/685780/ft1_filteredMKT_4FGL_J1738.2+4000_monthly_bin55.fits evtable="EVENTS" outfile="/scratch/kocevski/685780/ft1_filtered_4FGL_J1738.2+4000_monthly_bin55.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.83 user 0.64 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/685780/ft1_filtered_4FGL_J1738.2+4000_monthly_bin55.fits" evtable="EVENTS" scfile=/scratch/kocevski/685780/ft2_4FGL_J1738.2+4000_monthly_bin55.fits sctable="SC_DATA" outfile=/scratch/kocevski/685780/ltcube_379555201_382147201_4FGL_J1738.2+4000_monthly_bin55.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/685780/ft2_4FGL_J1738.2+4000_monthly_bin55.fits .....................! real 108.70 user 108.11 sys 0.38 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/685780/ft1_filtered_4FGL_J1738.2+4000_monthly_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/685780/ft2_4FGL_J1738.2+4000_monthly_bin55.fits sctable="SC_DATA" expcube=/scratch/kocevski/685780/ltcube_379555201_382147201_4FGL_J1738.2+4000_monthly_bin55.fits outfile=/scratch/kocevski/685780/expmap_379555201_382147201_4FGL_J1738.2+4000_monthly_bin55.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/685780/ltcube_379555201_382147201_4FGL_J1738.2+4000_monthly_bin55.fits .....................! real 191.36 user 186.01 sys 4.96 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/685780/ft1_filtered_4FGL_J1738.2+4000_monthly_bin55.fits scfile=/scratch/kocevski/685780/ft2_4FGL_J1738.2+4000_monthly_bin55.fits outfile=/scratch/kocevski/685780/cmap_379555201_382147201_4FGL_J1738.2+4000_monthly_bin55.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.79 user 0.60 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/685780/ft1_filtered_4FGL_J1738.2+4000_monthly_bin55.fits scfile=/scratch/kocevski/685780/ft2_4FGL_J1738.2+4000_monthly_bin55.fits outfile=/scratch/kocevski/685780/cmap_HighResolution_379555201_382147201_4FGL_J1738.2+4000_monthly_bin55.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.62 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/685780/ft1_filtered_4FGL_J1738.2+4000_monthly_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/685780/ft2_4FGL_J1738.2+4000_monthly_bin55.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/685780/Model_4FGL_J1738.2+4000_monthly_bin55.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/685780/ft1_filtered_4FGL_J1738.2+4000_monthly_bin55.fits.....................! real 595.73 user 593.41 sys 1.32 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/685780/ft1_filtered_4FGL_J1738.2+4000_monthly_bin55.fits', '/scratch/kocevski/685780/ft2_4FGL_J1738.2+4000_monthly_bin55.fits', expMap='/scratch/kocevski/685780/expmap_379555201_382147201_4FGL_J1738.2+4000_monthly_bin55.fits', expCube='/scratch/kocevski/685780/ltcube_379555201_382147201_4FGL_J1738.2+4000_monthly_bin55.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/685780/Model_4FGL_J1738.2+4000_monthly_bin55.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/685780/ft1_filtered_4FGL_J1738.2+4000_monthly_bin55.fits Spacecraft file(s): /scratch/kocevski/685780/ft2_4FGL_J1738.2+4000_monthly_bin55.fits Exposure map: /scratch/kocevski/685780/expmap_379555201_382147201_4FGL_J1738.2+4000_monthly_bin55.fits Exposure cube: /scratch/kocevski/685780/ltcube_379555201_382147201_4FGL_J1738.2+4000_monthly_bin55.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/685780/Model_4FGL_J1738.2+4000_monthly_bin55.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) = 88189.7561884 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 88189.7522535 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 22.719 1.0000 .10000E-03 10000. 2 'Prefactor ' 3.2997 1.0000 .10000E-03 10000. 3 'Prefactor ' .84694 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.0925 1.0000 .10000E-03 10000. 5 'norm ' 5.5174 1.0000 .10000E-03 10000. 6 'norm ' 2.0257 1.0000 .10000E-03 10000. 7 'Prefactor ' .83069 1.0000 .10000E-03 10000. 8 'norm ' 1.3302 1.0000 .10000E-03 10000. 9 'norm ' .10001E-03 1.0000 .10000E-03 10000. 10 'norm ' .85125 1.0000 .10000E-03 10000. 11 'Prefactor ' 2.3395 1.0000 .10000E-03 10000. 12 'Prefactor ' 3.2861 1.0000 .10000E-03 10000. 13 'norm ' 3.5585 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.1368 1.0000 .10000E-03 10000. 15 'Prefactor ' 59.181 1.0000 .10000E-03 10000. 16 'norm ' .10000E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' 6.1610 1.0000 .10000E-03 10000. 18 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .73388E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 5.8667 1.0000 .10000E-03 10000. 21 'Prefactor ' .22629 1.0000 .10000E-03 10000. 22 'Prefactor ' .10035E-03 1.0000 .10000E-03 10000. 23 'norm ' .92875 1.0000 .10000E-03 10000. 24 'norm ' 10.231 1.0000 .10000E-03 10000. 25 'norm ' 3.3509 1.0000 .10000E-03 10000. 26 'Prefactor ' .37810 1.0000 .10000E-03 10000. 27 'Prefactor ' 1.4639 1.0000 .10000E-03 10000. 28 'Normalizat' 1.1516 1.0000 .10000E-01 10.000 29 'Prefactor ' .95166 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. FCN= 88189.75 FROM MIGRAD STATUS=CONVERGED 763 CALLS 3846 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 22.719 10.214 .34576E-06 -.66562E-05 2 Prefactor 3.2997 .82666 .36169E-08 .14599E-04 3 Prefactor .84688 .63761 .18701E-07 .27913E-03 4 Prefactor 1.0924 .69087 .23216E-07 .49799E-04 5 norm 5.5173 .64289 .91539E-08 .41606E-04 6 norm 2.0256 .30267 .11587E-07 -.27614E-03 7 Prefactor .83084 1.3710 .88875E-07 .40204E-04 8 norm 1.3301 .24517 .15128E-07 .45514E-03 9 norm .10000E-03 .80034 .36410E-07** at limit ** 10 norm .85105 .43846 .91924E-07 .26269E-02 11 Prefactor 2.3396 .79361 .26453E-07 -.88901E-05 12 Prefactor 3.2861 5.5732 -.11917E-05 .10883E-03 13 norm 3.5569 1.5563 .22033E-06 .27568E-02 14 Prefactor 1.1414 6.6927 -.26216E-05 .10973E-02 15 Prefactor 59.200 27.262 .15838E-04 .46498E-03 16 norm .10000E-03 .28728 -.41897E-08** at limit ** 17 Prefactor 6.1600 6.3168 -.99844E-06 -.57345E-05 18 Prefactor .10000E-03 3.7298 .14038E-07** at limit ** 19 Prefactor .10000E-03 .88199 -.11603E-05** at limit ** 20 Prefactor 5.8663 2.2896 .75666E-07 .34111E-03 21 Prefactor .11261 2.9722 -.92945E-06 .91461E-05 22 Prefactor .10000E-03 26.476 -.44124E-06** at limit ** 23 norm .92925 .57086 -.98189E-07 -.10079E-02 24 norm 10.233 11.302 .14162E-06 .37077E-03 25 norm 3.3504 2.1662 .14863E-06 -.47871E-04 26 Prefactor .37831 .13706 -.20642E-07 -.11119E-02 27 Prefactor 1.4640 1.2189 .48097E-07 .35391E-03 28 Normalizat 1.1516 .64901E-01 -.54961E-06 .26360E-02 29 Prefactor .95169 .38226E-01 -.15778E-06 .33243E-02 ERR DEF= .500 Final values: norm = 22.7186 Prefactor = 3.29966 Prefactor = 0.846881 Prefactor = 1.09243 norm = 5.51731 norm = 2.02563 Prefactor = 0.830836 norm = 1.33013 norm = 0.0001 norm = 0.851051 Prefactor = 2.33963 Prefactor = 3.28613 norm = 3.55693 Prefactor = 1.14139 Prefactor = 59.2003 norm = 0.0001 Prefactor = 6.16 Prefactor = 0.0001 Prefactor = 0.000100003 Prefactor = 5.86626 Prefactor = 0.112612 Prefactor = 0.0001 norm = 0.929255 norm = 10.2335 norm = 3.35036 Prefactor = 0.378315 Prefactor = 1.46401 Normalizat = 1.15156 Prefactor = 0.951686 ********** ** 18 **HESSE ********** FCN= 88189.75 FROM HESSE STATUS=OK 591 CALLS 4437 TOTAL EDM= .15E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 22.719 10.200 .84036E-04 -1.4754 2 Prefactor 3.2997 .72406 .81046E-04 -1.5345 3 Prefactor .84688 .54537 .12251E-03 -1.5524 4 Prefactor 1.0924 .67015 .18580E-03 -1.5499 5 norm 5.5173 .63961 .77494E-04 -1.5238 6 norm 2.0256 .30126 .60475E-04 -1.5423 7 Prefactor .83084 1.3393 .41620E-03 -1.5526 8 norm 1.3301 .24129 .59532E-04 -1.5477 9 norm .10000E-03 .82575 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .85105 .37807 .13176E-02 -1.5523 11 Prefactor 2.3396 .79180 .14989E-03 -1.5402 12 Prefactor 3.2861 5.5549 .22336E-03 -1.5345 13 norm 3.5569 1.5360 .21425E-03 -1.5331 14 Prefactor 1.1414 5.9315 .18553 -1.5494 15 Prefactor 59.200 27.368 .52152E-04 -1.4168 16 norm .10000E-03 .29304 .15536E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 6.1600 6.3099 .16174E-03 -1.5212 18 Prefactor .10000E-03 3.7663 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 7.3681 .52081E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 5.8663 2.2854 .16580E-03 -1.5224 21 Prefactor .11261 3.0221 .13793 -1.5641 22 Prefactor .10000E-03 26.649 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .92925 .46961 .16642E-02 -1.5515 24 norm 10.233 11.170 .62634E-03 -1.5068 25 norm 3.3504 2.1791 .11054E-02 -1.5342 26 Prefactor .37831 1.0664 .21525E-02 -1.5585 27 Prefactor 1.4640 1.2103 .28742E-03 -1.5466 28 Normalizat 1.1516 .77990E-01 .30905E-03 -.88113 29 Prefactor .95169 .46512E-01 .20936E-03 -.94358 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.47464e-07 Minuit parameter uncertainties: 1 10.2004 2 0.724059 3 0.545375 4 0.670153 5 0.639609 6 0.301256 7 1.33939 8 0.24129 9 3.94873e-06 10 0.378069 11 0.791807 12 5.5558 13 1.53601 14 5.20448 15 27.3742 16 9.66415e-07 17 6.31062 18 1.25349e-05 19 0.000302321 20 2.28545 21 1.16629 22 1.85151e-05 23 0.469612 24 11.1727 25 2.17915 26 1.06645 27 1.21029 28 0.0779974 29 0.0465136 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 88189.752149 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 1.141e+00 5.204e+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 GAL_V02 Spectrum: PowerLaw 681 Prefactor: 9.517e-01 4.651e-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.152e+00 7.800e-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: 2.38e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.86e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/685780/likelihoodResults_379555201_382147201_4FGL_J1738.2+4000_monthly_bin55.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) = 88189.12795 delta logL = 0.62419896909 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 88189.116562 delta logL = 0.635587018915 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.4751 1.0000 .10000E-03 10000. 2 'Index ' 3.8383 1.0000 .0000 10.000 3 'Normalizat' 1.1293 1.0000 .10000E-01 10.000 4 'Prefactor ' .95925 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. FCN= 88189.12 FROM MIGRAD STATUS=CONVERGED 100 CALLS 293 TOTAL EDM= .14E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.4809 55.156 .30432E-03 .42438E-04 2 Index 3.8371 6.8103 .85614E-02 .11957E-03 3 Normalizat 1.1292 .52942E-01 .31177E-03 -.11669E-05 4 Prefactor .95929 .32674E-01 .20862E-03 -.26157E-05 ERR DEF= .500 Final values: Prefactor = 1.48088 Index = 3.83715 Normalizat = 1.12921 Prefactor = 0.959293 ********** ** 18 **HESSE ********** FCN= 88189.12 FROM HESSE STATUS=OK 25 CALLS 318 TOTAL EDM= .58E-13 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.4809 4.5789 .12173E-04 -1.5465 2 Index 3.8371 1.2668 .34246E-03 -.23472 3 Normalizat 1.1292 .74951E-01 .12471E-04 -.88820 4 Prefactor .95929 .45707E-01 .83448E-05 -.94099 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.84514e-14 Minuit parameter uncertainties: 1 4.57998 2 1.28157 3 0.0749582 4 0.0457087 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/685780': 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) = 88189.1165599 delta logL = 0.635589074154 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 1.481e+00 4.580e+00 1.000e-04 1.000e+04 ( 1.000e-14) 327 Index: 3.837e+00 1.282e+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.593e-01 4.571e-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.129e+00 7.496e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.43 Ra Dec: 264.560 40.010 Photon Index (Free Index): 3.84 +/- 1.28 Photon Flux (Free Index): 1.82e-08 +/- 1.67e-08 Energy Flux (Free Index): 2.80e-06 +/- 2.61e-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/685780/cmap_HighResolution_379555201_382147201_4FGL_J1738.2+4000_monthly_bin55.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/685780 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.86e-03', comment='SUCCESS', energy_flux2='2.80e-06', dlogl='6.36e-01', photon_flux2='1.82e-08', job_status='DONE', time_completed='2021-10-31 09:55:41.431163', photon_index_error2='1.28', photon_index2='3.84', ts='0.00', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='2.38e-08', energy_flux_error2='2.61e-06', EG='1.15', time_epoch_completed='1635699341.43', return_code='0', job_id='685780', GAL2='0.96', EG2='1.13', return_code2='0', photon_flux_error2='1.67e-08', ts2='1.43', photon_index='2.52' WHERE bin_id='55' AND source_name='4FGL J1738.2+4000' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sun Oct 31 09:55:41 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 685780: <4FGL_J1738.2+4000_monthly_bin55> in cluster Done Job <4FGL_J1738.2+4000_monthly_bin55> was submitted from host by user in cluster at Sun Oct 31 07:05:25 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:55:42 2021 Results reported at Sun Oct 31 09:55:42 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_monthly_bin55 264.56 40.0099 379555201 382147201 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 : 9496.00 sec. Max Memory : 1262 MB Average Memory : 424.91 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 9921 sec. Turnaround time : 10217 sec. The output (if any) is above this job summary.