/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 66 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 = 73294 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_monthly_bin146 RA = 250.119, Dec = 39.7626 tmin = 615427201, tmax = 618019201 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='986146', job_status='RUN', time_executed='2021-10-29 10:11:54.756189', time_epoch_executed='1635527514.76' WHERE source_name='4FGL J1640.4+3945' and cadence='monthly' and bin_id='146' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/986146 Creating custom pfile directory: /scratch/kocevski/986146/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=615427201.0 && nMetStart<618019201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=615427201.0 && nMetStart<618019201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/986146/ft1_4FGL_J1640.4+3945_monthly_bin146.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=615427201.0 && nMetStart<618019201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/986146/ft2_4FGL_J1640.4+3945_monthly_bin146.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/986146/ft1_4FGL_J1640.4+3945_monthly_bin146.fits outfile=/scratch/kocevski/986146/ft1_filteredMKT_4FGL_J1640.4+3945_monthly_bin146.fits ra=250.119 dec=39.7626 rad=12.0 tmin=615427201.0 tmax=618019201.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.60 user 26.81 sys 0.62 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/986146/ft2_4FGL_J1640.4+3945_monthly_bin146.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/986146/ft2_4FGL_J1640.4+3945_monthly_bin146.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/986146/ft1_filteredMKT_4FGL_J1640.4+3945_monthly_bin146.fits evtable="EVENTS" outfile="/scratch/kocevski/986146/ft1_filtered_4FGL_J1640.4+3945_monthly_bin146.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.87 user 0.66 sys 0.19 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/986146/ft1_filtered_4FGL_J1640.4+3945_monthly_bin146.fits" evtable="EVENTS" scfile=/scratch/kocevski/986146/ft2_4FGL_J1640.4+3945_monthly_bin146.fits sctable="SC_DATA" outfile=/scratch/kocevski/986146/ltcube_615427201_618019201_4FGL_J1640.4+3945_monthly_bin146.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/986146/ft2_4FGL_J1640.4+3945_monthly_bin146.fits .....................! real 124.64 user 123.93 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/986146/ft1_filtered_4FGL_J1640.4+3945_monthly_bin146.fits evtable="EVENTS" scfile=/scratch/kocevski/986146/ft2_4FGL_J1640.4+3945_monthly_bin146.fits sctable="SC_DATA" expcube=/scratch/kocevski/986146/ltcube_615427201_618019201_4FGL_J1640.4+3945_monthly_bin146.fits outfile=/scratch/kocevski/986146/expmap_615427201_618019201_4FGL_J1640.4+3945_monthly_bin146.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/986146/ltcube_615427201_618019201_4FGL_J1640.4+3945_monthly_bin146.fits .....................! real 192.45 user 186.56 sys 5.38 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 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/986146/ft1_filtered_4FGL_J1640.4+3945_monthly_bin146.fits scfile=/scratch/kocevski/986146/ft2_4FGL_J1640.4+3945_monthly_bin146.fits outfile=/scratch/kocevski/986146/cmap_615427201_618019201_4FGL_J1640.4+3945_monthly_bin146.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.119 yref=39.7626 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 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/986146/ft1_filtered_4FGL_J1640.4+3945_monthly_bin146.fits scfile=/scratch/kocevski/986146/ft2_4FGL_J1640.4+3945_monthly_bin146.fits outfile=/scratch/kocevski/986146/cmap_HighResolution_615427201_618019201_4FGL_J1640.4+3945_monthly_bin146.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.119 yref=39.7626 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.80 user 0.61 sys 0.18 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/986146/ft1_filtered_4FGL_J1640.4+3945_monthly_bin146.fits evtable="EVENTS" scfile=/scratch/kocevski/986146/ft2_4FGL_J1640.4+3945_monthly_bin146.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/986146/Model_4FGL_J1640.4+3945_monthly_bin146.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/986146/ft1_filtered_4FGL_J1640.4+3945_monthly_bin146.fits.....................! real 612.95 user 609.85 sys 1.30 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/986146/ft1_filtered_4FGL_J1640.4+3945_monthly_bin146.fits', '/scratch/kocevski/986146/ft2_4FGL_J1640.4+3945_monthly_bin146.fits', expMap='/scratch/kocevski/986146/expmap_615427201_618019201_4FGL_J1640.4+3945_monthly_bin146.fits', expCube='/scratch/kocevski/986146/ltcube_615427201_618019201_4FGL_J1640.4+3945_monthly_bin146.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/986146/Model_4FGL_J1640.4+3945_monthly_bin146.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.4+3945' 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.345e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/986146/ft1_filtered_4FGL_J1640.4+3945_monthly_bin146.fits Spacecraft file(s): /scratch/kocevski/986146/ft2_4FGL_J1640.4+3945_monthly_bin146.fits Exposure map: /scratch/kocevski/986146/expmap_615427201_618019201_4FGL_J1640.4+3945_monthly_bin146.fits Exposure cube: /scratch/kocevski/986146/ltcube_615427201_618019201_4FGL_J1640.4+3945_monthly_bin146.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/986146/Model_4FGL_J1640.4+3945_monthly_bin146.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) = 101215.683386 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 101215.424575 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10024E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 20.174 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.1536 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.6968 1.0000 .10000E-03 10000. 5 'Prefactor ' .13870E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10285E-03 1.0000 .10000E-03 10000. 7 'norm ' .21575 1.0000 .10000E-03 10000. 8 'norm ' .10002E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10972E-01 1.0000 .10000E-03 10000. 10 'Prefactor ' .24161E-01 1.0000 .10000E-03 10000. 11 'norm ' .10086E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 1.8333 1.0000 .10000E-03 10000. 13 'Prefactor ' .55104 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.9173 1.0000 .10000E-03 10000. 15 'Prefactor ' .85057 1.0000 .10000E-03 10000. 16 'norm ' 2.2872 1.0000 .10000E-03 10000. 17 'norm ' .28993 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.5853 1.0000 .10000E-03 10000. 19 'norm ' .94838E-01 1.0000 .10000E-03 10000. 20 'norm ' 1.2571 1.0000 .10000E-03 10000. 21 'norm ' 6.8807 1.0000 .10000E-03 10000. 22 'Prefactor ' .41652E-03 1.0000 .10000E-03 10000. 23 'norm ' 4.4169 1.0000 .10000E-03 10000. 24 'Prefactor ' .14708E-02 1.0000 .10000E-03 10000. 25 'Normalizat' 1.0743 1.0000 .10000E-01 10.000 26 'Prefactor ' .93578 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 101215.4 FROM MIGRAD STATUS=CONVERGED 667 CALLS 2864 TOTAL EDM= .56E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .81787 -.88474E-08** at limit ** 2 Prefactor 20.210 12.377 .16232E-05 .62149E-04 3 Prefactor 1.1538 .80984 .31204E-06 .65205E-03 4 Prefactor 1.6968 .95098 .87426E-07 .70529E-03 5 Prefactor .10000E-03 .70382 -.12548E-06** at limit ** 6 Prefactor .10000E-03 .94837E-01 -.23884E-07** at limit ** 7 norm .21581 .36163E-01 .12770E-07 .18226E-01 8 norm .10000E-03 .75825 -.30993E-08** at limit ** 9 Prefactor .10022E-03 .93926 -.44871E-06** at limit ** 10 Prefactor .23559E-01 .12979 -.12955E-06 .10528E-02 11 norm .10000E-03 3.7677 -.41748E-08** at limit ** 12 Prefactor 1.8334 .48148 .19529E-07 .37428E-02 13 Prefactor .55103 .42172 -.87442E-08 -.41618E-03 14 Prefactor 1.9173 .66060 .68993E-07 .10300E-02 15 Prefactor .85080 .61174 .23665E-06 .87381E-03 16 norm 2.2871 .37312 .11196E-08 .61818E-03 17 norm .28985 .17884 -.97825E-08 -.25148E-02 18 Prefactor 2.5849 1.4827 .21065E-06 .35034E-03 19 norm .94852E-01 .91340E-01 .74731E-07 -.26320E-02 20 norm 1.2558 1.3628 .52696E-06 .45347E-03 21 norm 6.8807 .56178 -.42304E-08 .12475E-03 22 Prefactor .10001E-03 1.7197 -.46595E-06** at limit ** 23 norm 4.4191 1.2696 .17605E-07 .11317E-02 24 Prefactor .10009E-03 4.3591 -.90955E-06** at limit ** 25 Normalizat 1.0743 .49439E-01 -.57804E-07 .18852E-02 26 Prefactor .93583 .38863E-01 -.90251E-07 .17384E-02 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 20.2098 Prefactor = 1.1538 Prefactor = 1.69683 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.215805 norm = 0.0001 Prefactor = 0.000100219 Prefactor = 0.0235589 norm = 0.0001 Prefactor = 1.83341 Prefactor = 0.551033 Prefactor = 1.91726 Prefactor = 0.850798 norm = 2.28712 norm = 0.289853 Prefactor = 2.58488 norm = 0.0948519 norm = 1.25579 norm = 6.88067 Prefactor = 0.00010001 norm = 4.41913 Prefactor = 0.000100089 Normalizat = 1.07431 Prefactor = 0.935827 ********** ** 18 **HESSE ********** FCN= 101215.4 FROM HESSE STATUS=OK 514 CALLS 3378 TOTAL EDM= .24E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 .82442 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 20.210 12.037 .89174E-04 -1.4809 3 Prefactor 1.1538 .81164 .22852E-03 -1.5493 4 Prefactor 1.6968 .91025 .21496E-03 -1.5447 5 Prefactor .10000E-03 4.9990 .48734E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 1.2630 .18586E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .21581 .35642E-01 .21448E-04 -1.5615 8 norm .10000E-03 .76981 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10022E-03 1.2821 .80715E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .23559E-01 .24231 .37752E-01 -1.5677 11 norm .10000E-03 3.8204 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 1.8334 .44340 .64687E-04 -1.5437 13 Prefactor .55103 .37606 .10423E-03 -1.5560 14 Prefactor 1.9173 .64724 .14171E-03 -1.5431 15 Prefactor .85080 .59156 .19604E-03 -1.5523 16 norm 2.2871 .37195 .75366E-04 -1.5405 17 norm .28985 .15539 .96684E-03 -1.5600 18 Prefactor 2.5849 1.4379 .25380E-03 -1.5386 19 norm .94852E-01 .10437 .85412E-03 -1.5646 20 norm 1.2558 1.3589 .37403E-03 -1.5484 21 norm 6.8807 .56010 .64821E-04 -1.5183 22 Prefactor .10001E-03 1.7266 .14831 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 4.4191 1.2646 .17537E-03 -1.5288 24 Prefactor .10009E-03 3.8368 .17880 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.0743 .59149E-01 .25810E-03 -.90581 26 Prefactor .93583 .46891E-01 .22950E-03 -.94900 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.38034e-07 Minuit parameter uncertainties: 1 2.19945e-07 2 12.038 3 0.811647 4 0.910262 5 1.97317e-05 6 2.43044e-06 7 0.0356424 8 2.54064e-07 9 0.00105947 10 0.150789 11 3.97771e-06 12 0.443397 13 0.376063 14 0.64724 15 0.591564 16 0.371951 17 0.155394 18 1.43796 19 0.104373 20 1.35892 21 0.560103 22 0.000263001 23 1.26457 24 0.00116702 25 0.0591522 26 0.0468931 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 101215.424407 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.833e+00 4.434e-01 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.358e-01 4.689e-02 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.074e+00 5.915e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 64.28 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 7.24e-08 +/- 1.75e-08 Energy Flux (Fixed Index): 2.31e-05 +/- 5.58e-06 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) = 101212.825502 delta logL = 2.59890545464 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 101212.816225 delta logL = 2.60818236489 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.1298 1.0000 .10000E-03 10000. 2 'Index ' 2.7947 1.0000 .0000 10.000 3 'Normalizat' 1.0453 1.0000 .10000E-01 10.000 4 'Prefactor ' .95230 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+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= 101212.8 FROM MIGRAD STATUS=FAILED 93 CALLS 268 TOTAL EDM= .26E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.1298 .47895 .46753E-04 .43653E-03 2 Index 2.7947 .23664 .42091E-02 .97495E-02 3 Normalizat 1.0453 .57974E-01 .26104E-03 .76651E-05 4 Prefactor .95230 .47337E-01 .22772E-03 .79879E-06 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 101212.8 FROM SIMPLEX STATUS=UNCHANGED 73 CALLS 341 TOTAL EDM= .18E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.1298 .47895 .14133E-04 -1.5495 2 Index 2.7947 .23664 .22714E-03 -.45677 3 Normalizat 1.0453 .57974E-01 .90084E-04 -.91529 4 Prefactor .95230 .47337E-01 .54392E-04 -.94337 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 101212.8 FROM MIGRAD STATUS=CONVERGED 29 CALLS 370 TOTAL EDM= .26E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.1298 .37336 .93507E-05 -.19453E-04 2 Index 2.7947 .18429 .84182E-03 .38950E-03 3 Normalizat 1.0453 .57467E-01 .52208E-04 .76651E-05 4 Prefactor .95230 .47076E-01 .91087E-05 .79879E-06 ERR DEF= .500 Final values: Prefactor = 1.12977 Index = 2.79475 Normalizat = 1.04527 Prefactor = 0.952301 ********** ** 18 **HESSE ********** FCN= 101212.8 FROM HESSE STATUS=OK 25 CALLS 395 TOTAL EDM= .42E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.1298 .35948 .37403E-06 -1.5495 2 Index 2.7947 .17743 .16836E-03 -.45677 3 Normalizat 1.0453 .57404E-01 .52208E-04 -.91529 4 Prefactor .95230 .47041E-01 .91087E-05 -.94337 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.16622e-13 Minuit parameter uncertainties: 1 0.359477 2 0.177473 3 0.0574078 4 0.0470428 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/986146': 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) = 101212.816225 delta logL = 2.60818236948 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.130e+00 3.595e-01 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.795e+00 1.775e-01 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.523e-01 4.704e-02 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.045e+00 5.741e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 71.94 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.79 +/- 0.18 Photon Flux (Free Index): 9.38e-08 +/- 1.56e-08 Energy Flux (Free Index): 2.11e-05 +/- 3.15e-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/986146/cmap_HighResolution_615427201_618019201_4FGL_J1640.4+3945_monthly_bin146.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/986146 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.24e-08', energy_flux2='2.11e-05', photon_flux_error='1.75e-08', dlogl='2.61e+00', energy_flux='2.31e-05', photon_flux2='9.38e-08', job_status='DONE', time_completed='2021-10-29 12:10:54.476352', photon_index_error2='0.18', photon_index2='2.79', ts='64.28', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='3.15e-06', EG='1.07', time_epoch_completed='1635534654.48', return_code='0', job_id='986146', GAL2='0.95', EG2='1.05', return_code2='0', energy_flux_error='5.58e-06', photon_flux_error2='1.56e-08', ts2='71.94', photon_index='2.42' WHERE bin_id='146' AND source_name='4FGL J1640.4+3945' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Oct 29 12:10:54 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 986146: <4FGL_J1640.4+3945_monthly_bin146> in cluster Done Job <4FGL_J1640.4+3945_monthly_bin146> was submitted from host by user in cluster at Fri Oct 29 10:10:14 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Oct 29 10:10:37 2021 was used as the home directory. was used as the working directory. Started at Fri Oct 29 10:10:37 2021 Terminated at Fri Oct 29 12:10:55 2021 Results reported at Fri Oct 29 12:10:55 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_monthly_bin146 250.119 39.7626 615427201 618019201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.4+3945 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 7024.00 sec. Max Memory : 631 MB Average Memory : 439.33 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 7219 sec. Turnaround time : 7241 sec. The output (if any) is above this job summary.