/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. 'Matplotlib is building the font cache using fc-list. ' /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 160 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 = 73349 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1740.0+4737_monthly_bin60 RA = 265.023, Dec = 47.6198 tmin = 392515201, tmax = 395107201 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='724567', job_status='RUN', time_executed='2021-10-31 09:43:28.145532', time_epoch_executed='1635698608.15' WHERE source_name='4FGL J1740.0+4737' and cadence='monthly' and bin_id='60' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/724567 Creating custom pfile directory: /scratch/kocevski/724567/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=392515201.0 && nMetStart<395107201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=392515201.0 && nMetStart<395107201.0' /Data/Flight/Level1/LPA Retrieving 465 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/724567/ft1_4FGL_J1740.0+4737_monthly_bin60.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=392515201.0 && nMetStart<395107201.0' /Data/Flight/Level1/LPA Retrieving 465 files... Done. Merging files... Merged file saved to: /scratch/kocevski/724567/ft2_4FGL_J1740.0+4737_monthly_bin60.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/724567/ft1_4FGL_J1740.0+4737_monthly_bin60.fits outfile=/scratch/kocevski/724567/ft1_filteredMKT_4FGL_J1740.0+4737_monthly_bin60.fits ra=265.023 dec=47.6198 rad=12.0 tmin=392515201.0 tmax=395107201.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 41.01 user 40.17 sys 0.70 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/724567/ft2_4FGL_J1740.0+4737_monthly_bin60.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/724567/ft2_4FGL_J1740.0+4737_monthly_bin60.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/724567/ft1_filteredMKT_4FGL_J1740.0+4737_monthly_bin60.fits evtable="EVENTS" outfile="/scratch/kocevski/724567/ft1_filtered_4FGL_J1740.0+4737_monthly_bin60.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.84 user 0.65 sys 0.19 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/724567/ft1_filtered_4FGL_J1740.0+4737_monthly_bin60.fits" evtable="EVENTS" scfile=/scratch/kocevski/724567/ft2_4FGL_J1740.0+4737_monthly_bin60.fits sctable="SC_DATA" outfile=/scratch/kocevski/724567/ltcube_392515201_395107201_4FGL_J1740.0+4737_monthly_bin60.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/724567/ft2_4FGL_J1740.0+4737_monthly_bin60.fits .....................! real 112.92 user 112.22 sys 0.38 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/724567/ft1_filtered_4FGL_J1740.0+4737_monthly_bin60.fits evtable="EVENTS" scfile=/scratch/kocevski/724567/ft2_4FGL_J1740.0+4737_monthly_bin60.fits sctable="SC_DATA" expcube=/scratch/kocevski/724567/ltcube_392515201_395107201_4FGL_J1740.0+4737_monthly_bin60.fits outfile=/scratch/kocevski/724567/expmap_392515201_395107201_4FGL_J1740.0+4737_monthly_bin60.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/724567/ltcube_392515201_395107201_4FGL_J1740.0+4737_monthly_bin60.fits .....................! real 192.05 user 185.45 sys 6.03 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 214 point sources and 0 extended sources Setting source of interest to: 4FGL J1740.0+4737 @ 265.023 47.6198 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/724567/ft1_filtered_4FGL_J1740.0+4737_monthly_bin60.fits scfile=/scratch/kocevski/724567/ft2_4FGL_J1740.0+4737_monthly_bin60.fits outfile=/scratch/kocevski/724567/cmap_392515201_395107201_4FGL_J1740.0+4737_monthly_bin60.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=265.023 yref=47.6198 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.81 user 0.62 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/724567/ft1_filtered_4FGL_J1740.0+4737_monthly_bin60.fits scfile=/scratch/kocevski/724567/ft2_4FGL_J1740.0+4737_monthly_bin60.fits outfile=/scratch/kocevski/724567/cmap_HighResolution_392515201_395107201_4FGL_J1740.0+4737_monthly_bin60.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=265.023 yref=47.6198 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.79 user 0.62 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/724567/ft1_filtered_4FGL_J1740.0+4737_monthly_bin60.fits evtable="EVENTS" scfile=/scratch/kocevski/724567/ft2_4FGL_J1740.0+4737_monthly_bin60.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/724567/Model_4FGL_J1740.0+4737_monthly_bin60.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/724567/ft1_filtered_4FGL_J1740.0+4737_monthly_bin60.fits.....................! real 592.44 user 589.47 sys 1.25 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/724567/ft1_filtered_4FGL_J1740.0+4737_monthly_bin60.fits', '/scratch/kocevski/724567/ft2_4FGL_J1740.0+4737_monthly_bin60.fits', expMap='/scratch/kocevski/724567/expmap_392515201_395107201_4FGL_J1740.0+4737_monthly_bin60.fits', expCube='/scratch/kocevski/724567/ltcube_392515201_395107201_4FGL_J1740.0+4737_monthly_bin60.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/724567/Model_4FGL_J1740.0+4737_monthly_bin60.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1740.0+4737' 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 7.827e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 359 Index: 2.090e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/724567/ft1_filtered_4FGL_J1740.0+4737_monthly_bin60.fits Spacecraft file(s): /scratch/kocevski/724567/ft2_4FGL_J1740.0+4737_monthly_bin60.fits Exposure map: /scratch/kocevski/724567/expmap_392515201_395107201_4FGL_J1740.0+4737_monthly_bin60.fits Exposure cube: /scratch/kocevski/724567/ltcube_392515201_395107201_4FGL_J1740.0+4737_monthly_bin60.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/724567/Model_4FGL_J1740.0+4737_monthly_bin60.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) = 83769.2128067 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 83769.03504 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 8.1745 1.0000 .10000E-03 10000. 2 'Prefactor ' 1.1326 1.0000 .10000E-03 10000. 3 'Prefactor ' .54902 1.0000 .10000E-03 10000. 4 'Prefactor ' 10.698 1.0000 .10000E-03 10000. 5 'norm ' 4.3405 1.0000 .10000E-03 10000. 6 'norm ' .55088 1.0000 .10000E-03 10000. 7 'Prefactor ' .10486E-03 1.0000 .10000E-03 10000. 8 'norm ' 1.1287 1.0000 .10000E-03 10000. 9 'norm ' .39981 1.0000 .10000E-03 10000. 10 'Prefactor ' 3.8669 1.0000 .10000E-03 10000. 11 'norm ' .10114E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 1.9037 1.0000 .10000E-03 10000. 13 'Prefactor ' 5.2489 1.0000 .10000E-03 10000. 14 'norm ' 1.5094 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'norm ' .30677 1.0000 .10000E-03 10000. 17 'Prefactor ' 12.987 1.0000 .10000E-03 10000. 18 'Prefactor ' 1.1168 1.0000 .10000E-03 10000. 19 'Prefactor ' 18.049 1.0000 .10000E-03 10000. 20 'Prefactor ' 2.9129 1.0000 .10000E-03 10000. 21 'Prefactor ' 16.197 1.0000 .10000E-03 10000. 22 'Prefactor ' 5.0049 1.0000 .10000E-03 10000. 23 'Prefactor ' .81821 1.0000 .10000E-03 10000. 24 'norm ' 2.0965 1.0000 .10000E-03 10000. 25 'Prefactor ' 8.5012 1.0000 .10000E-03 10000. 26 'norm ' 11.030 1.0000 .10000E-03 10000. 27 'Prefactor ' 5.5145 1.0000 .10000E-03 10000. 28 'norm ' 8.1992 1.0000 .10000E-03 10000. 29 'norm ' 6.1532 1.0000 .10000E-03 10000. 30 'Normalizat' 1.2935 1.0000 .10000E-01 10.000 31 'Prefactor ' .87780 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7030E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 83769.04 FROM MIGRAD STATUS=CONVERGED 829 CALLS 3689 TOTAL EDM= .45E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.1739 1.5672 .0000 .43758E-01 2 Prefactor 1.1327 .81727 .0000 .10534E-01 3 Prefactor .54910 .69686 .0000 .19904E-01 4 Prefactor 10.699 3.0207 .0000 .55850E-02 5 norm 4.3405 .59898 .0000 -.36106E-03 6 norm .55091 .27260 .0000 .12608E-01 7 Prefactor .10000E-03 .42942 .0000 ** at limit ** 8 norm 1.1287 .22919 .0000 .18013E-02 9 norm .39976 .78196 .0000 .13800E-01 10 Prefactor 3.8666 2.1820 .0000 .47315E-01 11 norm .10000E-03 .64509E-01 .0000 ** at limit ** 12 Prefactor 1.9038 .82678 .0000 .21179E-02 13 Prefactor 5.2508 6.2121 .0000 -.31293E-02 14 norm 1.5093 1.2448 .0000 .91184E-02 15 Prefactor .10000E-03 18.926 .0000 ** at limit ** 16 norm .30789 .89290 .0000 .58576 17 Prefactor 12.983 11.184 .0000 -.24102E-03 18 Prefactor 1.1177 1.3677 .0000 .15938E-01 19 Prefactor 18.038 13.740 .0000 .74777E-03 20 Prefactor 2.9312 18.863 .0000 -.51520E-03 21 Prefactor 16.198 9.6898 .0000 .69720E-03 22 Prefactor 5.0055 2.5150 .0000 .22358E-01 23 Prefactor .81836 4.4254 .0000 .37640E-02 24 norm 2.0970 1.5984 .0000 .93220E-02 25 Prefactor 8.5008 3.9056 .0000 -.45889E-02 26 norm 11.030 2.4121 .0000 -.63578E-03 27 Prefactor 5.5138 3.8351 .0000 -.36015E-03 28 norm 8.2003 2.5420 .0000 .19401E-01 29 norm 6.1528 2.4746 .0000 -.17257E-02 30 Normalizat 1.2935 .63361E-01 .0000 .56551E-03 31 Prefactor .87780 .40494E-01 .0000 .71774E-03 ERR DEF= .500 Final values: Prefactor = 8.17386 Prefactor = 1.13271 Prefactor = 0.5491 Prefactor = 10.6987 norm = 4.34052 norm = 0.550914 Prefactor = 0.0001 norm = 1.1287 norm = 0.399761 Prefactor = 3.86662 norm = 0.0001 Prefactor = 1.90376 Prefactor = 5.25078 norm = 1.5093 Prefactor = 0.0001 norm = 0.307886 Prefactor = 12.9827 Prefactor = 1.11769 Prefactor = 18.038 Prefactor = 2.93125 Prefactor = 16.1983 Prefactor = 5.00546 Prefactor = 0.818358 norm = 2.097 Prefactor = 8.50081 norm = 11.0303 Prefactor = 5.5138 norm = 8.20026 norm = 6.15277 Normalizat = 1.29351 Prefactor = 0.877799 ********** ** 18 **HESSE ********** FCN= 83769.04 FROM HESSE STATUS=OK 652 CALLS 4341 TOTAL EDM= .17E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 8.1739 1.5612 .70113E-03 -1.5136 2 Prefactor 1.1327 .78638 .20479E-03 -1.5495 3 Prefactor .54910 .68221 .26029E-03 -1.5560 4 Prefactor 10.699 3.0172 .12249E-03 -1.5054 5 norm 4.3405 .59862 .80889E-04 -1.5291 6 norm .55091 .23101 .95924E-03 -1.5560 7 Prefactor .10000E-03 3.1882 .35031E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 1.1287 .22318 .59148E-04 -1.5495 9 norm .39976 1.0024 .34249E-02 -1.5582 10 Prefactor 3.8666 2.1768 .10260E-02 -1.5315 11 norm .10000E-03 .50031 .13959E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 1.9038 .82408 .16707E-03 -1.5432 13 Prefactor 5.2508 6.2019 .17545E-03 -1.5250 14 norm 1.5093 1.2234 .27918E-03 -1.5462 15 Prefactor .10000E-03 19.105 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .30789 .85790 .20909E-02 -1.5597 17 Prefactor 12.983 11.139 .11115E-03 -1.4987 18 Prefactor 1.1177 1.3317 .33091E-03 -1.5497 19 Prefactor 18.038 13.535 .47137E-03 -1.4858 20 Prefactor 2.9312 18.812 .23805E-03 -1.5366 21 Prefactor 16.198 9.6657 .99518E-04 -1.4903 22 Prefactor 5.0055 2.5116 .89876E-03 -1.5260 23 Prefactor .81836 4.5542 .50030E-03 -1.5527 24 norm 2.0970 1.5905 .28506E-03 -1.5418 25 Prefactor 8.5008 3.8977 .13749E-03 -1.5125 26 norm 11.030 2.4102 .12063E-03 -1.5044 27 Prefactor 5.5138 3.8339 .17110E-03 -1.5238 28 norm 8.2003 2.5390 .70006E-03 -1.5135 29 norm 6.1528 2.4750 .16184E-03 -1.5212 30 Normalizat 1.2935 .74232E-01 .27947E-03 -.83760 31 Prefactor .87780 .48390E-01 .22484E-03 -.96921 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.66013e-07 Minuit parameter uncertainties: 1 1.56118 2 0.786391 3 0.682217 4 3.01721 5 0.598623 6 0.231014 7 3.08279e-05 8 0.223181 9 1.00245 10 2.17688 11 2.58329e-06 12 0.824082 13 6.20264 14 1.22338 15 0.000177148 16 0.857938 17 11.1404 18 1.3317 19 13.5368 20 14.8583 21 9.6666 22 2.5117 23 3.8613 24 1.59055 25 3.89783 26 2.41021 27 3.83404 28 2.53905 29 2.47504 30 0.0742381 31 0.0483922 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 83769.0350355 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 1.298e+01 1.114e+01 1.000e-04 1.000e+04 ( 1.000e-14) 359 Index: 2.090e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 700 Prefactor: 8.778e-01 4.839e-02 0.000e+00 1.000e+01 ( 1.000e+00) 701 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 702 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 699 Normalization: 1.294e+00 7.424e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.02 Ra Dec: 265.023 47.620 Photon Index (Fixed Index): 2.09 +/- 0.00 Photon Flux (Fixed Index): 7.45e-09 +/- 6.39e-09 Energy Flux (Fixed Index): 4.18e-06 +/- 3.59e-06 TS (Fixed Index): 2.02 Ra Dec: 265.023 47.620 Photon Flux Upper Limit: 2.02e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.53e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/724567/likelihoodResults_392515201_395107201_4FGL_J1740.0+4737_monthly_bin60.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) = 83768.704069 delta logL = 0.330966504727 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 83768.6734137 delta logL = 0.361621723467 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 7.8504 1.0000 .10000E-03 10000. 2 'Index ' 2.6198 1.0000 .0000 10.000 3 'Normalizat' 1.2829 1.0000 .10000E-01 10.000 4 'Prefactor ' .88171 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7030E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 83768.67 FROM MIGRAD STATUS=FAILED 103 CALLS 312 TOTAL EDM= .61E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.8327 172.20 .14311E-03 .38766E-03 2 Index 2.6209 6.3092 .12727E-01 .32258E-03 3 Normalizat 1.2830 .10314 .28046E-03 -.50913E-03 4 Prefactor .88167 .57396E-01 .22439E-03 -.15199E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 83768.67 FROM SIMPLEX STATUS=UNCHANGED 94 CALLS 406 TOTAL EDM= .13E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.8327 172.20 .11329E-03 .38766E-03 2 Index 2.6209 6.3092 .51014E-03 .32258E-03 3 Normalizat 1.2830 .10314 .98146E-04 -.50913E-03 4 Prefactor .88167 .57396E-01 .78690E-04 -.15199E-02 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 83768.67 FROM MIGRAD STATUS=CONVERGED 33 CALLS 439 TOTAL EDM= .37E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.8327 10.363 .57245E-05 .38766E-03 2 Index 2.6209 .68275 .50906E-03 .12006E-03 3 Normalizat 1.2830 .71691E-01 .11219E-04 -.50913E-03 4 Prefactor .88167 .47946E-01 .89757E-05 -.15199E-02 ERR DEF= .500 Final values: Prefactor = 7.8327 Index = 2.62087 Normalizat = 1.28297 Prefactor = 0.881669 ********** ** 18 **HESSE ********** FCN= 83768.67 FROM HESSE STATUS=OK 23 CALLS 462 TOTAL EDM= .37E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 7.8327 10.177 .11449E-05 -1.5148 2 Index 2.6209 .67039 .20362E-04 -.49590 3 Normalizat 1.2830 .71764E-01 .22437E-05 -.84076 4 Prefactor .88167 .48014E-01 .17951E-05 -.96785 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.66086e-10 Minuit parameter uncertainties: 1 10.179 2 0.673017 3 0.0717693 4 0.048016 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/724567': 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) = 83768.6734098 delta logL = 0.361625684207 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 7.833e+00 1.018e+01 1.000e-04 1.000e+04 ( 1.000e-14) 359 Index: 2.621e+00 6.730e-01 0.000e+00 1.000e+01 (-1.000e+00) 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 700 Prefactor: 8.817e-01 4.802e-02 0.000e+00 1.000e+01 ( 1.000e+00) 701 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 702 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 699 Normalization: 1.283e+00 7.177e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.76 Ra Dec: 265.023 47.620 Photon Index (Free Index): 2.62 +/- 0.67 Photon Flux (Free Index): 1.56e-08 +/- 1.36e-08 Energy Flux (Free Index): 4.00e-06 +/- 2.72e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.003e-01 [aplpy.core] INFO: Auto-setting vmax to 1.113e+00 [aplpy.core] Saving /scratch/kocevski/724567/cmap_HighResolution_392515201_395107201_4FGL_J1740.0+4737_monthly_bin60.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/724567 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.53e-03', comment='SUCCESS', photon_flux='7.45e-09', energy_flux2='4.00e-06', photon_flux_error='6.39e-09', dlogl='3.62e-01', energy_flux='4.18e-06', photon_flux2='1.56e-08', job_status='DONE', time_completed='2021-10-31 12:28:17.452018', photon_index_error2='0.67', photon_index2='2.62', ts='2.02', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='2.02e-08', energy_flux_error2='2.72e-06', EG='1.29', time_epoch_completed='1635708497.45', return_code='0', job_id='724567', GAL2='0.88', EG2='1.28', return_code2='0', energy_flux_error='3.59e-06', photon_flux_error2='1.36e-08', ts2='2.76', photon_index='2.09' WHERE bin_id='60' AND source_name='4FGL J1740.0+4737' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sun Oct 31 12:28:17 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 724567: <4FGL_J1740.0+4737_monthly_bin60> in cluster Done Job <4FGL_J1740.0+4737_monthly_bin60> was submitted from host by user in cluster at Sun Oct 31 09:40:19 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Oct 31 09:40:21 2021 was used as the home directory. was used as the working directory. Started at Sun Oct 31 09:40:21 2021 Terminated at Sun Oct 31 12:28:18 2021 Results reported at Sun Oct 31 12:28:18 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1740.0+4737_monthly_bin60 265.023 47.6198 392515201 395107201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1740.0+4737 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 9805.00 sec. Max Memory : 771 MB Average Memory : 424.65 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 10077 sec. Turnaround time : 10079 sec. The output (if any) is above this job summary.