/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 = 7523 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin815 RA = 250.119, Dec = 39.7626 tmin = 450576001, tmax = 450835201 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='835528', job_status='RUN', time_executed='2021-09-15 06:38:49.494519', time_epoch_executed='1631713129.49' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='815' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/835528 Creating custom pfile directory: /scratch/kocevski/835528/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=450576001.0 && nMetStart<450835201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=450576001.0 && nMetStart<450835201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/835528/ft1_4FGL_J1640.4+3945_daily_bin815.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=450576001.0 && nMetStart<450835201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/835528/ft2_4FGL_J1640.4+3945_daily_bin815.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/835528/ft1_4FGL_J1640.4+3945_daily_bin815.fits outfile=/scratch/kocevski/835528/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin815.fits ra=250.119 dec=39.7626 rad=12.0 tmin=450576001.0 tmax=450835201.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.59 user 3.35 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835528/ft2_4FGL_J1640.4+3945_daily_bin815.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/835528/ft2_4FGL_J1640.4+3945_daily_bin815.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/835528/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin815.fits evtable="EVENTS" outfile="/scratch/kocevski/835528/ft1_filtered_4FGL_J1640.4+3945_daily_bin815.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.52 user 0.36 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/835528/ft1_filtered_4FGL_J1640.4+3945_daily_bin815.fits" evtable="EVENTS" scfile=/scratch/kocevski/835528/ft2_4FGL_J1640.4+3945_daily_bin815.fits sctable="SC_DATA" outfile=/scratch/kocevski/835528/ltcube_450576001_450835201_4FGL_J1640.4+3945_daily_bin815.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/835528/ft2_4FGL_J1640.4+3945_daily_bin815.fits .....................! real 15.29 user 14.88 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/835528/ft1_filtered_4FGL_J1640.4+3945_daily_bin815.fits evtable="EVENTS" scfile=/scratch/kocevski/835528/ft2_4FGL_J1640.4+3945_daily_bin815.fits sctable="SC_DATA" expcube=/scratch/kocevski/835528/ltcube_450576001_450835201_4FGL_J1640.4+3945_daily_bin815.fits outfile=/scratch/kocevski/835528/expmap_450576001_450835201_4FGL_J1640.4+3945_daily_bin815.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/835528/ltcube_450576001_450835201_4FGL_J1640.4+3945_daily_bin815.fits .....................! real 192.48 user 187.43 sys 4.48 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/835528/ft1_filtered_4FGL_J1640.4+3945_daily_bin815.fits scfile=/scratch/kocevski/835528/ft2_4FGL_J1640.4+3945_daily_bin815.fits outfile=/scratch/kocevski/835528/cmap_450576001_450835201_4FGL_J1640.4+3945_daily_bin815.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.59 user 0.41 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/835528/ft1_filtered_4FGL_J1640.4+3945_daily_bin815.fits scfile=/scratch/kocevski/835528/ft2_4FGL_J1640.4+3945_daily_bin815.fits outfile=/scratch/kocevski/835528/cmap_HighResolution_450576001_450835201_4FGL_J1640.4+3945_daily_bin815.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.57 user 0.39 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/835528/ft1_filtered_4FGL_J1640.4+3945_daily_bin815.fits evtable="EVENTS" scfile=/scratch/kocevski/835528/ft2_4FGL_J1640.4+3945_daily_bin815.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835528/Model_4FGL_J1640.4+3945_daily_bin815.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/835528/ft1_filtered_4FGL_J1640.4+3945_daily_bin815.fits.....................! real 46.54 user 45.06 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/835528/ft1_filtered_4FGL_J1640.4+3945_daily_bin815.fits', '/scratch/kocevski/835528/ft2_4FGL_J1640.4+3945_daily_bin815.fits', expMap='/scratch/kocevski/835528/expmap_450576001_450835201_4FGL_J1640.4+3945_daily_bin815.fits', expCube='/scratch/kocevski/835528/ltcube_450576001_450835201_4FGL_J1640.4+3945_daily_bin815.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/835528/Model_4FGL_J1640.4+3945_daily_bin815.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/835528/ft1_filtered_4FGL_J1640.4+3945_daily_bin815.fits Spacecraft file(s): /scratch/kocevski/835528/ft2_4FGL_J1640.4+3945_daily_bin815.fits Exposure map: /scratch/kocevski/835528/expmap_450576001_450835201_4FGL_J1640.4+3945_daily_bin815.fits Exposure cube: /scratch/kocevski/835528/ltcube_450576001_450835201_4FGL_J1640.4+3945_daily_bin815.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/835528/Model_4FGL_J1640.4+3945_daily_bin815.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) = 5662.51540007 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5662.49347045 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.381 1.0000 .10000E-03 10000. 2 'Prefactor ' .10072E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 10.345 1.0000 .10000E-03 10000. 4 'Prefactor ' .10330E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 4.5908 1.0000 .10000E-03 10000. 6 'Prefactor ' 2.6635 1.0000 .10000E-03 10000. 7 'norm ' .81982 1.0000 .10000E-03 10000. 8 'norm ' .10017E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10035E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 11 'norm ' .40627E-02 1.0000 .10000E-03 10000. 12 'Prefactor ' .10199E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.1613 1.0000 .10000E-03 10000. 14 'Prefactor ' .51947 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.3558 1.0000 .10000E-03 10000. 16 'norm ' 2.6443 1.0000 .10000E-03 10000. 17 'norm ' .25343 1.0000 .10000E-03 10000. 18 'Prefactor ' 4.3932 1.0000 .10000E-03 10000. 19 'norm ' .10002E-03 1.0000 .10000E-03 10000. 20 'norm ' .10002E-03 1.0000 .10000E-03 10000. 21 'norm ' 1.7325 1.0000 .10000E-03 10000. 22 'Prefactor ' 24.715 1.0000 .10000E-03 10000. 23 'norm ' 7.8518 1.0000 .10000E-03 10000. 24 'Prefactor ' 22.154 1.0000 .10000E-03 10000. 25 'Normalizat' .55409 1.0000 .10000E-01 10.000 26 'Prefactor ' .97265 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= 5662.493 FROM MIGRAD STATUS=CONVERGED 638 CALLS 3154 TOTAL EDM= .20E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.379 11.788 -.22605E-06 .22670E-04 2 Prefactor .10000E-03 78.356 -.29186E-06** at limit ** 3 Prefactor 10.345 4.4395 -.22681E-06 .59032E-04 4 Prefactor .10000E-03 2.7282 .25182E-07** at limit ** 5 Prefactor 4.5896 22.977 -.20621E-05 .31428E-04 6 Prefactor 2.6649 2.7217 .22132E-06 -.17528E-03 7 norm .81963 .18203 .44258E-08 -.16669E-02 8 norm .10000E-03 4.0941 -.77348E-07** at limit ** 9 Prefactor .10000E-03 15.314 .70187E-06** at limit ** 10 Prefactor .10000E-03 1.5397 .30289E-06** at limit ** 11 norm .10001E-03 818.57 -.35000E-04** at limit ** 12 Prefactor .10000E-03 .67246 .94944E-06** at limit ** 13 Prefactor 1.1609 1.0336 -.51981E-07 -.10306E-02 14 Prefactor .51821 3.1104 -.42618E-05 .48100E-04 15 Prefactor 1.3586 2.4925 .15344E-05 -.11830E-03 16 norm 2.6440 1.5619 -.31382E-07 -.90453E-04 17 norm .25380 .59443 -.54201E-06 -.44095E-03 18 Prefactor 4.3921 4.7207 .41544E-06 .89413E-04 19 norm .10000E-03 .23764 -.14596E-06** at limit ** 20 norm .10000E-03 2.0350 -.40051E-06** at limit ** 21 norm 1.7327 1.3224 -.40166E-07 .31745E-03 22 Prefactor 24.736 45.786 -.15366E-05 .25679E-04 23 norm 7.8525 6.6377 .33702E-06 .12725E-03 24 Prefactor 22.195 66.376 -.39416E-05 .32218E-04 25 Normalizat .55381 .19374 .42672E-05 .13024E-03 26 Prefactor .97283 .15034 -.12607E-05 .13560E-03 ERR DEF= .500 Final values: Prefactor = 10.3794 Prefactor = 0.0001 Prefactor = 10.3449 Prefactor = 0.0001 Prefactor = 4.58962 Prefactor = 2.66486 norm = 0.819627 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.000100008 Prefactor = 0.0001 Prefactor = 1.16091 Prefactor = 0.518205 Prefactor = 1.35861 norm = 2.64396 norm = 0.253802 Prefactor = 4.39213 norm = 0.0001 norm = 0.0001 norm = 1.73269 Prefactor = 24.7355 norm = 7.85253 Prefactor = 22.1951 Normalizat = 0.553814 Prefactor = 0.972829 ********** ** 18 **HESSE ********** FCN= 5662.493 FROM HESSE STATUS=OK 474 CALLS 3628 TOTAL EDM= .64E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.379 11.790 .12436E-03 -1.5064 2 Prefactor .10000E-03 78.599 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 10.345 4.4481 .97179E-04 -1.5065 4 Prefactor .10000E-03 2.7307 .12097E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 4.5896 23.442 .18786E-03 -1.5279 6 Prefactor 2.6649 2.7135 .11850E-03 -1.5381 7 norm .81963 .18134 .13838E-04 -1.5527 8 norm .10000E-03 4.0942 .14871E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 15.382 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 1.5606 .91042E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10001E-03 43.906 .13767 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 .68158 .97223E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 1.1609 1.0434 .66263E-04 -1.5492 14 Prefactor .51821 3.1374 .12189E-02 -1.5564 15 Prefactor 1.3586 2.4881 .14979E-03 -1.5475 16 norm 2.6440 1.5585 .69166E-04 -1.5383 17 norm .25380 .58029 .85308E-03 -1.5607 18 Prefactor 4.3921 4.6992 .16143E-03 -1.5289 19 norm .10000E-03 .24616 .71645E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 2.0326 .10469E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 1.7327 1.3242 .72782E-04 -1.5445 22 Prefactor 24.736 45.844 .80577E-04 -1.4713 23 norm 7.8525 6.6386 .14310E-03 -1.5147 24 Prefactor 22.195 66.305 .85100E-04 -1.4765 25 Normalizat .55381 .22755 .29538E-03 -1.0998 26 Prefactor .97283 .17943 .19375E-03 -.93641 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.41874e-09 Minuit parameter uncertainties: 1 11.793 2 4.79748e-05 3 4.44829 4 1.14723e-05 5 20.7576 6 2.71361 7 0.181343 8 2.30907e-06 9 9.66971e-05 10 1.56188e-05 11 0.00122059 12 6.64627e-06 13 1.04339 14 2.55011 15 2.4883 16 1.55852 17 0.580302 18 4.69957 19 8.65808e-07 20 2.66032e-05 21 1.32419 22 45.9094 23 6.63926 24 66.5263 25 0.227936 26 0.17954 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5662.49346253 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 6.646e-06 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: 9.728e-01 1.795e-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.538e-01 2.279e-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: 8.22e-08 ph cm-2 s-1 Energy Flux Upper Limit: 6.36e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/835528/likelihoodResults_450576001_450835201_4FGL_J1640.4+3945_daily_bin815.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) = 5662.50045929 delta logL = -0.00699676429122 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5662.49346383 delta logL = -1.30204898596e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10088E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4124 1.0000 .0000 10.000 3 'Normalizat' .55388 1.0000 .10000E-01 10.000 4 'Prefactor ' .97288 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= 5662.493 FROM MIGRAD STATUS=CONVERGED 54 CALLS 212 TOTAL EDM= .18E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .38996E-01 .26604E-01** at limit ** 2 Index 2.4038 6.0878 .50000 .10440E-03 3 Normalizat .55381 .12032E-02 .66743E-01 .26775E-04 4 Prefactor .97283 .10319E-02 .45927E-01 .14429E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.4038 Normalizat = 0.553812 Prefactor = 0.972831 ********** ** 18 **HESSE ********** FCN= 5662.493 FROM HESSE STATUS=NOT POSDEF 33 CALLS 245 TOTAL EDM= .21E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 7.0141 .98214E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.4038 5.4647 .50000 -.54596 3 Normalizat .55381 .13134E-01 .29538E-03 -1.0998 4 Prefactor .97283 .11283E-01 .19375E-03 -.93641 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.06247e-06 Minuit parameter uncertainties: 1 8.94075e-05 2 61.4452 3 0.0131344 4 0.0112827 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/835528': 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) = 5662.49346208 delta logL = 4.42834789283e-07 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 8.941e-05 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.404e+00 6.145e+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: 9.728e-01 1.128e-02 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.538e-01 1.313e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/835528/cmap_HighResolution_450576001_450835201_4FGL_J1640.4+3945_daily_bin815.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/835528 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.22e-08', time_completed='2021-09-15 06:52:00.686191', job_id='835528', GAL2='0.97', fit_tolerance='1e-08', EG2='0.55', EG='0.55', time_epoch_completed='1631713920.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='4.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='815' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:52:00 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 835528: <4FGL_J1640.4+3945_daily_bin815> in cluster Done Job <4FGL_J1640.4+3945_daily_bin815> was submitted from host by user in cluster at Wed Sep 15 06:35:31 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:37:59 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:37:59 2021 Terminated at Wed Sep 15 06:52:01 2021 Results reported at Wed Sep 15 06:52:01 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin815 250.119 39.7626 450576001 450835201 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 : 788.00 sec. Max Memory : 1094 MB Average Memory : 320.53 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 841 sec. Turnaround time : 990 sec. The output (if any) is above this job summary.