/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 4 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 = 7472 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin1273 RA = 250.119, Dec = 39.7626 tmin = 569289601, tmax = 569548801 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='838609', job_status='RUN', time_executed='2021-09-15 06:56:54.124358', time_epoch_executed='1631714214.12' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='1273' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/838609 Creating custom pfile directory: /scratch/kocevski/838609/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=569289601.0 && nMetStart<569548801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=569289601.0 && nMetStart<569548801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/838609/ft1_4FGL_J1640.4+3945_daily_bin1273.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=569289601.0 && nMetStart<569548801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/838609/ft2_4FGL_J1640.4+3945_daily_bin1273.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/838609/ft1_4FGL_J1640.4+3945_daily_bin1273.fits outfile=/scratch/kocevski/838609/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1273.fits ra=250.119 dec=39.7626 rad=12.0 tmin=569289601.0 tmax=569548801.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 3.60 user 3.38 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/838609/ft2_4FGL_J1640.4+3945_daily_bin1273.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/838609/ft2_4FGL_J1640.4+3945_daily_bin1273.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/838609/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1273.fits evtable="EVENTS" outfile="/scratch/kocevski/838609/ft1_filtered_4FGL_J1640.4+3945_daily_bin1273.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.49 user 0.34 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/838609/ft1_filtered_4FGL_J1640.4+3945_daily_bin1273.fits" evtable="EVENTS" scfile=/scratch/kocevski/838609/ft2_4FGL_J1640.4+3945_daily_bin1273.fits sctable="SC_DATA" outfile=/scratch/kocevski/838609/ltcube_569289601_569548801_4FGL_J1640.4+3945_daily_bin1273.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/838609/ft2_4FGL_J1640.4+3945_daily_bin1273.fits .....................! real 12.87 user 12.50 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/838609/ft1_filtered_4FGL_J1640.4+3945_daily_bin1273.fits evtable="EVENTS" scfile=/scratch/kocevski/838609/ft2_4FGL_J1640.4+3945_daily_bin1273.fits sctable="SC_DATA" expcube=/scratch/kocevski/838609/ltcube_569289601_569548801_4FGL_J1640.4+3945_daily_bin1273.fits outfile=/scratch/kocevski/838609/expmap_569289601_569548801_4FGL_J1640.4+3945_daily_bin1273.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/838609/ltcube_569289601_569548801_4FGL_J1640.4+3945_daily_bin1273.fits .....................! real 191.50 user 186.00 sys 5.09 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/838609/ft1_filtered_4FGL_J1640.4+3945_daily_bin1273.fits scfile=/scratch/kocevski/838609/ft2_4FGL_J1640.4+3945_daily_bin1273.fits outfile=/scratch/kocevski/838609/cmap_569289601_569548801_4FGL_J1640.4+3945_daily_bin1273.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.64 user 0.37 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/838609/ft1_filtered_4FGL_J1640.4+3945_daily_bin1273.fits scfile=/scratch/kocevski/838609/ft2_4FGL_J1640.4+3945_daily_bin1273.fits outfile=/scratch/kocevski/838609/cmap_HighResolution_569289601_569548801_4FGL_J1640.4+3945_daily_bin1273.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.66 user 0.40 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/838609/ft1_filtered_4FGL_J1640.4+3945_daily_bin1273.fits evtable="EVENTS" scfile=/scratch/kocevski/838609/ft2_4FGL_J1640.4+3945_daily_bin1273.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/838609/Model_4FGL_J1640.4+3945_daily_bin1273.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/838609/ft1_filtered_4FGL_J1640.4+3945_daily_bin1273.fits.....................! real 55.66 user 53.54 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/838609/ft1_filtered_4FGL_J1640.4+3945_daily_bin1273.fits', '/scratch/kocevski/838609/ft2_4FGL_J1640.4+3945_daily_bin1273.fits', expMap='/scratch/kocevski/838609/expmap_569289601_569548801_4FGL_J1640.4+3945_daily_bin1273.fits', expCube='/scratch/kocevski/838609/ltcube_569289601_569548801_4FGL_J1640.4+3945_daily_bin1273.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/838609/Model_4FGL_J1640.4+3945_daily_bin1273.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/838609/ft1_filtered_4FGL_J1640.4+3945_daily_bin1273.fits Spacecraft file(s): /scratch/kocevski/838609/ft2_4FGL_J1640.4+3945_daily_bin1273.fits Exposure map: /scratch/kocevski/838609/expmap_569289601_569548801_4FGL_J1640.4+3945_daily_bin1273.fits Exposure cube: /scratch/kocevski/838609/ltcube_569289601_569548801_4FGL_J1640.4+3945_daily_bin1273.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/838609/Model_4FGL_J1640.4+3945_daily_bin1273.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) = 7102.13122304 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7101.87755109 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.0275 1.0000 .10000E-03 10000. 2 'Prefactor ' 91.153 1.0000 .10000E-03 10000. 3 'Prefactor ' .20790 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 15.129 1.0000 .10000E-03 10000. 6 'Prefactor ' .10345E-03 1.0000 .10000E-03 10000. 7 'norm ' .29417 1.0000 .10000E-03 10000. 8 'norm ' 2.7766 1.0000 .10000E-03 10000. 9 'Prefactor ' 37.974 1.0000 .10000E-03 10000. 10 'Prefactor ' 1.7225 1.0000 .10000E-03 10000. 11 'norm ' .10001E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.1234 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.6955 1.0000 .10000E-03 10000. 15 'Prefactor ' 2.5960 1.0000 .10000E-03 10000. 16 'norm ' 3.1134 1.0000 .10000E-03 10000. 17 'norm ' 3.5235 1.0000 .10000E-03 10000. 18 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 19 'norm ' .61444 1.0000 .10000E-03 10000. 20 'norm ' .10000E-03 1.0000 .10000E-03 10000. 21 'norm ' 1.8655 1.0000 .10000E-03 10000. 22 'Prefactor ' 13.067 1.0000 .10000E-03 10000. 23 'norm ' 17.119 1.0000 .10000E-03 10000. 24 'Prefactor ' .10444E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.1078 1.0000 .10000E-01 10.000 26 'Prefactor ' .76492 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= 7101.878 FROM MIGRAD STATUS=CONVERGED 619 CALLS 3212 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.0085 44.828 -.56146E-04 -.17323E-04 2 Prefactor 91.141 74.140 -.11435E-04 .21273E-04 3 Prefactor .20832 1.3446 -.72959E-06 -.11896E-03 4 Prefactor .10000E-03 3.2528 .42663E-06** at limit ** 5 Prefactor 15.125 16.840 -.18017E-05 .56502E-04 6 Prefactor .10000E-03 1.3634 -.31978E-06** at limit ** 7 norm .29414 .14406 -.10964E-07 .30442E-03 8 norm 2.7766 8.7908 -.11928E-05 -.18096E-03 9 Prefactor 37.973 18.801 -.10740E-05 .13345E-03 10 Prefactor 1.7225 3.3155 -.11789E-05 -.81005E-03 11 norm .10000E-03 8.5296 -.38581E-06** at limit ** 12 Prefactor .10000E-03 .55483 -.20045E-07** at limit ** 13 Prefactor 1.1231 .86855 -.26036E-07 .72246E-04 14 Prefactor 1.6954 3.2139 -.89228E-06 -.89825E-03 15 Prefactor 2.5958 2.5628 -.28030E-06 -.42973E-03 16 norm 3.1134 1.5622 -.48454E-07 .10191E-03 17 norm 3.5234 1.1780 .38915E-07 .21019E-03 18 Prefactor .10000E-03 4.8573 .94162E-06** at limit ** 19 norm .61445 .58306 -.15050E-06 -.11284E-02 20 norm .10000E-03 2.8833 -.17416E-06** at limit ** 21 norm 1.8655 1.3856 -.11227E-06 -.31378E-03 22 Prefactor 13.096 32.694 .57861E-04 .38807E-05 23 norm 17.118 6.8449 -.22120E-05 -.94591E-04 24 Prefactor .10000E-03 35.368 .32100E-05** at limit ** 25 Normalizat 1.1080 .18487 .59907E-05 .10361E-04 26 Prefactor .76477 .14581 -.31493E-05 .61729E-03 ERR DEF= .500 Final values: Prefactor = 3.00848 Prefactor = 91.141 Prefactor = 0.208322 Prefactor = 0.0001 Prefactor = 15.1246 Prefactor = 0.000100001 norm = 0.29414 norm = 2.77658 Prefactor = 37.9728 Prefactor = 1.72251 norm = 0.0001 Prefactor = 0.0001 Prefactor = 1.12312 Prefactor = 1.69535 Prefactor = 2.59578 norm = 3.11335 norm = 3.52343 Prefactor = 0.0001 norm = 0.614446 norm = 0.0001 norm = 1.8655 Prefactor = 13.0964 norm = 17.1177 Prefactor = 0.0001 Normalizat = 1.10796 Prefactor = 0.764772 ********** ** 18 **HESSE ********** FCN= 7101.878 FROM HESSE STATUS=OK 472 CALLS 3684 TOTAL EDM= .26E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.0085 45.401 .23322E-03 -1.5361 2 Prefactor 91.141 74.195 .42089E-04 -1.3796 3 Prefactor .20832 5.2094 .18609E-02 -1.5617 4 Prefactor .10000E-03 3.2818 .14821E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 15.125 16.867 .10297E-03 -1.4930 6 Prefactor .10000E-03 4.3179 .19033E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .29414 .14025 .19704E-04 -1.5600 8 norm 2.7766 8.7657 .24422E-03 -1.5375 9 Prefactor 37.973 18.789 .65040E-04 -1.4475 10 Prefactor 1.7225 3.2885 .20203E-03 -1.5445 11 norm .10000E-03 8.5298 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 .86686 .11097E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 1.1231 .80253 .60224E-04 -1.5496 14 Prefactor 1.6954 3.1783 .19068E-03 -1.5448 15 Prefactor 2.5958 2.5464 .12719E-03 -1.5386 16 norm 3.1134 1.5598 .71878E-04 -1.5355 17 norm 3.5234 1.1707 .48651E-04 -1.5333 18 Prefactor .10000E-03 4.9467 .18112E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .61445 .55431 .60335E-03 -1.5551 20 norm .10000E-03 2.8903 .13972E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 1.8655 1.3766 .82524E-04 -1.5435 22 Prefactor 13.096 32.531 .11081E-03 -1.4984 23 norm 17.118 6.8470 .96801E-04 -1.4880 24 Prefactor .10000E-03 35.390 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.1080 .22141 .25119E-03 -.89497 26 Prefactor .76477 .17512 .24549E-03 -1.0104 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.56993e-08 Minuit parameter uncertainties: 1 23.3949 2 74.2707 3 2.0832 4 2.81047e-05 5 16.8726 6 0.0001443 7 0.140247 8 8.76977 9 18.7919 10 3.28887 11 1.42995e-06 12 2.96751e-06 13 0.802539 14 3.17862 15 2.54648 16 1.55982 17 1.17067 18 2.02154e-05 19 0.554317 20 1.4364e-05 21 1.37659 22 32.575 23 6.84728 24 1.51911e-05 25 0.221594 26 0.175252 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7101.87754946 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 2.968e-06 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: 7.648e-01 1.753e-01 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.108e+00 2.216e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.23e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.59e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/838609/likelihoodResults_569289601_569548801_4FGL_J1640.4+3945_daily_bin1273.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) = 7101.88307676 delta logL = -0.00552730320669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7101.87754563 delta logL = 3.8290181692e-06 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 'Index ' 2.3802 1.0000 .0000 10.000 3 'Normalizat' 1.1080 1.0000 .10000E-01 10.000 4 'Prefactor ' .76476 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. FCN= 7101.878 FROM MIGRAD STATUS=CONVERGED 78 CALLS 244 TOTAL EDM= .21E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .11949 .27574E-01** at limit ** 2 Index 1.9213 8.2304 .50000 .50356E-06 3 Normalizat 1.1080 .17123E-02 .56802E-01 .38055E-05 4 Prefactor .76476 .14234E-02 .43257E-01 .14133E-05 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 1.92129 Normalizat = 1.10797 Prefactor = 0.764764 ********** ** 18 **HESSE ********** FCN= 7101.878 FROM HESSE STATUS=NOT POSDEF 35 CALLS 279 TOTAL EDM= .13E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 15.674 .14163E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.9213 5.1347 .50000 -.66333 3 Normalizat 1.1080 .14436E-01 .25118E-03 -.89496 4 Prefactor .76476 .12004E-01 .24550E-03 -1.0104 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.29042e-10 Minuit parameter uncertainties: 1 6.09681e-06 2 105.89 3 0.0144359 4 0.0120036 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/838609': 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): 102 logL (Free Index) = 7101.87752755 delta logL = 2.19119392568e-05 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 6.097e-06 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 1.921e+00 1.059e+02 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: 7.648e-01 1.200e-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.108e+00 1.444e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /scratch/kocevski/838609/cmap_HighResolution_569289601_569548801_4FGL_J1640.4+3945_daily_bin1273.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/838609 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.59e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2021-09-15 07:12:08.399579', job_id='838609', GAL2='0.76', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1631715128.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.19e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1273' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 07:12:08 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 838609: <4FGL_J1640.4+3945_daily_bin1273> in cluster Done Job <4FGL_J1640.4+3945_daily_bin1273> was submitted from host by user in cluster at Wed Sep 15 06:45:34 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:56:41 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:56:41 2021 Terminated at Wed Sep 15 07:12:09 2021 Results reported at Wed Sep 15 07:12:09 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin1273 250.119 39.7626 569289601 569548801 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 : 904.37 sec. Max Memory : 1258 MB Average Memory : 314.71 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 927 sec. Turnaround time : 1595 sec. The output (if any) is above this job summary.