/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 8 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 = 7382 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1738.2+4000_daily_bin339 RA = 264.56, Dec = 40.0099 tmin = 327196801, tmax = 327456001 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='941473', job_status='RUN', time_executed='2021-09-18 00:50:35.858977', time_epoch_executed='1631951435.86' WHERE source_name='4FGL J1738.2+4000' and cadence='daily' and bin_id='339' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/941473 Creating custom pfile directory: /scratch/kocevski/941473/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=327196801.0 && nMetStart<327456001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=327196801.0 && nMetStart<327456001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/941473/ft1_4FGL_J1738.2+4000_daily_bin339.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=327196801.0 && nMetStart<327456001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/941473/ft2_4FGL_J1738.2+4000_daily_bin339.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/941473/ft1_4FGL_J1738.2+4000_daily_bin339.fits outfile=/scratch/kocevski/941473/ft1_filteredMKT_4FGL_J1738.2+4000_daily_bin339.fits ra=264.56 dec=40.0099 rad=12.0 tmin=327196801.0 tmax=327456001.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.28 user 3.09 sys 0.18 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/941473/ft2_4FGL_J1738.2+4000_daily_bin339.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/941473/ft2_4FGL_J1738.2+4000_daily_bin339.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/941473/ft1_filteredMKT_4FGL_J1738.2+4000_daily_bin339.fits evtable="EVENTS" outfile="/scratch/kocevski/941473/ft1_filtered_4FGL_J1738.2+4000_daily_bin339.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/941473/ft1_filtered_4FGL_J1738.2+4000_daily_bin339.fits" evtable="EVENTS" scfile=/scratch/kocevski/941473/ft2_4FGL_J1738.2+4000_daily_bin339.fits sctable="SC_DATA" outfile=/scratch/kocevski/941473/ltcube_327196801_327456001_4FGL_J1738.2+4000_daily_bin339.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/941473/ft2_4FGL_J1738.2+4000_daily_bin339.fits .....................! real 12.05 user 11.63 sys 0.39 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/941473/ft1_filtered_4FGL_J1738.2+4000_daily_bin339.fits evtable="EVENTS" scfile=/scratch/kocevski/941473/ft2_4FGL_J1738.2+4000_daily_bin339.fits sctable="SC_DATA" expcube=/scratch/kocevski/941473/ltcube_327196801_327456001_4FGL_J1738.2+4000_daily_bin339.fits outfile=/scratch/kocevski/941473/expmap_327196801_327456001_4FGL_J1738.2+4000_daily_bin339.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/941473/ltcube_327196801_327456001_4FGL_J1738.2+4000_daily_bin339.fits .....................! real 190.41 user 185.00 sys 4.89 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/941473/ft1_filtered_4FGL_J1738.2+4000_daily_bin339.fits scfile=/scratch/kocevski/941473/ft2_4FGL_J1738.2+4000_daily_bin339.fits outfile=/scratch/kocevski/941473/cmap_327196801_327456001_4FGL_J1738.2+4000_daily_bin339.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 3.17 user 0.38 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/941473/ft1_filtered_4FGL_J1738.2+4000_daily_bin339.fits scfile=/scratch/kocevski/941473/ft2_4FGL_J1738.2+4000_daily_bin339.fits outfile=/scratch/kocevski/941473/cmap_HighResolution_327196801_327456001_4FGL_J1738.2+4000_daily_bin339.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 1.64 user 0.36 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/941473/ft1_filtered_4FGL_J1738.2+4000_daily_bin339.fits evtable="EVENTS" scfile=/scratch/kocevski/941473/ft2_4FGL_J1738.2+4000_daily_bin339.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/941473/Model_4FGL_J1738.2+4000_daily_bin339.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/941473/ft1_filtered_4FGL_J1738.2+4000_daily_bin339.fits.....................! real 71.45 user 69.92 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/941473/ft1_filtered_4FGL_J1738.2+4000_daily_bin339.fits', '/scratch/kocevski/941473/ft2_4FGL_J1738.2+4000_daily_bin339.fits', expMap='/scratch/kocevski/941473/expmap_327196801_327456001_4FGL_J1738.2+4000_daily_bin339.fits', expCube='/scratch/kocevski/941473/ltcube_327196801_327456001_4FGL_J1738.2+4000_daily_bin339.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/941473/Model_4FGL_J1738.2+4000_daily_bin339.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 1.000e-04 1.000e+04 ( 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/941473/ft1_filtered_4FGL_J1738.2+4000_daily_bin339.fits Spacecraft file(s): /scratch/kocevski/941473/ft2_4FGL_J1738.2+4000_daily_bin339.fits Exposure map: /scratch/kocevski/941473/expmap_327196801_327456001_4FGL_J1738.2+4000_daily_bin339.fits Exposure cube: /scratch/kocevski/941473/ltcube_327196801_327456001_4FGL_J1738.2+4000_daily_bin339.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/941473/Model_4FGL_J1738.2+4000_daily_bin339.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) = 8836.5388674 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8836.5172171 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 25.909 1.0000 .10000E-03 10000. 2 'Prefactor ' 6.4356 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.7269 1.0000 .10000E-03 10000. 4 'Prefactor ' 2.1034 1.0000 .10000E-03 10000. 5 'norm ' 4.4813 1.0000 .10000E-03 10000. 6 'norm ' .15556E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .54903 1.0000 .10000E-03 10000. 8 'norm ' .45142 1.0000 .10000E-03 10000. 9 'norm ' .10106E-03 1.0000 .10000E-03 10000. 10 'norm ' 1.4447 1.0000 .10000E-03 10000. 11 'Prefactor ' 4.6676 1.0000 .10000E-03 10000. 12 'Prefactor ' .10290E-03 1.0000 .10000E-03 10000. 13 'norm ' 4.2974 1.0000 .10000E-03 10000. 14 'Prefactor ' 72.152 1.0000 .10000E-03 10000. 15 'Prefactor ' .10637E-03 1.0000 .10000E-03 10000. 16 'norm ' .10000E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' .14312E-02 1.0000 .10000E-03 10000. 18 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 3.9639 1.0000 .10000E-03 10000. 21 'Prefactor ' 15.845 1.0000 .10000E-03 10000. 22 'Prefactor ' .13237E-03 1.0000 .10000E-03 10000. 23 'norm ' 8.0400 1.0000 .10000E-03 10000. 24 'norm ' 49.891 1.0000 .10000E-03 10000. 25 'norm ' 3.8834 1.0000 .10000E-03 10000. 26 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' .46339 1.0000 .10000E-03 10000. 28 'Normalizat' 1.0883 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.0505 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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 8836.517 FROM MIGRAD STATUS=FAILED 1349 CALLS 4416 TOTAL EDM= .36E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 25.899 37.451 .78701E-04 -.24846E-04 2 Prefactor 6.4358 2.7787 .67594E-04 .11571E-03 3 Prefactor 1.7267 2.3298 .10988E-03 .49829E-03 4 Prefactor 2.1035 2.5458 .15797E-03 .46579E-03 5 norm 4.4814 2.0195 .86180E-04 .68597E-05 6 norm .10000E-03 .76309 .19744E-01** at limit ** 7 Prefactor .55929 11.302 .36106E-02 .83487E-03 8 norm .45086 .69967 .98155E-03 .88867E-02 9 norm .10000E-03 4.5316 .18142E-02** at limit ** 10 norm 1.4441 1.8731 .13437E-03 .15835E-02 11 Prefactor 4.6675 2.9151 .12347E-03 -.26333E-04 12 Prefactor .10000E-03 25.488 .18142E-02** at limit ** 13 norm 4.2918 6.5984 .19434E-03 .47081E-03 14 Prefactor 72.285 93.659 .23631E-03 .10151E-03 15 Prefactor .10000E-03 52.667 .18142E-02** at limit ** 16 norm .10000E-03 1.2599 .10296E-02** at limit ** 17 Prefactor .10001E-03 27.820 .15410 ** at limit ** 18 Prefactor .10000E-03 9.9266 .18142E-02** at limit ** 19 Prefactor .10000E-03 6.8440 .18142E-02** at limit ** 20 Prefactor 3.9626 6.6043 .20259E-03 .12357E-03 21 Prefactor 15.836 35.450 .10062E-03 .25761E-04 22 Prefactor .10000E-03 98.573 .18142E-02** at limit ** 23 norm 8.0400 2.8714 .91367E-04 .68187E-04 24 norm 49.896 64.760 .56775E-04 .11934E-04 25 norm 3.8832 6.9666 .20476E-03 .13714E-03 26 Prefactor .10000E-03 1.6390 .11714E-02** at limit ** 27 Prefactor .46625 11.811 .27173E-02 .21683E-02 28 Normalizat 1.0884 .25738 .32588E-03 .28858E-03 29 Prefactor 1.0504 .15340 .20854E-03 -.38102E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 8836.517 FROM SIMPLEX STATUS=PROGRESS 1299 CALLS 5715 TOTAL EDM= .20E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 25.900 37.451 .34989E-07 -1.4690 2 Prefactor 6.4359 2.7787 .37308E-07 -1.5201 3 Prefactor 1.7267 2.3298 .41452E-07 -1.5445 4 Prefactor 2.1035 2.5458 .38839E-07 -1.5418 5 norm 4.4814 2.0195 .32090E-07 -1.5285 6 norm .10000E-03 .76309 .15806E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .55929 11.302 .28014E-07 -1.5558 8 norm .45086 .69967 .29862E-07 -1.5574 9 norm .10000E-03 4.5316 .34691E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.4441 1.8731 .28747E-07 -1.5468 11 Prefactor 4.6675 2.9151 .28965E-07 -1.5276 12 Prefactor .10000E-03 25.488 .10682E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 4.2918 6.5984 .30434E-07 -1.5294 14 Prefactor 72.285 93.659 .27479E-07 -1.4005 15 Prefactor .10000E-03 52.667 .72488E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .10000E-03 1.2599 .19023E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10001E-03 27.820 .11014E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 9.9266 .63697E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 6.8440 .19166E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 3.9626 6.6043 .30606E-07 -1.5310 21 Prefactor 15.836 35.450 .29794E-07 -1.4912 22 Prefactor .10000E-03 98.573 .16953E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 8.0400 2.8714 .30272E-07 -1.5141 24 norm 49.896 64.760 .28566E-07 -1.4294 25 norm 3.8832 6.9666 .30611E-07 -1.5314 26 Prefactor .10000E-03 1.6390 .15571E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor .46625 11.811 .31125E-07 -1.5571 28 Normalizat 1.0884 .25738 .18014E-07 -.90126 29 Prefactor 1.0504 .15340 .18205E-07 -.91067 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8836.517 FROM MIGRAD STATUS=CONVERGED 552 CALLS 6267 TOTAL EDM= .11E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 25.899 37.422 .31480E-05 .28891E-06 2 Prefactor 6.4359 2.7782 .27038E-05 .67276E-05 3 Prefactor 1.7267 2.3291 .43951E-05 .51733E-05 4 Prefactor 2.1035 2.5454 .63186E-05 .64773E-05 5 norm 4.4814 2.0194 .34472E-05 .39575E-05 6 norm .10000E-03 .63554 .22459E-01** at limit ** 7 Prefactor .55909 11.188 .14442E-03 -.29913E-05 8 norm .45087 .69763 .19631E-03 .94859E-04 9 norm .10000E-03 4.5325 .36285E-03** at limit ** 10 norm 1.4440 1.8705 .53747E-05 .27921E-04 11 Prefactor 4.6675 2.9150 .49389E-05 -.27622E-05 12 Prefactor .10000E-03 25.490 .36285E-03** at limit ** 13 norm 4.2918 6.5939 .77735E-05 .23400E-05 14 Prefactor 72.286 93.583 .94526E-05 .14432E-05 15 Prefactor .10000E-03 52.669 .36285E-03** at limit ** 16 norm .10000E-03 1.2599 .20592E-03** at limit ** 17 Prefactor .10002E-03 27.669 .15477 ** at limit ** 18 Prefactor .10000E-03 9.9268 .36285E-03** at limit ** 19 Prefactor .10000E-03 6.8448 .36285E-03** at limit ** 20 Prefactor 3.9626 6.6036 .81038E-05 .11223E-05 21 Prefactor 15.835 35.437 .40248E-05 .0000 22 Prefactor .10000E-03 98.575 .36285E-03** at limit ** 23 norm 8.0400 2.8713 .36547E-05 -.12443E-05 24 norm 49.895 64.754 .11355E-04 .0000 25 norm 3.8832 6.9650 .81903E-05 .55523E-06 26 Prefactor .10000E-03 1.6392 .23428E-03** at limit ** 27 Prefactor .46625 11.798 .54347E-03 -.39746E-05 28 Normalizat 1.0884 .25718 .13035E-04 -.69773E-06 29 Prefactor 1.0504 .15321 .41708E-04 -.37070E-05 ERR DEF= .500 Final values: norm = 25.8995 Prefactor = 6.43587 Prefactor = 1.72672 Prefactor = 2.10353 norm = 4.48136 norm = 0.000100002 Prefactor = 0.559086 norm = 0.450868 norm = 0.0001 norm = 1.44405 Prefactor = 4.66755 Prefactor = 0.0001 norm = 4.29177 Prefactor = 72.2856 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.000100016 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 3.96262 Prefactor = 15.8354 Prefactor = 0.0001 norm = 8.04 norm = 49.8954 norm = 3.88317 Prefactor = 0.0001 Prefactor = 0.466254 Normalizat = 1.08837 Prefactor = 1.05043 ********** ** 18 **HESSE ********** FCN= 8836.517 FROM HESSE STATUS=OK 545 CALLS 6812 TOTAL EDM= .12E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 25.899 37.420 .31480E-05 -1.4690 2 Prefactor 6.4359 2.7758 .54076E-06 -1.5201 3 Prefactor 1.7267 2.3270 .87903E-06 -1.5445 4 Prefactor 2.1035 2.5449 .12637E-05 -1.5418 5 norm 4.4814 2.0194 .68944E-06 -1.5285 6 norm .10000E-03 .66440 .21747E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .55909 11.181 .57769E-05 -1.5558 8 norm .45087 .69740 .78524E-05 -1.5574 9 norm .10000E-03 4.5325 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.4440 1.8707 .10749E-05 -1.5468 11 Prefactor 4.6675 2.9145 .98778E-06 -1.5276 12 Prefactor .10000E-03 25.490 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 4.2918 6.5843 .15547E-05 -1.5294 14 Prefactor 72.286 93.230 .18905E-05 -1.4005 15 Prefactor .10000E-03 52.669 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .10000E-03 1.2599 .41184E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10002E-03 27.695 .15465 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 9.9267 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 6.8448 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 3.9626 6.6018 .16208E-05 -1.5310 21 Prefactor 15.835 35.446 .40248E-05 -1.4912 22 Prefactor .10000E-03 98.573 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 8.0400 2.8706 .73094E-06 -1.5141 24 norm 49.895 64.755 .11355E-04 -1.4294 25 norm 3.8832 6.9601 .16381E-05 -1.5314 26 Prefactor .10000E-03 1.6392 .46857E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor .46625 11.780 .21739E-04 -1.5571 28 Normalizat 1.0884 .25730 .26070E-05 -.90126 29 Prefactor 1.0504 .15315 .83417E-05 -.91067 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.16838e-11 Minuit parameter uncertainties: 1 37.4536 2 2.77581 3 2.32711 4 2.54502 5 2.01946 6 6.70034e-05 7 5.00116 8 0.697414 9 8.99809e-07 10 1.87075 11 2.91463 12 5.63714e-07 13 6.5854 14 93.4192 15 9.74572e-07 16 6.49155e-08 17 0.00132751 18 4.96737e-07 19 3.32683e-07 20 6.60297 21 35.4933 22 3.08192e-06 23 2.87062 24 64.8464 25 6.96158 26 1.05402e-07 27 4.68771 28 0.257595 29 0.153212 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8836.51720935 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 7.229e+01 9.342e+01 1.000e-04 1.000e+04 ( 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.050e+00 1.532e-01 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.088e+00 2.576e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.12 Ra Dec: 264.560 40.010 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 4.54e-08 +/- 5.86e-08 Energy Flux (Fixed Index): 1.29e-05 +/- 1.67e-05 TS (Fixed Index): 1.12 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 1.40e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.09e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/941473/likelihoodResults_327196801_327456001_4FGL_J1738.2+4000_daily_bin339.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) = 8835.19422474 delta logL = 1.32298460951 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 8835.11541333 delta logL = 1.40179601887 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 7.2872 1.0000 .10000E-03 10000. 2 'Index ' 3.9772 1.0000 .0000 10.000 3 'Normalizat' .97715 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0941 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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 8835.115 FROM MIGRAD STATUS=FAILED 91 CALLS 309 TOTAL EDM= .50E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.2813 99.220 .13054E-03 -.26302E-04 2 Index 3.9775 2.9339 .34521E-02 .10938E-02 3 Normalizat .97711 .22022 .34156E-03 .99322E-04 4 Prefactor 1.0941 .13518 .20473E-03 -.20358E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 8835.115 FROM SIMPLEX STATUS=UNCHANGED 85 CALLS 394 TOTAL EDM= .96E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.2813 99.220 .14377E-03 -.26302E-04 2 Index 3.9775 2.9339 .58206E-03 .10938E-02 3 Normalizat .97711 .22022 .25932E-03 .99322E-04 4 Prefactor 1.0941 .13518 .16525E-03 -.20358E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8835.115 FROM MIGRAD STATUS=CONVERGED 32 CALLS 426 TOTAL EDM= .16E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.2812 26.783 .52215E-05 -.70544E-04 2 Index 3.9776 1.5404 .69041E-03 .15083E-04 3 Normalizat .97711 .24597 .13662E-04 .32286E-04 4 Prefactor 1.0941 .15063 .40945E-04 -.71968E-04 ERR DEF= .500 Final values: Prefactor = 7.28117 Index = 3.97756 Normalizat = 0.977108 Prefactor = 1.09411 ********** ** 18 **HESSE ********** FCN= 8835.115 FROM HESSE STATUS=OK 23 CALLS 449 TOTAL EDM= .93E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 7.2812 19.510 .10443E-05 -1.5168 2 Index 3.9776 1.1300 .27616E-04 -.20594 3 Normalizat .97711 .24552 .27325E-05 -.93801 4 Prefactor 1.0941 .15021 .81891E-05 -.89655 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.34398e-11 Minuit parameter uncertainties: 1 19.5268 2 1.14033 3 0.245799 4 0.150264 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/941473': 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) = 8835.11541325 delta logL = 1.40179610003 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 7.281e+00 1.953e+01 1.000e-04 1.000e+04 ( 1.000e-14) 327 Index: 3.978e+00 1.140e+00 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.094e+00 1.503e-01 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: 9.771e-01 2.458e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.28 Ra Dec: 264.560 40.010 Photon Index (Free Index): 3.98 +/- 1.14 Photon Flux (Free Index): 1.25e-07 +/- 7.20e-08 Energy Flux (Free Index): 1.88e-05 +/- 1.08e-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/941473/cmap_HighResolution_327196801_327456001_4FGL_J1738.2+4000_daily_bin339.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/941473 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-02', comment='SUCCESS', photon_flux='4.54e-08', energy_flux2='1.88e-05', photon_flux_error='5.86e-08', dlogl='1.40e+00', energy_flux='1.29e-05', photon_flux2='1.25e-07', job_status='DONE', time_completed='2021-09-18 01:16:30.668300', photon_index_error2='1.14', photon_index2='3.98', ts='1.12', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.40e-07', energy_flux_error2='1.08e-05', EG='1.09', time_epoch_completed='1631952990.67', return_code='0', job_id='941473', GAL2='1.09', EG2='0.98', return_code2='0', energy_flux_error='1.67e-05', photon_flux_error2='7.20e-08', ts2='4.28', photon_index='2.52' WHERE bin_id='339' AND source_name='4FGL J1738.2+4000' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 18 01:16:30 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 941473: <4FGL_J1738.2+4000_daily_bin339> in cluster Done Job <4FGL_J1738.2+4000_daily_bin339> was submitted from host by user in cluster at Sat Sep 18 00:50:17 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 18 00:50:19 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 18 00:50:19 2021 Terminated at Sat Sep 18 01:16:31 2021 Results reported at Sat Sep 18 01:16:31 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_daily_bin339 264.56 40.0099 327196801 327456001 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 : 1546.00 sec. Max Memory : 1258 MB Average Memory : 327.71 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 1571 sec. Turnaround time : 1574 sec. The output (if any) is above this job summary.