/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 9 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 = 7429 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1738.2+4000_daily_bin399 RA = 264.56, Dec = 40.0099 tmin = 342748801, tmax = 343008001 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='941563', job_status='RUN', time_executed='2021-09-18 00:50:40.676468', time_epoch_executed='1631951440.68' WHERE source_name='4FGL J1738.2+4000' and cadence='daily' and bin_id='399' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/941563 Creating custom pfile directory: /scratch/kocevski/941563/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=342748801.0 && nMetStart<343008001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=342748801.0 && nMetStart<343008001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/941563/ft1_4FGL_J1738.2+4000_daily_bin399.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=342748801.0 && nMetStart<343008001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/941563/ft2_4FGL_J1738.2+4000_daily_bin399.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/941563/ft1_4FGL_J1738.2+4000_daily_bin399.fits outfile=/scratch/kocevski/941563/ft1_filteredMKT_4FGL_J1738.2+4000_daily_bin399.fits ra=264.56 dec=40.0099 rad=12.0 tmin=342748801.0 tmax=343008001.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.81 user 2.58 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/941563/ft2_4FGL_J1738.2+4000_daily_bin399.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/941563/ft2_4FGL_J1738.2+4000_daily_bin399.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/941563/ft1_filteredMKT_4FGL_J1738.2+4000_daily_bin399.fits evtable="EVENTS" outfile="/scratch/kocevski/941563/ft1_filtered_4FGL_J1738.2+4000_daily_bin399.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.44 user 0.27 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/941563/ft1_filtered_4FGL_J1738.2+4000_daily_bin399.fits" evtable="EVENTS" scfile=/scratch/kocevski/941563/ft2_4FGL_J1738.2+4000_daily_bin399.fits sctable="SC_DATA" outfile=/scratch/kocevski/941563/ltcube_342748801_343008001_4FGL_J1738.2+4000_daily_bin399.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/941563/ft2_4FGL_J1738.2+4000_daily_bin399.fits .....................! real 9.35 user 9.04 sys 0.29 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/941563/ft1_filtered_4FGL_J1738.2+4000_daily_bin399.fits evtable="EVENTS" scfile=/scratch/kocevski/941563/ft2_4FGL_J1738.2+4000_daily_bin399.fits sctable="SC_DATA" expcube=/scratch/kocevski/941563/ltcube_342748801_343008001_4FGL_J1738.2+4000_daily_bin399.fits outfile=/scratch/kocevski/941563/expmap_342748801_343008001_4FGL_J1738.2+4000_daily_bin399.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/941563/ltcube_342748801_343008001_4FGL_J1738.2+4000_daily_bin399.fits .....................! real 150.91 user 146.27 sys 4.38 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 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/941563/ft1_filtered_4FGL_J1738.2+4000_daily_bin399.fits scfile=/scratch/kocevski/941563/ft2_4FGL_J1738.2+4000_daily_bin399.fits outfile=/scratch/kocevski/941563/cmap_342748801_343008001_4FGL_J1738.2+4000_daily_bin399.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.46 user 0.32 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/941563/ft1_filtered_4FGL_J1738.2+4000_daily_bin399.fits scfile=/scratch/kocevski/941563/ft2_4FGL_J1738.2+4000_daily_bin399.fits outfile=/scratch/kocevski/941563/cmap_HighResolution_342748801_343008001_4FGL_J1738.2+4000_daily_bin399.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.46 user 0.30 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/941563/ft1_filtered_4FGL_J1738.2+4000_daily_bin399.fits evtable="EVENTS" scfile=/scratch/kocevski/941563/ft2_4FGL_J1738.2+4000_daily_bin399.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/941563/Model_4FGL_J1738.2+4000_daily_bin399.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/941563/ft1_filtered_4FGL_J1738.2+4000_daily_bin399.fits.....................! real 57.20 user 56.04 sys 1.04 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/941563/ft1_filtered_4FGL_J1738.2+4000_daily_bin399.fits', '/scratch/kocevski/941563/ft2_4FGL_J1738.2+4000_daily_bin399.fits', expMap='/scratch/kocevski/941563/expmap_342748801_343008001_4FGL_J1738.2+4000_daily_bin399.fits', expCube='/scratch/kocevski/941563/ltcube_342748801_343008001_4FGL_J1738.2+4000_daily_bin399.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/941563/Model_4FGL_J1738.2+4000_daily_bin399.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/941563/ft1_filtered_4FGL_J1738.2+4000_daily_bin399.fits Spacecraft file(s): /scratch/kocevski/941563/ft2_4FGL_J1738.2+4000_daily_bin399.fits Exposure map: /scratch/kocevski/941563/expmap_342748801_343008001_4FGL_J1738.2+4000_daily_bin399.fits Exposure cube: /scratch/kocevski/941563/ltcube_342748801_343008001_4FGL_J1738.2+4000_daily_bin399.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/941563/Model_4FGL_J1738.2+4000_daily_bin399.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) = 8258.25028256 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8258.23071403 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .10008E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 2.6164 1.0000 .10000E-03 10000. 3 'Prefactor ' .94491E-01 1.0000 .10000E-03 10000. 4 'Prefactor ' 2.4252 1.0000 .10000E-03 10000. 5 'norm ' 4.1558 1.0000 .10000E-03 10000. 6 'norm ' .99213 1.0000 .10000E-03 10000. 7 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 8 'norm ' 2.0616 1.0000 .10000E-03 10000. 9 'norm ' 14.155 1.0000 .10000E-03 10000. 10 'norm ' .12179E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 8.9541 1.0000 .10000E-03 10000. 12 'Prefactor ' 43.997 1.0000 .10000E-03 10000. 13 'norm ' 1.1462 1.0000 .10000E-03 10000. 14 'Prefactor ' 72.495 1.0000 .10000E-03 10000. 15 'Prefactor ' 118.01 1.0000 .10000E-03 10000. 16 'norm ' 7.8086 1.0000 .10000E-03 10000. 17 'Prefactor ' .10039E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 40.045 1.0000 .10000E-03 10000. 19 'Prefactor ' 28.048 1.0000 .10000E-03 10000. 20 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .70101E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' .10063E-03 1.0000 .10000E-03 10000. 23 'norm ' .10096E-03 1.0000 .10000E-03 10000. 24 'norm ' .10000E-03 1.0000 .10000E-03 10000. 25 'norm ' 13.999 1.0000 .10000E-03 10000. 26 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' 4.6818 1.0000 .10000E-03 10000. 28 'Normalizat' 1.5449 1.0000 .10000E-01 10.000 29 'Prefactor ' .64892 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= 8258.231 FROM MIGRAD STATUS=FAILED 1321 CALLS 4355 TOTAL EDM= .53E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .10000E-03 13.600 .18142E-02** at limit ** 2 Prefactor 2.6157 1.7477 .65731E-04 -.48325E-03 3 Prefactor .95749E-01 4.7844 .12653E-02 .51821E-02 4 Prefactor 2.4264 3.8535 .20616E-03 -.15882E-03 5 norm 4.1560 1.7951 .77147E-04 -.15178E-03 6 norm .99236 .98691 .91278E-03 .88866E-03 7 Prefactor .10000E-03 5.1078 .18142E-02** at limit ** 8 norm 2.0622 .93260 .56088E-04 -.81482E-04 9 norm 14.167 11.133 .10646E-03 .85431E-06 10 norm .10000E-03 2.6764 .15830E-02** at limit ** 11 Prefactor 8.9536 4.9163 .13394E-03 -.23256E-04 12 Prefactor 43.915 58.616 .60442E-04 -.28365E-04 13 norm 1.1473 19.075 .21656E-02 .65653E-04 14 Prefactor 72.675 122.52 .23576E-03 .17649E-04 15 Prefactor 117.99 117.91 .18520E-03 -.74890E-05 16 norm 7.8118 6.0096 .14350E-03 .11092E-05 17 Prefactor .10000E-03 18.421 .18142E-02** at limit ** 18 Prefactor 40.048 37.350 .63342E-04 .86150E-05 19 Prefactor 28.049 18.858 .75646E-04 -.23445E-04 20 Prefactor .10000E-03 5.4218 .18142E-02** at limit ** 21 Prefactor .10000E-03 185.52 .83687E-02** at limit ** 22 Prefactor .10000E-03 83.620 .18142E-02** at limit ** 23 norm .10000E-03 1.2336 .14873E-02** at limit ** 24 norm .10000E-03 32.864 .18142E-02** at limit ** 25 norm 14.002 9.0741 .10705E-03 .30160E-04 26 Prefactor .10000E-03 2.9699 .15228E-02** at limit ** 27 Prefactor 4.6802 4.3710 .17742E-03 -.25631E-05 28 Normalizat 1.5445 .27611 .28671E-03 -.38067E-05 29 Prefactor .64926 .14852 .24543E-03 -.27330E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 8258.231 FROM SIMPLEX STATUS=UNCHANGED 1721 CALLS 6076 TOTAL EDM= .18E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .10000E-03 13.600 .46950E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 2.6157 1.7477 .16619E-06 -1.5384 3 Prefactor .95749E-01 4.7844 .17017E-06 -1.5646 4 Prefactor 2.4264 3.8535 .16657E-06 -1.5396 5 norm 4.1560 1.7951 .16548E-06 -1.5300 6 norm .99236 .98691 .16752E-06 -1.5509 7 Prefactor .10000E-03 5.1078 .22550E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 2.0622 .93260 .16658E-06 -1.5421 9 norm 14.167 11.133 .16148E-06 -1.4955 10 norm .10000E-03 2.6764 .14473E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 8.9536 4.9163 .16331E-06 -1.5109 12 Prefactor 43.915 58.616 .15570E-06 -1.4382 13 norm 1.1473 19.075 .16755E-06 -1.5494 14 Prefactor 72.675 122.52 .15150E-06 -1.4001 15 Prefactor 117.99 117.91 .14636E-06 -1.3531 16 norm 7.8118 6.0096 .16372E-06 -1.5149 17 Prefactor .10000E-03 18.421 .67502E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 40.048 37.350 .15632E-06 -1.4441 19 Prefactor 28.049 18.858 .15835E-06 -1.4648 20 Prefactor .10000E-03 5.4218 .89699E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 185.52 .14355E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 83.620 .11026E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .10000E-03 1.2336 .33037E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm .10000E-03 32.864 .69655E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 14.002 9.0741 .16168E-06 -1.4959 26 Prefactor .10000E-03 2.9699 .20375E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor 4.6802 4.3710 .16496E-06 -1.5275 28 Normalizat 1.5445 .27611 .82941E-07 -.76536 29 Prefactor .64926 .14852 .11407E-06 -1.0555 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8258.231 FROM MIGRAD STATUS=CONVERGED 532 CALLS 6608 TOTAL EDM= .77E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .10000E-03 13.600 .36285E-03** at limit ** 2 Prefactor 2.6157 1.6509 .26292E-05 -.20755E-04 3 Prefactor .95752E-01 4.2661 .25306E-03 .20865E-03 4 Prefactor 2.4264 3.8508 .82464E-05 -.22058E-05 5 norm 4.1560 1.7945 .30859E-05 -.29473E-05 6 norm .99235 .98638 .36511E-04 -.18682E-05 7 Prefactor .10000E-03 5.1098 .36285E-03** at limit ** 8 norm 2.0622 .93255 .22435E-05 -.20269E-05 9 norm 14.167 11.119 .42584E-05 .64073E-06 10 norm .10000E-03 2.6865 .31660E-03** at limit ** 11 Prefactor 8.9536 4.9161 .53578E-05 .16975E-06 12 Prefactor 43.915 58.120 .12088E-04 .37619E-06 13 norm 1.1473 17.602 .86623E-04 .14699E-05 14 Prefactor 72.675 118.96 .94303E-05 .38577E-06 15 Prefactor 117.99 117.87 .74081E-05 .12277E-06 16 norm 7.8118 6.0092 .57399E-05 .15845E-06 17 Prefactor .10000E-03 18.421 .36285E-03** at limit ** 18 Prefactor 40.048 37.349 .25337E-05 .0000 19 Prefactor 28.049 18.856 .30258E-05 .0000 20 Prefactor .10000E-03 5.4228 .36285E-03** at limit ** 21 Prefactor .10000E-03 192.53 .33475E-03** at limit ** 22 Prefactor .10000E-03 83.626 .36285E-03** at limit ** 23 norm .10000E-03 1.2374 .29746E-03** at limit ** 24 norm .10000E-03 32.865 .36285E-03** at limit ** 25 norm 14.002 9.0735 .42820E-05 .42480E-06 26 Prefactor .10000E-03 2.9706 .30455E-03** at limit ** 27 Prefactor 4.6802 4.3709 .70968E-05 .25631E-06 28 Normalizat 1.5445 .27623 .11468E-04 -.79305E-07 29 Prefactor .64926 .14863 .98172E-05 -.18529E-06 ERR DEF= .500 Final values: norm = 0.0001 Prefactor = 2.61569 Prefactor = 0.0957518 Prefactor = 2.42644 norm = 4.15596 norm = 0.992352 Prefactor = 0.0001 norm = 2.06223 norm = 14.1666 norm = 0.0001 Prefactor = 8.95362 Prefactor = 43.9147 norm = 1.14731 Prefactor = 72.6746 Prefactor = 117.994 norm = 7.81176 Prefactor = 0.0001 Prefactor = 40.0484 Prefactor = 28.0489 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 norm = 0.0001 norm = 14.0023 Prefactor = 0.0001 Prefactor = 4.68018 Normalizat = 1.54447 Prefactor = 0.649261 ********** ** 18 **HESSE ********** FCN= 8258.231 FROM HESSE STATUS=OK 525 CALLS 7133 TOTAL EDM= .36E-13 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .10000E-03 13.600 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 2.6157 1.6325 .52585E-06 -1.5384 3 Prefactor .95752E-01 4.1674 .50612E-04 -1.5646 4 Prefactor 2.4264 3.8500 .16493E-05 -1.5396 5 norm 4.1560 1.7942 .61718E-06 -1.5300 6 norm .99235 .98632 .14605E-05 -1.5509 7 Prefactor .10000E-03 5.1099 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 2.0622 .93241 .44871E-06 -1.5421 9 norm 14.167 11.118 .42584E-05 -1.4955 10 norm .10000E-03 2.6869 .63319E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 8.9536 4.9161 .53578E-05 -1.5109 12 Prefactor 43.915 58.107 .12088E-04 -1.4382 13 norm 1.1473 17.558 .17325E-04 -1.5494 14 Prefactor 72.675 118.85 .94303E-05 -1.4001 15 Prefactor 117.99 117.87 .74081E-05 -1.3531 16 norm 7.8118 6.0093 .57399E-05 -1.5149 17 Prefactor .10000E-03 18.421 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 40.048 37.349 .25337E-05 -1.4441 19 Prefactor 28.049 18.856 .30258E-05 -1.4648 20 Prefactor .10000E-03 5.4228 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 192.53 .33475E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 83.626 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .10000E-03 1.2376 .59491E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm .10000E-03 32.865 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 14.002 9.0733 .42820E-05 -1.4959 26 Prefactor .10000E-03 2.9706 .60910E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor 4.6802 4.3709 .70968E-05 -1.5275 28 Normalizat 1.5445 .27618 .11468E-04 -.76536 29 Prefactor .64926 .14862 .98172E-05 -1.0555 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.57163e-14 Minuit parameter uncertainties: 1 2.09532e-07 2 1.6325 3 1.26282 4 3.85036 5 1.79424 6 0.986339 7 3.06808e-07 8 0.932419 9 11.1198 10 1.37639e-07 11 4.91633 12 58.1816 13 8.97927 14 119.243 15 118.101 16 6.00973 17 7.6143e-08 18 37.3706 19 18.8598 20 5.79933e-08 21 4.67429e-07 22 8.72689e-08 23 7.94938e-08 24 1.63647e-07 25 9.07417 26 1.81136e-08 27 4.37119 28 0.276454 29 0.148714 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8258.23070032 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 7.267e+01 1.192e+02 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: 6.493e-01 1.487e-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.544e+00 2.765e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.80 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 1.59e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.23e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/941563/likelihoodResults_342748801_343008001_4FGL_J1738.2+4000_daily_bin399.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) = 8257.25299427 delta logL = 0.977706041704 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 8257.14816584 delta logL = 1.08253447748 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 14.593 1.0000 .10000E-03 10000. 2 'Index ' 3.6553 1.0000 .0000 10.000 3 'Normalizat' 1.4648 1.0000 .10000E-01 10.000 4 'Prefactor ' .67825 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= 8257.148 FROM MIGRAD STATUS=FAILED 93 CALLS 310 TOTAL EDM= .50E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 14.577 284.56 .10485E-03 -.71565E-05 2 Index 3.6561 3.3932 .38429E-02 .90442E-03 3 Normalizat 1.4647 .24296 .29274E-03 .46370E-04 4 Prefactor .67835 .14113 .24044E-03 -.46147E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 8257.148 FROM SIMPLEX STATUS=UNCHANGED 92 CALLS 402 TOTAL EDM= .79E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 14.577 284.56 .39391E-03 -.71565E-05 2 Index 3.6561 3.3932 .80596E-03 .90442E-03 3 Normalizat 1.4647 .24296 .93829E-04 .46370E-04 4 Prefactor .67835 .14113 .87872E-04 -.46147E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8257.148 FROM MIGRAD STATUS=CONVERGED 29 CALLS 431 TOTAL EDM= .27E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 14.577 35.770 .41939E-05 -.22771E-04 2 Index 3.6561 1.0324 .76858E-03 .52363E-05 3 Normalizat 1.4647 .25587 .11709E-04 .31846E-04 4 Prefactor .67835 .14606 .96177E-05 -.34043E-04 ERR DEF= .500 Final values: Prefactor = 14.5772 Index = 3.65612 Normalizat = 1.46467 Prefactor = 0.678354 ********** ** 18 **HESSE ********** FCN= 8257.148 FROM HESSE STATUS=OK 23 CALLS 454 TOTAL EDM= .23E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 14.577 31.000 .83878E-06 -1.4944 2 Index 3.6561 .89661 .30743E-04 -.27212 3 Normalizat 1.4647 .25524 .23419E-05 -.78776 4 Prefactor .67835 .14560 .19235E-05 -1.0438 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.28395e-11 Minuit parameter uncertainties: 1 31.0343 2 0.90187 3 0.255463 4 0.145679 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/941563': 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) = 8257.14816444 delta logL = 1.08253587536 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 1.458e+01 3.103e+01 1.000e-04 1.000e+04 ( 1.000e-14) 327 Index: 3.656e+00 9.019e-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: 6.784e-01 1.457e-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.465e+00 2.555e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.12 Ra Dec: 264.560 40.010 Photon Index (Free Index): 3.66 +/- 0.90 Photon Flux (Free Index): 1.17e-07 +/- 7.75e-08 Energy Flux (Free Index): 1.87e-05 +/- 1.25e-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/941563/cmap_HighResolution_342748801_343008001_4FGL_J1738.2+4000_daily_bin399.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/941563 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', comment='SUCCESS', energy_flux2='1.87e-05', dlogl='1.08e+00', photon_flux2='1.17e-07', job_status='DONE', time_completed='2021-09-18 01:10:03.001357', photon_index_error2='0.90', photon_index2='3.66', ts='0.80', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', photon_flux_upper_limit='1.59e-07', energy_flux_error2='1.25e-05', EG='1.54', time_epoch_completed='1631952603.0', return_code='0', job_id='941563', GAL2='0.68', EG2='1.46', return_code2='0', photon_flux_error2='7.75e-08', ts2='3.12', photon_index='2.52' WHERE bin_id='399' AND source_name='4FGL J1738.2+4000' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 18 01:10:03 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 941563: <4FGL_J1738.2+4000_daily_bin399> in cluster Done Job <4FGL_J1738.2+4000_daily_bin399> was submitted from host by user in cluster at Sat Sep 18 00:50:23 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 18 00:50:24 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 18 00:50:24 2021 Terminated at Sat Sep 18 01:10:03 2021 Results reported at Sat Sep 18 01:10:03 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_daily_bin399 264.56 40.0099 342748801 343008001 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 : 1158.07 sec. Max Memory : 1256 MB Average Memory : 317.62 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 1179 sec. Turnaround time : 1180 sec. The output (if any) is above this job summary.