/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 38 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 = 73225 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.3+6850_monthly_bin23 RA = 250.082, Dec = 68.8483 tmin = 296611201, tmax = 299203201 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='968598', job_status='RUN', time_executed='2021-10-29 09:06:22.908976', time_epoch_executed='1635523582.91' WHERE source_name='4FGL J1640.3+6850' and cadence='monthly' and bin_id='23' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/968598 Creating custom pfile directory: /scratch/kocevski/968598/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=296611201.0 && nMetStart<299203201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=296611201.0 && nMetStart<299203201.0' /Data/Flight/Level1/LPA Retrieving 453 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/968598/ft1_4FGL_J1640.3+6850_monthly_bin23.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=296611201.0 && nMetStart<299203201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Merged file saved to: /scratch/kocevski/968598/ft2_4FGL_J1640.3+6850_monthly_bin23.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/968598/ft1_4FGL_J1640.3+6850_monthly_bin23.fits outfile=/scratch/kocevski/968598/ft1_filteredMKT_4FGL_J1640.3+6850_monthly_bin23.fits ra=250.082 dec=68.8483 rad=12.0 tmin=296611201.0 tmax=299203201.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 39.39 user 38.28 sys 0.98 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/968598/ft2_4FGL_J1640.3+6850_monthly_bin23.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/968598/ft2_4FGL_J1640.3+6850_monthly_bin23.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/968598/ft1_filteredMKT_4FGL_J1640.3+6850_monthly_bin23.fits evtable="EVENTS" outfile="/scratch/kocevski/968598/ft1_filtered_4FGL_J1640.3+6850_monthly_bin23.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 1.02 user 0.80 sys 0.20 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/968598/ft1_filtered_4FGL_J1640.3+6850_monthly_bin23.fits" evtable="EVENTS" scfile=/scratch/kocevski/968598/ft2_4FGL_J1640.3+6850_monthly_bin23.fits sctable="SC_DATA" outfile=/scratch/kocevski/968598/ltcube_296611201_299203201_4FGL_J1640.3+6850_monthly_bin23.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/968598/ft2_4FGL_J1640.3+6850_monthly_bin23.fits .....................! real 194.53 user 193.49 sys 0.53 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/968598/ft1_filtered_4FGL_J1640.3+6850_monthly_bin23.fits evtable="EVENTS" scfile=/scratch/kocevski/968598/ft2_4FGL_J1640.3+6850_monthly_bin23.fits sctable="SC_DATA" expcube=/scratch/kocevski/968598/ltcube_296611201_299203201_4FGL_J1640.3+6850_monthly_bin23.fits outfile=/scratch/kocevski/968598/expmap_296611201_299203201_4FGL_J1640.3+6850_monthly_bin23.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/968598/ltcube_296611201_299203201_4FGL_J1640.3+6850_monthly_bin23.fits .....................! real 245.32 user 238.42 sys 6.33 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/968598/ft1_filtered_4FGL_J1640.3+6850_monthly_bin23.fits scfile=/scratch/kocevski/968598/ft2_4FGL_J1640.3+6850_monthly_bin23.fits outfile=/scratch/kocevski/968598/cmap_296611201_299203201_4FGL_J1640.3+6850_monthly_bin23.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.91 user 0.74 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/968598/ft1_filtered_4FGL_J1640.3+6850_monthly_bin23.fits scfile=/scratch/kocevski/968598/ft2_4FGL_J1640.3+6850_monthly_bin23.fits outfile=/scratch/kocevski/968598/cmap_HighResolution_296611201_299203201_4FGL_J1640.3+6850_monthly_bin23.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.94 user 0.75 sys 0.18 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/968598/ft1_filtered_4FGL_J1640.3+6850_monthly_bin23.fits evtable="EVENTS" scfile=/scratch/kocevski/968598/ft2_4FGL_J1640.3+6850_monthly_bin23.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/968598/Model_4FGL_J1640.3+6850_monthly_bin23.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/968598/ft1_filtered_4FGL_J1640.3+6850_monthly_bin23.fits.....................! real 889.46 user 883.73 sys 2.40 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/968598/ft1_filtered_4FGL_J1640.3+6850_monthly_bin23.fits', '/scratch/kocevski/968598/ft2_4FGL_J1640.3+6850_monthly_bin23.fits', expMap='/scratch/kocevski/968598/expmap_296611201_299203201_4FGL_J1640.3+6850_monthly_bin23.fits', expCube='/scratch/kocevski/968598/ltcube_296611201_299203201_4FGL_J1640.3+6850_monthly_bin23.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/968598/Model_4FGL_J1640.3+6850_monthly_bin23.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/968598/ft1_filtered_4FGL_J1640.3+6850_monthly_bin23.fits Spacecraft file(s): /scratch/kocevski/968598/ft2_4FGL_J1640.3+6850_monthly_bin23.fits Exposure map: /scratch/kocevski/968598/expmap_296611201_299203201_4FGL_J1640.3+6850_monthly_bin23.fits Exposure cube: /scratch/kocevski/968598/ltcube_296611201_299203201_4FGL_J1640.3+6850_monthly_bin23.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/968598/Model_4FGL_J1640.3+6850_monthly_bin23.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) = 86512.9622479 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 86512.8995798 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 ' 1.0341 1.0000 .10000E-03 10000. 3 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.6960 1.0000 .10000E-03 10000. 5 'Prefactor ' 1.8020 1.0000 .10000E-03 10000. 6 'Prefactor ' 8.3228 1.0000 .10000E-03 10000. 7 'norm ' 6.4596 1.0000 .10000E-03 10000. 8 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 3.3698 1.0000 .10000E-03 10000. 10 'norm ' 3.3778 1.0000 .10000E-03 10000. 11 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 4.5557 1.0000 .10000E-03 10000. 13 'Prefactor ' 6.1618 1.0000 .10000E-03 10000. 14 'norm ' .35844 1.0000 .10000E-03 10000. 15 'Prefactor ' 7.5564 1.0000 .10000E-03 10000. 16 'norm ' 4.2268 1.0000 .10000E-03 10000. 17 'Prefactor ' 2.6979 1.0000 .10000E-03 10000. 18 'Prefactor ' .10217E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 24.340 1.0000 .10000E-03 10000. 20 'Prefactor ' 1.2329 1.0000 .10000E-03 10000. 21 'Prefactor ' 4.1869 1.0000 .10000E-03 10000. 22 'Prefactor ' 1.5360 1.0000 .10000E-03 10000. 23 'Prefactor ' 50.644 1.0000 .10000E-03 10000. 24 'norm ' .76222 1.0000 .10000E-03 10000. 25 'norm ' .88387 1.0000 .10000E-03 10000. 26 'Prefactor ' 5.7853 1.0000 .10000E-03 10000. 27 'norm ' 6.0309 1.0000 .10000E-03 10000. 28 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 29 'Prefactor ' 31.353 1.0000 .10000E-03 10000. 30 'Prefactor ' 1.6622 1.0000 .10000E-03 10000. 31 'Prefactor ' 1.0567 1.0000 .10000E-03 10000. 32 'Prefactor ' 21.778 1.0000 .10000E-03 10000. 33 'Normalizat' .92888 1.0000 .10000E-01 10.000 34 'Prefactor ' 1.0316 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. FCN= 86512.90 FROM MIGRAD STATUS=CONVERGED 915 CALLS 4933 TOTAL EDM= .37E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 3.5170 .0000 ** at limit ** 2 Prefactor 1.0345 3.5615 .0000 .98590E-01 3 Prefactor .10000E-03 3.9414 .0000 ** at limit ** 4 Prefactor 1.6956 5.4296 .0000 .85860E-03 5 Prefactor 1.8019 2.6125 .0000 .81737E-01 6 Prefactor 8.3230 5.0213 .0000 -.30552E-03 7 norm 6.4596 .91799 .0000 .71660E-03 8 Prefactor .10000E-03 9.0836 .0000 ** at limit ** 9 Prefactor 3.3698 5.3614 .0000 .58815E-03 10 norm 3.3774 3.2028 .0000 -.34339E-02 11 Prefactor .10000E-03 11.923 .0000 ** at limit ** 12 Prefactor 4.5557 1.9803 .0000 .63757E-01 13 Prefactor 6.1619 7.5405 .0000 .23250E-03 14 norm .35799 .76562 .0000 .11715E-01 15 Prefactor 7.5558 4.1591 .0000 .81420E-02 16 norm 4.2268 .34642 .0000 .13848E-02 17 Prefactor 2.6978 2.0636 .0000 .47306E-02 18 Prefactor .10000E-03 .11300 .0000 ** at limit ** 19 Prefactor 24.340 5.1608 .0000 .52827E-03 20 Prefactor 1.2345 2.7255 .0000 .29222 21 Prefactor 4.1853 6.3180 .0000 .12046E-01 22 Prefactor 1.5359 2.1234 .0000 .64156E-02 23 Prefactor 50.639 27.143 .0000 .15776E-01 24 norm .76221 .47108 .0000 .54843E-02 25 norm .88388 .19062 .0000 .39818E-02 26 Prefactor 5.7850 3.6545 .0000 .15977E-02 27 norm 6.0310 1.2728 .0000 .52380E-01 28 Prefactor .10000E-03 1.1737 .0000 ** at limit ** 29 Prefactor 31.353 23.122 .0000 -.43692E-03 30 Prefactor 1.6620 1.5707 .0000 .11859E-01 31 Prefactor 1.0571 3.9386 .0000 .93334E-01 32 Prefactor 21.778 13.028 .0000 -.44251E-04 33 Normalizat .92889 .52833E-01 .0000 .57646E-04 34 Prefactor 1.0316 .41839E-01 .0000 -.25808E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 1.03451 Prefactor = 0.0001 Prefactor = 1.69563 Prefactor = 1.8019 Prefactor = 8.323 norm = 6.45959 Prefactor = 0.000100001 Prefactor = 3.36977 norm = 3.37738 Prefactor = 0.000100003 Prefactor = 4.55572 Prefactor = 6.16185 norm = 0.357989 Prefactor = 7.55582 norm = 4.22684 Prefactor = 2.69783 Prefactor = 0.0001 Prefactor = 24.3401 Prefactor = 1.23452 Prefactor = 4.18533 Prefactor = 1.5359 Prefactor = 50.639 norm = 0.762215 norm = 0.883878 Prefactor = 5.78498 norm = 6.03103 Prefactor = 0.0001 Prefactor = 31.3534 Prefactor = 1.66198 Prefactor = 1.05715 Prefactor = 21.7784 Normalizat = 0.928891 Prefactor = 1.03161 ********** ** 18 **HESSE ********** FCN= 86512.90 FROM HESSE STATUS=OK 754 CALLS 5687 TOTAL EDM= .22E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 3.5211 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 1.0345 3.5606 .24837E-02 -1.5505 3 Prefactor .10000E-03 4.0262 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 1.6956 5.3972 .32311E-03 -1.5448 5 Prefactor 1.8019 2.5950 .15569E-02 -1.5439 6 Prefactor 8.3230 5.0102 .13896E-03 -1.5131 7 norm 6.4596 .91810 .10274E-03 -1.5200 8 Prefactor .10000E-03 9.1181 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 3.3698 5.3516 .22044E-03 -1.5341 10 norm 3.3774 3.1897 .22016E-03 -1.5340 11 Prefactor .10000E-03 11.953 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 4.5557 1.9792 .94301E-03 -1.5281 13 Prefactor 6.1619 7.5334 .16173E-03 -1.5211 14 norm .35799 1.0938 .35732E-02 -1.5588 15 Prefactor 7.5558 4.1325 .72945E-03 -1.5158 16 norm 4.2268 .34674 .43730E-04 -1.5297 17 Prefactor 2.6978 2.0387 .24802E-03 -1.5379 18 Prefactor .10000E-03 .63905 .17682E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 24.340 5.1694 .81193E-04 -1.4721 20 Prefactor 1.2345 2.4533 .20236E-02 -1.5486 21 Prefactor 4.1853 5.9022 .98479E-03 -1.5299 22 Prefactor 1.5359 2.0855 .34419E-03 -1.5460 23 Prefactor 50.639 24.765 .56354E-04 -1.4284 24 norm .76221 .46182 .15096E-03 -1.5533 25 norm .88388 .18451 .56353E-03 -1.5520 26 Prefactor 5.7850 3.6488 .16698E-03 -1.5227 27 norm 6.0310 1.2577 .70105E-03 -1.5217 28 Prefactor .10000E-03 1.1786 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Prefactor 31.353 23.100 .71558E-04 -1.4587 30 Prefactor 1.6620 1.5201 .31652E-03 -1.5450 31 Prefactor 1.0571 3.9221 .23926E-02 -1.5502 32 Prefactor 21.778 13.035 .85830E-04 -1.4774 33 Normalizat .92889 .59725E-01 .27932E-03 -.95452 34 Prefactor 1.0316 .47944E-01 .21912E-03 -.91683 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.23904e-07 Minuit parameter uncertainties: 1 2.12233e-06 2 3.56132 3 1.81383e-05 4 5.39877 5 2.59515 6 5.01047 7 0.918097 8 0.000214335 9 5.35232 10 3.18982 11 0.000372084 12 1.97924 13 7.53452 14 1.09385 15 4.13268 16 0.346738 17 2.03875 18 1.69772e-06 19 5.16946 20 2.45345 21 5.90306 22 2.08558 23 24.7701 24 0.461826 25 0.184508 26 3.64889 27 1.25768 28 1.21299e-05 29 23.1068 30 1.52018 31 3.92309 32 13.0365 33 0.0597288 34 0.0479461 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 86512.8995775 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 6.162e+00 7.535e+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: 1.032e+00 4.795e-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.289e-01 5.973e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.93 Ra Dec: 250.082 68.848 Photon Flux Upper Limit: 1.67e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.26e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/968598/likelihoodResults_296611201_299203201_4FGL_J1640.3+6850_monthly_bin23.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) = 86512.7853206 delta logL = 0.114256961548 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 86512.7286877 delta logL = 0.170889877176 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.3527 1.0000 .10000E-03 10000. 2 'Index ' 2.7432 1.0000 .0000 10.000 3 'Normalizat' .92290 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0339 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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 86512.73 FROM MIGRAD STATUS=FAILED 101 CALLS 263 TOTAL EDM= .92E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.3479 152.36 .11051E-02 .16154E-02 2 Index 2.7444 6.1241 .92082E-02 .61870E-04 3 Normalizat .92285 .63935E-01 .28007E-03 -.11690E-04 4 Prefactor 1.0340 .41067E-01 .21886E-03 -.12467E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 86512.73 FROM SIMPLEX STATUS=UNCHANGED 90 CALLS 353 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.3479 152.36 .21850E-03 .16154E-02 2 Index 2.7444 6.1241 .14052E-02 .61870E-04 3 Normalizat .92285 .63935E-01 .55960E-04 -.11690E-04 4 Prefactor 1.0340 .41067E-01 .44192E-04 -.12467E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 86512.73 FROM MIGRAD STATUS=CONVERGED 32 CALLS 385 TOTAL EDM= .51E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.3479 8.3098 .22103E-03 .63534E-04 2 Index 2.7444 1.2609 .36833E-03 .23705E-05 3 Normalizat .92285 .58748E-01 .11203E-04 -.12989E-04 4 Prefactor 1.0340 .47489E-01 .87545E-05 -.12467E-04 ERR DEF= .500 Final values: Prefactor = 3.34785 Index = 2.7444 Normalizat = 0.922851 Prefactor = 1.03397 ********** ** 18 **HESSE ********** FCN= 86512.73 FROM HESSE STATUS=OK 25 CALLS 410 TOTAL EDM= .38E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.3479 7.6758 .44205E-04 -1.5342 2 Index 2.7444 1.1670 .73665E-04 -.46802 3 Normalizat .92285 .58514E-01 .22406E-05 -.95662 4 Prefactor 1.0340 .47357E-01 .17509E-05 -.91606 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.79477e-13 Minuit parameter uncertainties: 1 7.67806 2 1.1807 3 0.0585184 4 0.0473588 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/968598': 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) = 86512.7286866 delta logL = 0.170890896421 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 3.348e+00 7.678e+00 1.000e-04 1.000e+04 ( 1.000e-14) 351 Index: 2.744e+00 1.181e+00 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: 1.034e+00 4.736e-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.229e-01 5.852e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.29 Ra Dec: 250.082 68.848 Photon Index (Free Index): 2.74 +/- 1.18 Photon Flux (Free Index): 1.09e-08 +/- 1.48e-08 Energy Flux (Free Index): 2.53e-06 +/- 2.47e-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/968598/cmap_HighResolution_296611201_299203201_4FGL_J1640.3+6850_monthly_bin23.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/968598 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-03', comment='SUCCESS', energy_flux2='2.53e-06', dlogl='1.71e-01', photon_flux2='1.09e-08', job_status='DONE', time_completed='2021-10-29 13:19:46.783229', photon_index_error2='1.18', photon_index2='2.74', ts='0.93', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.67e-08', energy_flux_error2='2.47e-06', EG='0.93', time_epoch_completed='1635538786.78', return_code='0', job_id='968598', GAL2='1.03', EG2='0.92', return_code2='0', photon_flux_error2='1.48e-08', ts2='1.29', photon_index='2.13' WHERE bin_id='23' AND source_name='4FGL J1640.3+6850' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Oct 29 13:19:46 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 968598: <4FGL_J1640.3+6850_monthly_bin23> in cluster Done Job <4FGL_J1640.3+6850_monthly_bin23> was submitted from host by user in cluster at Fri Oct 29 09:05:20 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Oct 29 09:05:37 2021 was used as the home directory. was used as the working directory. Started at Fri Oct 29 09:05:37 2021 Terminated at Fri Oct 29 13:19:48 2021 Results reported at Fri Oct 29 13:19:48 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.3+6850_monthly_bin23 250.082 68.8483 296611201 299203201 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 : 15094.00 sec. Max Memory : 1262 MB Average Memory : 436.75 MB Total Requested Memory : - Delta Memory : - Max Swap : 1 MB Max Processes : 5 Max Threads : 21 Run time : 15250 sec. Turnaround time : 15268 sec. The output (if any) is above this job summary.