/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 41 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 = 7484 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1738.3+3228_daily_bin302 RA = 264.584, Dec = 32.4823 tmin = 317606401, tmax = 317865601 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='951709', job_status='RUN', time_executed='2021-09-18 01:21:18.405949', time_epoch_executed='1631953278.41' WHERE source_name='4FGL J1738.3+3228' and cadence='daily' and bin_id='302' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/951709 Creating custom pfile directory: /scratch/kocevski/951709/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=317606401.0 && nMetStart<317865601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=317606401.0 && nMetStart<317865601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/951709/ft1_4FGL_J1738.3+3228_daily_bin302.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=317606401.0 && nMetStart<317865601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/951709/ft2_4FGL_J1738.3+3228_daily_bin302.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/951709/ft1_4FGL_J1738.3+3228_daily_bin302.fits outfile=/scratch/kocevski/951709/ft1_filteredMKT_4FGL_J1738.3+3228_daily_bin302.fits ra=264.584 dec=32.4823 rad=12.0 tmin=317606401.0 tmax=317865601.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.34 user 3.12 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/951709/ft2_4FGL_J1738.3+3228_daily_bin302.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/951709/ft2_4FGL_J1738.3+3228_daily_bin302.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/951709/ft1_filteredMKT_4FGL_J1738.3+3228_daily_bin302.fits evtable="EVENTS" outfile="/scratch/kocevski/951709/ft1_filtered_4FGL_J1738.3+3228_daily_bin302.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.48 user 0.33 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/951709/ft1_filtered_4FGL_J1738.3+3228_daily_bin302.fits" evtable="EVENTS" scfile=/scratch/kocevski/951709/ft2_4FGL_J1738.3+3228_daily_bin302.fits sctable="SC_DATA" outfile=/scratch/kocevski/951709/ltcube_317606401_317865601_4FGL_J1738.3+3228_daily_bin302.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/951709/ft2_4FGL_J1738.3+3228_daily_bin302.fits .....................! real 12.05 user 11.70 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/951709/ft1_filtered_4FGL_J1738.3+3228_daily_bin302.fits evtable="EVENTS" scfile=/scratch/kocevski/951709/ft2_4FGL_J1738.3+3228_daily_bin302.fits sctable="SC_DATA" expcube=/scratch/kocevski/951709/ltcube_317606401_317865601_4FGL_J1738.3+3228_daily_bin302.fits outfile=/scratch/kocevski/951709/expmap_317606401_317865601_4FGL_J1738.3+3228_daily_bin302.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/951709/ltcube_317606401_317865601_4FGL_J1738.3+3228_daily_bin302.fits .....................! real 189.90 user 184.68 sys 4.90 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1738.3+3228 @ 264.584 32.4823 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/951709/ft1_filtered_4FGL_J1738.3+3228_daily_bin302.fits scfile=/scratch/kocevski/951709/ft2_4FGL_J1738.3+3228_daily_bin302.fits outfile=/scratch/kocevski/951709/cmap_317606401_317865601_4FGL_J1738.3+3228_daily_bin302.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.584 yref=32.4823 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.56 user 0.38 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/951709/ft1_filtered_4FGL_J1738.3+3228_daily_bin302.fits scfile=/scratch/kocevski/951709/ft2_4FGL_J1738.3+3228_daily_bin302.fits outfile=/scratch/kocevski/951709/cmap_HighResolution_317606401_317865601_4FGL_J1738.3+3228_daily_bin302.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.584 yref=32.4823 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.54 user 0.38 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/951709/ft1_filtered_4FGL_J1738.3+3228_daily_bin302.fits evtable="EVENTS" scfile=/scratch/kocevski/951709/ft2_4FGL_J1738.3+3228_daily_bin302.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/951709/Model_4FGL_J1738.3+3228_daily_bin302.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/951709/ft1_filtered_4FGL_J1738.3+3228_daily_bin302.fits.....................! real 67.74 user 66.44 sys 1.18 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/951709/ft1_filtered_4FGL_J1738.3+3228_daily_bin302.fits', '/scratch/kocevski/951709/ft2_4FGL_J1738.3+3228_daily_bin302.fits', expMap='/scratch/kocevski/951709/expmap_317606401_317865601_4FGL_J1738.3+3228_daily_bin302.fits', expCube='/scratch/kocevski/951709/ltcube_317606401_317865601_4FGL_J1738.3+3228_daily_bin302.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/951709/Model_4FGL_J1738.3+3228_daily_bin302.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1738.3+3228' 4FGL J1738.3+3228 Spectrum: PowerLaw 322 Prefactor: 7.549e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 323 Index: 2.454e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 324 Scale: 1.347e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/951709/ft1_filtered_4FGL_J1738.3+3228_daily_bin302.fits Spacecraft file(s): /scratch/kocevski/951709/ft2_4FGL_J1738.3+3228_daily_bin302.fits Exposure map: /scratch/kocevski/951709/expmap_317606401_317865601_4FGL_J1738.3+3228_daily_bin302.fits Exposure cube: /scratch/kocevski/951709/ltcube_317606401_317865601_4FGL_J1738.3+3228_daily_bin302.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/951709/Model_4FGL_J1738.3+3228_daily_bin302.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) = 8879.23804024 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8879.2313764 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 4.6879 1.0000 .10000E-03 10000. 2 'Prefactor ' 42.724 1.0000 .10000E-03 10000. 3 'norm ' 18.919 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'norm ' .10000E-03 1.0000 .10000E-03 10000. 6 'norm ' .10000E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 92.799 1.0000 .10000E-03 10000. 9 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 84.438 1.0000 .10000E-03 10000. 11 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10129E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 3.7713 1.0000 .10000E-03 10000. 14 'Prefactor ' 5.5605 1.0000 .10000E-03 10000. 15 'norm ' .91639 1.0000 .10000E-03 10000. 16 'norm ' .10006E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' 7.9163 1.0000 .10000E-03 10000. 18 'norm ' .10000E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 4.4704 1.0000 .10000E-03 10000. 20 'Prefactor ' 22.290 1.0000 .10000E-03 10000. 21 'norm ' .10000E-03 1.0000 .10000E-03 10000. 22 'Normalizat' .69262 1.0000 .10000E-01 10.000 23 'Prefactor ' 1.1665 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6690E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 8879.231 FROM MIGRAD STATUS=CONVERGED 510 CALLS 2513 TOTAL EDM= .88E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 4.6879 1.9003 .14915E-07 .21914E-04 2 Prefactor 42.722 40.524 -.13821E-06 -.42861E-04 3 norm 18.917 8.9060 .14078E-06 .42348E-04 4 Prefactor .10000E-03 12.655 .25455E-06** at limit ** 5 norm .10000E-03 1.5751 -.10210E-08** at limit ** 6 norm .10001E-03 38.447 .61411E-05** at limit ** 7 Prefactor .10001E-03 36.992 -.61328E-05** at limit ** 8 Prefactor 92.807 90.829 .21754E-05 .56842E-04 9 Prefactor .10000E-03 9.3111 .31039E-07** at limit ** 10 Prefactor 84.447 58.600 .19723E-05 .20069E-03 11 Prefactor .10000E-03 3.3994 .12213E-07** at limit ** 12 Prefactor .10000E-03 11.668 .80612E-06** at limit ** 13 Prefactor 3.6969 95.837 -.58370E-05 -.46273E-04 14 Prefactor 5.5599 9.3157 .38336E-05 -.76418E-03 15 norm .91594 1.4923 .16306E-06 .22373E-03 16 norm .10000E-03 23.501 .26534E-06** at limit ** 17 Prefactor 7.9158 6.7934 .17727E-06 -.55909E-04 18 norm .10000E-03 3.2937 .41155E-07** at limit ** 19 Prefactor 4.4712 5.4552 -.77397E-07 -.14970E-03 20 Prefactor 22.286 21.461 .18816E-05 .26997E-03 21 norm .10000E-03 11.952 -.10284E-05** at limit ** 22 Normalizat .69249 .20917 -.10588E-05 -.44820E-04 23 Prefactor 1.1666 .11032 -.43008E-06 .90098E-05 ERR DEF= .500 Final values: norm = 4.68791 Prefactor = 42.7225 norm = 18.9173 Prefactor = 0.0001 norm = 0.0001 norm = 0.000100009 Prefactor = 0.000100008 Prefactor = 92.8065 Prefactor = 0.0001 Prefactor = 84.4472 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 3.69693 Prefactor = 5.55987 norm = 0.915937 norm = 0.0001 Prefactor = 7.91582 norm = 0.0001 Prefactor = 4.47124 Prefactor = 22.2855 norm = 0.0001 Normalizat = 0.692494 Prefactor = 1.16661 ********** ** 18 **HESSE ********** FCN= 8879.231 FROM HESSE STATUS=OK 366 CALLS 2879 TOTAL EDM= .23E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 4.6879 1.9011 .80597E-04 -1.5275 2 Prefactor 42.722 40.543 .61331E-04 -1.4400 3 norm 18.917 8.9125 .92083E-04 -1.4838 4 Prefactor .10000E-03 12.663 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .10000E-03 1.5834 .11547E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .10001E-03 39.822 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10001E-03 38.342 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 92.807 90.958 .41718E-04 -1.3778 9 Prefactor .10000E-03 9.4752 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 84.447 60.572 .43716E-04 -1.3867 11 Prefactor .10000E-03 3.4085 .16967E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 11.697 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 3.6969 97.800 .20789E-03 -1.5323 14 Prefactor 5.5599 10.403 .85187E-03 -1.5236 15 norm .91594 1.1816 .14308E-02 -1.5517 16 norm .10000E-03 23.517 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 7.9158 6.7789 .14251E-03 -1.5145 18 norm .10000E-03 3.2986 .16698E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 4.4712 5.4492 .19044E-03 -1.5285 20 Prefactor 22.286 21.701 .84840E-04 -1.4763 21 norm .10000E-03 11.995 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Normalizat .69249 .23140 .40493E-03 -1.0419 23 Prefactor 1.1666 .12352 .17024E-03 -.87365 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.33589e-09 Minuit parameter uncertainties: 1 1.90115 2 40.5692 3 8.91309 4 3.06897e-05 5 1.70766e-06 6 0.00120276 7 0.00113063 8 91.0952 9 6.97864e-07 10 60.6163 11 3.12535e-06 12 8.43685e-05 13 38.0983 14 10.4063 15 1.18159 16 4.17177e-05 17 6.77959 18 6.11083e-06 19 5.44982 20 21.7087 21 0.000108482 22 0.231724 23 0.123548 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8879.2313741 Extracting fit parameters... 4FGL J1738.3+3228 Spectrum: PowerLaw 322 Prefactor: 9.281e+01 9.110e+01 1.000e-04 1.000e+04 ( 1.000e-14) 323 Index: 2.454e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 324 Scale: 1.347e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 666 Prefactor: 1.167e+00 1.235e-01 0.000e+00 1.000e+01 ( 1.000e+00) 667 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 668 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 665 Normalization: 6.925e-01 2.317e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.46 Ra Dec: 264.584 32.482 Photon Index (Fixed Index): 2.45 +/- 0.00 Photon Flux (Fixed Index): 3.77e-08 +/- 3.70e-08 Energy Flux (Fixed Index): 1.16e-05 +/- 1.13e-05 TS (Fixed Index): 1.46 Ra Dec: 264.584 32.482 Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1 Energy Flux Upper Limit: 9.11e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/951709/likelihoodResults_317606401_317865601_4FGL_J1738.3+3228_daily_bin302.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) = 8879.23137296 delta logL = 1.13599708129e-06 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8879.23137292 delta logL = 1.17566378321e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 92.807 1.0000 .10000E-03 10000. 2 'Index ' 2.4532 1.0000 .0000 10.000 3 'Normalizat' .69251 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1666 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6690E+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= 8879.231 FROM MIGRAD STATUS=FAILED 102 CALLS 250 TOTAL EDM= .45E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 93.249 258.64 .20858E-03 -.17769E-04 2 Index 2.4506 1.7107 .87596E-02 .50855E-03 3 Normalizat .69265 .23971 .40491E-03 -.65813E-04 4 Prefactor 1.1665 .12525 .17024E-03 -.13468E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 8879.231 FROM SIMPLEX STATUS=UNCHANGED 74 CALLS 324 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 93.249 258.64 .58515E-03 -1.3774 2 Index 2.4506 1.7107 .93057E-03 -.53505 3 Normalizat .69265 .23971 .37854E-03 -1.0418 4 Prefactor 1.1665 .12525 .17952E-03 -.87367 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8879.231 FROM MIGRAD STATUS=CONVERGED 29 CALLS 353 TOTAL EDM= .50E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 93.248 182.63 .83432E-05 -.19077E-04 2 Index 2.4506 1.2158 .17519E-02 -.10331E-04 3 Normalizat .69265 .23341 .16196E-04 -.37062E-04 4 Prefactor 1.1665 .12298 .34048E-04 -.74126E-04 ERR DEF= .500 Final values: Prefactor = 93.2476 Index = 2.45057 Normalizat = 0.692652 Prefactor = 1.16654 ********** ** 18 **HESSE ********** FCN= 8879.231 FROM HESSE STATUS=OK 23 CALLS 376 TOTAL EDM= .49E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 93.248 173.53 .16686E-05 -1.3774 2 Index 2.4506 1.1554 .70077E-04 -.53505 3 Normalizat .69265 .23284 .32393E-05 -1.0418 4 Prefactor 1.1665 .12279 .68097E-05 -.87367 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.91003e-12 Minuit parameter uncertainties: 1 174.487 2 1.16975 3 0.233171 4 0.122819 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/951709': 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) = 8879.23136966 delta logL = 4.43908356829e-06 Extracting fit parameters... 4FGL J1738.3+3228 Spectrum: PowerLaw 322 Prefactor: 9.325e+01 1.745e+02 1.000e-04 1.000e+04 ( 1.000e-14) 323 Index: 2.451e+00 1.170e+00 0.000e+00 1.000e+01 (-1.000e+00) 324 Scale: 1.347e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 666 Prefactor: 1.167e+00 1.228e-01 0.000e+00 1.000e+01 ( 1.000e+00) 667 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 668 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 665 Normalization: 6.927e-01 2.332e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.45 Ra Dec: 264.584 32.482 Photon Index (Free Index): 2.45 +/- 1.17 Photon Flux (Free Index): 3.77e-08 +/- 4.41e-08 Energy Flux (Free Index): 1.16e-05 +/- 1.44e-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/951709/cmap_HighResolution_317606401_317865601_4FGL_J1738.3+3228_daily_bin302.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/951709 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.11e-03', comment='SUCCESS', photon_flux='3.77e-08', energy_flux2='1.16e-05', photon_flux_error='3.70e-08', dlogl='4.44e-06', energy_flux='1.16e-05', photon_flux2='3.77e-08', job_status='DONE', time_completed='2021-09-18 01:36:20.863343', photon_index_error2='1.17', photon_index2='2.45', ts='1.46', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='1.44e-05', EG='0.69', time_epoch_completed='1631954180.86', return_code='0', job_id='951709', GAL2='1.17', EG2='0.69', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='4.41e-08', ts2='1.45', photon_index='2.45' WHERE bin_id='302' AND source_name='4FGL J1738.3+3228' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 18 01:36:20 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 951709: <4FGL_J1738.3+3228_daily_bin302> in cluster Done Job <4FGL_J1738.3+3228_daily_bin302> was submitted from host by user in cluster at Sat Sep 18 01:20:27 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 18 01:20:29 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 18 01:20:29 2021 Terminated at Sat Sep 18 01:36:21 2021 Results reported at Sat Sep 18 01:36:21 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.3+3228_daily_bin302 264.584 32.4823 317606401 317865601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1738.3+3228 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 899.02 sec. Max Memory : 1257 MB Average Memory : 301.28 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 952 sec. Turnaround time : 954 sec. The output (if any) is above this job summary.