/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 146 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 = 7543 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1248.9+4840_daily_bin922 RA = 192.244, Dec = 48.67 tmin = 478310401, tmax = 478569601 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='922562', job_status='RUN', time_executed='2021-09-06 05:53:03.470109', time_epoch_executed='1630932783.47' WHERE source_name='4FGL J1248.9+4840' and cadence='daily' and bin_id='922' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/922562 Creating custom pfile directory: /scratch/kocevski/922562/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=478310401.0 && nMetStart<478569601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=478310401.0 && nMetStart<478569601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/922562/ft1_4FGL_J1248.9+4840_daily_bin922.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=478310401.0 && nMetStart<478569601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/922562/ft2_4FGL_J1248.9+4840_daily_bin922.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/922562/ft1_4FGL_J1248.9+4840_daily_bin922.fits outfile=/scratch/kocevski/922562/ft1_filteredMKT_4FGL_J1248.9+4840_daily_bin922.fits ra=192.244 dec=48.67 rad=12.0 tmin=478310401.0 tmax=478569601.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.51 user 3.28 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/922562/ft2_4FGL_J1248.9+4840_daily_bin922.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/922562/ft2_4FGL_J1248.9+4840_daily_bin922.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/922562/ft1_filteredMKT_4FGL_J1248.9+4840_daily_bin922.fits evtable="EVENTS" outfile="/scratch/kocevski/922562/ft1_filtered_4FGL_J1248.9+4840_daily_bin922.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.49 user 0.31 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/922562/ft1_filtered_4FGL_J1248.9+4840_daily_bin922.fits" evtable="EVENTS" scfile=/scratch/kocevski/922562/ft2_4FGL_J1248.9+4840_daily_bin922.fits sctable="SC_DATA" outfile=/scratch/kocevski/922562/ltcube_478310401_478569601_4FGL_J1248.9+4840_daily_bin922.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/922562/ft2_4FGL_J1248.9+4840_daily_bin922.fits .....................! real 12.41 user 12.01 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/922562/ft1_filtered_4FGL_J1248.9+4840_daily_bin922.fits evtable="EVENTS" scfile=/scratch/kocevski/922562/ft2_4FGL_J1248.9+4840_daily_bin922.fits sctable="SC_DATA" expcube=/scratch/kocevski/922562/ltcube_478310401_478569601_4FGL_J1248.9+4840_daily_bin922.fits outfile=/scratch/kocevski/922562/expmap_478310401_478569601_4FGL_J1248.9+4840_daily_bin922.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/922562/ltcube_478310401_478569601_4FGL_J1248.9+4840_daily_bin922.fits .....................! real 190.66 user 185.05 sys 4.92 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 213 point sources and 0 extended sources Setting source of interest to: 4FGL J1248.9+4840 @ 192.244 48.67 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/922562/ft1_filtered_4FGL_J1248.9+4840_daily_bin922.fits scfile=/scratch/kocevski/922562/ft2_4FGL_J1248.9+4840_daily_bin922.fits outfile=/scratch/kocevski/922562/cmap_478310401_478569601_4FGL_J1248.9+4840_daily_bin922.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=192.244 yref=48.67 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.80 user 0.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/922562/ft1_filtered_4FGL_J1248.9+4840_daily_bin922.fits scfile=/scratch/kocevski/922562/ft2_4FGL_J1248.9+4840_daily_bin922.fits outfile=/scratch/kocevski/922562/cmap_HighResolution_478310401_478569601_4FGL_J1248.9+4840_daily_bin922.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=192.244 yref=48.67 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.71 user 0.38 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/922562/ft1_filtered_4FGL_J1248.9+4840_daily_bin922.fits evtable="EVENTS" scfile=/scratch/kocevski/922562/ft2_4FGL_J1248.9+4840_daily_bin922.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/922562/Model_4FGL_J1248.9+4840_daily_bin922.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/922562/ft1_filtered_4FGL_J1248.9+4840_daily_bin922.fits.....................! real 58.14 user 54.14 sys 1.28 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/922562/ft1_filtered_4FGL_J1248.9+4840_daily_bin922.fits', '/scratch/kocevski/922562/ft2_4FGL_J1248.9+4840_daily_bin922.fits', expMap='/scratch/kocevski/922562/expmap_478310401_478569601_4FGL_J1248.9+4840_daily_bin922.fits', expCube='/scratch/kocevski/922562/ltcube_478310401_478569601_4FGL_J1248.9+4840_daily_bin922.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/922562/Model_4FGL_J1248.9+4840_daily_bin922.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1248.9+4840' 4FGL J1248.9+4840 Spectrum: PowerLaw 331 Prefactor: 3.227e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 332 Index: 2.450e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 333 Scale: 9.069e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/922562/ft1_filtered_4FGL_J1248.9+4840_daily_bin922.fits Spacecraft file(s): /scratch/kocevski/922562/ft2_4FGL_J1248.9+4840_daily_bin922.fits Exposure map: /scratch/kocevski/922562/expmap_478310401_478569601_4FGL_J1248.9+4840_daily_bin922.fits Exposure cube: /scratch/kocevski/922562/ltcube_478310401_478569601_4FGL_J1248.9+4840_daily_bin922.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/922562/Model_4FGL_J1248.9+4840_daily_bin922.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) = 6761.10463817 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6760.92623067 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 45.483 1.0000 .10000E-03 10000. 3 'norm ' .10011E-03 1.0000 .10000E-03 10000. 4 'norm ' 6.2537 1.0000 .10000E-03 10000. 5 'Prefactor ' 64.705 1.0000 .10000E-03 10000. 6 'Prefactor ' .10169E-03 1.0000 .10000E-03 10000. 7 'norm ' 2.4123 1.0000 .10000E-03 10000. 8 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'norm ' 5.0530 1.0000 .10000E-03 10000. 11 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10012E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 15 'norm ' 16.650 1.0000 .10000E-03 10000. 16 'norm ' .10128E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' .10029E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .11491E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 13.472 1.0000 .10000E-03 10000. 20 'norm ' 7.3377 1.0000 .10000E-03 10000. 21 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 22 'norm ' 1.6545 1.0000 .10000E-03 10000. 23 'norm ' .10000E-03 1.0000 .10000E-03 10000. 24 'Normalizat' 1.0738 1.0000 .10000E-01 10.000 25 'Prefactor ' .86930 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6790E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6760.926 FROM MIGRAD STATUS=CONVERGED 581 CALLS 2516 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .93684 -.14163E-07** at limit ** 2 Prefactor 45.485 22.471 .13823E-06 .15285E-04 3 norm .10000E-03 .65297 .10798E-07** at limit ** 4 norm 6.2527 7.1052 -.81354E-06 -.16631E-03 5 Prefactor 64.709 27.119 .14730E-05 .51868E-04 6 Prefactor .10012E-03 4.6433 -.33367E-05** at limit ** 7 norm 2.4122 1.7250 .20935E-06 .21188E-02 8 Prefactor .10000E-03 6.2319 .11377E-05** at limit ** 9 Prefactor .10000E-03 9.6767 -.85814E-05** at limit ** 10 norm 5.0530 2.3242 -.67096E-08 .40077E-03 11 Prefactor .10000E-03 4.1629 .84184E-06** at limit ** 12 Prefactor .10000E-03 61.925 -.43275E-04** at limit ** 13 Prefactor .10000E-03 4.5108 -.11051E-05** at limit ** 14 Prefactor .10000E-03 10.982 .91045E-05** at limit ** 15 norm 16.651 13.369 .65276E-07 .12394E-03 16 norm .10000E-03 1.7009 -.78407E-07** at limit ** 17 Prefactor .10000E-03 12.294 .84085E-05** at limit ** 18 Prefactor .10000E-03 28.652 -.18025E-04** at limit ** 19 Prefactor 13.462 26.438 -.88198E-05 -.90618E-05 20 norm 7.3322 4.0787 .88537E-06 .62246E-03 21 Prefactor .10000E-03 44.648 .39781E-04** at limit ** 22 norm 1.6545 1.2273 .40722E-07 -.21995E-03 23 norm .10000E-03 33.196 .11985E-04** at limit ** 24 Normalizat 1.0738 .15483 .58317E-06 .68165E-03 25 Prefactor .86923 .18849 .96207E-07 .46700E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 45.4849 norm = 0.0001 norm = 6.25269 Prefactor = 64.7085 Prefactor = 0.000100115 norm = 2.41224 Prefactor = 0.0001 Prefactor = 0.0001 norm = 5.05299 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 16.6511 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 13.4624 norm = 7.33221 Prefactor = 0.0001 norm = 1.65446 norm = 0.0001 Normalizat = 1.07383 Prefactor = 0.869229 ********** ** 18 **HESSE ********** FCN= 6760.926 FROM HESSE STATUS=OK 419 CALLS 2935 TOTAL EDM= .89E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 .94135 .77592E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 45.485 22.434 .59450E-04 -1.4358 3 norm .10000E-03 1.1153 .12834E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm 6.2527 7.0936 .16052E-03 -1.5208 5 Prefactor 64.709 27.126 .49890E-04 -1.4097 6 Prefactor .10012E-03 13.828 .32416E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 2.4122 1.6678 .85633E-04 -1.5397 8 Prefactor .10000E-03 6.2398 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 9.6929 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 5.0530 2.3232 .82109E-04 -1.5258 11 Prefactor .10000E-03 4.1727 .16383E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 62.233 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 4.5406 .17050E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 11.001 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 16.651 13.369 .98154E-04 -1.4892 16 norm .10000E-03 3.6368 .20811E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 12.325 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 29.116 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 13.462 26.424 .10913E-03 -1.4974 20 norm 7.3322 4.0768 .11850E-03 -1.5166 21 Prefactor .10000E-03 44.712 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 1.6545 1.2155 .75212E-04 -1.5451 23 norm .10000E-03 33.197 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.0738 .18003 .21647E-03 -.90596 25 Prefactor .86923 .22037 .29678E-03 -.97225 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.94777e-09 Minuit parameter uncertainties: 1 1.57459e-06 2 22.4386 3 4.91824e-06 4 7.09454 5 27.1315 6 0.00252386 7 1.66781 8 4.335e-06 9 3.28731e-07 10 2.32325 11 3.60515e-06 12 0.000259222 13 7.28373e-06 14 1.01651e-05 15 13.3715 16 4.29796e-05 17 4.77855e-05 18 3.56427e-05 19 26.447 20 4.07694 21 0.000135519 22 1.21556 23 1.94635e-06 24 0.180135 25 0.220594 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6760.9262288 Extracting fit parameters... 4FGL J1248.9+4840 Spectrum: PowerLaw 331 Prefactor: 1.000e-04 4.335e-06 1.000e-04 1.000e+04 ( 1.000e-13) 332 Index: 2.450e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 333 Scale: 9.069e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 676 Prefactor: 8.692e-01 2.206e-01 0.000e+00 1.000e+01 ( 1.000e+00) 677 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 678 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 675 Normalization: 1.074e+00 1.801e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 192.244 48.670 Photon Flux Upper Limit: 4.44e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.44e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/922562/likelihoodResults_478310401_478569601_4FGL_J1248.9+4840_daily_bin922.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6760.9269917 delta logL = -0.000762904242947 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6760.92622879 delta logL = 7.96990207164e-09 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4437 1.0000 .0000 10.000 3 'Normalizat' 1.0738 1.0000 .10000E-01 10.000 4 'Prefactor ' .86922 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6790E+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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 6760.926 FROM MIGRAD STATUS=FAILED 89 CALLS 241 TOTAL EDM= .30E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10094E-03 323.90 .18142E-02** at limit ** 2 Index 2.3354 6.0753 .50000 .61258E-05 3 Normalizat 1.0738 .28144E-01 .21647E-03 -.59345E-05 4 Prefactor .86923 .35228E-01 .29678E-03 -.21835E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 6760.926 FROM SIMPLEX STATUS=UNCHANGED 142 CALLS 383 TOTAL EDM= .18E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10094E-03 323.90 .51484E-03** at limit ** 2 Index 2.3354 6.0753 .59363E-04 .61258E-05 3 Normalizat 1.0738 .28144E-01 .11676E-05 -.59345E-05 4 Prefactor .86923 .35228E-01 .10342E-05 -.21835E-05 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6760.926 FROM MIGRAD STATUS=CONVERGED 41 CALLS 424 TOTAL EDM= .36E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 1465.0 .36285E-03** at limit ** 2 Index 2.1164 8.6890 .50000 .55570E-07 3 Normalizat 1.0738 .12629 .86589E-05 .42540E-04 4 Prefactor .86923 .15790 .11871E-04 .33519E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.11642 Normalizat = 1.07383 Prefactor = 0.869228 ********** ** 18 **HESSE ********** FCN= 6760.926 FROM HESSE STATUS=OK 29 CALLS 453 TOTAL EDM= .13E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 6.8848 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.1164 6.0872 .50000 -.61470 3 Normalizat 1.0738 .17530 .17318E-05 -.90596 4 Prefactor .86923 .21928 .23742E-05 -.97225 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.32446e-11 Minuit parameter uncertainties: 1 1.15074e-05 2 229.056 3 0.175398 4 0.219498 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/922562': 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) = 6760.92622843 delta logL = 3.6722576624e-07 Extracting fit parameters... 4FGL J1248.9+4840 Spectrum: PowerLaw 331 Prefactor: 1.000e-04 1.151e-05 1.000e-04 1.000e+04 ( 1.000e-13) 332 Index: 2.116e+00 2.291e+02 0.000e+00 1.000e+01 (-1.000e+00) 333 Scale: 9.069e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 676 Prefactor: 8.692e-01 2.195e-01 0.000e+00 1.000e+01 ( 1.000e+00) 677 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 678 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 675 Normalization: 1.074e+00 1.754e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 192.244 48.670 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.500e-04 [aplpy.core] INFO: Auto-setting vmax to 2.775e-03 [aplpy.core] Saving /scratch/kocevski/922562/cmap_HighResolution_478310401_478569601_4FGL_J1248.9+4840_daily_bin922.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/922562 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-03', job_status='DONE', photon_flux_upper_limit='4.44e-08', time_completed='2021-09-06 06:06:46.420708', job_id='922562', GAL2='0.87', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1630933606.42', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='3.67e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='922' AND source_name='4FGL J1248.9+4840' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 6 06:06:46 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 922562: <4FGL_J1248.9+4840_daily_bin922> in cluster Done Job <4FGL_J1248.9+4840_daily_bin922> was submitted from host by user in cluster at Mon Sep 6 05:50:26 2021 Job was executed on host(s) , in queue , as user in cluster at Mon Sep 6 05:50:27 2021 was used as the home directory. was used as the working directory. Started at Mon Sep 6 05:50:27 2021 Terminated at Mon Sep 6 06:06:47 2021 Results reported at Mon Sep 6 06:06:47 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1248.9+4840_daily_bin922 192.244 48.67 478310401 478569601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1248.9+4840 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 808.00 sec. Max Memory : 1256 MB Average Memory : 285.56 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 979 sec. Turnaround time : 981 sec. The output (if any) is above this job summary.