/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 99 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 = 73025 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.3+6850_monthly_bin41 RA = 250.082, Dec = 68.8483 tmin = 343267201, tmax = 345859201 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='969768', job_status='RUN', time_executed='2021-10-29 09:12:24.327409', time_epoch_executed='1635523944.33' WHERE source_name='4FGL J1640.3+6850' and cadence='monthly' and bin_id='41' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/969768 Creating custom pfile directory: /scratch/kocevski/969768/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=343267201.0 && nMetStart<345859201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=343267201.0 && nMetStart<345859201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/969768/ft1_4FGL_J1640.3+6850_monthly_bin41.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=343267201.0 && nMetStart<345859201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Merged file saved to: /scratch/kocevski/969768/ft2_4FGL_J1640.3+6850_monthly_bin41.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/969768/ft1_4FGL_J1640.3+6850_monthly_bin41.fits outfile=/scratch/kocevski/969768/ft1_filteredMKT_4FGL_J1640.3+6850_monthly_bin41.fits ra=250.082 dec=68.8483 rad=12.0 tmin=343267201.0 tmax=345859201.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 29.57 user 28.77 sys 0.69 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/969768/ft2_4FGL_J1640.3+6850_monthly_bin41.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/969768/ft2_4FGL_J1640.3+6850_monthly_bin41.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/969768/ft1_filteredMKT_4FGL_J1640.3+6850_monthly_bin41.fits evtable="EVENTS" outfile="/scratch/kocevski/969768/ft1_filtered_4FGL_J1640.3+6850_monthly_bin41.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.65 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/969768/ft1_filtered_4FGL_J1640.3+6850_monthly_bin41.fits" evtable="EVENTS" scfile=/scratch/kocevski/969768/ft2_4FGL_J1640.3+6850_monthly_bin41.fits sctable="SC_DATA" outfile=/scratch/kocevski/969768/ltcube_343267201_345859201_4FGL_J1640.3+6850_monthly_bin41.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/969768/ft2_4FGL_J1640.3+6850_monthly_bin41.fits .....................! real 115.98 user 115.35 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/969768/ft1_filtered_4FGL_J1640.3+6850_monthly_bin41.fits evtable="EVENTS" scfile=/scratch/kocevski/969768/ft2_4FGL_J1640.3+6850_monthly_bin41.fits sctable="SC_DATA" expcube=/scratch/kocevski/969768/ltcube_343267201_345859201_4FGL_J1640.3+6850_monthly_bin41.fits outfile=/scratch/kocevski/969768/expmap_343267201_345859201_4FGL_J1640.3+6850_monthly_bin41.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/969768/ltcube_343267201_345859201_4FGL_J1640.3+6850_monthly_bin41.fits .....................! real 192.04 user 186.81 sys 4.79 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 209 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.3+6850 @ 250.082 68.8483 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/969768/ft1_filtered_4FGL_J1640.3+6850_monthly_bin41.fits scfile=/scratch/kocevski/969768/ft2_4FGL_J1640.3+6850_monthly_bin41.fits outfile=/scratch/kocevski/969768/cmap_343267201_345859201_4FGL_J1640.3+6850_monthly_bin41.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=250.082 yref=68.8483 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.62 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/969768/ft1_filtered_4FGL_J1640.3+6850_monthly_bin41.fits scfile=/scratch/kocevski/969768/ft2_4FGL_J1640.3+6850_monthly_bin41.fits outfile=/scratch/kocevski/969768/cmap_HighResolution_343267201_345859201_4FGL_J1640.3+6850_monthly_bin41.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=250.082 yref=68.8483 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.77 user 0.61 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/969768/ft1_filtered_4FGL_J1640.3+6850_monthly_bin41.fits evtable="EVENTS" scfile=/scratch/kocevski/969768/ft2_4FGL_J1640.3+6850_monthly_bin41.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/969768/Model_4FGL_J1640.3+6850_monthly_bin41.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/969768/ft1_filtered_4FGL_J1640.3+6850_monthly_bin41.fits.....................! real 672.19 user 669.45 sys 1.24 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/969768/ft1_filtered_4FGL_J1640.3+6850_monthly_bin41.fits', '/scratch/kocevski/969768/ft2_4FGL_J1640.3+6850_monthly_bin41.fits', expMap='/scratch/kocevski/969768/expmap_343267201_345859201_4FGL_J1640.3+6850_monthly_bin41.fits', expCube='/scratch/kocevski/969768/ltcube_343267201_345859201_4FGL_J1640.3+6850_monthly_bin41.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/969768/Model_4FGL_J1640.3+6850_monthly_bin41.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.3+6850' 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 3.992e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 351 Index: 2.132e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 352 Scale: 2.329e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/969768/ft1_filtered_4FGL_J1640.3+6850_monthly_bin41.fits Spacecraft file(s): /scratch/kocevski/969768/ft2_4FGL_J1640.3+6850_monthly_bin41.fits Exposure map: /scratch/kocevski/969768/expmap_343267201_345859201_4FGL_J1640.3+6850_monthly_bin41.fits Exposure cube: /scratch/kocevski/969768/ltcube_343267201_345859201_4FGL_J1640.3+6850_monthly_bin41.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/969768/Model_4FGL_J1640.3+6850_monthly_bin41.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) = 83137.9199525 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 83137.9157484 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.0675 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 1.1752 1.0000 .10000E-03 10000. 6 'Prefactor ' 11.596 1.0000 .10000E-03 10000. 7 'norm ' 2.4256 1.0000 .10000E-03 10000. 8 'Prefactor ' 66.351 1.0000 .10000E-03 10000. 9 'Prefactor ' 12.477 1.0000 .10000E-03 10000. 10 'norm ' .90165 1.0000 .10000E-03 10000. 11 'Prefactor ' 2.0806 1.0000 .10000E-03 10000. 12 'Prefactor ' 12.481 1.0000 .10000E-03 10000. 13 'Prefactor ' 4.1478 1.0000 .10000E-03 10000. 14 'norm ' 14.972 1.0000 .10000E-03 10000. 15 'Prefactor ' 4.5389 1.0000 .10000E-03 10000. 16 'norm ' .45941 1.0000 .10000E-03 10000. 17 'Prefactor ' 3.7400 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.6663 1.0000 .10000E-03 10000. 19 'Prefactor ' 6.5037 1.0000 .10000E-03 10000. 20 'Prefactor ' 4.0260 1.0000 .10000E-03 10000. 21 'Prefactor ' .10014E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' 3.3994 1.0000 .10000E-03 10000. 23 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 24 'norm ' 4.1814 1.0000 .10000E-03 10000. 25 'norm ' 3.5303 1.0000 .10000E-03 10000. 26 'Prefactor ' 4.6618 1.0000 .10000E-03 10000. 27 'norm ' 5.2740 1.0000 .10000E-03 10000. 28 'Prefactor ' 3.3219 1.0000 .10000E-03 10000. 29 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 30 'Prefactor ' 3.0168 1.0000 .10000E-03 10000. 31 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 32 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 33 'Normalizat' .96766 1.0000 .10000E-01 10.000 34 'Prefactor ' .98095 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6760E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 83137.92 FROM MIGRAD STATUS=CONVERGED 942 CALLS 4882 TOTAL EDM= .23E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 3.2287 .26562E-06** at limit ** 2 Prefactor .10000E-03 .92262 -.19568E-07** at limit ** 3 Prefactor 1.0678 4.3243 -.32645E-06 -.19648E-03 4 Prefactor .10000E-03 8.3082 .23215E-05** at limit ** 5 Prefactor 1.1762 2.3934 -.52722E-06 -.62539E-04 6 Prefactor 11.595 6.4513 -.11575E-08 .50722E-04 7 norm 2.4259 .72539 .10818E-07 .62892E-04 8 Prefactor 66.350 26.899 -.86765E-06 .10179E-04 9 Prefactor 12.477 7.8255 .13515E-06 .26981E-06 10 norm .90179 1.1391 .62608E-07 -.67912E-03 11 Prefactor 2.0317 69.824 -.20641E-04 .85558E-05 12 Prefactor 12.481 2.5193 -.47720E-08 -.12476E-03 13 Prefactor 4.1479 5.9429 .37309E-07 -.15920E-04 14 norm 14.972 2.8844 -.61321E-07 -.94209E-04 15 Prefactor 4.5401 4.8711 .31391E-06 -.14542E-03 16 norm .45936 .17025 -.14872E-07 -.15362E-03 17 Prefactor 3.7406 2.1063 -.17143E-06 -.77377E-04 18 Prefactor 2.6666 .77775 .11247E-07 .84744E-03 19 Prefactor 6.5039 3.2104 .35066E-06 .40207E-04 20 Prefactor 4.0227 1.9704 -.27757E-06 -.21445E-02 21 Prefactor .10000E-03 7.7657 -.19594E-05** at limit ** 22 Prefactor 3.3993 1.8888 .48258E-07 -.49568E-03 23 Prefactor .10000E-03 24.625 .21353E-04** at limit ** 24 norm 4.1814 .74908 -.58980E-08 .12072E-03 25 norm 3.5304 .27909 -.18794E-08 .11359E-02 26 Prefactor 4.6617 3.3104 .12097E-06 -.22189E-03 27 norm 5.2741 1.2572 -.88667E-08 .18133E-03 28 Prefactor 3.3214 4.8145 -.16140E-06 .82495E-05 29 Prefactor .10000E-03 23.732 -.20372E-04** at limit ** 30 Prefactor 3.0163 1.6629 -.21261E-07 .36663E-03 31 Prefactor .10000E-03 3.3513 -.72270E-06** at limit ** 32 Prefactor .10000E-03 3.6498 .56407E-06** at limit ** 33 Normalizat .96756 .54127E-01 .13622E-06 .97342E-05 34 Prefactor .98103 .42066E-01 .12019E-06 .73885E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 1.06776 Prefactor = 0.0001 Prefactor = 1.17619 Prefactor = 11.5954 norm = 2.42586 Prefactor = 66.3498 Prefactor = 12.4773 norm = 0.901789 Prefactor = 2.03172 Prefactor = 12.4813 Prefactor = 4.14787 norm = 14.9721 Prefactor = 4.54013 norm = 0.459363 Prefactor = 3.74062 Prefactor = 2.66664 Prefactor = 6.50394 Prefactor = 4.02272 Prefactor = 0.0001 Prefactor = 3.39929 Prefactor = 0.0001 norm = 4.18141 norm = 3.53036 Prefactor = 4.66174 norm = 5.2741 Prefactor = 3.32141 Prefactor = 0.0001 Prefactor = 3.01625 Prefactor = 0.0001 Prefactor = 0.0001 Normalizat = 0.967559 Prefactor = 0.981027 ********** ** 18 **HESSE ********** FCN= 83137.92 FROM HESSE STATUS=OK 750 CALLS 5632 TOTAL EDM= .67E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 3.2316 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 .92441 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.0678 5.4874 .23564E-02 -1.5501 4 Prefactor .10000E-03 8.4266 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 1.1762 2.3304 .42255E-03 -1.5491 6 Prefactor 11.595 6.4094 .11764E-03 -1.5027 7 norm 2.4259 .72341 .12750E-03 -1.5396 8 Prefactor 66.350 26.963 .49271E-04 -1.4077 9 Prefactor 12.477 7.8275 .11341E-03 -1.5001 10 norm .90179 2.3963 .25627E-02 -1.5518 11 Prefactor 2.0317 70.441 .28629E-03 -1.5423 12 Prefactor 12.481 2.5214 .56693E-03 -1.5001 13 Prefactor 4.1479 5.9282 .98956E-03 -1.5301 14 norm 14.972 2.8817 .10351E-03 -1.4934 15 Prefactor 4.5401 4.8759 .94480E-03 -1.5282 16 norm .45936 .16259 .66603E-03 -1.5572 17 Prefactor 3.7406 2.0886 .20878E-03 -1.5321 18 Prefactor 2.6666 .77211 .12957E-03 -1.5381 19 Prefactor 6.5039 3.1890 .15737E-03 -1.5198 20 Prefactor 4.0227 1.9667 .20098E-03 -1.5307 21 Prefactor .10000E-03 8.0701 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 3.3993 1.8884 .10971E-02 -1.5339 23 Prefactor .10000E-03 24.834 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 4.1814 .74814 .99822E-04 -1.5299 25 norm 3.5304 .27891 .41124E-04 -1.5332 26 Prefactor 4.6617 3.3243 .93197E-03 -1.5276 27 norm 5.2741 1.2508 .14479E-03 -1.5249 28 Prefactor 3.3214 4.8088 .22209E-03 -1.5343 29 Prefactor .10000E-03 23.767 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 30 Prefactor 3.0163 1.6507 .23366E-03 -1.5361 31 Prefactor .10000E-03 3.4578 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 32 Prefactor .10000E-03 3.6520 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 33 Normalizat .96756 .62417E-01 .27412E-03 -.94125 34 Prefactor .98103 .48710E-01 .22248E-03 -.93365 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.70954e-09 Minuit parameter uncertainties: 1 4.86888e-07 2 3.71412e-08 3 4.84162 4 1.70151e-05 5 2.33054 6 6.40976 7 0.723417 8 26.968 9 7.82815 10 2.39654 11 23.9563 12 2.52146 13 5.92902 14 2.88176 15 4.87636 16 0.162585 17 2.0886 18 0.772115 19 3.18911 20 1.96669 21 1.8993e-05 22 1.88843 23 9.08814e-05 24 0.748144 25 0.278914 26 3.32442 27 1.25084 28 4.80939 29 6.57812e-05 30 1.65068 31 2.54063e-06 32 6.71928e-07 33 0.0624218 34 0.0487122 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 83137.9157429 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 4.148e+00 5.929e+00 1.000e-04 1.000e+04 ( 1.000e-14) 351 Index: 2.132e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 352 Scale: 2.329e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 673 Prefactor: 9.810e-01 4.871e-02 0.000e+00 1.000e+01 ( 1.000e+00) 674 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 675 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 672 Normalization: 9.676e-01 6.242e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.67 Ra Dec: 250.082 68.848 Photon Flux Upper Limit: 1.32e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.00e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/969768/likelihoodResults_343267201_345859201_4FGL_J1640.3+6850_monthly_bin41.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) = 83137.8754296 delta logL = 0.0403133364307 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 83137.8686176 delta logL = 0.047125309633 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.5316 1.0000 .10000E-03 10000. 2 'Index ' 2.3665 1.0000 .0000 10.000 3 'Normalizat' .96629 1.0000 .10000E-01 10.000 4 'Prefactor ' .98132 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6760E+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= 83137.87 FROM MIGRAD STATUS=CONVERGED 102 CALLS 263 TOTAL EDM= .43E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.5284 5.8776 .10755E-02 .67638E-03 2 Index 2.3653 .78812 .26653E-02 .36854E-05 3 Normalizat .96631 .58189E-01 .27428E-03 .59687E-05 4 Prefactor .98131 .47637E-01 .22245E-03 .13901E-04 ERR DEF= .500 Final values: Prefactor = 3.52837 Index = 2.36533 Normalizat = 0.966307 Prefactor = 0.98131 ********** ** 18 **HESSE ********** FCN= 83137.87 FROM HESSE STATUS=OK 25 CALLS 288 TOTAL EDM= .25E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.5284 5.5859 .21510E-03 -1.5332 2 Index 2.3653 .74940 .10661E-03 -.55499 3 Normalizat .96631 .58228E-01 .10971E-04 -.94168 4 Prefactor .98131 .47672E-01 .88981E-05 -.93355 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.49153e-13 Minuit parameter uncertainties: 1 5.58669 2 0.753342 3 0.0582313 4 0.0476737 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/969768': 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) = 83137.8686147 delta logL = 0.0471282377548 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 3.528e+00 5.587e+00 1.000e-04 1.000e+04 ( 1.000e-14) 351 Index: 2.365e+00 7.533e-01 0.000e+00 1.000e+01 (-1.000e+00) 352 Scale: 2.329e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 673 Prefactor: 9.813e-01 4.767e-02 0.000e+00 1.000e+01 ( 1.000e+00) 674 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 675 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 672 Normalization: 9.663e-01 5.823e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.67 Ra Dec: 250.082 68.848 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.003e-01 [aplpy.core] INFO: Auto-setting vmax to 1.113e+00 [aplpy.core] Saving /scratch/kocevski/969768/cmap_HighResolution_343267201_345859201_4FGL_J1640.3+6850_monthly_bin41.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/969768 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-03', job_status='DONE', photon_flux_upper_limit='1.32e-08', time_completed='2021-10-29 12:21:19.693581', job_id='969768', GAL2='0.98', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1635535279.69', return_code2='0', ts='0.67', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='4.71e-02', ts2='0.77', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='41' AND source_name='4FGL J1640.3+6850' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Oct 29 12:21:19 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 969768: <4FGL_J1640.3+6850_monthly_bin41> in cluster Done Job <4FGL_J1640.3+6850_monthly_bin41> was submitted from host by user in cluster at Fri Oct 29 09:10:13 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Oct 29 09:10:36 2021 was used as the home directory. was used as the working directory. Started at Fri Oct 29 09:10:36 2021 Terminated at Fri Oct 29 12:21:20 2021 Results reported at Fri Oct 29 12:21:20 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.3+6850_monthly_bin41 250.082 68.8483 343267201 345859201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.3+6850 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 11249.00 sec. Max Memory : 630 MB Average Memory : 430.08 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 11444 sec. Turnaround time : 11467 sec. The output (if any) is above this job summary.