/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 29 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 = 17304 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0138.0+2247_weekly_bin695 RA = 24.5063, Dec = 22.7962 tmin = 659318401, tmax = 659923201 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='204313', job_status='RUN', time_executed='2021-12-07 15:42:22.023411', time_epoch_executed='1638920542.02' WHERE source_name='4FGL J0138.0+2247' and cadence='weekly' and bin_id='695' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/204313 Creating custom pfile directory: /scratch/kocevski/204313/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=659318401.0 && nMetStart<659923201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=659318401.0 && nMetStart<659923201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/204313/ft1_4FGL_J0138.0+2247_weekly_bin695.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=659318401.0 && nMetStart<659923201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /scratch/kocevski/204313/ft2_4FGL_J0138.0+2247_weekly_bin695.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/204313/ft1_4FGL_J0138.0+2247_weekly_bin695.fits outfile=/scratch/kocevski/204313/ft1_filteredMKT_4FGL_J0138.0+2247_weekly_bin695.fits ra=24.5063 dec=22.7962 rad=12.0 tmin=659318401.0 tmax=659923201.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 5.38 user 5.09 sys 0.23 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/204313/ft2_4FGL_J0138.0+2247_weekly_bin695.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/204313/ft2_4FGL_J0138.0+2247_weekly_bin695.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/204313/ft1_filteredMKT_4FGL_J0138.0+2247_weekly_bin695.fits evtable="EVENTS" outfile="/scratch/kocevski/204313/ft1_filtered_4FGL_J0138.0+2247_weekly_bin695.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.55 user 0.40 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/204313/ft1_filtered_4FGL_J0138.0+2247_weekly_bin695.fits" evtable="EVENTS" scfile=/scratch/kocevski/204313/ft2_4FGL_J0138.0+2247_weekly_bin695.fits sctable="SC_DATA" outfile=/scratch/kocevski/204313/ltcube_659318401_659923201_4FGL_J0138.0+2247_weekly_bin695.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/204313/ft2_4FGL_J0138.0+2247_weekly_bin695.fits .....................! real 31.05 user 30.63 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/204313/ft1_filtered_4FGL_J0138.0+2247_weekly_bin695.fits evtable="EVENTS" scfile=/scratch/kocevski/204313/ft2_4FGL_J0138.0+2247_weekly_bin695.fits sctable="SC_DATA" expcube=/scratch/kocevski/204313/ltcube_659318401_659923201_4FGL_J0138.0+2247_weekly_bin695.fits outfile=/scratch/kocevski/204313/expmap_659318401_659923201_4FGL_J0138.0+2247_weekly_bin695.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/204313/ltcube_659318401_659923201_4FGL_J0138.0+2247_weekly_bin695.fits .....................! real 191.14 user 185.62 sys 5.11 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 169 point sources and 0 extended sources Setting source of interest to: 4FGL J0138.0+2247 @ 24.5063 22.7962 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/204313/ft1_filtered_4FGL_J0138.0+2247_weekly_bin695.fits scfile=/scratch/kocevski/204313/ft2_4FGL_J0138.0+2247_weekly_bin695.fits outfile=/scratch/kocevski/204313/cmap_659318401_659923201_4FGL_J0138.0+2247_weekly_bin695.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=24.5063 yref=22.7962 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.58 user 0.40 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/204313/ft1_filtered_4FGL_J0138.0+2247_weekly_bin695.fits scfile=/scratch/kocevski/204313/ft2_4FGL_J0138.0+2247_weekly_bin695.fits outfile=/scratch/kocevski/204313/cmap_HighResolution_659318401_659923201_4FGL_J0138.0+2247_weekly_bin695.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=24.5063 yref=22.7962 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.58 user 0.43 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/204313/ft1_filtered_4FGL_J0138.0+2247_weekly_bin695.fits evtable="EVENTS" scfile=/scratch/kocevski/204313/ft2_4FGL_J0138.0+2247_weekly_bin695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/204313/Model_4FGL_J0138.0+2247_weekly_bin695.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/204313/ft1_filtered_4FGL_J0138.0+2247_weekly_bin695.fits.....................! real 49.16 user 47.27 sys 1.34 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/204313/ft1_filtered_4FGL_J0138.0+2247_weekly_bin695.fits', '/scratch/kocevski/204313/ft2_4FGL_J0138.0+2247_weekly_bin695.fits', expMap='/scratch/kocevski/204313/expmap_659318401_659923201_4FGL_J0138.0+2247_weekly_bin695.fits', expCube='/scratch/kocevski/204313/ltcube_659318401_659923201_4FGL_J0138.0+2247_weekly_bin695.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/204313/Model_4FGL_J0138.0+2247_weekly_bin695.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0138.0+2247' 4FGL J0138.0+2247 Spectrum: PowerLaw 257 Prefactor: 5.231e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 258 Index: 2.006e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 259 Scale: 2.764e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/204313/ft1_filtered_4FGL_J0138.0+2247_weekly_bin695.fits Spacecraft file(s): /scratch/kocevski/204313/ft2_4FGL_J0138.0+2247_weekly_bin695.fits Exposure map: /scratch/kocevski/204313/expmap_659318401_659923201_4FGL_J0138.0+2247_weekly_bin695.fits Exposure cube: /scratch/kocevski/204313/ltcube_659318401_659923201_4FGL_J0138.0+2247_weekly_bin695.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/204313/Model_4FGL_J0138.0+2247_weekly_bin695.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) = 3939.86139293 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3939.83986866 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .11483E-03 1.0000 .10000E-03 10000. 3 'norm ' .66798 1.0000 .10000E-03 10000. 4 'norm ' 2.3788 1.0000 .10000E-03 10000. 5 'Prefactor ' 30.741 1.0000 .10000E-03 10000. 6 'Prefactor ' 36.477 1.0000 .10000E-03 10000. 7 'Prefactor ' .10917E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 15.208 1.0000 .10000E-03 10000. 9 'Prefactor ' 16.323 1.0000 .10000E-03 10000. 10 'Prefactor ' 115.77 1.0000 .10000E-03 10000. 11 'Prefactor ' .10130E-03 1.0000 .10000E-03 10000. 12 'norm ' .22427 1.0000 .10000E-03 10000. 13 'Prefactor ' .10102E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10132E-03 1.0000 .10000E-03 10000. 15 'norm ' .10002E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10037E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' .10561E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 24.834 1.0000 .10000E-03 10000. 19 'Prefactor ' .10024E-03 1.0000 .10000E-03 10000. 20 'norm ' .10405E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' 84.278 1.0000 .10000E-03 10000. 22 'Prefactor ' .69174E-01 1.0000 .10000E-03 10000. 23 'Normalizat' 1.2916 1.0000 .10000E-01 10.000 24 'Prefactor ' .74842 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5370E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 3939.840 FROM MIGRAD STATUS=CONVERGED 543 CALLS 2798 TOTAL EDM= .18E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 24.755 -.78286E-06** at limit ** 2 Prefactor .10000E-03 161.57 .11432E-05** at limit ** 3 norm .66836 .75483 .47448E-06 .49516E-03 4 norm 2.3793 2.1353 .22277E-06 -.55484E-04 5 Prefactor 30.736 17.118 .42595E-06 -.22105E-04 6 Prefactor 36.513 53.452 .23893E-05 -.31425E-04 7 Prefactor .10000E-03 3.6548 .47026E-06** at limit ** 8 Prefactor 15.210 13.607 .29375E-06 -.34767E-04 9 Prefactor 16.323 25.563 .88935E-06 -.72941E-04 10 Prefactor 115.78 92.367 .85837E-06 -.29961E-04 11 Prefactor .10000E-03 153.69 .17097E-06** at limit ** 12 norm .22444 .79104 .77781E-06 .19076E-03 13 Prefactor .10000E-03 19.022 .78655E-06** at limit ** 14 Prefactor .10000E-03 37.208 .14379E-07** at limit ** 15 norm .10000E-03 5.0855 .12146E-07** at limit ** 16 Prefactor .10000E-03 122.38 -.12411E-06** at limit ** 17 Prefactor .10000E-03 8.3349 .38312E-05** at limit ** 18 Prefactor 24.834 28.795 .23777E-06 -.11183E-04 19 Prefactor .10000E-03 7.6657 .25059E-06** at limit ** 20 norm .10000E-03 332.40 -.68466E-05** at limit ** 21 Prefactor 84.730 291.91 -.12752E-04 -.28113E-06 22 Prefactor .10005E-03 7324.4 -.18061E-03** at limit ** 23 Normalizat 1.2916 .27408 .64573E-06 -.21108E-03 24 Prefactor .74836 .16374 -.40717E-05 -.18281E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.668364 norm = 2.37927 Prefactor = 30.7364 Prefactor = 36.513 Prefactor = 0.0001 Prefactor = 15.2104 Prefactor = 16.3228 Prefactor = 115.782 Prefactor = 0.0001 norm = 0.224436 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 24.8336 Prefactor = 0.0001 norm = 0.0001 Prefactor = 84.7303 Prefactor = 0.00010005 Normalizat = 1.2916 Prefactor = 0.748357 ********** ** 18 **HESSE ********** FCN= 3939.840 FROM HESSE STATUS=OK 403 CALLS 3201 TOTAL EDM= .42E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 25.569 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 163.54 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm .66836 .71954 .54075E-03 -1.5544 4 norm 2.3793 2.1158 .77898E-04 -1.5399 5 Prefactor 30.736 17.159 .72265E-04 -1.4599 6 Prefactor 36.513 53.231 .66357E-04 -1.4499 7 Prefactor .10000E-03 3.6597 .11685E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 15.210 13.574 .10270E-03 -1.4928 9 Prefactor 16.323 25.644 .99132E-04 -1.4900 10 Prefactor 115.78 92.267 .37393E-04 -1.3552 11 Prefactor .10000E-03 153.88 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .22444 .77704 .10060E-03 -1.5613 13 Prefactor .10000E-03 19.138 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 37.209 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .10000E-03 5.0877 .13817E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 122.44 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 8.7519 .35691E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 24.834 28.772 .80383E-04 -1.4711 19 Prefactor .10000E-03 7.6740 .16977E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 332.42 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 84.730 293.26 .21879E-03 -1.3864 22 Prefactor .10005E-03 244.17 .37751 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Normalizat 1.2916 .31838 .28514E-03 -.83817 24 Prefactor .74836 .18608 .22066E-03 -1.0166 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.19688e-10 Minuit parameter uncertainties: 1 0.000117614 2 0.000492694 3 0.71955 4 2.11587 5 17.1615 6 53.3 7 1.00389e-05 8 13.577 9 25.6614 10 92.3813 11 0.000125941 12 0.777071 13 3.80639e-05 14 7.56119e-06 15 1.57127e-06 16 0.000227742 17 8.92367e-05 18 28.7883 19 2.01045e-05 20 8.9298e-05 21 298.506 22 0.00699755 23 0.318863 24 0.186233 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3939.83985912 Extracting fit parameters... 4FGL J0138.0+2247 Spectrum: PowerLaw 257 Prefactor: 1.158e+02 9.238e+01 1.000e-04 1.000e+04 ( 1.000e-14) 258 Index: 2.006e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 259 Scale: 2.764e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 534 Prefactor: 7.484e-01 1.862e-01 0.000e+00 1.000e+01 ( 1.000e+00) 535 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 536 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 533 Normalization: 1.292e+00 3.189e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.95 Ra Dec: 24.506 22.796 Photon Index (Fixed Index): 2.01 +/- 0.00 Photon Flux (Fixed Index): 8.97e-08 +/- 7.15e-08 Energy Flux (Fixed Index): 6.10e-05 +/- 4.87e-05 TS (Fixed Index): 2.95 Ra Dec: 24.506 22.796 Photon Flux Upper Limit: 2.33e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.75e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/204313/likelihoodResults_659318401_659923201_4FGL_J0138.0+2247_weekly_bin695.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) = 3937.55151267 delta logL = 2.28834644559 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 3937.49470104 delta logL = 2.34515807763 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 12.609 1.0000 .10000E-03 10000. 2 'Index ' 3.3310 1.0000 .0000 10.000 3 'Normalizat' 1.0984 1.0000 .10000E-01 10.000 4 'Prefactor ' .81079 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5370E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 3937.495 FROM MIGRAD STATUS=CONVERGED 80 CALLS 287 TOTAL EDM= .47E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 12.615 105.33 .90145E-04 .24028E-02 2 Index 3.3308 2.1104 .19116E-02 .10796E-02 3 Normalizat 1.0986 .36647 .30363E-03 .58872E-03 4 Prefactor .81075 .21694 .21214E-03 .13976E-02 ERR DEF= .500 Final values: Prefactor = 12.6151 Index = 3.33085 Normalizat = 1.09862 Prefactor = 0.810749 ********** ** 18 **HESSE ********** FCN= 3937.495 FROM HESSE STATUS=OK 23 CALLS 310 TOTAL EDM= .39E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 12.615 25.300 .18029E-04 -1.4997 2 Index 3.3308 .75477 .76466E-04 -.34036 3 Normalizat 1.0986 .31338 .60726E-04 -.89796 4 Prefactor .81075 .18675 .42428E-04 -.99333 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.90112e-09 Minuit parameter uncertainties: 1 25.3215 2 0.758037 3 0.313913 4 0.186898 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/204313': 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) = 3937.49470059 delta logL = 2.34515852596 Extracting fit parameters... 4FGL J0138.0+2247 Spectrum: PowerLaw 257 Prefactor: 1.262e+01 2.532e+01 1.000e-04 1.000e+04 ( 1.000e-14) 258 Index: 3.331e+00 7.580e-01 0.000e+00 1.000e+01 (-1.000e+00) 259 Scale: 2.764e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 534 Prefactor: 8.107e-01 1.869e-01 0.000e+00 1.000e+01 ( 1.000e+00) 535 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 536 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 533 Normalization: 1.099e+00 3.139e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 7.81 Ra Dec: 24.506 22.796 Photon Index (Free Index): 3.33 +/- 0.76 Photon Flux (Free Index): 3.43e-07 +/- 1.70e-07 Energy Flux (Free Index): 6.00e-05 +/- 2.63e-05 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/204313/cmap_HighResolution_659318401_659923201_4FGL_J0138.0+2247_weekly_bin695.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/204313 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.75e-02', comment='SUCCESS', photon_flux='8.97e-08', energy_flux2='6.00e-05', photon_flux_error='7.15e-08', dlogl='2.35e+00', energy_flux='6.10e-05', photon_flux2='3.43e-07', job_status='DONE', time_completed='2021-12-07 15:52:01.631749', photon_index_error2='0.76', photon_index2='3.33', ts='2.95', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', photon_flux_upper_limit='2.33e-07', energy_flux_error2='2.63e-05', EG='1.29', time_epoch_completed='1638921121.63', return_code='0', job_id='204313', GAL2='0.81', EG2='1.10', return_code2='0', energy_flux_error='4.87e-05', photon_flux_error2='1.70e-07', ts2='7.81', photon_index='2.01' WHERE bin_id='695' AND source_name='4FGL J0138.0+2247' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Dec 7 15:52:01 PST 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 204313: <4FGL_J0138.0+2247_weekly_bin695> in cluster Done Job <4FGL_J0138.0+2247_weekly_bin695> was submitted from host by user in cluster at Tue Dec 7 15:40:21 2021 Job was executed on host(s) , in queue , as user in cluster at Tue Dec 7 15:41:47 2021 was used as the home directory. was used as the working directory. Started at Tue Dec 7 15:41:47 2021 Terminated at Tue Dec 7 15:52:02 2021 Results reported at Tue Dec 7 15:52:02 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0138.0+2247_weekly_bin695 24.5063 22.7962 659318401 659923201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0138.0+2247 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 577.00 sec. Max Memory : 1256 MB Average Memory : 287.00 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 614 sec. Turnaround time : 701 sec. The output (if any) is above this job summary.