/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 71 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 = 7314 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin1070 RA = 250.119, Dec = 39.7626 tmin = 516672001, tmax = 516931201 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='837114', job_status='RUN', time_executed='2021-09-15 06:46:43.610844', time_epoch_executed='1631713603.61' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='1070' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/837114 Creating custom pfile directory: /scratch/kocevski/837114/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=516672001.0 && nMetStart<516931201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=516672001.0 && nMetStart<516931201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/837114/ft1_4FGL_J1640.4+3945_daily_bin1070.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=516672001.0 && nMetStart<516931201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/837114/ft2_4FGL_J1640.4+3945_daily_bin1070.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/837114/ft1_4FGL_J1640.4+3945_daily_bin1070.fits outfile=/scratch/kocevski/837114/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1070.fits ra=250.119 dec=39.7626 rad=12.0 tmin=516672001.0 tmax=516931201.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.55 user 3.29 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/837114/ft2_4FGL_J1640.4+3945_daily_bin1070.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/837114/ft2_4FGL_J1640.4+3945_daily_bin1070.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/837114/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1070.fits evtable="EVENTS" outfile="/scratch/kocevski/837114/ft1_filtered_4FGL_J1640.4+3945_daily_bin1070.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.50 user 0.33 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/837114/ft1_filtered_4FGL_J1640.4+3945_daily_bin1070.fits" evtable="EVENTS" scfile=/scratch/kocevski/837114/ft2_4FGL_J1640.4+3945_daily_bin1070.fits sctable="SC_DATA" outfile=/scratch/kocevski/837114/ltcube_516672001_516931201_4FGL_J1640.4+3945_daily_bin1070.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/837114/ft2_4FGL_J1640.4+3945_daily_bin1070.fits .....................! real 13.99 user 13.63 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/837114/ft1_filtered_4FGL_J1640.4+3945_daily_bin1070.fits evtable="EVENTS" scfile=/scratch/kocevski/837114/ft2_4FGL_J1640.4+3945_daily_bin1070.fits sctable="SC_DATA" expcube=/scratch/kocevski/837114/ltcube_516672001_516931201_4FGL_J1640.4+3945_daily_bin1070.fits outfile=/scratch/kocevski/837114/expmap_516672001_516931201_4FGL_J1640.4+3945_daily_bin1070.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/837114/ltcube_516672001_516931201_4FGL_J1640.4+3945_daily_bin1070.fits .....................! real 190.03 user 185.17 sys 4.43 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 J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/837114/ft1_filtered_4FGL_J1640.4+3945_daily_bin1070.fits scfile=/scratch/kocevski/837114/ft2_4FGL_J1640.4+3945_daily_bin1070.fits outfile=/scratch/kocevski/837114/cmap_516672001_516931201_4FGL_J1640.4+3945_daily_bin1070.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=250.119 yref=39.7626 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.37 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/837114/ft1_filtered_4FGL_J1640.4+3945_daily_bin1070.fits scfile=/scratch/kocevski/837114/ft2_4FGL_J1640.4+3945_daily_bin1070.fits outfile=/scratch/kocevski/837114/cmap_HighResolution_516672001_516931201_4FGL_J1640.4+3945_daily_bin1070.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=250.119 yref=39.7626 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.55 user 0.39 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/837114/ft1_filtered_4FGL_J1640.4+3945_daily_bin1070.fits evtable="EVENTS" scfile=/scratch/kocevski/837114/ft2_4FGL_J1640.4+3945_daily_bin1070.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/837114/Model_4FGL_J1640.4+3945_daily_bin1070.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/837114/ft1_filtered_4FGL_J1640.4+3945_daily_bin1070.fits.....................! real 55.72 user 54.33 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/837114/ft1_filtered_4FGL_J1640.4+3945_daily_bin1070.fits', '/scratch/kocevski/837114/ft2_4FGL_J1640.4+3945_daily_bin1070.fits', expMap='/scratch/kocevski/837114/expmap_516672001_516931201_4FGL_J1640.4+3945_daily_bin1070.fits', expCube='/scratch/kocevski/837114/ltcube_516672001_516931201_4FGL_J1640.4+3945_daily_bin1070.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/837114/Model_4FGL_J1640.4+3945_daily_bin1070.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.4+3945' 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.345e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/837114/ft1_filtered_4FGL_J1640.4+3945_daily_bin1070.fits Spacecraft file(s): /scratch/kocevski/837114/ft2_4FGL_J1640.4+3945_daily_bin1070.fits Exposure map: /scratch/kocevski/837114/expmap_516672001_516931201_4FGL_J1640.4+3945_daily_bin1070.fits Exposure cube: /scratch/kocevski/837114/ltcube_516672001_516931201_4FGL_J1640.4+3945_daily_bin1070.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/837114/Model_4FGL_J1640.4+3945_daily_bin1070.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) = 6955.23429124 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6955.21096793 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 34.865 1.0000 .10000E-03 10000. 3 'Prefactor ' 2.2065 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 33.235 1.0000 .10000E-03 10000. 6 'Prefactor ' 2.8678 1.0000 .10000E-03 10000. 7 'norm ' .31471 1.0000 .10000E-03 10000. 8 'norm ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 6.7586 1.0000 .10000E-03 10000. 11 'norm ' 102.79 1.0000 .10000E-03 10000. 12 'Prefactor ' .10335E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 2.2444 1.0000 .10000E-03 10000. 14 'Prefactor ' .98405 1.0000 .10000E-03 10000. 15 'Prefactor ' 2.6624 1.0000 .10000E-03 10000. 16 'norm ' .10000E-03 1.0000 .10000E-03 10000. 17 'norm ' 2.2540 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.4977 1.0000 .10000E-03 10000. 19 'norm ' .10008E-03 1.0000 .10000E-03 10000. 20 'norm ' 3.5091 1.0000 .10000E-03 10000. 21 'norm ' 2.8800 1.0000 .10000E-03 10000. 22 'Prefactor ' .11992E-03 1.0000 .10000E-03 10000. 23 'norm ' 35.163 1.0000 .10000E-03 10000. 24 'Prefactor ' .29664E-02 1.0000 .10000E-03 10000. 25 'Normalizat' .66259 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0637 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6955.211 FROM MIGRAD STATUS=CONVERGED 615 CALLS 3162 TOTAL EDM= .57E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 7.5616 .14156E-07** at limit ** 2 Prefactor 34.937 64.835 .20208E-05 .11876E-03 3 Prefactor 2.2061 4.3831 .11101E-05 -.33467E-04 4 Prefactor .10000E-03 3.1082 .33402E-06** at limit ** 5 Prefactor 33.233 25.855 -.98921E-07 -.49166E-04 6 Prefactor 2.8676 3.0698 .33584E-05 -.31584E-04 7 norm .31469 .15169 -.72853E-08 .27631E-02 8 norm .10000E-03 5.2871 -.30273E-07** at limit ** 9 Prefactor .10000E-03 12.446 -.82590E-07** at limit ** 10 Prefactor 6.7585 5.0529 -.51694E-07 -.17743E-03 11 norm 102.79 51.623 -.54309E-06 .10414E-03 12 Prefactor .10000E-03 .90288 -.42958E-06** at limit ** 13 Prefactor 2.2435 1.6143 .17309E-06 .19079E-02 14 Prefactor .98394 2.9853 .15680E-05 .17275E-04 15 Prefactor 2.6625 2.3727 .24365E-07 .98513E-04 16 norm .10000E-03 .60431 .92053E-07** at limit ** 17 norm 2.2540 1.0576 -.73668E-07 -.51198E-03 18 Prefactor 2.4988 5.8884 .11608E-05 -.26666E-04 19 norm .10000E-03 .30508 .24792E-07** at limit ** 20 norm 3.5097 9.3570 .31244E-06 .94516E-04 21 norm 2.8801 1.6911 .41107E-07 -.37966E-04 22 Prefactor .10001E-03 111.87 .11194E-05** at limit ** 23 norm 35.170 9.3161 -.12266E-05 .13127E-03 24 Prefactor .10008E-03 354.09 -.13056E-04** at limit ** 25 Normalizat .66255 .20550 -.35758E-05 .63813E-04 26 Prefactor 1.0637 .15421 .28146E-06 -.73622E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 34.9368 Prefactor = 2.20606 Prefactor = 0.0001 Prefactor = 33.2329 Prefactor = 2.86762 norm = 0.314689 norm = 0.0001 Prefactor = 0.0001 Prefactor = 6.75847 norm = 102.791 Prefactor = 0.0001 Prefactor = 2.24347 Prefactor = 0.983941 Prefactor = 2.6625 norm = 0.0001 norm = 2.25396 Prefactor = 2.49878 norm = 0.0001 norm = 3.5097 norm = 2.88012 Prefactor = 0.000100005 norm = 35.1699 Prefactor = 0.000100081 Normalizat = 0.662547 Prefactor = 1.06374 ********** ** 18 **HESSE ********** FCN= 6955.211 FROM HESSE STATUS=OK 464 CALLS 3626 TOTAL EDM= .90E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 7.5664 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 34.937 64.975 .67869E-04 -1.4525 3 Prefactor 2.2061 4.3602 .22560E-03 -1.5411 4 Prefactor .10000E-03 3.1169 .14339E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 33.233 25.964 .69508E-04 -1.4554 6 Prefactor 2.8676 3.0644 .71443E-03 -1.5369 7 norm .31469 .14883 .20011E-04 -1.5596 8 norm .10000E-03 5.2892 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 12.483 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 6.7585 5.0115 .14781E-03 -1.5188 11 norm 102.79 51.510 .19829E-03 -1.3677 12 Prefactor .10000E-03 2.4453 .11816E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 2.2435 1.3404 .65140E-04 -1.5408 14 Prefactor .98394 2.9269 .22764E-03 -1.5510 15 Prefactor 2.6625 2.3601 .11483E-03 -1.5382 16 norm .10000E-03 .89593 .12476E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 2.2540 1.0432 .53648E-04 -1.5408 18 Prefactor 2.4988 5.7823 .25860E-03 -1.5392 19 norm .10000E-03 .49290 .87722E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 3.5097 9.3024 .21582E-03 -1.5333 21 norm 2.8801 1.6833 .79230E-04 -1.5369 22 Prefactor .10001E-03 112.85 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 35.170 9.2231 .67581E-04 -1.4521 24 Prefactor .10008E-03 357.56 .19841E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .66255 .23607 .32413E-03 -1.0539 26 Prefactor 1.0637 .18021 .21485E-03 -.90634 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.03409e-10 Minuit parameter uncertainties: 1 4.42069e-06 2 65.1071 3 4.36082 4 1.09845e-06 5 25.9727 6 3.06455 7 0.148835 8 4.91166e-06 9 2.84001e-06 10 5.01177 11 51.5319 12 3.04723e-05 13 1.34042 14 2.92729 15 2.3602 16 3.45489e-06 17 1.04321 18 5.7836 19 3.98838e-06 20 9.30624 21 1.68335 22 0.00152908 23 9.22343 24 0.0108214 25 0.236433 26 0.180317 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6955.21096164 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 3.047e-05 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.064e+00 1.803e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 6.625e-01 2.364e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1 Energy Flux Upper Limit: 8.07e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/837114/likelihoodResults_516672001_516931201_4FGL_J1640.4+3945_daily_bin1070.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): 102 logL (Free Index) = 6955.21293479 delta logL = -0.00197314838442 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6955.21095282 delta logL = 8.82071526576e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .51853E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.5453 1.0000 .0000 10.000 3 'Normalizat' .66208 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0641 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6954.593 FROM MIGRAD STATUS=CONVERGED 94 CALLS 270 TOTAL EDM= .73E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .71682E-02 .30868 .10570E-02 -.25861E-01 2 Index 4.9364 3.9113 .94741E-01 .33487E-03 3 Normalizat .58440 .25255 .77420E-01 .32820E-03 4 Prefactor 1.1056 .12555 .39147E-01 .11132E-03 ERR DEF= .500 Final values: Prefactor = 0.0071682 Index = 4.93638 Normalizat = 0.584404 Prefactor = 1.10565 ********** ** 18 **HESSE ********** FCN= 6954.593 FROM HESSE STATUS=NOT POSDEF 31 CALLS 301 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .71682E-02 .31810 .64892E-05 -1.5725 2 Index 4.9364 7.2198 .50887E-02 -.12725E-01 3 Normalizat .58440 .17753 .34279E-03 -1.0865 4 Prefactor 1.1056 .14420 .21100E-03 -.89286 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.38989e-09 Minuit parameter uncertainties: 1 0.0948347 2 5.54198 3 0.177706 4 0.144251 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/837114': 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) = 6954.59326245 delta logL = 0.617699196726 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 7.168e-03 9.483e-02 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 4.936e+00 5.542e+00 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.106e+00 1.443e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 5.844e-01 1.777e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.35 Ra Dec: 250.119 39.763 Photon Index (Free Index): 4.94 +/- 5.54 Photon Flux (Free Index): 7.37e-08 +/- 1.93e-06 Energy Flux (Free Index): 9.85e-06 +/- 2.53e-04 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.500e-04 [aplpy.core] INFO: Auto-setting vmax to 2.775e-03 [aplpy.core] Saving /scratch/kocevski/837114/cmap_HighResolution_516672001_516931201_4FGL_J1640.4+3945_daily_bin1070.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/837114 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.07e-03', comment='SUCCESS', energy_flux2='9.85e-06', dlogl='6.18e-01', photon_flux2='7.37e-08', job_status='DONE', time_completed='2021-09-15 07:01:24.389289', photon_index_error2='5.54', photon_index2='4.94', ts='-0.00', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='2.53e-04', EG='0.66', time_epoch_completed='1631714484.39', return_code='0', job_id='837114', GAL2='1.11', EG2='0.58', return_code2='102', photon_flux_error2='1.93e-06', ts2='1.35', photon_index='2.42' WHERE bin_id='1070' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 07:01:24 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 837114: <4FGL_J1640.4+3945_daily_bin1070> in cluster Done Job <4FGL_J1640.4+3945_daily_bin1070> was submitted from host by user in cluster at Wed Sep 15 06:40:30 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:45:24 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:45:24 2021 Terminated at Wed Sep 15 07:01:25 2021 Results reported at Wed Sep 15 07:01:25 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin1070 250.119 39.7626 516672001 516931201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.4+3945 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 873.24 sec. Max Memory : 1095 MB Average Memory : 304.03 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 960 sec. Turnaround time : 1255 sec. The output (if any) is above this job summary.