/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 75 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 = 73125 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0240.5+6113_monthly_bin31 RA = 40.1426, Dec = 61.2287 tmin = 317347201, tmax = 319939201 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='45294', job_status='RUN', time_executed='2021-10-10 18:56:38.826105', time_epoch_executed='1633917398.83' WHERE source_name='4FGL J0240.5+6113' and cadence='monthly' and bin_id='31' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/45294 Creating custom pfile directory: /scratch/kocevski/45294/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=317347201.0 && nMetStart<319939201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=317347201.0 && nMetStart<319939201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/45294/ft1_4FGL_J0240.5+6113_monthly_bin31.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=317347201.0 && nMetStart<319939201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Merged file saved to: /scratch/kocevski/45294/ft2_4FGL_J0240.5+6113_monthly_bin31.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/45294/ft1_4FGL_J0240.5+6113_monthly_bin31.fits outfile=/scratch/kocevski/45294/ft1_filteredMKT_4FGL_J0240.5+6113_monthly_bin31.fits ra=40.1426 dec=61.2287 rad=12.0 tmin=317347201.0 tmax=319939201.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 30.67 user 29.70 sys 0.90 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/45294/ft2_4FGL_J0240.5+6113_monthly_bin31.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/45294/ft2_4FGL_J0240.5+6113_monthly_bin31.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/45294/ft1_filteredMKT_4FGL_J0240.5+6113_monthly_bin31.fits evtable="EVENTS" outfile="/scratch/kocevski/45294/ft1_filtered_4FGL_J0240.5+6113_monthly_bin31.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.88 user 0.68 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/45294/ft1_filtered_4FGL_J0240.5+6113_monthly_bin31.fits" evtable="EVENTS" scfile=/scratch/kocevski/45294/ft2_4FGL_J0240.5+6113_monthly_bin31.fits sctable="SC_DATA" outfile=/scratch/kocevski/45294/ltcube_317347201_319939201_4FGL_J0240.5+6113_monthly_bin31.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/45294/ft2_4FGL_J0240.5+6113_monthly_bin31.fits .....................! real 112.60 user 112.04 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/45294/ft1_filtered_4FGL_J0240.5+6113_monthly_bin31.fits evtable="EVENTS" scfile=/scratch/kocevski/45294/ft2_4FGL_J0240.5+6113_monthly_bin31.fits sctable="SC_DATA" expcube=/scratch/kocevski/45294/ltcube_317347201_319939201_4FGL_J0240.5+6113_monthly_bin31.fits outfile=/scratch/kocevski/45294/expmap_317347201_319939201_4FGL_J0240.5+6113_monthly_bin31.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/45294/ltcube_317347201_319939201_4FGL_J0240.5+6113_monthly_bin31.fits .....................! real 191.17 user 186.25 sys 4.54 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 Extended source HB 3 in ROI with RadialDisk spatial model. Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W3.fits is the correct path to the extended template. Extended source G150.3+4.5 in ROI with RadialDisk spatial model. Added 179 point sources and 3 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0240.5+6113 @ 40.1426 61.2287 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/45294/ft1_filtered_4FGL_J0240.5+6113_monthly_bin31.fits scfile=/scratch/kocevski/45294/ft2_4FGL_J0240.5+6113_monthly_bin31.fits outfile=/scratch/kocevski/45294/cmap_317347201_319939201_4FGL_J0240.5+6113_monthly_bin31.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=40.1426 yref=61.2287 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.92 user 0.72 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/45294/ft1_filtered_4FGL_J0240.5+6113_monthly_bin31.fits scfile=/scratch/kocevski/45294/ft2_4FGL_J0240.5+6113_monthly_bin31.fits outfile=/scratch/kocevski/45294/cmap_HighResolution_317347201_319939201_4FGL_J0240.5+6113_monthly_bin31.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=40.1426 yref=61.2287 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.87 user 0.71 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/45294/ft1_filtered_4FGL_J0240.5+6113_monthly_bin31.fits evtable="EVENTS" scfile=/scratch/kocevski/45294/ft2_4FGL_J0240.5+6113_monthly_bin31.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/45294/Model_4FGL_J0240.5+6113_monthly_bin31.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 G150.3+4.5 adding source GAL_V02 adding source HB 3 adding source W 3 Working on... /scratch/kocevski/45294/ft1_filtered_4FGL_J0240.5+6113_monthly_bin31.fits.....................! real 5222.59 user 5212.73 sys 1.40 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/45294/ft1_filtered_4FGL_J0240.5+6113_monthly_bin31.fits', '/scratch/kocevski/45294/ft2_4FGL_J0240.5+6113_monthly_bin31.fits', expMap='/scratch/kocevski/45294/expmap_317347201_319939201_4FGL_J0240.5+6113_monthly_bin31.fits', expCube='/scratch/kocevski/45294/ltcube_317347201_319939201_4FGL_J0240.5+6113_monthly_bin31.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/45294/Model_4FGL_J0240.5+6113_monthly_bin31.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0240.5+6113' 4FGL J0240.5+6113 Spectrum: LogParabola 325 norm: 4.756e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-11) 326 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 327 beta: 1.481e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 328 Eb: 1.186e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/45294/ft1_filtered_4FGL_J0240.5+6113_monthly_bin31.fits Spacecraft file(s): /scratch/kocevski/45294/ft2_4FGL_J0240.5+6113_monthly_bin31.fits Exposure map: /scratch/kocevski/45294/expmap_317347201_319939201_4FGL_J0240.5+6113_monthly_bin31.fits Exposure cube: /scratch/kocevski/45294/ltcube_317347201_319939201_4FGL_J0240.5+6113_monthly_bin31.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/45294/Model_4FGL_J0240.5+6113_monthly_bin31.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) = 392654.40416 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 392654.190786 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 2.5002 1.0000 .10000E-03 10000. 2 'Prefactor ' 1.8979 1.0000 .10000E-03 10000. 3 'norm ' .91330 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.2884 1.0000 .10000E-03 10000. 5 'Prefactor ' .10228E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 12.942 1.0000 .10000E-03 10000. 7 'Prefactor ' 1.6115 1.0000 .10000E-03 10000. 8 'norm ' 3.2241 1.0000 .10000E-03 10000. 9 'Prefactor ' .16162E-03 1.0000 .10000E-03 10000. 10 'norm ' 5.8487 1.0000 .10000E-03 10000. 11 'norm ' 6.1522 1.0000 .10000E-03 10000. 12 'norm ' 1.6382 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.0534 1.0000 .10000E-03 10000. 14 'norm ' .74547 1.0000 .10000E-03 10000. 15 'Prefactor ' .10236E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .33419 1.0000 .10000E-03 10000. 17 'Prefactor ' .66989 1.0000 .10000E-03 10000. 18 'Prefactor ' 1.2513 1.0000 .10000E-03 10000. 19 'Prefactor ' .10026E-03 1.0000 .10000E-03 10000. 20 'Normalizat' 1.3806 1.0000 .10000E-01 10.000 21 'Prefactor ' .98300 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6290E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 392654.2 FROM MIGRAD STATUS=CONVERGED 491 CALLS 2021 TOTAL EDM= .85E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 2.5010 1.9552 .0000 .13266 2 Prefactor 1.8956 2.2109 .0000 .16064E-02 3 norm .91336 .58584 .0000 .10440 4 Prefactor 1.2885 .70318 .0000 .16003E-01 5 Prefactor .10000E-03 .42636 .0000 ** at limit ** 6 Prefactor 12.917 11.270 .0000 .30138E-03 7 Prefactor 1.6118 .26262 .0000 .31239E-01 8 norm 3.2400 3.0866 .0000 .16733E-02 9 Prefactor .10000E-03 8.2558 .0000 ** at limit ** 10 norm 5.8487 .19720 .0000 .62815E-02 11 norm 6.1637 3.7479 .0000 -.21443E-02 12 norm 1.6374 1.5424 .0000 .63581E-02 13 Prefactor 1.0530 .74731 .0000 .71442E-01 14 norm .74566 .96105 .0000 1.1529 15 Prefactor .10000E-03 2.0742 .0000 ** at limit ** 16 Prefactor .33377 .37392 .0000 .22191E-01 17 Prefactor .67004 .44521 .0000 .28663E-02 18 Prefactor 1.2886 5.9409 .0000 .16771E-02 19 Prefactor .10000E-03 5.9305 .0000 ** at limit ** 20 Normalizat 1.3805 .98217E-01 .0000 .14023E-02 21 Prefactor .98300 .93905E-02 .0000 -.97532E-03 ERR DEF= .500 Final values: norm = 2.50105 Prefactor = 1.89555 norm = 0.913364 Prefactor = 1.28852 Prefactor = 0.0001 Prefactor = 12.9172 Prefactor = 1.61178 norm = 3.24 Prefactor = 0.0001 norm = 5.84869 norm = 6.16365 norm = 1.63741 Prefactor = 1.05301 norm = 0.745659 Prefactor = 0.0001 Prefactor = 0.333773 Prefactor = 0.670037 Prefactor = 1.28862 Prefactor = 0.0001 Normalizat = 1.3805 Prefactor = 0.983001 ********** ** 18 **HESSE ********** FCN= 392654.2 FROM HESSE STATUS=OK 335 CALLS 2356 TOTAL EDM= .24E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 2.5010 1.9517 .12923E-02 -1.5392 2 Prefactor 1.8956 2.2017 .30193E-03 -1.5433 3 norm .91336 .59289 .18741E-02 -1.5517 4 Prefactor 1.2885 .70027 .37710E-03 -1.5481 5 Prefactor .10000E-03 2.4694 .78103E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 12.917 11.203 .11135E-03 -1.4989 7 Prefactor 1.6118 .26026 .12423E-03 -1.5454 8 norm 3.2400 3.0652 .22561E-03 -1.5348 9 Prefactor .10000E-03 8.2869 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 5.8487 .19693 .48663E-04 -1.5224 11 norm 6.1637 3.6941 .16186E-03 -1.5211 12 norm 1.6374 1.5279 .33020E-03 -1.5452 13 Prefactor 1.0530 .73259 .41822E-03 -1.5503 14 norm .74566 .96242 .24470E-02 -1.5535 15 Prefactor .10000E-03 2.0824 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .33377 .94685 .38917E-02 -1.5592 17 Prefactor .67004 .45270 .33115E-03 -1.5544 18 Prefactor 1.2886 6.0440 .39970E-03 -1.5481 19 Prefactor .10000E-03 6.0898 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Normalizat 1.3805 .94565E-01 .10330E-02 -.81194 21 Prefactor .98300 .95037E-02 .12044E-03 -.93298 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.39765e-06 Minuit parameter uncertainties: 1 1.95175 2 2.20184 3 0.592889 4 0.700278 5 1.36469e-05 6 11.2046 7 0.260256 8 3.06536 9 4.25727e-05 10 0.196934 11 3.69426 12 1.52795 13 0.732599 14 0.962441 15 1.03523e-06 16 0.946895 17 0.452701 18 5.58226 19 5.0952e-05 20 0.0945768 21 0.00950368 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 392654.19074 Extracting fit parameters... 4FGL J0240.5+6113 Spectrum: LogParabola 325 norm: 5.849e+00 1.969e-01 1.000e-04 1.000e+04 ( 1.000e-11) 326 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 327 beta: 1.481e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 328 Eb: 1.186e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 618 Prefactor: 9.830e-01 9.504e-03 0.000e+00 1.000e+01 ( 1.000e+00) 619 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 620 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 613 Normalization: 1.380e+00 9.458e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2127.56 Ra Dec: 40.143 61.229 Photon Index (Fixed Index): 2.40 +/- 0.00 Photon Flux (Fixed Index): 9.60e-07 +/- 3.23e-08 Energy Flux (Fixed Index): 3.61e-04 +/- 1.22e-05 Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 392652.568774 delta logL = 1.62196553592 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 392652.568762 delta logL = 1.62197718426 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 5.4746 1.0000 .10000E-03 10000. 2 'alpha ' 2.4645 1.0000 .0000 5.0000 3 'Normalizat' 1.3537 1.0000 .10000E-01 10.000 4 'Prefactor ' .98383 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6290E+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= 392652.6 FROM MIGRAD STATUS=FAILED 99 CALLS 274 TOTAL EDM= .10E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 5.4747 .29034 .46546E-04 .15632E-04 2 alpha 2.4644 .38131E-01 .53985E-02 .20972E-01 3 Normalizat 1.3537 .92610E-01 .10408E-02 .27963E-05 4 Prefactor .98383 .93617E-02 .12037E-03 -.60449E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 392652.6 FROM SIMPLEX STATUS=UNCHANGED 71 CALLS 345 TOTAL EDM= .13E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 5.4747 .29034 .37738E-05 -1.5240 2 alpha 2.4644 .38131E-01 .33280E-04 -.14221E-01 3 Normalizat 1.3537 .92610E-01 .10124E-03 -.81976 4 Prefactor .98383 .93617E-02 .96199E-05 -.93271 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 392652.6 FROM MIGRAD STATUS=CONVERGED 27 CALLS 372 TOTAL EDM= .15E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 5.4747 .28071 .18618E-05 .15632E-04 2 alpha 2.4644 .36850E-01 .10797E-02 .83616E-03 3 Normalizat 1.3537 .92514E-01 .41632E-04 .27963E-05 4 Prefactor .98383 .93591E-02 .48146E-05 -.60449E-05 ERR DEF= .500 Final values: norm = 5.47469 alpha = 2.46445 Normalizat = 1.35375 Prefactor = 0.983827 ********** ** 18 **HESSE ********** FCN= 392652.6 FROM HESSE STATUS=OK 25 CALLS 397 TOTAL EDM= .14E-13 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 5.4747 .27905 .18618E-05 -1.5240 2 alpha 2.4644 .36629E-01 .21594E-03 -.14221E-01 3 Normalizat 1.3537 .92498E-01 .41632E-04 -.81976 4 Prefactor .98383 .93587E-02 .48146E-05 -.93271 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.41316e-14 Minuit parameter uncertainties: 1 0.279054 2 0.0366307 3 0.0925096 4 0.00935873 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/45294': 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) = 392652.568762 delta logL = 1.62197726255 Extracting fit parameters... 4FGL J0240.5+6113 Spectrum: LogParabola 325 norm: 5.475e+00 2.791e-01 1.000e-04 1.000e+04 ( 1.000e-11) 326 alpha: 2.464e+00 3.663e-02 0.000e+00 5.000e+00 ( 1.000e+00) 327 beta: 1.481e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 328 Eb: 1.186e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 618 Prefactor: 9.838e-01 9.359e-03 0.000e+00 1.000e+01 ( 1.000e+00) 619 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 620 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 613 Normalization: 1.354e+00 9.251e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2129.22 Ra Dec: 40.143 61.229 Photon Index (Free Index): 2.46 +/- 0.04 Photon Flux (Free Index): 9.98e-07 +/- 3.92e-08 Energy Flux (Free Index): 3.51e-04 +/- 1.29e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -4.000e-01 [aplpy.core] INFO: Auto-setting vmax to 4.440e+00 [aplpy.core] Saving /scratch/kocevski/45294/cmap_HighResolution_317347201_319939201_4FGL_J0240.5+6113_monthly_bin31.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/45294 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.60e-07', energy_flux2='3.51e-04', photon_flux_error='3.23e-08', dlogl='1.62e+00', energy_flux='3.61e-04', photon_flux2='9.98e-07', job_status='DONE', time_completed='2021-10-11 01:02:25.999188', photon_index_error2='0.04', photon_index2='2.46', ts='2127.56', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='1.38', time_epoch_completed='1633939346.0', return_code='0', job_id='45294', GAL2='0.98', EG2='1.35', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='3.92e-08', ts2='2129.22', photon_index='2.40' WHERE bin_id='31' AND source_name='4FGL J0240.5+6113' AND cadence='monthly'; Database successfully updated. Analysis Complete. Mon Oct 11 01:02:26 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 45294: <4FGL_J0240.5+6113_monthly_bin31> in cluster Done Job <4FGL_J0240.5+6113_monthly_bin31> was submitted from host by user in cluster at Sun Oct 10 18:55:13 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Oct 10 18:55:15 2021 was used as the home directory. was used as the working directory. Started at Sun Oct 10 18:55:15 2021 Terminated at Mon Oct 11 01:02:28 2021 Results reported at Mon Oct 11 01:02:28 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0240.5+6113_monthly_bin31 40.1426 61.2287 317347201 319939201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0240.5+6113 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 21869.00 sec. Max Memory : 992 MB Average Memory : 861.94 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 22033 sec. Turnaround time : 22035 sec. The output (if any) is above this job summary.