/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 4 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 = 7659 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin240 RA = 250.119, Dec = 39.7626 tmin = 301536001, tmax = 301795201 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='831596', job_status='RUN', time_executed='2021-09-15 06:21:27.159823', time_epoch_executed='1631712087.16' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='240' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/831596 Creating custom pfile directory: /scratch/kocevski/831596/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=301536001.0 && nMetStart<301795201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=301536001.0 && nMetStart<301795201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/831596/ft1_4FGL_J1640.4+3945_daily_bin240.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=301536001.0 && nMetStart<301795201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/831596/ft2_4FGL_J1640.4+3945_daily_bin240.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/831596/ft1_4FGL_J1640.4+3945_daily_bin240.fits outfile=/scratch/kocevski/831596/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin240.fits ra=250.119 dec=39.7626 rad=12.0 tmin=301536001.0 tmax=301795201.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 4.64 user 4.36 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/831596/ft2_4FGL_J1640.4+3945_daily_bin240.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/831596/ft2_4FGL_J1640.4+3945_daily_bin240.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/831596/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin240.fits evtable="EVENTS" outfile="/scratch/kocevski/831596/ft1_filtered_4FGL_J1640.4+3945_daily_bin240.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.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/831596/ft1_filtered_4FGL_J1640.4+3945_daily_bin240.fits" evtable="EVENTS" scfile=/scratch/kocevski/831596/ft2_4FGL_J1640.4+3945_daily_bin240.fits sctable="SC_DATA" outfile=/scratch/kocevski/831596/ltcube_301536001_301795201_4FGL_J1640.4+3945_daily_bin240.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/831596/ft2_4FGL_J1640.4+3945_daily_bin240.fits .....................! real 14.22 user 13.70 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/831596/ft1_filtered_4FGL_J1640.4+3945_daily_bin240.fits evtable="EVENTS" scfile=/scratch/kocevski/831596/ft2_4FGL_J1640.4+3945_daily_bin240.fits sctable="SC_DATA" expcube=/scratch/kocevski/831596/ltcube_301536001_301795201_4FGL_J1640.4+3945_daily_bin240.fits outfile=/scratch/kocevski/831596/expmap_301536001_301795201_4FGL_J1640.4+3945_daily_bin240.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/831596/ltcube_301536001_301795201_4FGL_J1640.4+3945_daily_bin240.fits .....................! real 192.75 user 185.51 sys 5.15 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/831596/ft1_filtered_4FGL_J1640.4+3945_daily_bin240.fits scfile=/scratch/kocevski/831596/ft2_4FGL_J1640.4+3945_daily_bin240.fits outfile=/scratch/kocevski/831596/cmap_301536001_301795201_4FGL_J1640.4+3945_daily_bin240.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/831596/ft1_filtered_4FGL_J1640.4+3945_daily_bin240.fits scfile=/scratch/kocevski/831596/ft2_4FGL_J1640.4+3945_daily_bin240.fits outfile=/scratch/kocevski/831596/cmap_HighResolution_301536001_301795201_4FGL_J1640.4+3945_daily_bin240.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.37 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/831596/ft1_filtered_4FGL_J1640.4+3945_daily_bin240.fits evtable="EVENTS" scfile=/scratch/kocevski/831596/ft2_4FGL_J1640.4+3945_daily_bin240.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831596/Model_4FGL_J1640.4+3945_daily_bin240.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/831596/ft1_filtered_4FGL_J1640.4+3945_daily_bin240.fits.....................! real 69.76 user 67.74 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/831596/ft1_filtered_4FGL_J1640.4+3945_daily_bin240.fits', '/scratch/kocevski/831596/ft2_4FGL_J1640.4+3945_daily_bin240.fits', expMap='/scratch/kocevski/831596/expmap_301536001_301795201_4FGL_J1640.4+3945_daily_bin240.fits', expCube='/scratch/kocevski/831596/ltcube_301536001_301795201_4FGL_J1640.4+3945_daily_bin240.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/831596/Model_4FGL_J1640.4+3945_daily_bin240.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/831596/ft1_filtered_4FGL_J1640.4+3945_daily_bin240.fits Spacecraft file(s): /scratch/kocevski/831596/ft2_4FGL_J1640.4+3945_daily_bin240.fits Exposure map: /scratch/kocevski/831596/expmap_301536001_301795201_4FGL_J1640.4+3945_daily_bin240.fits Exposure cube: /scratch/kocevski/831596/ltcube_301536001_301795201_4FGL_J1640.4+3945_daily_bin240.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/831596/Model_4FGL_J1640.4+3945_daily_bin240.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) = 8901.63224897 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8901.60521541 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 ' 14.467 1.0000 .10000E-03 10000. 3 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10210E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10016E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .21357E-03 1.0000 .10000E-03 10000. 7 'norm ' .88659 1.0000 .10000E-03 10000. 8 'norm ' .48823E-01 1.0000 .10000E-03 10000. 9 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 13.887 1.0000 .10000E-03 10000. 11 'norm ' .10050E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 7.3897 1.0000 .10000E-03 10000. 13 'Prefactor ' .10017E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 6.9145 1.0000 .10000E-03 10000. 15 'Prefactor ' 2.2214 1.0000 .10000E-03 10000. 16 'norm ' .10000E-03 1.0000 .10000E-03 10000. 17 'norm ' .68150 1.0000 .10000E-03 10000. 18 'Prefactor ' 1.8078 1.0000 .10000E-03 10000. 19 'norm ' 4.2088 1.0000 .10000E-03 10000. 20 'norm ' 6.8723 1.0000 .10000E-03 10000. 21 'norm ' 4.0125 1.0000 .10000E-03 10000. 22 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 23 'norm ' .30198 1.0000 .10000E-03 10000. 24 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.4330 1.0000 .10000E-01 10.000 26 'Prefactor ' .75733 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= 8901.605 FROM MIGRAD STATUS=CONVERGED 665 CALLS 3194 TOTAL EDM= .18E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 6.9590 -.36110E-06** at limit ** 2 Prefactor 14.402 57.054 .55455E-05 .21387E-06 3 Prefactor .10000E-03 .85383 -.87138E-07** at limit ** 4 Prefactor .10000E-03 3.1559 -.24894E-06** at limit ** 5 Prefactor .10000E-03 62.021 .58339E-05** at limit ** 6 Prefactor .10000E-03 1.5159 .62037E-07** at limit ** 7 norm .88655 .20339 -.58580E-08 -.86198E-03 8 norm .10058E-03 9.7610 -.43748E-07** at limit ** 9 Prefactor .10000E-03 12.338 .24021E-05** at limit ** 10 Prefactor 13.884 5.3102 .47975E-07 -.36215E-04 11 norm .10000E-03 36.205 -.30347E-04** at limit ** 12 Prefactor 7.3890 1.9817 .57987E-07 -.16293E-03 13 Prefactor .10000E-03 .93402 .14401E-06** at limit ** 14 Prefactor 6.9143 3.7672 -.10828E-06 -.26886E-03 15 Prefactor 2.2213 3.6797 -.53345E-06 -.10057E-02 16 norm .10000E-03 .78087 -.20785E-07** at limit ** 17 norm .68161 .61741 .28894E-07 .51090E-04 18 Prefactor 1.8076 7.5551 -.34308E-05 -.62343E-03 19 norm 4.2088 1.1592 .14812E-06 .16876E-03 20 norm 6.8690 9.0171 -.39851E-05 -.29193E-03 21 norm 4.0127 1.7587 .56174E-07 -.32496E-04 22 Prefactor .10000E-03 11.999 -.24083E-05** at limit ** 23 norm .31268 4.0219 .11874E-05 -.10820E-02 24 Prefactor .10000E-03 34.751 .28534E-04** at limit ** 25 Normalizat 1.4333 .19917 .35325E-07 -.75835E-04 26 Prefactor .75698 .15111 .74063E-06 -.13745E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 14.4018 Prefactor = 0.0001 Prefactor = 0.000100003 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.886551 norm = 0.000100577 Prefactor = 0.0001 Prefactor = 13.884 norm = 0.0001 Prefactor = 7.38899 Prefactor = 0.0001 Prefactor = 6.91428 Prefactor = 2.22133 norm = 0.0001 norm = 0.681608 Prefactor = 1.80761 norm = 4.20878 norm = 6.86895 norm = 4.01265 Prefactor = 0.0001 norm = 0.31268 Prefactor = 0.0001 Normalizat = 1.43333 Prefactor = 0.756979 ********** ** 18 **HESSE ********** FCN= 8901.605 FROM HESSE STATUS=OK 478 CALLS 3672 TOTAL EDM= .88E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 6.9661 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 14.402 56.683 .10531E-03 -1.4949 3 Prefactor .10000E-03 .85648 .85124E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 20.527 .31595E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 62.779 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 10.168 .22046E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .88655 .20365 .18567E-04 -1.5520 8 norm .10058E-03 8.8390 .10309 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 12.378 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 13.884 5.2941 .10748E-03 -1.4963 11 norm .10000E-03 35.582 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 7.3890 1.7928 .55124E-04 -1.5164 13 Prefactor .10000E-03 1.2817 .15452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 6.9143 3.7565 .12755E-03 -1.5182 15 Prefactor 2.2213 3.6508 .21373E-03 -1.5410 16 norm .10000E-03 .79670 .81298E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .68161 .58126 .67079E-03 -1.5543 18 Prefactor 1.8076 7.6016 .31079E-03 -1.5439 19 norm 4.2088 1.1533 .49210E-04 -1.5298 20 norm 6.8690 8.9759 .15305E-03 -1.5184 21 norm 4.0127 1.7548 .79380E-04 -1.5307 22 Prefactor .10000E-03 11.994 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .31268 18.950 .35168E-02 -1.5596 24 Prefactor .10000E-03 34.323 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.4333 .24072 .27923E-03 -.79669 26 Prefactor .75698 .18426 .29153E-03 -1.0133 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.78859e-09 Minuit parameter uncertainties: 1 1.39739e-06 2 56.8966 3 6.16152e-07 4 0.000502589 5 0.000161187 6 0.000140144 7 0.203652 8 0.0045166 9 1.00327e-05 10 5.29432 11 3.35414e-05 12 1.79285 13 5.87619e-06 14 3.75664 15 3.6512 16 1.16892e-07 17 0.581267 18 7.41508 19 1.15328 20 8.97764 21 1.75482 22 2.81882e-06 23 4.86927 24 2.91069e-06 25 0.240907 26 0.184413 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8901.60517336 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 7.389e+00 1.793e+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 GAL_V02 Spectrum: PowerLaw 659 Prefactor: 7.570e-01 1.844e-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: 1.433e+00 2.409e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 54.94 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 2.92e-07 +/- 7.08e-08 Energy Flux (Fixed Index): 9.30e-05 +/- 2.26e-05 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) = 8901.42374562 delta logL = 0.181427740657 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8901.40011122 delta logL = 0.20506214441 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 8.6804 1.0000 .10000E-03 10000. 2 'Index ' 2.2863 1.0000 .0000 10.000 3 'Normalizat' 1.4600 1.0000 .10000E-01 10.000 4 'Prefactor ' .74197 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= 8901.400 FROM MIGRAD STATUS=CONVERGED 57 CALLS 244 TOTAL EDM= .66E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.6801 26.764 .34013E-02 .14335E-03 2 Index 2.2863 1.8120 .70323E-01 .21167E-03 3 Normalizat 1.4600 .15606 .62707E-01 .57520E-05 4 Prefactor .74202 .92433E-01 .66491E-01 .29297E-04 ERR DEF= .500 Final values: Prefactor = 8.68012 Index = 2.28632 Normalizat = 1.45996 Prefactor = 0.742017 ********** ** 18 **HESSE ********** FCN= 8901.400 FROM HESSE STATUS=OK 33 CALLS 277 TOTAL EDM= .23E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 8.6801 2.8774 .61093E-04 -1.5119 2 Index 2.2863 .21374 .29628E-02 -.57369 3 Normalizat 1.4600 .23551 .27734E-03 -.78910 4 Prefactor .74202 .18245 .29418E-03 -1.0190 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.27583e-12 Minuit parameter uncertainties: 1 2.87742 2 0.213829 3 0.235684 4 0.182594 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/831596': 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) = 8901.40011117 delta logL = 0.205062195731 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 8.680e+00 2.877e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.286e+00 2.138e-01 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: 7.420e-01 1.826e-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: 1.460e+00 2.357e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 56.57 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.29 +/- 0.21 Photon Flux (Free Index): 2.66e-07 +/- 7.40e-08 Energy Flux (Free Index): 1.03e-04 +/- 3.07e-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/831596/cmap_HighResolution_301536001_301795201_4FGL_J1640.4+3945_daily_bin240.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/831596 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.92e-07', energy_flux2='1.03e-04', photon_flux_error='7.08e-08', dlogl='2.05e-01', energy_flux='9.30e-05', photon_flux2='2.66e-07', job_status='DONE', time_completed='2021-09-15 06:36:54.014669', photon_index_error2='0.21', photon_index2='2.29', ts='54.94', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='3.07e-05', EG='1.43', time_epoch_completed='1631713014.01', return_code='0', job_id='831596', GAL2='0.74', EG2='1.46', return_code2='0', energy_flux_error='2.26e-05', photon_flux_error2='7.40e-08', ts2='56.57', photon_index='2.42' WHERE bin_id='240' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:36:54 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 831596: <4FGL_J1640.4+3945_daily_bin240> in cluster Done Job <4FGL_J1640.4+3945_daily_bin240> was submitted from host by user in cluster at Wed Sep 15 06:20:23 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:21:14 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:21:14 2021 Terminated at Wed Sep 15 06:36:54 2021 Results reported at Wed Sep 15 06:36:54 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin240 250.119 39.7626 301536001 301795201 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 : 915.00 sec. Max Memory : 782 MB Average Memory : 331.25 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 942 sec. Turnaround time : 991 sec. The output (if any) is above this job summary.