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 227 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 make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. 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 = 17517 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1738.2+4000_weekly_bin746 RA = 264.56, Dec = 40.0099 tmin = 690163201, tmax = 690768001 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='606058', job_status='RUN', time_executed='2022-11-22 00:49:00.289316', time_epoch_executed='1669106940.29' WHERE source_name='4FGL J1738.2+4000' and cadence='weekly' and bin_id='746' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/606058 Creating custom pfile directory: /scratch/kocevski/606058/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=690163201.0 && nMetStart<690768001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=690163201.0 && nMetStart<690768001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/606058/ft1_4FGL_J1738.2+4000_weekly_bin746.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=690163201.0 && nMetStart<690768001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /scratch/kocevski/606058/ft2_4FGL_J1738.2+4000_weekly_bin746.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/606058/ft1_4FGL_J1738.2+4000_weekly_bin746.fits outfile=/scratch/kocevski/606058/ft1_filteredMKT_4FGL_J1738.2+4000_weekly_bin746.fits ra=264.56 dec=40.0099 rad=12.0 tmin=690163201.0 tmax=690768001.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 6.95 user 6.64 sys 0.27 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/606058/ft2_4FGL_J1738.2+4000_weekly_bin746.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/606058/ft2_4FGL_J1738.2+4000_weekly_bin746.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/606058/ft1_filteredMKT_4FGL_J1738.2+4000_weekly_bin746.fits evtable="EVENTS" outfile="/scratch/kocevski/606058/ft1_filtered_4FGL_J1738.2+4000_weekly_bin746.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.56 user 0.39 sys 0.16 Number of photons that the gtmktime cut: 2913 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/606058/ft1_filtered_4FGL_J1738.2+4000_weekly_bin746.fits" evtable="EVENTS" scfile=/scratch/kocevski/606058/ft2_4FGL_J1738.2+4000_weekly_bin746.fits sctable="SC_DATA" outfile=/scratch/kocevski/606058/ltcube_690163201_690768001_4FGL_J1738.2+4000_weekly_bin746.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/606058/ft2_4FGL_J1738.2+4000_weekly_bin746.fits .....................! real 32.70 user 32.21 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/606058/ft1_filtered_4FGL_J1738.2+4000_weekly_bin746.fits evtable="EVENTS" scfile=/scratch/kocevski/606058/ft2_4FGL_J1738.2+4000_weekly_bin746.fits sctable="SC_DATA" expcube=/scratch/kocevski/606058/ltcube_690163201_690768001_4FGL_J1738.2+4000_weekly_bin746.fits outfile=/scratch/kocevski/606058/expmap_690163201_690768001_4FGL_J1738.2+4000_weekly_bin746.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/606058/ltcube_690163201_690768001_4FGL_J1738.2+4000_weekly_bin746.fits .....................! real 191.21 user 185.62 sys 5.07 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 210 point sources and 0 extended sources Setting source of interest to: 4FGL J1738.2+4000 @ 264.56 40.0099 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/606058/ft1_filtered_4FGL_J1738.2+4000_weekly_bin746.fits scfile=/scratch/kocevski/606058/ft2_4FGL_J1738.2+4000_weekly_bin746.fits outfile=/scratch/kocevski/606058/cmap_690163201_690768001_4FGL_J1738.2+4000_weekly_bin746.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=264.56 yref=40.0099 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.60 user 0.44 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/606058/ft1_filtered_4FGL_J1738.2+4000_weekly_bin746.fits scfile=/scratch/kocevski/606058/ft2_4FGL_J1738.2+4000_weekly_bin746.fits outfile=/scratch/kocevski/606058/cmap_HighResolution_690163201_690768001_4FGL_J1738.2+4000_weekly_bin746.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=264.56 yref=40.0099 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.61 user 0.44 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/606058/ft1_filtered_4FGL_J1738.2+4000_weekly_bin746.fits evtable="EVENTS" scfile=/scratch/kocevski/606058/ft2_4FGL_J1738.2+4000_weekly_bin746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/606058/Model_4FGL_J1738.2+4000_weekly_bin746.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/606058/ft1_filtered_4FGL_J1738.2+4000_weekly_bin746.fits.....................! real 225.67 user 223.10 sys 2.05 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/606058/ft1_filtered_4FGL_J1738.2+4000_weekly_bin746.fits', '/scratch/kocevski/606058/ft2_4FGL_J1738.2+4000_weekly_bin746.fits', expMap='/scratch/kocevski/606058/expmap_690163201_690768001_4FGL_J1738.2+4000_weekly_bin746.fits', expCube='/scratch/kocevski/606058/ltcube_690163201_690768001_4FGL_J1738.2+4000_weekly_bin746.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/606058/Model_4FGL_J1738.2+4000_weekly_bin746.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1738.2+4000' 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 6.394e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.517e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/606058/ft1_filtered_4FGL_J1738.2+4000_weekly_bin746.fits Spacecraft file(s): /scratch/kocevski/606058/ft2_4FGL_J1738.2+4000_weekly_bin746.fits Exposure map: /scratch/kocevski/606058/expmap_690163201_690768001_4FGL_J1738.2+4000_weekly_bin746.fits Exposure cube: /scratch/kocevski/606058/ltcube_690163201_690768001_4FGL_J1738.2+4000_weekly_bin746.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/606058/Model_4FGL_J1738.2+4000_weekly_bin746.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) = 30995.2766275 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 30995.2720461 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 8.1824 1.0000 .0000 .10000E+07 2 'Prefactor ' 1.1613 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.0696 1.0000 .0000 .10000E+07 4 'Prefactor ' .18893E-02 1.0000 .0000 .10000E+07 5 'norm ' 1.6037 1.0000 .0000 .10000E+07 6 'norm ' .11142 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.8989 1.0000 .0000 .10000E+07 8 'norm ' .37299 1.0000 .0000 .10000E+07 9 'norm ' 5.1042 1.0000 .0000 .10000E+07 10 'norm ' 6.2832 1.0000 .0000 .10000E+07 11 'Prefactor ' 1.1346 1.0000 .0000 .10000E+07 12 'norm ' 5.5502 1.0000 .0000 .10000E+07 13 'Prefactor ' 40.081 1.0000 .0000 .10000E+07 14 'Prefactor ' 63.268 1.0000 .0000 .10000E+07 15 'norm ' .24179E-04 1.0000 .0000 .10000E+07 16 'Prefactor ' 2.3602 1.0000 .0000 .10000E+07 17 'Prefactor ' 1.7455 1.0000 .0000 .10000E+07 18 'Prefactor ' .44761E-05 1.0000 .0000 .10000E+07 19 'Prefactor ' 5.9540 1.0000 .0000 .10000E+07 20 'Prefactor ' .22455E-03 1.0000 .0000 .10000E+07 21 'norm ' .52649 1.0000 .0000 .10000E+07 22 'norm ' 10.964 1.0000 .0000 .10000E+07 23 'norm ' 11.570 1.0000 .0000 .10000E+07 24 'Prefactor ' .22193 1.0000 .0000 .10000E+07 25 'Prefactor ' 5.2439 1.0000 .0000 .10000E+07 26 'Normalizat' 1.0383 1.0000 .10000E-01 10.000 27 'Prefactor ' 1.0403 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 30995.27 FROM MIGRAD STATUS=CONVERGED 166 CALLS 2440 TOTAL EDM= .12E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 8.3013 16.375 -.39570E-06 -.32029E-02 2 Prefactor 1.1608 .68314 .18772E-07 .26643E-02 3 Prefactor 1.0691 .66355 .17465E-08 .18526E-02 4 Prefactor .27756E-09 13.011 -.23999E-06** at limit ** 5 norm 1.6036 .71674 .43601E-08 .42914E-03 6 norm .11111 .26228 .68988E-07** at limit ** 7 Prefactor 2.9222 3.1983 .63376E-07 .14243E-02 8 norm .37253 .33110 -.20510E-07 .12962E-02 9 norm 5.1126 3.8161 .27736E-06 -.41996E-03 10 norm 6.2825 1.0811 -.46669E-07 -.29949E-02 11 Prefactor 1.1345 .95301 .83193E-07 -.64715E-03 12 norm 5.5847 2.9919 .72094E-07 -.12084E-02 13 Prefactor 39.184 32.178 -.33435E-06 -.36846E-01 14 Prefactor 63.018 16.488 -.20449E-06 .96514E-01 15 norm .0000 3.4760 -.44522E-07** at limit ** 16 Prefactor 2.2800 1.2775 -.51475E-07 .14677E-02 17 Prefactor 1.7865 4.8847 -.16023E-06 .31298E-03 18 Prefactor .0000 1.1179 -.18993E-06** at limit ** 19 Prefactor 5.9688 12.868 .33361E-06 .23602E-03 20 Prefactor .10825E-07 31.927 -.13566E-05** at limit ** 21 norm .52645 .57238 .22324E-06 .37388E-03 22 norm 10.584 20.965 -.73169E-06 -.11424E-01 23 norm 11.574 4.6205 -.36882E-07 -.41855E-03 24 Prefactor .22966 4.6759 -.12198E-07** at limit ** 25 Prefactor 5.2340 2.6826 .11374E-07 .62320E-04 26 Normalizat 1.0384 .12962 .13757E-05 -.50831E-05 27 Prefactor 1.0404 .79278E-01 -.10263E-05 .75124E-04 ERR DEF= .500 Final values: norm = 8.30126 Prefactor = 1.16083 Prefactor = 1.06913 Prefactor = 2.77556e-10 norm = 1.60355 norm = 0.111108 Prefactor = 2.92225 norm = 0.372528 norm = 5.11262 norm = 6.28254 Prefactor = 1.13446 norm = 5.58468 Prefactor = 39.1838 Prefactor = 63.0181 norm = 0 Prefactor = 2.28004 Prefactor = 1.78649 Prefactor = 0 Prefactor = 5.96877 Prefactor = 1.08247e-08 norm = 0.526447 norm = 10.5842 norm = 11.5735 Prefactor = 0.229664 Prefactor = 5.23396 Normalizat = 1.03842 Prefactor = 1.04035 ********** ** 18 **HESSE ********** FCN= 30995.27 FROM HESSE STATUS=OK 574 CALLS 3014 TOTAL EDM= .51E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 8.3013 16.597 .35025E-03 -1.5650 2 Prefactor 1.1608 .69441 .10685E-02 -1.5686 3 Prefactor 1.0691 .67731 .11749E-02 -1.5687 4 Prefactor .27756E-09 .65984 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 1.6036 .72121 .83663E-03 -1.5683 6 norm .11111 .19428 .28461E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 2.9222 3.3069 .59656E-03 -1.5674 8 norm .37253 .37808 .21134E-02 -1.5696 9 norm 5.1126 3.8366 .44479E-03 -1.5663 10 norm 6.2825 1.0855 .40022E-03 -1.5658 11 Prefactor 1.1345 .93662 .10941E-02 -1.5687 12 norm 5.5847 3.0394 .42622E-03 -1.5661 13 Prefactor 39.184 34.540 .15797E-03 -1.5583 14 Prefactor 63.018 41.486 .12573E-03 -1.5549 15 norm .0000 3.4213 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 2.2800 23.032 .66681E-03 -1.5678 17 Prefactor 1.7865 4.9582 .79353E-03 -1.5681 18 Prefactor .0000 1.1213 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 5.9688 12.926 .41129E-03 -1.5659 20 Prefactor .10825E-07 31.972 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .52645 .73129 .31377E-02 -1.5693 22 norm 10.584 21.298 .30232E-03 -1.5643 23 norm 11.574 4.6256 .29427E-03 -1.5640 24 Prefactor .22966 .78874 .76757E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor 5.2340 2.6956 .43871E-03 -1.5662 26 Normalizat 1.0384 .11097 .72839E-01 -.91754 27 Prefactor 1.0404 .66632E-01 .40516E-01 -.91396 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.05045e-07 Minuit parameter uncertainties: 1 16.5966 2 0.694411 3 0.677307 4 2.80529e-05 5 0.721207 6 0.194285 7 3.30691 8 0.378078 9 3.83659 10 1.08554 11 0.936622 12 3.03939 13 34.5406 14 41.4859 15 2.63797e-06 16 14.4933 17 4.95823 18 1.24521e-06 19 12.9265 20 0.00117653 21 0.731289 22 21.2985 23 4.62555 24 0.788737 25 2.69564 26 0.110999 27 0.0666373 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 30995.2713511 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 3.918e+01 3.454e+01 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.517e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 681 Prefactor: 1.040e+00 6.664e-02 0.000e+00 1.000e+01 ( 1.000e+00) 682 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 683 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 680 Normalization: 1.038e+00 1.110e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.09 Ra Dec: 264.560 40.010 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 2.46e-08 +/- 2.17e-08 Energy Flux (Fixed Index): 7.01e-06 +/- 6.18e-06 TS (Fixed Index): 2.09 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 6.41e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.99e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/606058/likelihoodResults_690163201_690768001_4FGL_J1738.2+4000_weekly_bin746.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) = 30995.0141593 delta logL = 0.257191785946 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 30994.9054301 delta logL = 0.365921011697 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 17.068 1.0000 .0000 .10000E+07 2 'Index ' 3.1311 1.0000 .0000 10.000 3 'Normalizat' 1.0167 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0490 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+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. FCN= 30994.91 FROM MIGRAD STATUS=CONVERGED 99 CALLS 314 TOTAL EDM= .16E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 17.075 348.20 .96862E-05 .63849E-03 2 Index 3.1314 3.7734 .79441E-02 .14608E-03 3 Normalizat 1.0166 .13959 .32535E-03 -.83305E-04 4 Prefactor 1.0490 .81598E-01 .20389E-03 .51322E-03 ERR DEF= .500 Final values: Prefactor = 17.0755 Index = 3.13142 Normalizat = 1.01662 Prefactor = 1.04901 ********** ** 18 **HESSE ********** FCN= 30994.91 FROM HESSE STATUS=OK 25 CALLS 339 TOTAL EDM= .29E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 17.075 28.754 .38745E-06 -1.5625 2 Index 3.1314 .81756 .31776E-03 -.38301 3 Normalizat 1.0166 .12437 .13014E-04 -.92476 4 Prefactor 1.0490 .77615E-01 .40777E-04 -.91113 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.93188e-10 Minuit parameter uncertainties: 1 28.7546 2 0.821851 3 0.124403 4 0.0776236 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/606058': 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) = 30994.905429 delta logL = 0.365922052137 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 1.708e+01 2.875e+01 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 3.131e+00 8.219e-01 0.000e+00 1.000e+01 (-1.000e+00) 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 681 Prefactor: 1.049e+00 7.762e-02 0.000e+00 1.000e+01 ( 1.000e+00) 682 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 683 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 680 Normalization: 1.017e+00 1.244e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.90 Ra Dec: 264.560 40.010 Photon Index (Free Index): 3.13 +/- 0.82 Photon Flux (Free Index): 4.07e-08 +/- 2.99e-08 Energy Flux (Free Index): 7.66e-06 +/- 5.12e-06 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/606058/cmap_HighResolution_690163201_690768001_4FGL_J1738.2+4000_weekly_bin746.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/606058 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.99e-03', comment='SUCCESS', photon_flux='2.46e-08', energy_flux2='7.66e-06', photon_flux_error='2.17e-08', dlogl='3.66e-01', energy_flux='7.01e-06', photon_flux2='4.07e-08', job_status='DONE', time_completed='2022-11-22 01:31:05.992590', photon_index_error2='0.82', photon_index2='3.13', ts='2.09', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='6.41e-08', energy_flux_error2='5.12e-06', EG='1.04', time_epoch_completed='1669109465.99', return_code='0', job_id='606058', GAL2='1.05', EG2='1.02', return_code2='0', energy_flux_error='6.18e-06', photon_flux_error2='2.99e-08', ts2='2.90', photon_index='2.52' WHERE bin_id='746' AND source_name='4FGL J1738.2+4000' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Nov 22 01:31:06 PST 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 606059: <4FGL_J1738.2+4000_weekly_bin746> in cluster Done Job <4FGL_J1738.2+4000_weekly_bin746> was submitted from host by user in cluster at Tue Nov 22 00:07:14 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Nov 22 00:45:04 2022 was used as the home directory. was used as the working directory. Started at Tue Nov 22 00:45:04 2022 Terminated at Tue Nov 22 01:29:07 2022 Results reported at Tue Nov 22 01:29:07 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_weekly_bin746 264.56 40.0099 690163201 690768001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1738.2+4000 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 2526.00 sec. Max Memory : 1259 MB Average Memory : 363.11 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2643 sec. Turnaround time : 4913 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 606058: <4FGL_J1738.2+4000_weekly_bin746> in cluster Done Job <4FGL_J1738.2+4000_weekly_bin746> was submitted from host by user in cluster at Tue Nov 22 00:07:14 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Nov 22 00:45:03 2022 was used as the home directory. was used as the working directory. Started at Tue Nov 22 00:45:03 2022 Terminated at Tue Nov 22 01:31:06 2022 Results reported at Tue Nov 22 01:31:06 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_weekly_bin746 264.56 40.0099 690163201 690768001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1738.2+4000 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 2520.00 sec. Max Memory : 621 MB Average Memory : 334.03 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2763 sec. Turnaround time : 5032 sec. The output (if any) is above this job summary.