/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 103 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 = 73129 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1738.2+4000_monthly_bin45 RA = 264.56, Dec = 40.0099 tmin = 353635201, tmax = 356227201 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='684440', job_status='RUN', time_executed='2021-10-31 07:12:19.701067', time_epoch_executed='1635689539.7' WHERE source_name='4FGL J1738.2+4000' and cadence='monthly' and bin_id='45' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/684440 Creating custom pfile directory: /scratch/kocevski/684440/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=353635201.0 && nMetStart<356227201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=353635201.0 && nMetStart<356227201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/684440/ft1_4FGL_J1738.2+4000_monthly_bin45.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=353635201.0 && nMetStart<356227201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/684440/ft2_4FGL_J1738.2+4000_monthly_bin45.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/684440/ft1_4FGL_J1738.2+4000_monthly_bin45.fits outfile=/scratch/kocevski/684440/ft1_filteredMKT_4FGL_J1738.2+4000_monthly_bin45.fits ra=264.56 dec=40.0099 rad=12.0 tmin=353635201.0 tmax=356227201.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 31.09 user 30.33 sys 0.68 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/684440/ft2_4FGL_J1738.2+4000_monthly_bin45.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/684440/ft2_4FGL_J1738.2+4000_monthly_bin45.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/684440/ft1_filteredMKT_4FGL_J1738.2+4000_monthly_bin45.fits evtable="EVENTS" outfile="/scratch/kocevski/684440/ft1_filtered_4FGL_J1738.2+4000_monthly_bin45.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.84 user 0.67 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/684440/ft1_filtered_4FGL_J1738.2+4000_monthly_bin45.fits" evtable="EVENTS" scfile=/scratch/kocevski/684440/ft2_4FGL_J1738.2+4000_monthly_bin45.fits sctable="SC_DATA" outfile=/scratch/kocevski/684440/ltcube_353635201_356227201_4FGL_J1738.2+4000_monthly_bin45.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/684440/ft2_4FGL_J1738.2+4000_monthly_bin45.fits .....................! real 108.97 user 108.40 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/684440/ft1_filtered_4FGL_J1738.2+4000_monthly_bin45.fits evtable="EVENTS" scfile=/scratch/kocevski/684440/ft2_4FGL_J1738.2+4000_monthly_bin45.fits sctable="SC_DATA" expcube=/scratch/kocevski/684440/ltcube_353635201_356227201_4FGL_J1738.2+4000_monthly_bin45.fits outfile=/scratch/kocevski/684440/expmap_353635201_356227201_4FGL_J1738.2+4000_monthly_bin45.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/684440/ltcube_353635201_356227201_4FGL_J1738.2+4000_monthly_bin45.fits .....................! real 191.12 user 186.24 sys 4.56 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/684440/ft1_filtered_4FGL_J1738.2+4000_monthly_bin45.fits scfile=/scratch/kocevski/684440/ft2_4FGL_J1738.2+4000_monthly_bin45.fits outfile=/scratch/kocevski/684440/cmap_353635201_356227201_4FGL_J1738.2+4000_monthly_bin45.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.77 user 0.60 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/684440/ft1_filtered_4FGL_J1738.2+4000_monthly_bin45.fits scfile=/scratch/kocevski/684440/ft2_4FGL_J1738.2+4000_monthly_bin45.fits outfile=/scratch/kocevski/684440/cmap_HighResolution_353635201_356227201_4FGL_J1738.2+4000_monthly_bin45.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.77 user 0.61 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/684440/ft1_filtered_4FGL_J1738.2+4000_monthly_bin45.fits evtable="EVENTS" scfile=/scratch/kocevski/684440/ft2_4FGL_J1738.2+4000_monthly_bin45.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/684440/Model_4FGL_J1738.2+4000_monthly_bin45.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/684440/ft1_filtered_4FGL_J1738.2+4000_monthly_bin45.fits.....................! real 567.29 user 565.08 sys 1.28 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/684440/ft1_filtered_4FGL_J1738.2+4000_monthly_bin45.fits', '/scratch/kocevski/684440/ft2_4FGL_J1738.2+4000_monthly_bin45.fits', expMap='/scratch/kocevski/684440/expmap_353635201_356227201_4FGL_J1738.2+4000_monthly_bin45.fits', expCube='/scratch/kocevski/684440/ltcube_353635201_356227201_4FGL_J1738.2+4000_monthly_bin45.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/684440/Model_4FGL_J1738.2+4000_monthly_bin45.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/684440/ft1_filtered_4FGL_J1738.2+4000_monthly_bin45.fits Spacecraft file(s): /scratch/kocevski/684440/ft2_4FGL_J1738.2+4000_monthly_bin45.fits Exposure map: /scratch/kocevski/684440/expmap_353635201_356227201_4FGL_J1738.2+4000_monthly_bin45.fits Exposure cube: /scratch/kocevski/684440/ltcube_353635201_356227201_4FGL_J1738.2+4000_monthly_bin45.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/684440/Model_4FGL_J1738.2+4000_monthly_bin45.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) = 83397.1669379 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 83397.1203049 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .62332 1.0000 .10000E-03 10000. 2 'Prefactor ' .32488 1.0000 .10000E-03 10000. 3 'Prefactor ' .41931 1.0000 .10000E-03 10000. 4 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 5 'norm ' 4.2478 1.0000 .10000E-03 10000. 6 'norm ' .90686 1.0000 .10000E-03 10000. 7 'Prefactor ' 2.5479 1.0000 .10000E-03 10000. 8 'norm ' 2.6494 1.0000 .10000E-03 10000. 9 'norm ' .40196E-01 1.0000 .10000E-03 10000. 10 'norm ' 2.7946 1.0000 .10000E-03 10000. 11 'Prefactor ' .80262 1.0000 .10000E-03 10000. 12 'Prefactor ' .20134 1.0000 .10000E-03 10000. 13 'norm ' 2.6338 1.0000 .10000E-03 10000. 14 'Prefactor ' 13.636 1.0000 .10000E-03 10000. 15 'Prefactor ' 22.376 1.0000 .10000E-03 10000. 16 'norm ' 5.4545 1.0000 .10000E-03 10000. 17 'Prefactor ' .10027E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .81293 1.0000 .10000E-03 10000. 20 'Prefactor ' 3.4937 1.0000 .10000E-03 10000. 21 'Prefactor ' 3.5390 1.0000 .10000E-03 10000. 22 'Prefactor ' .10078E-03 1.0000 .10000E-03 10000. 23 'norm ' .10000E-03 1.0000 .10000E-03 10000. 24 'norm ' .10000E-03 1.0000 .10000E-03 10000. 25 'norm ' .69592 1.0000 .10000E-03 10000. 26 'Prefactor ' .81644 1.0000 .10000E-03 10000. 27 'Prefactor ' 1.4295 1.0000 .10000E-03 10000. 28 'Normalizat' .92681 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.0325 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 83397.12 FROM MIGRAD STATUS=CONVERGED 756 CALLS 3861 TOTAL EDM= .35E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .62406 7.3974 .0000 .24709E-02 2 Prefactor .32482 .30139 .0000 .17271E-01 3 Prefactor .41933 .32898 .0000 .17863E-01 4 Prefactor .10000E-03 .15114 .0000 ** at limit ** 5 norm 4.2479 .55083 .0000 -.10225E-01 6 norm .90692 .23492 .0000 .54545E-02 7 Prefactor 2.5486 1.8912 .0000 .60772E-02 8 norm 2.6495 .30605 .0000 .28677E-02 9 norm .37957E-01 .33837 .0000 .23168E-02 10 norm 2.7949 .54776 .0000 .53157E-02 11 Prefactor .80268 .54186 .0000 .26650E-02 12 Prefactor .44576 3.7357 .0000 .14382E-02 13 norm 2.6300 1.4576 .0000 .49380E-02 14 Prefactor 13.630 16.559 .0000 -.60438E-03 15 Prefactor 22.367 21.948 .0000 .13503E-02 16 norm 5.4550 1.5384 .0000 .20236E-02 17 Prefactor .10001E-03 10.026 .0000 ** at limit ** 18 Prefactor .10000E-03 4.4476 .0000 ** at limit ** 19 Prefactor .81667 3.1730 .0000 .12498 20 Prefactor 3.4945 2.2734 .0000 .22008E-02 21 Prefactor 3.5406 7.4147 .0000 .56983E-03 22 Prefactor .10000E-03 9.6082 .0000 ** at limit ** 23 norm .10000E-03 .77478E-01 .0000 ** at limit ** 24 norm .10001E-03 9.9095 .0000 ** at limit ** 25 norm .69680 1.8586 .0000 .31487 26 Prefactor .81693 1.2426 .0000 .15916E-01 27 Prefactor 1.4300 1.2296 .0000 .11343E-01 28 Normalizat .92675 .63681E-01 .0000 .72530E-03 29 Prefactor 1.0324 .38249E-01 .0000 .71245E-03 ERR DEF= .500 Final values: norm = 0.624059 Prefactor = 0.324822 Prefactor = 0.419328 Prefactor = 0.0001 norm = 4.2479 norm = 0.906922 Prefactor = 2.54863 norm = 2.64949 norm = 0.0379569 norm = 2.79487 Prefactor = 0.802678 Prefactor = 0.445758 norm = 2.62998 Prefactor = 13.6297 Prefactor = 22.3674 norm = 5.45501 Prefactor = 0.000100007 Prefactor = 0.0001 Prefactor = 0.816666 Prefactor = 3.49445 Prefactor = 3.54064 Prefactor = 0.000100004 norm = 0.0001 norm = 0.00010001 norm = 0.696796 Prefactor = 0.816928 Prefactor = 1.43001 Normalizat = 0.926753 Prefactor = 1.03243 ********** ** 18 **HESSE ********** FCN= 83397.12 FROM HESSE STATUS=OK 591 CALLS 4452 TOTAL EDM= .13E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .62406 7.5554 .47057E-03 -1.5550 2 Prefactor .32482 .22803 .11215E-02 -1.5594 3 Prefactor .41933 .24783 .10676E-02 -1.5578 4 Prefactor .10000E-03 .48484 .21506E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 4.2479 .54746 .37052E-03 -1.5296 6 norm .90692 .22909 .68157E-04 -1.5518 7 Prefactor 2.5486 1.8724 .25581E-03 -1.5389 8 norm 2.6495 .30459 .50542E-04 -1.5382 9 norm .37957E-01 .49137 .62303E-01 -1.5669 10 norm 2.7949 .54560 .89035E-04 -1.5374 11 Prefactor .80268 .55110 .16952E-03 -1.5529 12 Prefactor .44576 3.6522 .15965 -1.5574 13 norm 2.6300 1.4360 .22735E-03 -1.5384 14 Prefactor 13.630 16.430 .10847E-03 -1.4969 15 Prefactor 22.367 21.868 .84676E-04 -1.4762 16 norm 5.4550 1.5355 .17205E-03 -1.5241 17 Prefactor .10001E-03 10.220 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 4.4851 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .81667 3.1829 .24976E-02 -1.5527 20 Prefactor 3.4945 2.2584 .21632E-03 -1.5334 21 Prefactor 3.5406 7.4016 .21487E-03 -1.5332 22 Prefactor .10000E-03 9.6286 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .10000E-03 .28799 .15601E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm .10001E-03 9.9904 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm .69680 1.8734 .24092E-02 -1.5541 26 Prefactor .81693 1.2185 .37827E-03 -1.5527 27 Prefactor 1.4300 1.2183 .28454E-03 -1.5469 28 Normalizat .92675 .75072E-01 .31804E-03 -.95526 29 Prefactor 1.0324 .45800E-01 .19231E-03 -.91656 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.32767e-08 Minuit parameter uncertainties: 1 4.34314 2 0.228035 3 0.24783 4 1.44987e-06 5 0.547459 6 0.229094 7 1.87241 8 0.304591 9 0.27278 10 0.545605 11 0.551099 12 2.5518 13 1.43604 14 16.4357 15 21.8762 16 1.53547 17 0.000545187 18 4.48091e-05 19 3.18351 20 2.25841 21 7.4035 22 0.000371945 23 6.87489e-07 24 0.000646498 25 1.87354 26 1.21851 27 1.21833 28 0.0750802 29 0.0458014 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 83397.1200771 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 1.363e+01 1.644e+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.032e+00 4.580e-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: 9.268e-01 7.508e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.94 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 2.77e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.15e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/684440/likelihoodResults_353635201_356227201_4FGL_J1738.2+4000_monthly_bin45.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) = 83396.8674044 delta logL = 0.2526727043 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 83396.8312175 delta logL = 0.288859675929 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 7.0079 1.0000 .10000E-03 10000. 2 'Index ' 3.1041 1.0000 .0000 10.000 3 'Normalizat' .91658 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0363 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. FCN= 83396.83 FROM MIGRAD STATUS=CONVERGED 59 CALLS 305 TOTAL EDM= .85E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.0015 53.669 .37886E-02 .36542E-03 2 Index 3.1048 1.0499 .21878 .63808E-03 3 Normalizat .91667 .10426E-01 .72238E-01 .25955E-03 4 Prefactor 1.0362 .65269E-02 .40790E-01 .12885E-05 ERR DEF= .500 Final values: Prefactor = 7.00151 Index = 3.10477 Normalizat = 0.916665 Prefactor = 1.03624 ********** ** 18 **HESSE ********** FCN= 83396.83 FROM HESSE STATUS=NOT POSDEF 33 CALLS 338 TOTAL EDM= .19E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 7.0015 241.50 .15154E-03 -1.5179 2 Index 3.1048 6.5517 .96780E-02 -.38877 3 Normalizat .91667 .77608E-01 .31964E-03 -.95877 4 Prefactor 1.0362 .46618E-01 .19200E-03 -.91531 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.8625e-08 Minuit parameter uncertainties: 1 82.6039 2 5.57431 3 0.0776178 4 0.0466199 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/684440': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 83396.8312155 delta logL = 0.288861681096 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 7.002e+00 8.260e+01 1.000e-04 1.000e+04 ( 1.000e-14) 327 Index: 3.105e+00 5.574e+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.036e+00 4.662e-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: 9.167e-01 7.762e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.61 Ra Dec: 264.560 40.010 Photon Index (Free Index): 3.10 +/- 5.57 Photon Flux (Free Index): 1.57e-08 +/- 1.81e-08 Energy Flux (Free Index): 2.99e-06 +/- 5.43e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/684440/cmap_HighResolution_353635201_356227201_4FGL_J1738.2+4000_monthly_bin45.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/684440 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.15e-03', comment='SUCCESS', energy_flux2='2.99e-06', dlogl='2.89e-01', photon_flux2='1.57e-08', job_status='DONE', time_completed='2021-10-31 09:47:13.235449', photon_index_error2='5.57', photon_index2='3.10', ts='0.94', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='2.77e-08', energy_flux_error2='5.43e-06', EG='0.93', time_epoch_completed='1635698833.24', return_code='0', job_id='684440', GAL2='1.04', EG2='0.92', return_code2='102', photon_flux_error2='1.81e-08', ts2='1.61', photon_index='2.52' WHERE bin_id='45' AND source_name='4FGL J1738.2+4000' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sun Oct 31 09:47:13 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 684440: <4FGL_J1738.2+4000_monthly_bin45> in cluster Done Job <4FGL_J1738.2+4000_monthly_bin45> was submitted from host by user in cluster at Sun Oct 31 07:00:18 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Oct 31 07:10:21 2021 was used as the home directory. was used as the working directory. Started at Sun Oct 31 07:10:21 2021 Terminated at Sun Oct 31 09:47:13 2021 Results reported at Sun Oct 31 09:47:13 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_monthly_bin45 264.56 40.0099 353635201 356227201 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 : 9033.00 sec. Max Memory : 1262 MB Average Memory : 422.28 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 9412 sec. Turnaround time : 10015 sec. The output (if any) is above this job summary.