aklog: Couldn't determine realm of user:aklog: No credentials cache found while getting realm /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 80 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 = 7706 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin1690 RA = 250.119, Dec = 39.7626 tmin = 677376001, tmax = 677635201 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='143606', job_status='RUN', time_executed='2022-06-23 01:02:09.713019', time_epoch_executed='1655971329.71' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='1690' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/143606 Creating custom pfile directory: /scratch/kocevski/143606/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=677376001.0 && nMetStart<677635201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=677376001.0 && nMetStart<677635201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/143606/ft1_4FGL_J1640.4+3945_daily_bin1690.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=677376001.0 && nMetStart<677635201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/143606/ft2_4FGL_J1640.4+3945_daily_bin1690.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/143606/ft1_4FGL_J1640.4+3945_daily_bin1690.fits outfile=/scratch/kocevski/143606/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1690.fits ra=250.119 dec=39.7626 rad=12.0 tmin=677376001.0 tmax=677635201.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 2.52 user 2.32 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/143606/ft2_4FGL_J1640.4+3945_daily_bin1690.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/143606/ft2_4FGL_J1640.4+3945_daily_bin1690.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/143606/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1690.fits evtable="EVENTS" outfile="/scratch/kocevski/143606/ft1_filtered_4FGL_J1640.4+3945_daily_bin1690.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.31 sys 0.17 Number of photons that the gtmktime cut: 1091 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/143606/ft1_filtered_4FGL_J1640.4+3945_daily_bin1690.fits" evtable="EVENTS" scfile=/scratch/kocevski/143606/ft2_4FGL_J1640.4+3945_daily_bin1690.fits sctable="SC_DATA" outfile=/scratch/kocevski/143606/ltcube_677376001_677635201_4FGL_J1640.4+3945_daily_bin1690.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/143606/ft2_4FGL_J1640.4+3945_daily_bin1690.fits .....................! real 13.27 user 12.91 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/143606/ft1_filtered_4FGL_J1640.4+3945_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/143606/ft2_4FGL_J1640.4+3945_daily_bin1690.fits sctable="SC_DATA" expcube=/scratch/kocevski/143606/ltcube_677376001_677635201_4FGL_J1640.4+3945_daily_bin1690.fits outfile=/scratch/kocevski/143606/expmap_677376001_677635201_4FGL_J1640.4+3945_daily_bin1690.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/143606/ltcube_677376001_677635201_4FGL_J1640.4+3945_daily_bin1690.fits .....................! real 191.63 user 185.60 sys 5.61 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/143606/ft1_filtered_4FGL_J1640.4+3945_daily_bin1690.fits scfile=/scratch/kocevski/143606/ft2_4FGL_J1640.4+3945_daily_bin1690.fits outfile=/scratch/kocevski/143606/cmap_677376001_677635201_4FGL_J1640.4+3945_daily_bin1690.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.55 user 0.37 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/143606/ft1_filtered_4FGL_J1640.4+3945_daily_bin1690.fits scfile=/scratch/kocevski/143606/ft2_4FGL_J1640.4+3945_daily_bin1690.fits outfile=/scratch/kocevski/143606/cmap_HighResolution_677376001_677635201_4FGL_J1640.4+3945_daily_bin1690.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.57 user 0.39 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/143606/ft1_filtered_4FGL_J1640.4+3945_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/143606/ft2_4FGL_J1640.4+3945_daily_bin1690.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/143606/Model_4FGL_J1640.4+3945_daily_bin1690.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/143606/ft1_filtered_4FGL_J1640.4+3945_daily_bin1690.fits.....................! real 83.01 user 81.36 sys 1.43 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/143606/ft1_filtered_4FGL_J1640.4+3945_daily_bin1690.fits', '/scratch/kocevski/143606/ft2_4FGL_J1640.4+3945_daily_bin1690.fits', expMap='/scratch/kocevski/143606/expmap_677376001_677635201_4FGL_J1640.4+3945_daily_bin1690.fits', expCube='/scratch/kocevski/143606/ltcube_677376001_677635201_4FGL_J1640.4+3945_daily_bin1690.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/143606/Model_4FGL_J1640.4+3945_daily_bin1690.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/143606/ft1_filtered_4FGL_J1640.4+3945_daily_bin1690.fits Spacecraft file(s): /scratch/kocevski/143606/ft2_4FGL_J1640.4+3945_daily_bin1690.fits Exposure map: /scratch/kocevski/143606/expmap_677376001_677635201_4FGL_J1640.4+3945_daily_bin1690.fits Exposure cube: /scratch/kocevski/143606/ltcube_677376001_677635201_4FGL_J1640.4+3945_daily_bin1690.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/143606/Model_4FGL_J1640.4+3945_daily_bin1690.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) = 11812.1973816 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 11812.1428998 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 ' .10000E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' .57633E-01 1.0000 .10000E-03 10000. 8 'norm ' 16.269 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 4.1476 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 3.4367 1.0000 .10000E-03 10000. 13 'Prefactor ' 3.1004 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.2091 1.0000 .10000E-03 10000. 15 'Prefactor ' .27020 1.0000 .10000E-03 10000. 16 'norm ' 3.7560 1.0000 .10000E-03 10000. 17 'norm ' .12596 1.0000 .10000E-03 10000. 18 'Prefactor ' 3.7656 1.0000 .10000E-03 10000. 19 'norm ' .30554 1.0000 .10000E-03 10000. 20 'norm ' 2.4703 1.0000 .10000E-03 10000. 21 'norm ' 5.2649 1.0000 .10000E-03 10000. 22 'Prefactor ' .10014E-03 1.0000 .10000E-03 10000. 23 'norm ' 8.4886 1.0000 .10000E-03 10000. 24 'Prefactor ' .10361E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.1909 1.0000 .10000E-01 10.000 26 'Prefactor ' .94753 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 11812.14 FROM MIGRAD STATUS=CONVERGED 104 CALLS 2143 TOTAL EDM= .70E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 5.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10005E-03 12.591 -.49658E-05** at limit ** 2 Prefactor .10015E-03 17.880 .67672E-06** at limit ** 3 Prefactor .10000E-03 .71150 -.80691E-07** at limit ** 4 Prefactor .10000E-03 2.8962 -.26826E-06** at limit ** 5 Prefactor .10001E-03 6.5892 -.35817E-05** at limit ** 6 Prefactor .10000E-03 .58472 -.86859E-07** at limit ** 7 norm .57605E-01 .92178E-01 -.11197E-07 .15694E-03 8 norm 16.269 1.0010 .88980E-09 .12012E-04 9 Prefactor .10000E-03 5.3484 .74629E-06** at limit ** 10 Prefactor 4.1475 3.4786 -.35659E-05 -.22715E-02 11 norm .10002E-03 7.6472 .33280E-05** at limit ** 12 Prefactor 3.4366 1.4592 -.17242E-06 -.18780E-03 13 Prefactor 3.1004 1.3789 -.17986E-06 -.21177E-03 14 Prefactor 1.2091 1.5037 .20764E-06 .54801E-04 15 Prefactor .26695 2.4562 .59638E-06 .83233E-04 16 norm 3.7559 1.4395 -.57303E-07 .10707E-04 17 norm .12619 .30515 .34360E-07 .39807E-03 18 Prefactor 3.7608 1.0259 -.34217E-07 .15654E-04 19 norm .30610 .61188 -.18788E-06 .23807E-03 20 norm 2.4674 1.4268 -.80603E-06 -.28479E-03 21 norm 5.2648 1.5715 -.40921E-08 .16872E-03 22 Prefactor .10401E-03 23.964 .42676E-05** at limit ** 23 norm 8.4863 4.0487 -.19464E-05 -.26850E-02 24 Prefactor .10445E-03 32.310 -.83268E-05** at limit ** 25 Normalizat 1.1909 .18787 .20719E-05 .20007E-04 26 Prefactor .94755 .15095 .13659E-06 .14697E-04 ERR DEF= .500 Final values: Prefactor = 0.000100053 Prefactor = 0.000100145 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100011 Prefactor = 0.0001 norm = 0.0576051 norm = 16.2688 Prefactor = 0.0001 Prefactor = 4.14748 norm = 0.00010002 Prefactor = 3.43664 Prefactor = 3.10041 Prefactor = 1.20906 Prefactor = 0.26695 norm = 3.75594 norm = 0.126189 Prefactor = 3.76082 norm = 0.306099 norm = 2.46743 norm = 5.26484 Prefactor = 0.000104013 norm = 8.48633 Prefactor = 0.000104448 Normalizat = 1.1909 Prefactor = 0.94755 ********** ** 18 **HESSE ********** FCN= 11812.14 FROM HESSE STATUS=OK 518 CALLS 2661 TOTAL EDM= .52E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10005E-03 12.779 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10015E-03 18.639 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 .70803 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 2.8132 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10001E-03 6.6320 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 .58203 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .57605E-01 .94201E-01 .86390E-02 -1.5660 8 norm 16.269 10.532 .24825E-02 -1.4901 9 Prefactor .10000E-03 5.3374 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 4.1475 3.5134 .49479E-02 -1.5301 11 norm .10002E-03 7.7504 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 3.4366 1.4591 .54545E-02 -1.5337 13 Prefactor 3.1004 1.3582 .57576E-03 -1.5356 14 Prefactor 1.2091 1.5447 .10292E-01 -1.5488 15 Prefactor .26695 1.1858 .35644E-01 -1.5605 16 norm 3.7559 1.4409 .52081E-02 -1.5320 17 norm .12619 .31040 .22694E-01 -1.5637 18 Prefactor 3.7608 5.8964 .52012E-02 -1.5320 19 norm .30610 .66313 .10449E-01 -1.5597 20 norm 2.4674 5.9280 .65041E-02 -1.5394 21 norm 5.2648 1.5929 .43793E-02 -1.5249 22 Prefactor .10401E-03 44.664 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 8.4863 4.3104 .34397E-02 -1.5125 24 Prefactor .10445E-03 55.637 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.1909 .15728 .61349E-01 -.86884 26 Prefactor .94755 .12471 .45608E-01 -.94499 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.16606e-07 Minuit parameter uncertainties: 1 0.00164905 2 0.00329308 3 1.26808e-06 4 2.99809e-07 5 0.000549804 6 4.44701e-07 7 0.0942013 8 10.533 9 9.42073e-05 10 3.51356 11 0.000784907 12 1.45909 13 1.35816 14 1.54478 15 1.1251 16 1.44092 17 0.310406 18 5.89733 19 0.663144 20 5.92936 21 1.59287 22 0.0267951 23 4.31055 24 0.0314903 25 0.157343 26 0.124751 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 11812.1428963 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.437e+00 1.459e+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 GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.475e-01 1.248e-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.191e+00 1.573e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 24.98 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.36e-07 +/- 5.76e-08 Energy Flux (Fixed Index): 4.33e-05 +/- 1.84e-05 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) = 11811.0034594 delta logL = 1.13943685123 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 11811.0025678 delta logL = 1.14032844797 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.0555 1.0000 .10000E-03 10000. 2 'Index ' 2.0264 1.0000 .0000 10.000 3 'Normalizat' 1.2345 1.0000 .10000E-01 10.000 4 'Prefactor ' .92400 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= 11811.00 FROM MIGRAD STATUS=CONVERGED 45 CALLS 212 TOTAL EDM= .30E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.0555 23.175 .44708E-02 .10352E-02 2 Index 2.0264 2.3359 .13494 .17110E-03 3 Normalizat 1.2345 .10308 .60482E-01 -.30739E-03 4 Prefactor .92400 .57582E-01 .45310E-01 -.39497E-03 ERR DEF= .500 Final values: Prefactor = 5.05555 Index = 2.02643 Normalizat = 1.23451 Prefactor = 0.923998 ********** ** 18 **HESSE ********** FCN= 11811.00 FROM HESSE STATUS=OK 31 CALLS 243 TOTAL EDM= .14E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.0555 1.8410 .78751E-04 -1.5258 2 Index 2.0264 .25462 .50202E-02 -.63691 3 Normalizat 1.2345 .18340 .26750E-03 -.85543 4 Prefactor .92400 .14943 .24990E-03 -.95308 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.44923e-10 Minuit parameter uncertainties: 1 1.84098 2 0.254792 3 0.183496 4 0.149494 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/143606': 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) = 11811.0025678 delta logL = 1.14032844874 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 5.056e+00 1.841e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.026e+00 2.548e-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.240e-01 1.495e-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.235e+00 1.835e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 27.94 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.03 +/- 0.25 Photon Flux (Free Index): 9.84e-08 +/- 4.26e-08 Energy Flux (Free Index): 6.38e-05 +/- 3.00e-05 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/143606/cmap_HighResolution_677376001_677635201_4FGL_J1640.4+3945_daily_bin1690.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/143606 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.36e-07', energy_flux2='6.38e-05', photon_flux_error='5.76e-08', dlogl='1.14e+00', energy_flux='4.33e-05', photon_flux2='9.84e-08', job_status='DONE', time_completed='2022-06-23 01:17:10.821699', photon_index_error2='0.25', photon_index2='2.03', ts='24.98', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='3.00e-05', EG='1.19', time_epoch_completed='1655972230.82', return_code='0', job_id='143606', GAL2='0.92', EG2='1.23', return_code2='0', energy_flux_error='1.84e-05', photon_flux_error2='4.26e-08', ts2='27.94', photon_index='2.42' WHERE bin_id='1690' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Thu Jun 23 01:17:10 PDT 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 139644: <4FGL_J1640.4+3945_daily_bin1690> in cluster Done Job <4FGL_J1640.4+3945_daily_bin1690> was submitted from host by user in cluster at Thu Jun 23 00:07:34 2022 Job was executed on host(s) , in queue , as user in cluster at Thu Jun 23 00:53:14 2022 was used as the home directory. was used as the working directory. Started at Thu Jun 23 00:53:14 2022 Terminated at Thu Jun 23 01:10:06 2022 Results reported at Thu Jun 23 01:10:06 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin1690 250.119 39.7626 677376001 677635201 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 : 911.17 sec. Max Memory : 618 MB Average Memory : 301.45 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 1011 sec. Turnaround time : 3752 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 143606: <4FGL_J1640.4+3945_daily_bin1690> in cluster Done Job <4FGL_J1640.4+3945_daily_bin1690> was submitted from host by user in cluster at Thu Jun 23 00:20:12 2022 Job was executed on host(s) , in queue , as user in cluster at Thu Jun 23 01:00:39 2022 was used as the home directory. was used as the working directory. Started at Thu Jun 23 01:00:39 2022 Terminated at Thu Jun 23 01:17:11 2022 Results reported at Thu Jun 23 01:17:11 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin1690 250.119 39.7626 677376001 677635201 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 : 903.00 sec. Max Memory : 1257 MB Average Memory : 324.23 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 992 sec. Turnaround time : 3419 sec. The output (if any) is above this job summary.